json-contract-maintainer
Skill1 starsChanged 22 days agoMITView on GitHub
Use when changing mq-image-analyze JSON output schemas, analysis result fields, compare output, UI analysis output, exhaustive mode, or stable integration contracts.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cli-maintainerSkill
- docs-maintainerSkill
- image-quality-auditSkill
- mcp-tools-maintainerSkill
- model-setup-maintainerSkill
- release-readinessSkill
- repo-awareSkill
- reverse-promptSkill
- screenshot-ui-reviewSkill
- vision-regression-evalSkill
- visual-architecture-analysisSkill
- visual-reasoningSkill
- web-ui-maintainerSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill for any machine-readable output change.
- Distinctive: line 53
Update tests for expected fields and modes.
- Distinctive: line 56
Update MCP docs if tool responses change.
≈ “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
JSON Contract Maintainer
Use this skill for any machine-readable output change.
Evals
Should trigger
- "add a field to the analyze JSON output"
- "change the compare output schema"
- "stabilize the UI analysis contract"
- "version the exhaustive-mode output"
Should not trigger
- "change a CLI flag" → use
cli-maintainer - "change MCP tool schemas" → use
mcp-tools-maintainer - "update schema docs only" → use
docs-maintainer
Core Files
docs/json-schema.mddocs/mcp-tools.mdexamples/sample-analysis.jsonexamples/generated/*.jsonmq_image_analyze/cli/analyze.pymq_image_analyze/cli/compare.pymq_image_analyze/cli/analyze_ui.pymq_image_analyze/reasoning/comparison/comparator.pymq_image_analyze/vision/ui/analyzer.pytests/test_json_schema.pytests/test_compare.pytests/test_analyze_ui.pytests/test_exhaustive.py
Stability Rules
- Current schema version:
mq-image.analysis.v1. - Additive fields are allowed in minor versions.
- Field removal or incompatible type changes require a major version bump.
limitationsmust always be present in full analysis outputs.- Summary mode may dedupe; exhaustive mode must preserve raw detections.
- JSON output must not include ANSI text or human-only formatting.
Change Workflow
- Update implementation.
- Update tests for expected fields and modes.
- Update
docs/json-schema.md. - Regenerate or update examples when output shape changes.
- Update MCP docs if tool responses change.
Verification
python -m pytest \
tests/test_json_schema.py \
tests/test_compare.py \
tests/test_analyze_ui.py \
tests/test_exhaustive.py \
-qBefore release:
bash scripts/validate.shDoes 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.

