Skill quality

From edmundmiller/dotfiles · View interactive version

Skill quality is an AI agent skill from the GitHub repository edmundmiller/dotfiles. Validates skill structure and invocation boundaries. Use when auditing a skill, debugging its trigger, or checking portability across agent runtimes.

How to use this skill

Skill file

Skill Quality

Use this skill when creating or revising a skill, debugging invocation, reviewing a skill catalog, or moving repeatable prose into a script.

Start with the Deterministic Gate

Run the shipped validator before model review:

python3 ~/.agents/skills/skill-quality/scripts/validate.py path/to/skill

In this dotfiles repository:

python3 skills/catalog/skill-quality/scripts/validate.py \
  skills/catalog .agents/skills skills/conditional

Use --json for structured output. Fix every reported finding before judging prose quality.

The validator enforces:

These are structural requirements. They do not prove that instructions are correct or useful.

Choose the Directory Shape

Keep the entrypoint focused on decisions and the shortest successful workflow. Supporting files should be reachable directly from SKILL.md; avoid reference chains.

Review the Judgment Layer

Trigger quality

Workflow quality

Example quality

Script quality

Move checks into scripts when the result depends only on parseable state. Keep tradeoffs, intent, and exception handling in prose.

Test on Terra and Sol

Both models should obey the same safety, scope, and verification contract. Test different failure tendencies, not different requirements.

Terra: balanced default

Use common and moderately complex cases. Look for:

Sol: frontier reasoning

Use ambiguous, high-risk, or cross-system cases. Look for:

Cross-model invariant

Run at least one identical scenario on both models. Compare observable behavior:

Broad shared skills need both model passes. Narrow mechanical skills may use one shared scenario plus deterministic script tests. Record evidence; do not claim cross-model compatibility from prose inspection alone.

See TESTING.md for the evaluation template and scoring guidance.

Review Checklist

  1. Run scripts/validate.py.
  2. Confirm trigger, scope, exclusions, and authority boundaries.
  3. Exercise the common path and one real failure path.
  4. Test Terra and Sol in proportion to skill breadth and risk.
  5. Move any newly discovered deterministic invariant into the validator or a skill-local script.

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.