session-format-validator
Skill3 starsChanged 54 days agoMITView on GitHub
Validate new or changed GitHub Copilot Train-the-Trainer session directories before they are added to the curriculum. Use this skill whenever a user creates, adds, updates, reviews, or asks whether a session under sessions/session-* follows the repository's repeatable format, including required materials, catalog metadata, navigation, and lab access or fallback guidance. Use it even when the user only asks to check a session README or lab.
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill to verify that a training session is ready to join the curriculum.
- Distinctive: line 18
Run the validator from the repository root:
- Very specific: line 25
Add --json when the result must feed another tool or a CI job.
- Distinctive: line 26
Read the session overview, lab, and trainer guide only for findings that need explanation.
- Distinctive: line 68
If every check passes, omit Needs work.
- Distinctive: line 74
Keep existing material intact during validation.
- Distinctive: line 76
Do not accept a manual simulation as a replacement for required Copilot access.
- Distinctive: line 79
Do not require a live vendor tool, customer access, or a finished application.
- Very specific: line 80
Use scripts/validate-labs.sh separately when the user also asks to validate executable starter or solution files.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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
Session format validator
Use this skill to verify that a training session is ready to join the curriculum. It reports gaps. It does not create files, rewrite curriculum content, or repair metadata unless the user asks for a separate implementation task.
Validate a session
- Identify the session directory by its full module-local ID, such as
m2-01. Find the matchingsessions/session-m2-01-*directory. If the user provides only a local number, ask which module they mean. Run the validator from the repository root:
python .github/skills/session-format-validator/scripts/validate_session.py \ sessions/session-mN-NN-topicAdd
--jsonwhen the result must feed another tool or a CI job.- Read the session overview, lab, and trainer guide only for findings that need explanation. Do not invent a requirement that the validator did not find.
- Report results under Passed checks and Needs work. Group failures by materials, metadata, navigation, or lab readiness. Include the exact file and a concrete correction for every failed check.
What the validator checks
- Required materials: overview, trainer guide, lab guide, slides, starter assets, and solution assets.
- Trainer slides: a trainer-facing deck that explains the core concepts before the lab, including an agenda, concrete examples or decision criteria, and a lab handoff. Treat a short agenda-only outline as incomplete teaching material.
- Metadata: the directory name, overview heading, shared catalog entry, and valid module, difficulty, and duration values.
- Navigation: entries in
mkdocs.yml,README.md,curriculum-plan.md, andtracks/full-mastery.md. - Lab readiness: a setup or preflight section, a learner deliverable, and one clear access policy. The lab must require access to the named tools and tell learners to stop when access is missing.
The repository's established template is the reference:
track-template/session-template/.
Result format
Use this structure:
## Session mN-NN — <title>
**Status:** Ready | Needs work
### Passed checks
- <short confirmation>
### Needs work
- `path:line or section` — <what is missing>. <specific correction>.If every check passes, omit Needs work. If the directory is missing, state that first and stop. Do not claim that a session is ready when required files or curriculum navigation are missing.
Scope boundaries
- Keep existing material intact during validation.
- Require a firm access prerequisite with a stop-if-missing instruction.
- Do not accept a manual simulation as a replacement for required Copilot access.
- Accept another setup only when it uses the same required Copilot capability and preserves the same completion evidence.
- Do not require a live vendor tool, customer access, or a finished application.
- Use
scripts/validate-labs.shseparately when the user also asks to validate executable starter or solution files.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- sessions/session-m2-03-spaces-and-context/lab/solution/ecommerce-project/.github/copilot-instructions.mdCopilot instructions
- sessions/session-m2-03-spaces-and-context/lab/solution/instructions-lab/.github/copilot-instructions.mdCopilot instructions
- sessions/session-m3-02-cloud-agent/lab/starter/copilot-instructions.mdCopilot instructions
- sessions/session-m5-03-hve-core-challenge/lab/solution/decision-api/.github/copilot-instructions.mdCopilot instructions
- baoyu-infographicSkill
- diagram-creatorSkill
- docxSkill
- excalidraw-diagramSkill
- humanize-contentSkill
- impeccableSkill
- pdfSkill
- pptxSkill
- rvap-brandSkill
- skill-creatorSkill
- xlsxSkill
- impeccableSkill
- deploymentSkill
- api-designSkill
- grillingSkill
- grill-meSkill
- deploymentSkill
- replace-with-directory-nameSkill
- decision-interviewSkill
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.

