Run comprehensive validation and review checks including heading numbering, TODO/FIXME comments, Nextflow script conventions, orphaned files, admonition syntax, lesson structure, formatting, content accuracy, and teaching effectiveness. Use when validating, reviewing, or checking training materials quality, lesson quality, or before committing changes.
Run comprehensive validation checks on training materials to ensure quality and consistency. This includes both automated checks and deep lesson reviews.
IMPORTANT: Ask the user to specify what to validate if not clear from the request:
If the user provides a path or module name, only validate that specific content.
IMPORTANT: All commands in this skill must be executed from the repository root directory.
mkdocs.yml, docs/, and .github/Based on the user's request, determine the scope:
Specific side quest (e.g., "debugging"):
docs/side_quests/{name}.mdside-quests/{name}/**/*.nfside-quests/solutions/{name}/**/*.nfSpecific module (e.g., "hello_nextflow"):
docs/{module}/**/*.md{module}/**/*.nf or nf-training/**/*.nf{module}/solutions/**/*.nfEntire repository (only if explicitly requested):
docs/**/*.md, **/*.nfPerform the following checks only on files within the determined scope:
Check Heading Numbering
uv run .github/check_headings.py [scoped-path]/**/*.md--fix flagFind TODO/FIXME Comments
Check Nextflow Script Conventions
#!/usr/bin/env nextflowFind Orphaned Files
Verify Admonition Syntax
Deep Lesson Review (when reviewing a specific lesson file)
If the user asks to review a specific lesson, perform this comprehensive checklist:
a. Structure Check:
b. Formatting Check:
console title="Output"c. Content Check:
d. Teaching Effectiveness:
e. Cross-References:
f. Examples & Code:
Provide a structured report. For automated validation checks:
# Validation Report
## Heading Numbering
✓ All headings correctly numbered
[or list of issues with file:line]
## TODO/FIXME Comments
Found 15 total:
- High priority: 3
- Documentation: 8
- Code: 4
Top files:
- docs/side_quests/debugging.md (5 items)
- ...
## Nextflow Scripts
✓ All 23 scripts follow conventions
[or list of non-compliant scripts]
## Orphaned Files
Found 2 orphaned markdown files:
- docs/old/deprecated.md
- ...
## Admonitions
✓ All admonitions properly formatted
[or list of issues]
## Summary
[Overall assessment and recommended actions]
For deep lesson reviews, add:
## Lesson Review: [lesson-name]
### Structure
[Assessment of structure with specific issues/successes]
### Formatting
[Assessment of formatting with specific issues/successes]
### Content Accuracy
[Assessment of technical content]
### Teaching Effectiveness
[Assessment of pedagogical quality]
### Cross-References
[Assessment of links and references]
### Examples & Code
[Assessment of code quality]
### Overall Assessment
[Summary with severity-organized issues and recommendations]
### Positive Aspects
[Things worth preserving]
npx skills add sageloom/Validate Training Materials下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Category:science-education