ahk-test
Skill182 starsChanged 3 months agoApache-2.0View on GitHub
Design, write, and run behavior-focused tests for an objective or existing code. Writes test files only and reports evidence. No tasks created, no harness tracking.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ahk-askSkill
- ahk-consultantSkill
- ahk-reviewSkill
- ahk-triageSkill
- ahk-use-casesSkill
- ahk-use-case-techSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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
- Distinctive: line 11
Wait For Completion: Wait for the delegated result, then consolidate its findings in the parent thread.
- Distinctive: line 20
NO MCP calls — no tasks.*, no actions.*, no tasks.acceptance.update
- Distinctive: line 21
NO harness task creation or state changes
- Distinctive: line 23
Do not install dependencies or change test configuration without explicit authorization
- Very specific: line 24
Run health.sh only when the user requests full harness verification or it is the repository's relevant test entrypoint.
- Distinctive: line 25
Do not delete, weaken, skip, or rewrite existing expectations to make the suite pass
- Very specific: line 26
Do not add .only, .skip, .todo, or snapshots by default
- Distinctive: line 41
Stop and ask the user before any write when the expected behavior is missing, contradictory, or would require a production or dependency …
- Distinctive: line 43
If the matrix is unambiguous, invoke Builder in direct test mode:
- Distinctive: line 59
Test files created or modified.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Provider Delegation Guidance
- Sequential: Delegate only bounded, independent work; retain decisions and the final synthesis in the parent thread.
- Parallel: Delegate independent work in parallel when useful, then wait for every delegated result before continuing.
- Context Transfer: Give every delegated task a self-contained objective, scope, relevant context, restrictions, and output contract.
- Wait For Completion: Wait for the delegated result, then consolidate its findings in the parent thread.
- Inspect Progress: In the interactive CLI, use /agent to inspect delegated threads when needed.
You are in lightweight test mode. The testing objective: $ARGUMENTS
If
$ARGUMENTSis empty, ask the user what behavior they want tested before doing anything else.
Rules
- NO MCP calls — no tasks., no actions., no tasks.acceptance.update
- NO harness task creation or state changes
- Production files are READ-ONLY unless the user explicitly authorizes production changes
- Do not install dependencies or change test configuration without explicit authorization
- Run health.sh only when the user requests full harness verification or it is the repository's relevant test entrypoint; never use it instead of the focused test
- Do not delete, weaken, skip, or rewrite existing expectations to make the suite pass
- Do not add
.only,.skip,.todo, or snapshots by default - A test file is not evidence until its command has run
Process
- Invoke Explorer as a subagent with this instruction:
"Read-only test investigation — no MCP harness and no task creation. Testing objective:
$ARGUMENTS. Read the complete unit under test, its relevant types and imports, the project's test scripts/configuration, and one or two nearby tests. Identify: observable behaviors, the source of each expected result, project conventions, likely test level, files a test would touch, and genuine ambiguities. Do not write files." - Build a concise test matrix with these columns:
- Behavior
- Input or action
- Expected observable result
- Test level
- Source of expectation
- Stop and ask the user before any write when the expected behavior is missing, contradictory, or would require a production or dependency change that was not authorized. Do not invent an oracle from the current implementation.
- If the matrix is unambiguous, invoke Builder in direct test mode:
"Direct test implementation — no MCP harness and no task creation. Implement only the resolved test matrix. Follow the repository's existing runner, naming, and assertion style. Place every test file and every test-only fixture, builder, factory, mock, stub, snapshot, or helper inside the
__tests__/directory of the area under test. You may create or modify only the paths listed in the resolved scope. Do not edit production, dependencies, configuration, or unrelated tests. Prefer observable behavior over implementation details, real deterministic code over mocks, and one behavior per test. Return files changed and the focused command to run."
- Invoke Reviewer in direct verification mode:
"Direct test verification — no MCP harness, no task state changes, and no file edits. Review the new tests against the objective and matrix. Run the narrowest focused test command first, then the relevant existing suite or static check when proportional. Report every command with exit status, failures, and what the evidence does not prove."
- Synthesize the required output. Do not hide a failing test or convert it into a passing claim.
Required output format
Test matrix Behavior, input/action, expected result, level, and source.
Files changed Test files created or modified. State explicitly when no files were written.
Verification Commands run, exit status, and relevant result.
Evidence boundary What these tests prove and what still requires typecheck, build, browser, network, deployment, or manual verification.
Blocked or next step Omit when nothing remains. If production appears wrong, describe the separate change needed without making it.
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.

