cc-test-plan
Skill0 starsChanged 27 days agoMITView on GitHub
Scope: $ARGUMENTS Specify what to plan tests for. Examples: If $ARGUMENTS is empty, describe the scope in your next message before invoking tester. Before invoking tester, confirm the scope is well-defined. A valid scope includes: If the scope is vague (e.g., "test the whole service"), ask one clarifying question and wait for the answer. Invoke tester in planning mode — produce a test plan document, not test code. The plan will be used as input when tests are actually written.
In this repository219 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/behavioral-discipline.mdcCursor rule
- .cursor/rules/context-budget.mdcCursor rule
- .cursor/rules/orchestration.mdcCursor rule
- .cursor/rules/yagni-stdlib.mdcCursor rule
- androidSkill
- android-ui-designSkill
- api-versioningSkill
- astroSkill
- auth-token-inspectorSkill
- backlogSkill
- cc-api-contractSkill
- cc-db-migrationSkill
- cc-featureSkill
- cc-fixSkill
- cc-pagespeedSkill
- cc-refactorSkill
- cc-reviewSkill
- cc-spec-mutationSkill
- cc-tdd-cycleSkill
- code-reviewSkill
- commitSkill
- conductor-setupSkill
- councilSkill
- database-migrationsSkill
- django-ormSkill
- django-testingSkill
- django-uvSkill
- drizzle-schema-architectSkill
- evaluationSkill
- fastapi-pydantic-strictSkill
- find-skillsSkill
- jpa-nplusone-detectorSkill
- jpa-postgresSkill
- laravel-specialistSkill
- livewire-alpine-bridgeSkill
- multi-agent-orchestrationSkill
- nextjs-typescriptSkill
- openspecSkill
- pagespeed-insightsSkill
- pagespeed-perfSkill
- php-proSkill
- python-django-stackSkill
- python-fastapi-stackSkill
- pythonSkill
- rust-asyncSkill
- rust-engineeringSkill
- rust-sqlxSkill
- security-ai-llmSkill
- security-blue-teamSkill
- security-cloudSkill
- security-cryptoSkill
- security-exploit-devSkill
- security-grcSkill
- security-incident-responseSkill
- security-log-analysisSkill
- security-malware-analysisSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
If $ARGUMENTS is empty, describe the scope in your next message before invoking tester.
- Very specific: line 26
Before invoking tester, confirm the scope is well-defined.
- Distinctive: line 34
If the scope is vague (e.g., "test the whole service"), ask one clarifying question and wait for the answer.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test Plan Workflow
Scope: $ARGUMENTS
Specify what to plan tests for. Examples:
- A feature name:
user authentication - A module or file path:
src/orders/OrderService.kt - A Task Card title:
Add paginated product listing endpoint - A PR or branch:
feature/payment-retry
If $ARGUMENTS is empty, describe the scope in your next message before invoking
tester.
Step 1 — Scope confirmation
Before invoking tester, confirm the scope is well-defined.
A valid scope includes:
- The behavior or module under test
- The acceptance criteria or expected behavior (from the Task Card if available)
- Known edge cases or failure modes
If the scope is vague (e.g., "test the whole service"), ask one clarifying question and wait for the answer.
Step 2 — Test plan generation (tester)
Invoke tester in planning mode — produce a test plan document, not test code.
The plan will be used as input when tests are actually written.
tester must produce a Test Plan covering the following layers:
Unit tests
- Individual functions or methods in isolation
- One test per behavior, not per method
- Input/output contracts, null handling, type coercion
Integration tests
- Interactions between two or more components
- Database read/write cycles (if applicable)
- External service boundaries (mocked or stubbed)
Contract tests
- API endpoint contracts: request shape, response shape, status codes
- Event schema contracts (if event-driven components are in scope)
Edge cases
- Empty inputs, boundary values, max/min limits
- Concurrent access (if shared state is involved)
- Failure paths: what happens when a dependency is unavailable
Regression cases
- Known past bugs that must not recur (include reference if available)
Step 3 — Test Plan format
tester produces the plan in this format:
## Test Plan — [Scope Name]
### Scope
[What is being tested and why]
### Unit Tests
| Test ID | Target | Scenario | Expected Result |
| ------- | ------ | -------- | --------------- |
| U-001 | ... | ... | ... |
### Integration Tests
| Test ID | Components | Scenario | Expected Result |
| ------- | ---------- | -------- | --------------- |
| I-001 | ... | ... | ... |
### Contract Tests
| Test ID | Endpoint/Event | Property | Expected Value |
| ------- | -------------- | -------- | -------------- |
| C-001 | ... | ... | ... |
### Edge Cases
| Test ID | Input/Condition | Expected Behavior |
| ------- | --------------- | ----------------- |
| E-001 | ... | ... |
### Regression Cases
| Test ID | Reference | Scenario | Must Not Happen |
| ------- | --------- | -------- | --------------- |
| R-001 | ... | ... | ... |
### Coverage Targets
- Minimum unit coverage: [%] (or "all acceptance criteria covered")
- Integration scenarios: [count]
- Contract validations: [count]
### Out of Scope
[What this test plan explicitly does not cover and why]Step 4 — Human review
Show the Test Plan to the human before any tests are written.
The Test Plan is an artifact for review and approval. Writing test code is a
separate action — invoke /cc:feature or add a test task to the board to
implement from this plan.
Completion
Deliver the complete Test Plan document. Save it as
docs/test-plans/[scope-slug].md if the human requests persistence.
This command produces a plan, not test files. No production code and no test code is written during this command.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

