| name | json-contract-maintainer |
|---|---|
| description | Use when changing mq-image-analyze JSON output schemas, analysis result fields, compare output, UI analysis output, exhaustive mode, or stable integration contracts. |
Use this skill for any machine-readable output change.
- "add a field to the analyze JSON output"
- "change the compare output schema"
- "stabilize the UI analysis contract"
- "version the exhaustive-mode output"
- "change a CLI flag" → use
cli-maintainer - "change MCP tool schemas" → use
mcp-tools-maintainer - "update schema docs only" → use
docs-maintainer
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
- 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.
- 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.
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.sh