ack-validate-user-context
Skill13 starsChanged 5 months agoMITView on GitHub
Validate user-context instruction files against schema, section completeness, quality checks, and scoring criteria.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- ack-create-agents-mdSkill
- ack-create-checkpointSkill
- ack-create-skillSkill
- ack-create-user-contextSkill
- ack-drift-controlSkill
- ack-guideSkill
- ack-interviewSkill
- ack-interview-with-contextSkill
- ack-loop-01-readinessSkill
- ack-loop-02-implementSkill
- ack-loop-03-reviewSkill
- ack-loop-04-learningsSkill
- ack-loop-05-commitSkill
- ack-openspec-checkSkill
- ack-restore-checkpointSkill
- ack-sessionSkill
- ack-setupSkill
- ack-tddSkill
- ack-validate-agents-mdSkill
- ack-validate-skillSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Use this skill to validate *_usercontext.instructions.md files.
- Distinctive: line 19
Use this skill before publishing or reusing a user-context file.
- Distinctive: line 20
Do not use this skill for project AGENTS.md (project context) files.
- Very specific: line 28
Run the five phases in references/phase-checks.md.
- Very specific: line 29
Check for the spec_version field in the YAML frontmatter: flag a WARNING if it is absent (older files may predate it) or older than 2.0.0.
- Very specific: line 32
Write the report next to the target, as references/report-contract.md describes.
- Distinctive: line 52
Write only the report; leave the validated file unchanged.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Validate User Context Instructions
Purpose
Validate user-context instruction files and produce structured reports with issues, recommendations, and a compliance score based on a deterministic scoring rubric.
When To Use
- Use this skill to validate
*_usercontext.instructions.mdfiles. - Use this skill before publishing or reusing a user-context file.
- Do not use this skill for project
AGENTS.md(project context) files.
Required Inputs
- Target file path.
- Expected spec version and required sections.
- Validation strictness expectations (if any).
Workflow
- Run the five phases in
references/phase-checks.md. A phase is done when every check in it has a result. - Check for the
spec_versionfield in the YAML frontmatter: flag a WARNING if it is absent (older files may predate it) or older than2.0.0. - Score each phase with
references/scoring.md. The phase scores must add up to the reported total; state the sum in the report. - Classify every finding as Critical, Warning or Enhancement, each with a concrete fix.
- Write the report next to the target, as
references/report-contract.mddescribes.
Output Expectations
- A markdown validation report with phase-by-phase findings.
- Overall PASS/WARN/FAIL state and numeric score.
- Actionable fixes for critical and warning issues.
- Migration guidance when relevant.
- Report schema follows
references/report-contract.md. - Scoring and grade bands follow
references/scoring.md.
Resources
- Phase checks:
references/phase-checks.md - Report contract:
references/report-contract.md - Scoring model:
references/scoring.md - Example target:
../../usercontexts/sample_usercontext.instructions.md - Example report:
../../usercontexts/sample_usercontext.validation.md
Constraints And Safety
- Preserve privacy boundaries in findings and examples.
- Use provider-neutral language.
- Write only the report; leave the validated file unchanged.
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.

