testing-best-practices

Pass

Audited by Gen Agent Trust Hub on Sep 26, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The documentation focuses on testing principles such as 'Intention Over Implementation' and 'The Golden Rule of Assertions'. All code examples provided are standard Vitest and MSW patterns for unit and integration testing.
  • [COMMAND_EXECUTION]: The skill mentions common test runner installation steps and configuration patterns (e.g., Vitest configuration for browser mode), but it does not instruct the agent to execute arbitrary or dangerous shell commands.
  • [INDIRECT_PROMPT_INJECTION]: The skill serves as a reference for the agent to write tests based on user-provided application code. It does not include instructions to bypass safety guardrails or override system instructions.
  • [EXTERNAL_DOWNLOADS]: The skill references standard, well-known libraries in the JavaScript ecosystem such as Vitest, Playwright, and MSW for use as dev-dependencies. These are legitimate tools for the stated purpose of the skill.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 26, 2026, 09:12 AM