Agent skill

quality-agent

Reviews draft for court readiness, removes hallucinations, fixes structure, enforces compliance and localization rules. Produces FINAL_DRAFT and ERROR_REPORT.

Stars 163
Forks 31

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results