/dev-standards:dev-standards-skill-description-stylefrom dev-standards
SKILL.md description style — conceptual conciseness then caveman/wenyan compression. LLM semantic retrieval, not keyword index. Use when: writing/editing SKILL.md description, reviewing PR with SKILL.md, briefing skill-writing subagent, auditing retrieval quality. Skip: SKILL.md body (different rules), non-skill markdown.
Ships in dev-standards. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The description field in SKILL.md frontmatter is retrieval metadata consumed by Claude Code's skill matcher. The matcher is LLM-driven semantic, not regex/keyword indexing. Implication: aggressive compression is fine as long as concept tokens and Use-when triggers stay semantically intact.
This rule replaces the prior "no-compression" rule, which was based on the wrong assumption that the retriever was keyword-indexed.
Compress description in two passes: (1) conceptual conciseness — drop citations, examples, reasoning, redundant clauses; preserve concept tokens and Use-when keywords. (2) caveman/wenyan — drop articles, filler, hedging; use wenyan glue where natural. Never drop a concept the user might query for.
Target length: 150–400 characters for typical skills. Hard ceiling: 1024 characters (some clients reject longer).
Earlier guidance assumed the retriever was a keyword/embedding index that scored on token overlap with the query. Under that model, every word mattered, so compression hurt recall.
The actual retriever is an LLM that reads all available skill descriptions in its context and decides which to invoke based on semantic intent. Under this model:
"Use when: building forms" and "用於:建表單" map to the same semantic intent. Style is free.The new constraint is the deterministic budget: descriptions are loaded into context every turn while the skill is auto-invocable. Char budget is 1% of context window or 8K fallback. Long descriptions get truncated mechanically, possibly mid-sentence. Compression protects against this truncation — a 250-char description is invulnerable; a 900-char description gets sliced.
Drop these:
Cites K2 §3.1, (commit b28aa0f), per ConflictQA arxiv 2604.11209. The body carries provenance; the description does not need it.Keep these:
After Pass 1, apply terse style:
a, an, the).just, really, basically, actually, simply).「設計多index retrieval」 for "designing a multi-index retrieval tool".fix not implement a solution for, kill not terminate the process.Use when: A, B, C, D as a comma-separated keyword cluster, not as prose sentences.Replace JS modal lib with native dialog not This skill should be used when the user wants to replace....Wenyan single-char glyphs (需, 乃, 勿) are fine in description — the LLM matches semantically, not on glyph identity. Use them where they save tokens without obscuring the concept.
Before (823 chars):
This skill should be used when the agent considers using a modern HTML, CSS, or DOM feature. It enforces the Baseline-tier decision tree: auto-adopt features that have been Widely available for at least 9 months (Tier A), prompt the user (or consult project CLAUDE.md memory) for Newly-available or recently-Widely features (Tier B), and avoid Limited features unless an explicit fallback is documented (Tier C). Use when: writing CSS or HTML, picking a UI pattern, replacing a JS library, choosing a layout or animation primitive, before reaching for popover, dialog, container queries, anchor positioning, view transitions, scroll-driven animations, color-mix, oklch, or :has(). Skip when: editing code in a non-UI domain, working in a language without HTML/CSS output, or when the user has explicitly stated they want Tier-C bleeding-edge features without prompting.
After Pass 1 (440 chars) — drop reasoning, drop "this skill should be used":
Baseline-tier decision tree for HTML/CSS/DOM features — Tier A Widely-9mo auto-adopt, Tier B Newly prompt user, Tier C Limited avoid sans fallback. Use when: writing CSS or HTML, picking UI pattern, replacing JS library, choosing layout or animation primitive, before popover, dialog, container queries, anchor positioning, view transitions, scroll-driven animations, color-mix, oklch, :has(). Skip: non-UI code, language without HTML/CSS, user opted Tier-C.
After Pass 2 (368 chars) — drop articles, fragmentize:
Baseline-tier decision tree for HTML/CSS/DOM features — Tier A Widely-9mo auto-adopt, Tier B Newly prompt user, Tier C Limited avoid sans fallback. Use when: writing CSS/HTML, picking UI pattern, replacing JS lib, choosing layout/animation primitive, before popover/dialog/container-queries/anchor-positioning/view-transitions/scroll-driven-animations/color-mix/oklch/:has(). Skip: non-UI code, language without HTML/CSS, user opted Tier-C.
Concept tokens preserved: Baseline, HTML, CSS, DOM, Tier A/B/C, popover, dialog, container queries, oklch, :has(). Triggers preserved as keyword cluster. Compressed 56% with no semantic loss.
Stop when:
Do not over-compress to the point that:
PC for PROVENANCE-CONTRACT) — the LLM's semantic match weakens on opaque shorthand even though it still works.This SKILL's own description is ~430 chars, two passes applied, all concept tokens (description, style, caveman, wenyan, LLM-driven, semantic) intact, Use-when and Skip clauses present.
Existing skills with verbose descriptions are not retroactively rewritten unless the file is touched for another reason. The repository compression pass on 2026-05-09 (commit forthcoming) handled the auto-invocable plugins — descriptions in disable-model-invocation: true skills are lower priority since they cost no per-turn budget.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub standardbeagle/standardbeagle-tools --plugin dev-standards25 skills in this plugin
/dev-standards-add-skillCreate new project-specific skill in `.claude/skills/` to codify recurring pattern. 在項目中新建可複用技能。 Use when: add skill, create skill, new skill, codify pattern, make reusable workflow/dev-standards-ce-compound記錄已解決問題以複利機構知識。Document solved problems in docs/solutions/ with structured YAML frontmatter. Use when: non-trivial problem solved + verified, prevent re-discovery, capture institutional learning before context fades, document best practice or workflow pattern. Skip: trivial (typo), solution unverified, problem in progress, project lacks docs/solutions/ convention./dev-standards-ce-setupDiagnose + configure compound-engineering env — CLI deps, plugin version, repo-local config. Guided install for missing tools, gitignore + config bootstrap. Use when: troubleshoot missing tools, verify CE setup, onboard repo, refresh config template, /ce-setup re-check. Skip: unrelated to compound-engineering tooling.