SuperAPI AI Directory

skill-creator-linter

General & other

View repository

Updated 10-16 03:39

About this skill

Skill Creator Linter

Validates a candidate meta-skill SKILL.md before it gets registered.

G1 rules

Rule Check
G1.1 parse_meta_plan does not raise
G1.2 Every step.skill for kind=agent/skill_exec exists in the main catalog
G1.3 Template variables resolve at render time (covered by G1.1)
G1.4 on_failure parser rules (covered by G1.1)
G1.5 step kind: consistency (covered by G1.1)
G1.6 Grep: every `{{ inputs.user_message

G2 dry-run

Replace step executors with stubs yielding _StepDone(text="<stub:id>"). Run scheduler; pass if no exception and topology terminates.

Usage

uv run python {baseDir}/scripts/lint.py --skill-md path/to/SKILL.md --gates G1,G2
uv run python {baseDir}/scripts/lint.py --skill-md-stdin --gates G1,G2 < SKILL.md

Output

JSON to stdout: {"G1": {"passed": bool, "diagnostics": [...]}, "G2": {...}}.

Fallback

Manually inspect SKILL.md and run parse_meta_plan in a Python REPL.