tester-plan
Skill0 starsChanged 53 days agoMITView on GitHub
Fase 1 of the tester-agent workflow: write a CLI-compatible test plan from a backlog item. Before implementation, use the backlog only. After implementation, also inspect the application code. Does not inspect existing tests or edit files except the plan. Use when creating a test plan for a backlog item, before or after the feature exists, or starting tester-agent Fase 1.
In this repository6 other files it gives its agents.
- npm-testSkill
- refactorSkill
- security-auditSkill
- tester-agentSkill
- tester-run-testsSkill
- tester-write-testsSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 13
Create and write test-plan.md in the CLI format.
- Distinctive: line 22
If the user does not say which mode, ask once.
- Very specific: line 31
Prefer .tester-agent/*.md if present.
- Distinctive: line 40
Create the report dir and write the plan with the CLI helper (required):
- Very specific: line 57
After each of these, tell the user and append the same line to $REPORT_DIR/progress.log (see tester-agent "Zichtbare voortgang"):
- Distinctive: line 65
Do not edit application code, test files, config, or lockfiles.
- Very specific: line 66
Only write test-plan.md (via the script) under the run report dir.
- Very specific: line 67
Do not write report.md / report.json / report.csv in this phase.
- Distinctive: line 68
Do not run tests in this phase.
- Distinctive: line 69
If documentation-only: automated tests N/A + review checklist.
- Very specific: line 71
If the backlog (or, in post-implementation, the code) is insufficient: list open questions.
≈ “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
Tester Plan (Fase 1)
Create and write test-plan.md in the CLI format. No test inspection. No production or test file edits.
Two modes. Pick one before reading code.
| Mode | When | Sources |
pre-implementation | User asks for a plan before the feature exists, or says the code is not implemented yet | Backlog item only |
post-implementation | User asks to include the code, or this run continues into writing and running tests | Backlog item and the application code for that item |
If the user does not say which mode, ask once. Do not inspect the codebase to guess.
Fase 1 is high effort. Do not switch models. Before writing test-plan.md, reason through scope, one technique per surface, pairwise only when factors interact, edge cases, and the error contract. Log [fase 1] effort: high.
Instructions
- Load workflow context:
- Parent checklist:
.cursor/skills/tester-agent/workflow/template.md - Report contract:
.cursor/skills/tester-agent/reports.md - Prefer
.tester-agent/*.mdif present; else.cursor/skills/tester-agent/templates/workflow/ - Prompt shape:
.cursor/skills/tester-agent/templates/prompts/test-plan.md - Plan content:
.cursor/skills/tester-agent/test-design.md
- Parent checklist:
- Resolve the backlog item (id or path). Read the full markdown.
- Apply the chosen mode:
pre-implementation: do not open application code, diffs, or tests. Derive scope and surfaces from the backlog. Where the backlog does not specify a path, field, or error contract, record an open question.post-implementation: inspect application code relevant to the item (and an optional git diff). Do not open or search existing unit, integration, or e2e tests.
- Build
rawMarkdownusing test-design.md. State the mode in Summary. Include testable checks, one technique per surface, and edge cases (happy path, applicable robustness, domain cases, error contract; pairwise only when two or more factors jointly decide behavior). - Integration test per acceptance criterion; unit test only for pure helpers. In
pre-implementation, these are planned tests for the intended behavior, not claims that the code already exists. - Create the report dir and write the plan with the CLI helper (required):
BODY=$(mktemp)
# write rawMarkdown (headings only, no # Test Plan header) into $BODY
node .cursor/skills/tester-agent/scripts/write-test-plan.mjs \
--out ".tester-agent/reports/${RUN_ID}/test-plan.md" \
--run-id "${RUN_ID}" \
--target "${TARGET_LABEL}" \
--created-at "$(date -u +%Y-%m-%dT%H:%M:%S.%3NZ)" \
--body-file "$BODY"TARGET_LABEL examples: backlog:074-foo (pre-implementation), backlog:074-foo+code or origin/main...HEAD (post-implementation).
- Mark Fase 1 done on the workflow checklist.
After each of these, tell the user and append the same line to $REPORT_DIR/progress.log (see tester-agent "Zichtbare voortgang"):
[fase 1] start: {pre-implementation|post-implementation} backlog {id}[fase 1] gelezen: {path}for the backlog file and, in post-implementation, each application file opened[fase 1] geschreven: {path to test-plan.md}
Hard rules
- Do not edit application code, test files, config, or lockfiles.
- Only write
test-plan.md(via the script) under the run report dir. - Do not write
report.md/report.json/report.csvin this phase. - Do not run tests in this phase.
- If documentation-only: automated tests N/A + review checklist.
- In
pre-implementation, do not read or infer behavior from application code. - If the backlog (or, in
post-implementation, the code) is insufficient: list open questions; do not invent requirements.
Required rawMarkdown headings
## Summary
## Risks
## Edge Cases
## Acceptance Criteria
## Test Strategy
## Open QuestionsThe script prepends the CLI header (# Test Plan, Run, Target, Created).
Fill those headings as specified in test-design.md (scope, checks, technique per surface, pairwise only when needed).
Done when
- Mode chosen:
pre-implementationorpost-implementation - Backlog item fully read
post-implementationonly: relevant app code inspected, existing tests not openedpre-implementationonly: application code not opened- Each known surface has one technique (checklist, pairwise, transitions, or security)
test-plan.mdwritten viawrite-test-plan.mjs- Workflow checklist Fase 1 checked
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.

