validate-skill
Scannednpx machina-cli add skill MSiccDev/ai-context-kit/validate-skill --openclawFiles (1)
SKILL.md
1.5 KB
Validate Skill
Purpose
Validate SKILL.md files with deterministic checks and produce structured validation reports.
When To Use
- Use this skill when validating any
skills/<name>/SKILL.mdartifact. - Use this skill before accepting skill updates.
- Do not use this skill to generate new skills.
Required Inputs
- Target skill folder path.
- Target
SKILL.mdpath. - 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 remediation guidance.
Output Expectations
- Structured markdown validation report.
- PASS/WARN/FAIL status and compliance score.
- Actionable fixes for blocking and non-blocking issues.
Resources
- Phase checks:
references/phase-checks.md - Report contract:
references/report-contract.md - Scoring model:
references/scoring.md - Skill template:
../../templates/skill_template/SKILL.md
Constraints And Safety
- Keep findings deterministic and concise.
- Preserve provider neutrality.
- Do not modify validated source files automatically.
Source
git clone https://github.com/MSiccDev/ai-context-kit/blob/development/skills/validate-skill/SKILL.mdView on GitHub Overview
Validates SKILL.md files for schema, quality, safety, portability, and scoring compliance, producing a deterministic validation report. It helps prevent flawed skill updates by surfacing actionable fixes.
How This Skill Works
It executes phase checks from references/phase-checks.md, generates a structured report via references/report-contract.md, and applies a deterministic score from references/scoring.md. Findings are classified into critical, warning, and enhancement buckets with remediation guidance.
When to Use It
- Use this skill when validating any skills/<name>/SKILL.md artifact.
- Use this skill before accepting skill updates.
- Do not use this skill to generate new skills.
- Run validation during code review or CI before merging changes.
- Apply the validation to ensure consistency with the approved reporting contract.
Quick Start
- Step 1: Provide Target skill folder path, SKILL.md path, and any strictness settings.
- Step 2: Run the validation workflow to execute phase checks, generate a report, and compute scores.
- Step 3: Review the PASS/WARN/FAIL status and apply the suggested remediation.
Best Practices
- Provide the target skill folder and SKILL.md path as inputs.
- Specify any validation strictness expectations to guide checks.
- Rely on phase checks, report contracts, and scoring models as baseline.
- Keep findings deterministic and concise; avoid non-deterministic language.
- Produce actionable remediation guidance for blocking and non-blocking issues.
Example Use Cases
- CI validation of a new skills/awesome/SKILL.md before merge.
- Gating a skill update by running validation and failing on critical findings.
- Reviewing a validation report to implement remediation steps.
- Validating on a scheduled job before release.
- Auditing multiple skills to ensure consistency across artifacts.
Frequently Asked Questions
Add this skill to your agents