Agent skill
lawyer_validator
Validates FINAL_DRAFT.json for legal correctness, Indian court compliance, formatting, and hallucination risk. Produces VALIDATION_REPORT.json with pass/fail and required fixes.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/lawyer-validator
SKILL.md
Lawyer Validator Skill (Indian Context)
Purpose
This skill performs court-grade validation of generated legal drafts. It checks compliance, structure, missing mandatory clauses, jurisdiction correctness, and detects hallucinated facts/citations.
Inputs
- FINAL_DRAFT.json
- MASTER_FACTS.json
- MERGED_CONTEXT.json
- COMPLIANCE_REPORT.json
- LOCAL_RULES.json
- PRAYER_PACK.json
- CITATION_PACK.json (optional)
Outputs
Writes:
- VALIDATION_REPORT.json
Validation Checklist (Mandatory)
- Jurisdiction correctness (State, City, Court)
- Correct court heading format
- Proper party naming format (Petitioner/Respondent)
- Verification clause present
- Affidavit requirements included if needed
- Prayer clause matches proceeding type
- Annexures referenced correctly
- Limitation compliance check
- No missing mandatory sections
- No hallucinated facts (must exist in MASTER_FACTS or uploaded docs)
- No unverified citations (must be verified=true and have verification_hash)
Hard Failure Conditions (Must Fail)
- Missing jurisdiction
- Missing verification clause (where mandatory)
- Any fact not backed by source_doc_id
- Any citation without verified=true + verification_hash
- Relief/prayer not supported by facts
- Wrong court type for proceeding
Output Schema (VALIDATION_REPORT.json)
Must include:
- status: PASS/FAIL
- issues: [ {severity, section, problem, fix_suggestion} ]
- hallucination_flags: []
- citation_flags: []
- missing_sections: []
- quality_score: 0-100
Model Configuration Test Results
Configuration: [Kimi K2.5] Total Cost: $X.XX Execution Time: XX seconds Accuracy Score: XX% Notes: [observations]
Test speed
U need check te
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?