validate-report-file
БесплатноБез исполняемых скриптовНе проверенValidate that worker-generated reports have all required sections and proper formatting. Use in quality gates, for report completeness checking, or when…
от maslennikov-ig★ 271 звезда на GitHubОб этом скилле
Validate Report File
Validate agent-generated report files for completeness and proper structure.
When to Use
- Quality gate validation after worker completion
- Debugging missing report sections
- Ensuring report consistency
- Pre-submission validation
Instructions
Step 1: Read Report File
Use Read tool to load report file.
Expected Input:
file_path: Path to report file (e.g.,bug-hunting-report.md)
Tools Used: Read
Step 2: Check Required Sections
Verify all required sections are present.
Required Sections:
Header with metadata:
- Title (# Report Type Report: Version)
- Generated timestamp
- Status indicator (✅/⚠️/❌)
- Version identifier
Executive Summary:
Executive Summary heading
- Key metrics and findings
Detailed Findings:
- Varies by report type
- Must have at least one detail section
Validation Results:
Validation Results heading
- Build/type-check status
- Overall validation status
Next Steps:
Next Steps heading
- Action items or recommendations
Step 3: Validate Format
Check formatting and structure.
Format Rules:
- Title must be H1 (single #)
- Section headers must be H2 (##)
- Status must include emoji (✅/⚠️/❌)
- Code blocks must use proper markdown
- Lists must be properly formatted
Step 4: Check Status Consistency
Verify status indicators are consistent.
Consistency Checks:
- Header status matches validation status
- If status is "failed", validation should show failures
- If status is "success", validation should show passes
Step 5: Return Validation Result
Return detailed validation result.
Expected Output:
{
"valid": true,
"file": "bug-hunting-report.md",
"sections": {
"header": true,
"executiveSummary": true,
"detailedFindings": true,
"validationResults": true,
"nextSteps": true
},
"warnings": [],
"errors": []
}
Error Handling
- File Not Found: Return error with file path
- Missing Sections: List all missing required sections
- Invalid Format: Describe format issues
- Inconsistent Status: Warn about status mismatches
Examples
Example 1: Valid Report
Input:
file_path: bug-hunting-report.md
File Content:
# Bug Hunting Report: 2025-10-17
**Generated**: 2025-10-17 14:30:00 UTC
**Status**: ✅ success
---
## Executive Summary
Found 23 bugs across 147 files.
## Detailed Findings
### Critical (3)
- Bug 1
- Bug 2
- Bug 3
## Validation Results
- Type-check: ✅ PASSED
- Build: ✅ PASSED
**Overall**: ✅ PASSED
## Next Steps
1. Review critical bugs
2. Schedule fixes
Output:
{
"valid": true,
"file": "bug-hunting-report.md",
"sections": {
"header": true,
"executiveSummary": true,
"detailedFindings": true,
"validationResults": true,
"nextSteps": true
},
"warnings": [],
"errors": []
}
Example 2: Missing Sections
Input:
file_path: incomplete-report.md
File Content:
# Bug Report
Some bugs found.
Output:
{
"valid": false,
"file": "incomplete-report.md",
"sections": {
"header": false,
"executiveSummary": false,
"detailedFindings": false,
"validationResults": false,
"nextSteps": false
},
"warnings": [],
"errors": [
"Missing header metadata (Generated, Status, Version)",
"Missing section: Executive Summary",
"Missing section: Detailed Findings",
"Missing section: Validation Results",
"Missing section: Next Steps"
]
}
Example 3: Inconsistent Status
Input:
file_path: inconsistent-report.md
File Content:
# Bug Report: 2025-10-17
**Status**: ✅ success
## Executive Summary
Failed to scan files.
## Validation Results
**Overall**: ❌ FAILED
Output:
{
"valid": false,
"file": "inconsistent-report.md",
"sections": {
"header": true,
"executiveSummary": true,
"detailedFindings": false,
"validationResults": true,
"nextSteps": false
},
"warnings": [
"Status inconsistency: Header shows success (✅) but validation shows failed (❌)"
],
"errors": [
"Missing section: Detailed Findings",
"Missing section: Next Steps"
]
}
Validation
- Checks all required sections present
- Validates header metadata
- Verifies status consistency
- Detects format issues
- Returns clear error messages
- Handles missing files gracefully
Supporting Files
schema.json: Report structure schema (see Supporting Files section)
Установить validate-report-file в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadВложенные файлы
FAQ
Что делает скилл validate-report-file?
Validate that worker-generated reports have all required sections and proper formatting. Use in quality gates, for report completeness checking, or when debugging missing report sections.
Как установить скилл validate-report-file?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл validate-report-file запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic