corpus-guardian
Skill1 starsChanged 59 days agoApache-2.0View on GitHub
Manage, verify, and synchronize the four frozen synthetic evaluation corpora (RCA, Requirements, TestGen, Answer Quality). Use whenever verifying corpus freshness, regenerating frozen synthetic fixtures, or asserting negative control invariants.
In this repository39 other files it gives its agents.
- agent-core/AGENTS.mdAGENTS.md
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- behavioral-regression/AGENTS.mdAGENTS.md
- claude-foundation/AGENTS.mdAGENTS.md
- config/AGENTS.mdAGENTS.md
- corpora/AGENTS.mdAGENTS.md
- demo/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- experiments/AGENTS.mdAGENTS.md
- flow-corpus/AGENTS.mdAGENTS.md
- flow-protocol/AGENTS.mdAGENTS.md
- openspec/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- claude-foundation/CLAUDE.mdCLAUDE.md
- merge-gate-auditorSkill
- update-executive-reportSkill
- update-executive-reportSkill
- architecture-drift-guardSkill
- commonSkill
- dataset-lintSkill
- deploySkill
- e2e-matrix-sentinelSkill
- eval-corpus-forgeSkill
- hierarchical-recursive-brainstormSkill
- model-benchSkill
- openai-judgeSkill
- openspec-implementation-reviewSkill
- openspec-peer-reviewSkill
- openspec-quality-planSkill
- pre-pr-gateSkill
- project-setupSkill
- quality-gateSkill
- refactoring-decomposerSkill
- repo-invariant-reviewSkill
- test-completeness-guardSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Negative Control Carve-Out: Every synthetic corpus must contain intentional negative control items with expected failure verdicts.
- Very specific: line 35
All 4 corpora pass --check verification without diff or drift.
- Distinctive: line 36
All generators run idempotently with zero unintended git status mutations.
≈ “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
Corpus Guardian — Synthetic Evaluation Corpora Management
Unified management and invariant enforcement for the four frozen synthetic evaluation corpora:
- RCA Corpus (
corpora/rca/v1/viascripts/gen_rca_corpus.py) - Requirements Corpus (
corpora/requirements/v1/viascripts/gen_requirements_corpus.py) - TestGen Corpus (
corpora/testgen/v1/viascripts/gen_testgen_corpus.py) - Answer Quality Corpus (
corpora/answer_quality/v1/viascripts/gen_answer_quality_corpus.py)
Invariants
- Negative Control Carve-Out: Every synthetic corpus must contain intentional negative control items with expected failure verdicts.
- Deterministic Generation: Generators must produce byte-identical output across repeated runs on all platforms (CRLF/LF normalized).
- Frozen Baseline: Corpora are never hand-edited. Any changes must occur in generator libraries (
scripts/_*_corpus_lib.py).
Usage
Verify Freshness Across All Corpora
python skills/corpus-guardian/scripts/corpus_guard.py --checkRegenerate All Synthetic Corpora
python skills/corpus-guardian/scripts/corpus_guard.py --generateDefinition of Done
- All 4 corpora pass
--checkverification without diff or drift. - All generators run idempotently with zero unintended git status mutations.
- Fast tier and Tier A mechanical verification pass.
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.

