functional-testing
Skill15 starsChanged 20 days agoMITView on GitHub
Drive the inter-LLM functional test harness for this MCP server. Use when the user invokes /functional-testing — either with a scenario slug (e.g. `01-namespace-readonly`) or `all`. Reads STATE.md, produces a bridge prompt for the local executor, then ingests reports and writes verdicts. Never reads `expected.md` until the executor has already pushed its report.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mejbaurbahar/software-tester-skillstheir own version, first seen Oct 13, 2026
- mejbaurbahar/faguntheir own version, first seen Jul 5, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mejbaurbahar/fagun★ 1same name
- mejbaurbahar/software-tester-skills★ 1same 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- functional-validation-planSkill
- probe-spikeSkill
- run-validation-planSkill
- tool-definition-reviewSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Refuse if not your turn: If holder in the frontmatter is not leading, the executor still owes a push.
- Distinctive: line 61
Wait for the user to confirm the push: No polling. The user signals you in chat.
- Very specific: line 109
Never read expected.md before the executor has pushed their report.
- Very specific: line 110
Never edit spec.md or expected.md mid-run.
- Distinctive: line 111
Never push a code fix and the verdict in the same commit.
- Very specific: line 112
If you can't reach a verdict (raw JSON corrupted, missing artifact), say so in verdict.md and ask the user — don't fabricate.
≈ “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
Functional testing — leading LLM protocol
You are the leading LLM in a two-LLM functional test loop. The other LLM runs locally on the user's machine (Claude Code CLI), executes scenarios against the real MCP server build, and pushes its artifacts. You drive the loop without ever running the server yourself.
Invocation forms
/functional-testing <NN-slug>— drive a single scenario./functional-testing all— drive every scenario inSTATE.mdwhose status is not yet final (i.e. notOKand notFAIL), in order.
Scenario status lifecycle
STATE.md rows go through three states:
| status | written by | meaning |
pending | initial | scenario declared, executor has not yet run it |
done | executor | report pushed, awaiting leading-LLM verdict |
OK/FAIL | leading LLM | verdict written; row is now final |
/functional-testing all picks the first row whose status is pending or
done (everything that hasn't reached a final verdict).
Loop per scenario
- Read state. Open
tests/functional/STATE.md. Confirm the scenario exists and its status. If the user passedall, pick the first row whose status is not yet final (stillpendingordone). - Refuse if not your turn. If
holderin the frontmatter is notleading, the executor still owes a push. Tell the user, stop. - Read the spec, NOT the expected. Open
tests/functional/scenarios/<slug>/spec.md. Do NOT openexpected.mdyet — opening it before the executor reports would let bias leak into the bridge prompt. Produce a bridge prompt for the user to paste into their local Claude Code session. Template:
Tu es dans le repo zendesk-mcp-server, branche locale doit être à jour avec origin/<branch-from-STATE>. Lis tests/functional/scenarios/<slug>/spec.md et applique strictement ses instructions. Ne lis PAS expected.md — c'est le critère de verdict, le voir biaiserait ton rapport. Écris tests/functional/reports/<slug>.raw.json + tests/functional/reports/<slug>.report.md. Quand fini, mets à jour tests/functional/STATE.md (status=done, holder=leading), commit et push. Préviens-moi.Adapt the language to the user's (
AGENTS.mdsays GitHub = English, chat = user's language).- Wait for the user to confirm the push. No polling. The user signals you in chat.
- Pull and read.
git pull origin <branch>. Open the executor's artifacts:tests/functional/reports/<slug>.raw.json(canonical, ground truth) andtests/functional/reports/<slug>.report.md(executor's narrative + assertion fence). - Now read
expected.md. Opentests/functional/scenarios/<slug>/expected.md. Compare each assertion ID between the report fence and the expected values. Re-verify each againstraw.json— don't trust the executor'sactualblindly; they may have miscopied. Write the verdict at
tests/functional/reports/<slug>.verdict.md:# Verdict — <slug> | ID | Status | Notes | | --- | ------ | ------------------------------------------------------ | | A1 | OK | - | | A2 | FAIL | Expected X, raw shows Y. See `raw.json` `.tools[1]`. | ## Summary <green / list of failing IDs> ## Proposed actions - <if any FAIL: pointer to the code fix, file:line>- Update
STATE.md. Set the scenariostatustoOKorFAIL— this is the final state, overwriting thedonethat the executor wrote. Bumpholderback toexecutoronly if you need them to re-run (e.g. report was incomplete); in that case revertstatustopending. Otherwise leaveholder: leadingand consider the scenario closed. - Commit and push the verdict and STATE update.
- If FAIL with a clear root cause: propose the code fix on the branch in a separate commit (don't conflate harness output with code changes). Push, mention to the user.
When all
Loop steps 1-11 for each pending scenario, in order. Stop on the first FAIL and surface the diagnosis to the user before continuing — the executor may need to re-run after a code fix.
Hard rules
- Never read
expected.mdbefore the executor has pushed their report. - Never edit
spec.mdorexpected.mdmid-run. - Never push a code fix and the verdict in the same commit.
- If you can't reach a verdict (raw JSON corrupted, missing artifact), say so
in
verdict.mdand ask the user — don't fabricate.
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.

