# Test Generation

> Use when creating tests, regression checks or validation cases.

- Skill: `vinilana/test-generation-3` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vinilana/test-generation-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vinilana/test-generation-3/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vinilana (https://skillmd.com/u/vinilana)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/vinilana/test-generation-3

---


# Test Generation

## Procedure

1. Confirm the task scope and active PREVC phase.
2. Load the relevant project docs from `.context/docs/`.
3. Apply the checklist below to the specific files in scope.
4. Capture validation evidence and unresolved risks.

## Checklist

- Use repository-specific conventions, not generic defaults.
- Reference concrete files, commands and outputs.
- Keep recommendations actionable and prioritized.
- If information is missing, inspect the codebase first, then ask a focused question only when needed.

## Project Notes

- Use this skill against a pi-extension codebase with TypeScript as the primary language.
- No automated validation scripts detected; add lint/typecheck/test scripts when the project grows.
- Smoke-test extension loading with `pi -e .` in a disposable session.
- Exercise `/dotcontext init` and `/dotcontext feed <task>` against a temporary repository before release.
- Test allow/block decisions for sensitive paths and destructive commands.
- Validate PREVC stage transitions with prevc_workflow actions and command flows.

## Useful Context

- `.context/docs/project-overview.md`
- `.context/docs/development-workflow.md`
- `.context/docs/architecture.md`
- `.context/docs/api.md`
- `.context/docs/data-flow.md`
- `.context/docs/getting-started.md`
- `.context/docs/testing-strategy.md`
- `.context/docs/security.md`

