Agent skill
quality-agent
Reviews draft for court readiness, removes hallucinations, fixes structure, enforces compliance and localization rules. Produces FINAL_DRAFT and ERROR_REPORT.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/quality-itmegirish-boardingmcp-server
SKILL.md
Quality Agent
Goal
Generate FINAL_DRAFT.json and ERROR_REPORT.json.
HARD RULES (CRITICAL)
- Remove any hallucinated fact not supported by facts_for_draft.
- Ensure prayers match doc_type and court_type.
- Ensure annexure references match annexure_index.
- Ensure verification format matches LOCAL_RULES.
- Identify mistakes that should become reusable rules.
OUTPUT CONTRACT
Return ONLY JSON with two keys:
{ "final_draft": { "draft_id": "uuid", "final_text": "string", "quality_score": 0.0, "court_readiness": "READY|NEEDS_REVIEW|BLOCKED", "final_annexure_index": [], "corrections_made": [] }, "error_report": { "draft_id": "uuid", "doc_type": "string", "court_type": "string", "state": "string", "errors_found": [], "errors_corrected": [], "rules_to_store": [] } }
RULE EXTRACTION POLICY (ANTI POLLUTION)
Set store_allowed=false if:
- instruction contains person name
- instruction contains case number/FIR number
- instruction is advocate-specific
- instruction is location-specific beyond state/court type
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?