跳到正文
cccskills
免费在 GitHub 公开

skill-audit

Audit, design, categorize, distribute, and measure agent skills using lessons from Anthropic's Lessons from building Claude Code: How we use skills. Use when reviewing an existing skill, deciding whether a workflow deserves a skill, planning a skill library, turning team knowledge into skills, choosing skill categories, writing trigger descriptions, designing progressive disclosure, or planning skill marketplace and usage measurement.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md6.3 KB
  • assets/skill-brief-template.md1.3 KB
  • references/skill-taxonomy.md3.7 KB
  • references/writing-and-operations.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Skill Audit

Use this skill to audit existing skills, turn workflow knowledge into useful agent skills, and review skill libraries at the strategy level. It complements skill-creator: use this skill to decide what a skill should be, how it should fit a library, and what needs improvement; use skill-creator when the user wants the concrete SKILL.md implementation and eval loop.

This workflow is based on Anthropic's June 3, 2026 blog post, "Lessons from building Claude Code: How we use skills": https://claude.com/blog/lessons-from-building-claude-code-how-we-use-skills

Core Principle

A good skill is not "some markdown about a topic." It is a compact extension point that gives the agent non-obvious domain knowledge, reusable files, deterministic helpers, setup rules, verification habits, and guardrails at the moment they matter.

Workflow

1. Decide Whether This Should Be A Skill

Create or improve a skill only when at least one of these is true:

  • The workflow repeats often enough that users should not re-explain it.
  • The agent regularly makes the same domain-specific mistake.
  • The work needs local scripts, templates, examples, assets, hooks, or setup.
  • The output must follow a stable structure or verification path.
  • The knowledge is team-specific, product-specific, infrastructure-specific, or otherwise not inferable from general model knowledge.

Do not make a skill when the content only restates obvious coding behavior, generic best practices, or one-off instructions.

2. Classify The Skill

Read references/skill-taxonomy.md and classify the candidate into exactly one primary category. If it appears to span several categories, tighten the scope or split it.

Report:

  • Primary category
  • Secondary category, if truly needed
  • Why this category is the cleanest fit
  • What would make the skill too broad

3. Draft A Skill Brief

Use assets/skill-brief-template.md for the output. Fill it with:

  • Trigger description written for the model, not as a human-facing summary
  • High-signal knowledge the model would not otherwise know
  • Gotchas and failure modes
  • Autonomy boundaries: what the skill may do directly, and what must be escalated before acting
  • Evidence-backed pushback rules: when the agent should challenge the proposed path and what evidence it must cite
  • Feedback loop: where repeated corrections, false-success signals, or manual recovery steps should be promoted
  • Progressive disclosure map: SKILL.md vs references vs scripts vs assets
  • Setup requirements or config questions
  • Verification strategy
  • Reliable Skill Contract coverage for high-value workflow skills
  • Distribution path
  • Measurement plan

4. Design Progressive Disclosure

Keep SKILL.md focused on activation, decisions, and the main workflow. Move details into support files:

  • references/ for tables, API conventions, taxonomy, playbooks, and long docs
  • scripts/ for deterministic actions or repetitive checks
  • assets/ for templates, report formats, starter files, or examples
  • agents/ for specialized subagent prompts when the repo supports them
  • evals/ for realistic prompts and objective assertions

Tell the agent exactly when to read each support file.

5. Add Operational Design

Read references/writing-and-operations.md when deciding:

  • Whether a setup step or config file is needed
  • Whether the skill should remember past runs
  • Whether scripts or hooks would improve reliability
  • Whether the skill belongs in a repo, a shared plugin, or a marketplace
  • What usage signals indicate undertriggering, overtriggering, or decay

6. Hand Off To Implementation

When the user wants the skill built, pass the brief into skill-creator and ask it to implement the files, generate realistic test prompts, and run validation.

If editing an existing skill, include the exact file paths and the smallest content changes needed. Do not rewrite unrelated skill behavior.

7. Check The Reliable Skill Contract

For agent-workflow, delivery, PR, automation, or high-impact skills, use skill-lifeguard or apply the same five-element score:

  • explicit negative examples
  • verification checkpoints
  • machine-checkable done conditions
  • replay or smoke hooks with a log-to-patch loop
  • drift signal detection

Report each element as present, partial, missing, or deferred. A missing element is not always a blocker, but it must be visible in the brief and patch plan.

Output Format

For advisory requests, answer with:

  1. Decision: create, improve, split, merge, or do not create
  2. Category: one primary taxonomy category
  3. Skill brief: filled from the template
  4. Implementation notes: files to create/edit and validation commands
  5. Reliable Skill Contract score, when applicable
  6. Risks: overbreadth, obviousness, missing setup, missing verification, or weak trigger description

For repository work, actually create or update the files, then run the repo's skill validation command.

Gotchas

  • Do not make a knowledge dump. Convert article or team knowledge into decisions, checklists, templates, and verification.
  • Do not put all details in SKILL.md. Long reference material belongs in support files.
  • Do not write a description as a marketing summary. It must name concrete user phrases and contexts that should trigger the skill.
  • Do not railroad the agent with brittle instructions. Provide defaults, decision criteria, and escape hatches.
  • Do not ship a skill without at least a lightweight way to tell if it worked: validation commands, example prompts, expected artifacts, or usage metrics.
  • Do not encode vague autonomy such as "be proactive." Name the direct actions, escalation boundaries, and end-state checks that should change behavior.
  • Do not call a brittle skill "reliable" without negative examples, checkpoints, done conditions, replay or smoke hooks, and drift signals.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audit and organize AI coding-agent instructions, including AGENTS.md, CLAUDE.md, skills, and agent definitions. Use when the user asks to diagnose conflicting instructions, excessive approval pauses, broad skill triggers, duplicate guidance, or broken instruction references, or to clean up that instruction set. Ordinary code review, Markdown editing, or application debugging alone does not trigger this workflow. Inspection stays read-only; apply changes when authorized.

中文简介正在准备中。当前显示原文说明。

majiayu000/spellbook2882026年10月20日 更新

Generate or update repository-specific AGENTS.md instruction files from real repo evidence. Use when asked to create, design, scaffold, split, or improve root or scoped AGENTS.md files for Codex/Claude/agent workflows, especially when a repo needs directory-specific rules, validation commands, generated-file boundaries, or a short agent onboarding router.

中文简介正在准备中。当前显示原文说明。

majiayu000/spellbook2882026年10月20日 更新

REST/GraphQL/gRPC API design best practices. Use when designing APIs, defining contracts, handling versioning. Covers OpenAPI 3.2, GraphQL Federation, gRPC streaming.

中文简介正在准备中。当前显示原文说明。

majiayu000/spellbook2882026年10月20日 更新

Mobile app UI design expert for iOS and Android. Use when designing app interfaces, creating design systems, ensuring accessibility, or following platform guidelines. Covers Material Design 3, Human Interface Guidelines, color theory, typography, and 2025 trends.

中文简介正在准备中。当前显示原文说明。

majiayu000/spellbook2882026年10月20日 更新

End-to-end app feature inventory and user-story testing workflow with a canonical tracker. Use when the user asks to audit every feature, derive expected behavior from code, test user journeys, or explicitly fix and retest documented UX or logistical defects.

中文简介正在准备中。当前显示原文说明。

majiayu000/spellbook2882026年10月20日 更新

Design architecture foundations before implementation. Use when asked to design or refactor architecture, choose Rust/Go crate, package, module, runtime, workflow, or service boundaries, compare mature project architecture, prevent stacked one-off PRs, audit migration debt in existing repos, or produce a spec before coding.

中文简介正在准备中。当前显示原文说明。

majiayu000/spellbook2882026年10月20日 更新

查看 majiayu000 的全部技能

报告此技能的问题