code-test
Skill8 starsChanged 2 months agoMITView on GitHub
Use only when autopilot-code dispatches implementation verification and evidence recording. Not for top-level user requests or primary capability routing.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- LNSD/lorecrafttheir own version, first seen Oct 4, 2026
- codyrao/agent-skillstheir own version, first seen Jan 31, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- codyrao/agent-skills★ 1same name
- LNSD/lorecraft★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codex_setting/AGENTS.mdAGENTS.md
- opencode_setting/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- claude_setting/CLAUDE.mdCLAUDE.md
- analyze-projectSkill
- analyze-userSkill
- artifact-projection-readSkill
- auditSkill
- autopilot-applySkill
- autopilot-codeSkill
- autopilot-designSkill
- autopilot-draftSkill
- autopilot-labSkill
- autopilot-refineSkill
- autopilot-researchSkill
- autopilot-shipSkill
- autopilot-specSkill
- code-executeSkill
- code-planSkill
- code-refineSkill
- code-reportSkill
- design-componentsSkill
- design-handoffSkill
- design-initSkill
- design-refsSkill
- design-reviewSkill
- design-tokensSkill
- draft-refineSkill
- draft-strategySkill
- post-itSkill
- session-tidySkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
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 26
Run the qa/test unit. Select one prompt form:
- Very specific: line 55
Always include this requirement in the qa/test unit test prompt:
- Distinctive: line 63
Run test commands through the active adapter's bounded verification runner when its contract requires one.
- Very specific: line 65
When changed outputs include a report spectrogram, add the report-figure semantic level from roles/units/qa/test.md: run …
- Very specific: line 85
After the qa/test unit returns, read test_logs/test_report.md.
- Distinctive: line 87
Do not modify source or invoke a hotfix worker from this stage.
- Distinctive: line 95
Do not commit or merge; ownership remains with the caller or orchestrator.
- Very specific: line 101
No plan: use a date-stamped directory under <artifact-root>/tests/.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
code-test
Stage-session entry (
standard+dispatch, spec/stage-dispatch SD-2): Run in-session or as an isolated dispatch-depth-2 stage worker dispatched by theautopilot-codeconductor. Read the verification section inplan.mdand marks inchecklist.mdfrom disk; never depend on prior-stage conversation. Source is read-only in this stage. The write class istest_logs/and_internal/test_reviews/. The stage runs as theqa/testunit (the node's unit); it dispatches no units itself.
Plan resolution: Treat arguments-and-decisions.md#plan-resolution as the single authority for resolving
$ARG. If no plan matches, interpret the argument as the file or directory test target instead of returning a plan-resolution error.
Language rule: Follow the audience and artifact language contract in arguments-and-decisions.md#language-rule. Preserve commands, paths, test names, identifiers, and raw output.
Run Graduated Tests
Run the qa/test unit. Select one prompt form:
Plan path:
Run graduated tests for plan: {$ARG} Read the plan verification sections and checklist.md in the task root to identify targets. Execute Level 1 → 2 → 3 → 4 → 5 in order, stopping on the first failure.File or directory path:
Run graduated tests on: {$ARG} Execute Level 1 → 2 → 3 → 4 → 5 in order, stopping on the first failure. Skip levels that do not apply, such as Level 4 when no plan exists.Empty argument:
Run graduated tests on recently changed files. Use git diff --name-only HEAD~1 to find targets. Execute Level 1 → 2 → 3 → 4 → 5 in order, stopping on the first failure. Skip levels that do not apply, such as Level 4 when no plan exists.
Test Log Contract
Always include this requirement in the qa/test unit test prompt:
Write a detailed test log to: {log_dir}/test_logs/test_report.mdThe report structure is owned by the qa/test unit persona (roles/units/qa/test.md): exact command, full stdout/stderr (or the last 50 lines when long), and a per-test PASS/FAIL verdict with the error reason. Do not restate a competing format in the prompt.
Run test commands through the active adapter's bounded verification runner when its contract requires one. Preserve the actual exit status in the log.
When changed outputs include a report spectrogram, add the report-figure
semantic level from roles/units/qa/test.md: run
tools/figure-semantic-verify.py or the adapter-native figure-gen
--verify-report wrapper against the manifest and report. Exit 2 is a test
failure; unavailable or unreadable required inputs are blockers. Record the
manifest path, PNG hash, claim-evidence verdict, and visual-review evidence.
PNG existence, dimensions, count, and links alone are not a pass.
Verification Assurance
This is the concrete final verify stage. Derive rigor from plan frontmatter or caller intensity; do not hardcode Thorough or automatically open a parallel QA loop.
| Rigor | Concrete verification | Optional adequacy review |
quick | Run the narrowest applicable command or check and record skip reasons | None by default |
light | Run focused syntax, import, smoke, or caller-specified checks | One fast review only when risk selects it |
standard | Run applicable graduated levels and capture command evidence | One focused adequacy review for a nontrivial change surface |
thorough | Broaden target coverage and add behavioral runtime observation for changed user-facing surfaces | Parallel or dispatch-depth-2 review only when selected by intensity=thorough |
adversarial | Thorough verification plus applicable security, failure-mode, and external-adversary evidence | Prove every claimed adversary or security pass ran |
After the qa/test unit returns, read test_logs/test_report.md. Run a separate adequacy review only when the selected assurance budget requires it, and append its findings to the report. Otherwise return the concrete verification verdict directly.
Do not modify source or invoke a hotfix worker from this stage. Any repair belongs to the caller's bounded retry/fix path.
Report Results
Return the report path, executed commands, skipped levels and reasons, blockers, and the first actionable failure when present.
- Success requires every selected level and selected adequacy review to pass.
- Failure must include enough evidence for the caller to open a bounded retry/fix stage.
- Do not commit or merge; ownership remains with the caller or orchestrator.
- Record verdict and blockers for the pipeline decision record.
Log Directory
- Plan path: use the task root above
plan/; for example,$AGENT_ARTIFACT_OUTPUT_DIR/plans/2026-03-18_refactor/plan.md→$AGENT_ARTIFACT_OUTPUT_DIR/plans/2026-03-18_refactor/. - No plan: use a date-stamped directory under
<artifact-root>/tests/.
Task
Test: $ARG
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.

