技能 编程开发 代码技能激活审计工具

代码技能激活审计工具

v20260604
skill-issue
这是一个用于审计代码生成器技能激活机制的工具。它可以评估每个技能的描述是否足够清晰,模拟给定提示词会触发哪个技能,并找出技能元数据之间的冲突。它帮助开发者确保AI代理的行为是准确、可预测和可靠的,尤其适用于开发和CI流程。
获取技能
194 次下载
概览

skill-issue — skill activation audit

Overview

A coding agent decides which skill to run from each skill's always-on name + description. A skill can be perfectly implemented and still never fire because its description is too vague to match how people phrase requests, or because a more specific sibling silently wins. skill-issue audits exactly that surface, grading each skill A–F, simulating which skill fires for a given prompt, and reporting collision clusters where one skill shadows another.

When to Use This Skill

  • Use when a skill you wrote never seems to trigger and you don't know why
  • Use when the user says "why isn't my skill firing", "which skill fires for X", or "audit my skills"
  • Use after writing or installing a new SKILL.md, to confirm it will actually be picked
  • Use in CI to fail a PR that adds a skill with empty/duplicate/colliding metadata

How It Works

Install the CLI (npm i -g @misha_misha/skill-issue, brew install mishanefedov/skill-issue/skill-issue, or npx @misha_misha/skill-issue), then:

skill-issue ~/.claude/skills                       # grade every skill A–F (+ collisions summary)
skill-issue ~/.codex/skills --why "deploy to prod" # which skill fires for this prompt, and why
skill-issue <dir> --collisions                     # clusters of skills that shadow each other
skill-issue <dir> --fix                            # append a "Use when …" clause to weak descriptions
skill-issue <dir> --json                           # machine-readable; exits non-zero on errors

Offline heuristic by default; add --llm to judge with a local claude/codex CLI.

Examples

Example 1: Audit installed skills

skill-issue ~/.claude/skills
# F  deploy-helper  ✗ no description — can never fire
# C  shipit         ! no "use when …" trigger clause
# A  rollback-prod  ✓ will fire on its triggers

Example 2: Diagnose a collision

skill-issue ~/.claude/skills --why "deploy the app to prod"
#  1. shipit       0.74  ← would fire
#  2. land-deploy  0.69  (margin 0.05 — ambiguous, likely collision)

Limitations

  • Offline scoring is heuristic and should be treated as a triage signal, not a final quality verdict.
  • Collision reports highlight likely shadowing, but agent-specific routers can weight metadata differently.
  • The --fix mode can improve weak trigger wording, but generated edits still need maintainer review before committing.
信息
Category 编程开发
Name skill-issue
版本 v20260604
大小 2.98KB
更新时间 2026-06-05
语言