schema-validator
Skill22 starsChanged 9 days agoMITView on GitHub
Validate changes against frozen contracts in packages/types/ (PersonalityConfig, AgentEvent, ContextEngine, Storage, plugin contract). Use when touching packages/types/, adding a field to a frozen schema, or changing a contract interface. Read-only.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- nek1987/auto-agent-harnesstheir own version, first seen Oct 11, 2026
- murphytrueman/design-system-opstheir own version, first seen Sep 23, 2026
- Abenor-Labs/Open-MHStheir own version, first seen Sep 2, 2026
- nexscope-ai/ecommerce-seo-geo-skillstheir own version, first seen Aug 26, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- murphytrueman/design-system-ops★ 197same name
- nek1987/auto-agent-harness★ 4same name
- Abenor-Labs/Open-MHS★ 2same name
- nexscope-ai/ecommerce-seo-geo-skills★ 2same 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 repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dependency-analyzerSkill
- docsSkill
- handoffSkill
- openai-reviewerSkill
- plugin-homeSkill
- security-auditSkill
- session-auditSkill
- test-validatorSkill
- claude-codeSkill
- codexSkill
- opencodeSkill
- chartsSkill
- export-csvSkill
- export-excelSkill
- make-chartSkill
- make-html-reportSkill
- make-pdfSkill
- a2a-communicateSkill
- a2a-handle-inboundSkill
- codebase-inspectionSkill
- ethos-skill-authoringSkill
- native-mcpSkill
- github-authSkill
- github-code-reviewSkill
- github-issuesSkill
- github-pr-workflowSkill
- github-repo-managementSkill
- birth-ritualSkill
- get-to-know-youSkill
- xurlSkill
- arxivSkill
- grounded-citationsSkill
- research-paper-writingSkill
- reddit-researchSkill
- code-reviewSkill
- coding-agentSkill
- planSkill
- requesting-code-reviewSkill
- spikeSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- tddSkill
- writing-plansSkill
- no-ai-slopSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
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 14
If both come back clean, the change does not violate schema-freeze.
- Distinctive: line 22
No arguments — runs against the current working tree (uncommitted + staged).
- Very specific: line 41
When failed > 0, details lists the failing gate test names and their assertion messages.
- Very specific: line 47
Before invoking /openai-reviewer if the diff includes schema changes — keeps review focused on architecture rather than mechanical schema …
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Schema Validator
Tight focused check on the frozen-schema discipline declared in ARCHITECTURE.md §VII. Two things happen:
- Detect which schemas you touched by diffing
packages/types/src/*.tsagainstHEAD. - Run the schema-gate tests under
packages/types/src/__tests__/— these are the mechanical CI guards (e.g.personality-field-count.test.ts).
If both come back clean, the change does not violate schema-freeze. If gate tests fail, the schema drifted without a counter bump and the change is unmergeable.
Usage
.agents/skills/schema-validator/scripts/schema-validateNo arguments — runs against the current working tree (uncommitted + staged).
Output shape
{
"touched_schemas": [
"packages/types/src/personality.ts",
"packages/types/src/agent-event.ts"
],
"gate_tests": {
"passed": 4,
"failed": 0,
"details": []
},
"verdict": "ok"
}When failed > 0, details lists the failing gate test names and their assertion messages. verdict is "ok", "gate_failed", or "unchanged" (no schema files touched).
When to use
- Touching any file under
packages/types/. - Adding, removing, or renaming a field on PersonalityConfig, AgentEvent, Tool, ContextEngine, Storage, plugin contract, or any other frozen interface.
- Before invoking
/openai-reviewerif the diff includes schema changes — keeps review focused on architecture rather than mechanical schema drift.
When NOT to use
- For changes that don't touch
packages/types/—verdictwill be"unchanged"and the call is wasted. - As a substitute for
pnpm check— this is one slice of the full gate, not a replacement.
Acting on failures
A failing gate test is a hard signal: you added/removed a schema field without bumping the counter file (e.g. .personality-field-count). The fix is one of:
- You meant to change the schema → bump the counter file in the same commit and add a CHANGELOG entry per ARCHITECTURE.md §VI.
- You didn't mean to → revert the schema-touching change.
Per CLAUDE.md: schema changes require the personality-schema-change label and two-maintainer approval. This skill flags drift; it does not authorize it.
Read-only
Runs gate tests and reads git diff. Does not modify the codebase or counter files.
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.

