Agent skill
validate-usercontext-instructions
Validate user-context instruction files against schema, section completeness, quality checks, and scoring criteria.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/validate-usercontext-instructions
Metadata
Additional technical details for this skill
- source prompt
- prompts/validate-usercontext-instructions.prompt.md
- workflow type
- validation
SKILL.md
Validate User Context Instructions
Purpose
Validate user-context instruction files and produce deterministic reports with issues, recommendations, and a compliance score.
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 validation phases from
references/phase-checks.md. - Generate report using
references/report-contract.md. - Apply deterministic scoring from
references/scoring.md. - Classify findings into critical/warning/enhancement buckets.
- Produce implementation-ready recommendations.
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.
- Keep recommendations implementation-ready and non-ambiguous.
- Use provider-neutral language.
- Do not modify validated source files automatically.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?