Files
holocron/plugins/kyberforge/skills/skill-audit
Defame1297 193c40106d fix(kyberforge): fix bats SCRIPT path and clarify test helper install location
Both validate.bats and new-skill.bats constructed SCRIPT using
$(dirname "$BATS_TEST_FILENAME"), which resolves to tests/ — causing
every test to fail with file-not-found. Fixed to use
$BATS_TEST_DIRNAME/../scripts/ to reach the actual scripts/ directory.

Also clarifies that bats-support/bats-assert must be installed from the
repo root (not the skill root) to match where the tests load them from,
and adds text language tags to three output-template code blocks in
skill-audit's SKILL.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 19:31:08 +00:00
..

skill-audit

Audit a skill directory against the agentskills.io specification. Runs structural validation then a qualitative review across description quality, body discipline, formatting, file structure, and internal consistency.

What it does

  1. Runs scripts/validate.sh for structural checks (name format, description length, line count, placeholder detection, script rules)
  2. Reads all files in the skill directory
  3. Applies qualitative checks across seven dimensions
  4. Outputs a compact findings report — findings only, grouped by dimension, each with Why and Fix — and a result block with handoff to /skill-improve

Usage

/skill-audit

Provide the path to the skill directory to audit when invoking.

Files

File Purpose
SKILL.md Skill instructions for agents
scripts/validate.sh Structural validator — checks name format, name matches directory, description length, line count, placeholder detection, script executable bit, and interactive-prompt detection
references/description-quality.md Spec-grounded rubric for description auditing — loaded when a finding is borderline
references/body-discipline.md Spec-grounded rubric for body discipline auditing — loaded when padding vs necessity is unclear
tests/validate.bats Bats test suite for validate.sh
tests/README.md Setup instructions for bats-support and bats-assert test dependencies
README.md This file