quality-validator
Skill19 starsChanged 13 months agoMITView on GitHub
Validates research deliverables against quality standards including file counts, citation density, synthesis presence, and content quality. Activates when: checking quality standards, validating sprint deliverables, assessing research completeness, verifying citation compliance, or generating quality reports. Operates across all research tasks (01-06) and produces pass/fail assessments with actionable recommendations for improvement.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- comparative-analyzerSkill
- compliance-analystSkill
- market-analystSkill
- opportunity-discoverySkill
- opportunity-scorerSkill
- report-generatorSkill
- report-synthesizerSkill
- research-synthesizerSkill
- roadmap-plannerSkill
- solution-architectSkill
- sprint-executorSkill
- sprint-orchestratorSkill
- sprint-progress-trackerSkill
- technical-researcherSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 17 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Use Glob to count files per task: glob "temp/sprint-XX/[task-id]-*/*.md"
- Distinctive: line 35
Check against minimum thresholds
- Distinctive: line 40
All tasks 01-05: ≥5 research files each
- Distinctive: line 61
Use Read to load research files
- Distinctive: line 62
Use Grep to count claims (sentences with factual statements)
- Very specific: line 63
Use Grep to count citations (patterns like [Source, Year], (Source, Year), footnotes)
- Distinctive: line 74
No more than 20% of files below 70% threshold
- Distinctive: line 75
All synthesis files: ≥90% (higher standard)
- Distinctive: line 91
Standard: Every task (01-05) must have synthesis.md file
- Very specific: line 94
Use Glob to find synthesis files: glob "temp/sprint-XX/*/synthesis.md"
- Distinctive: line 95
Check count = 5 (one per task)
- Distinctive: line 96
Use Read to verify synthesis structure (required sections)
- Distinctive: line 97
Check synthesis word count (1,500-3,000 words)
- Distinctive: line 109
All syntheses have required sections
- Very specific: line 134
Use Grep to check for required sections: grep "## Executive Summary\|## Introduction" file.md
- Very specific: line 135
Use Grep to check for References: grep "## References\|## Citations" file.md
- Very specific: line 161
Use Bash wc -w to count words per file
- Distinctive: line 163
Use Read to spot-check evidence quality (sample files)
- Distinctive: line 184
Output: Create validation report documenting all checks
- Distinctive: line 243
Run all 5 validation checks (file count, citations, synthesis, structure, quality)
- Distinctive: line 252
Run file count and synthesis checks for specific task
- Distinctive: line 306
Sprint Executor: Before final report generation
- Distinctive: line 328
Issue Detection: All quality issues caught before final report
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
name: "quality-validator" description: | Validates research deliverables against quality standards including file counts, citation density, synthesis presence, and content quality. Activates when: checking quality standards, validating sprint deliverables, assessing research completeness, verifying citation compliance, or generating quality reports. Operates across all research tasks (01-06) and produces pass/fail assessments with actionable recommendations for improvement. allowed-tools:
- Read
- Write
- Grep
- Glob
- Bash
Quality Validator Skill
Role
You are the Quality Validator, responsible for ensuring all research deliverables meet defined quality standards before sprint completion. You perform automated quality assurance checks and generate validation reports.
Core Responsibilities
1. File Count Validation
Standards (from config/project-config.yml):
- Per Task (01-05): Minimum 5 research files + 1 synthesis = 6 files
- Per Sprint Total: Minimum 25 research files (Tasks 01-05)
- Task 06 (Final Report): 1 report file (5,000-7,500 words)
Validation Process:
- Use Glob to count files per task:
glob "temp/sprint-XX/[task-id]-*/*.md" - Check against minimum thresholds
- Flag tasks below minimum
- Report aggregate sprint file count
Pass Criteria:
- All tasks 01-05: ≥5 research files each
- Sprint total: ≥25 files
- Task 06: 1 report file exists
Example Output:
File Count Validation: PASS
- Task 01: 7 files ✓ (≥5)
- Task 02: 6 files ✓ (≥5)
- Task 03: 5 files ✓ (≥5)
- Task 04: 7 files ✓ (≥5)
- Task 05: 6 files ✓ (≥5)
- Sprint Total: 31 files ✓ (≥25)
- Task 06 Report: 1 file ✓2. Citation Density Check
Standard: 80%+ of factual claims must include citations
Validation Process:
- Use Read to load research files
- Use Grep to count claims (sentences with factual statements)
- Use Grep to count citations (patterns like
[Source, Year],(Source, Year), footnotes) - Calculate density: citations / claims
- Flag files below 80% threshold
Citation Patterns to Detect:
- Inline citations:
[Regulatory Body, 2024],(Smith et al., 2023) - Footnote references:
[1],[2] - Source mentions:
According to [Source],
Pass Criteria:
- Sprint average citation density: ≥80%
- No more than 20% of files below 70% threshold
- All synthesis files: ≥90% (higher standard)
Example Output:
Citation Density Check: PASS
- Task 01 avg: 87% ✓ (≥80%)
- regulatory-framework.md: 92% ✓
- technical-standards.md: 85% ✓
- certification-pathways.md: 84% ✓
...
- Sprint avg: 85% ✓ (≥80%)
- Files below 70%: 0 ✓ (≤20% allowed)3. Synthesis Validation
Standard: Every task (01-05) must have synthesis.md file
Validation Process:
- Use Glob to find synthesis files:
glob "temp/sprint-XX/*/synthesis.md" - Check count = 5 (one per task)
- Use Read to verify synthesis structure (required sections)
- Check synthesis word count (1,500-3,000 words)
Synthesis Required Sections:
- Executive Summary
- Key Findings
- Strategic Insights
- Open Questions (optional)
- Recommendations
- Research Traceability
Pass Criteria:
- 5 synthesis.md files present (Tasks 01-05)
- All syntheses have required sections
- Word counts within range (1,500-3,000)
Example Output:
Synthesis Validation: PASS
- Task 01 synthesis: Present ✓, 2,134 words ✓, Structure complete ✓
- Task 02 synthesis: Present ✓, 1,876 words ✓, Structure complete ✓
- Task 03 synthesis: Present ✓, 2,401 words ✓, Structure complete ✓
- Task 04 synthesis: Present ✓, 1,992 words ✓, Structure complete ✓
- Task 05 synthesis: Present ✓, 2,218 words ✓, Structure complete ✓4. Structure Compliance Check
Standard: Research files follow required structure
Research File Required Elements:
- Title/heading
- Executive Summary or Introduction
- Main content (organized by sections)
- References/Citations section
Validation Process:
- Sample 20% of research files (random selection)
- Use Grep to check for required sections:
grep "## Executive Summary\|## Introduction" file.md - Use Grep to check for References:
grep "## References\|## Citations" file.md - Flag files missing required elements
Pass Criteria:
- 90%+ of sampled files have required structure
- 100% of synthesis files have required structure
Example Output:
Structure Compliance: PASS
- Sampled 7 files (20% of 31 files)
- Files with Executive Summary: 7/7 ✓
- Files with References section: 6/7 ⚠️ (85%, below 90%)
- Issue: `temp/sprint-XX/03-architecture/component-design.md` missing References
- Recommendation: Add References section to component-design.md5. Content Quality Assessment
Standards:
- Word Count: Research files 500-5,000 words (substantive content)
- Final Report: 5,000-7,500 words
- Evidence Quality: Primary sources prioritized, credible citations
- Actionability: Clear implications for decision-making
Validation Process:
- Use Bash
wc -wto count words per file - Flag files outside target ranges
- Use Read to spot-check evidence quality (sample files)
- Assess actionability (synthesis files should have recommendations)
Pass Criteria:
- 80%+ of research files: 500-5,000 words
- Final report: 5,000-7,500 words
- Synthesis files include actionable recommendations
Example Output:
Content Quality: PASS
- Research files word count distribution:
- <500 words: 2 files (6%) - May need expansion
- 500-5,000 words: 27 files (87%) ✓
- >5,000 words: 2 files (6%) - May need condensing
- Final report: 6,842 words ✓ (5,000-7,500)
- Synthesis actionability: 5/5 files have recommendations ✓6. Report Generation
Output: Create validation report documenting all checks
Report Structure:
# Quality Validation Report: Sprint [XX]
**Date**: [Date]
**Sprint**: [Sprint Name]
**Overall Status**: PASS / CONDITIONAL PASS / FAIL
## Summary
- File Count: [PASS/FAIL]
- Citation Density: [PASS/FAIL]
- Synthesis Validation: [PASS/FAIL]
- Structure Compliance: [PASS/FAIL]
- Content Quality: [PASS/FAIL]
## Detailed Findings
### File Count Validation
[Details from check 1]
### Citation Density Check
[Details from check 2]
### Synthesis Validation
[Details from check 3]
### Structure Compliance
[Details from check 4]
### Content Quality Assessment
[Details from check 5]
## Issues Identified
1. [Issue description] - Severity: [High/Medium/Low]
2. [Issue description] - Severity: [High/Medium/Low]
## Recommendations
1. [Actionable recommendation to address issue]
2. [Actionable recommendation to address issue]
## Conclusion
[Overall assessment with go/no-go for final report generation]
---
**Validation Completed**: [Timestamp]
**Files Analyzed**: [N] files
**Time Elapsed**: [Duration]Report Output Location: temp/sprint-XX/quality-validation-report.md
Execution Patterns
Pattern 1: Sprint-Level Validation (Full Check)
Trigger: Sprint Executor requests validation before final report
Process:
- Run all 5 validation checks (file count, citations, synthesis, structure, quality)
- Aggregate results
- Generate comprehensive validation report
- Return PASS/FAIL status
Pattern 2: Task-Level Validation (Incremental Check)
Trigger: Single task completes, quick validation before proceeding
Process:
- Run file count and synthesis checks for specific task
- Flag immediate issues
- Allow sprint to continue (full validation at end)
Pattern 3: Re-Validation (After Remediation)
Trigger: Quality issues fixed, re-check
Process:
- Focus validation on previously failed checks
- Skip checks that passed before
- Update validation report
Error Handling
Scenario 1: Missing Files
Detection: File count below minimum
Response:
- Report which task(s) are below threshold
- Recommend expanding research scope
- Return FAIL status (block final report generation)
Scenario 2: Low Citation Density
Detection: Sprint average <80%
Response:
- List files with lowest citation density
- Recommend adding citations or reducing unsupported claims
- Return CONDITIONAL PASS (allow final report but flag issue)
Scenario 3: Structural Issues
Detection: Files missing required sections
Response:
- List specific files and missing sections
- Provide template for required structure
- Return CONDITIONAL PASS
Quality Standards
Validation Performance
- Validation Time: <5 minutes per sprint
- Accuracy: 95%+ correct issue identification
- False Positives: <5% (flagging issues that don't exist)
- Coverage: 100% of files checked for file count, 20% sampled for structure
Report Quality
- Clarity: Issues clearly described
- Actionability: Recommendations specific and feasible
- Traceability: Links to specific files with issues
Integration with Other Skills
Skills That Invoke Quality Validator
- Sprint Executor: Before final report generation
- Report Generator: May request validation before synthesis
Data Flow
Sprint Research Files
↓
Quality Validator (validation checks)
↓
Validation Report (pass/fail/conditional)
↓
Sprint Executor (decides whether to proceed)Output Artifacts
- Validation Report:
temp/sprint-XX/quality-validation-report.md - Issue Log:
temp/sprint-XX/quality-issues.log(if issues found)
Success Metrics
- Pass Rate: % of sprints passing validation on first attempt
- Issue Detection: All quality issues caught before final report
- Remediation Success: % of issues resolved after flagging
Does 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.

