本文へ移動
cccskills
無料GitHub で公開

description-assist

Use when polishing a skill/rule/command/guideline frontmatter description — pushier phrasing, trigger coverage, undertrigger audit — even if the user just says 'make this pushier'.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md7.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

<!-- cloud_safe: degrade -->

description-assist

When to use

  • The user says "make this description pushier", "this description is weak", "will this ever fire", "rewrite the description".
  • Called from within the Draft phase of one of the writing skills (skill-writing, rule-writing, command-writing, guideline-writing).
  • Auditing a skill flagged by audit_skill_descriptions.ts as too-short, no-trigger-prefix, or description_too_long in skill_linter.ts.

Do NOT use this skill when:

  • The user wants to change the body, name, or procedure — one field per turn.
  • The content is not an agent artifact (READMEs, docs, commit messages).
  • The user explicitly asked for a fresh description — write it, don't audit.

The contract

  • No silent edits. Every proposed variant is a suggestion presented with numbered options; the user picks before anything is written.
  • No Claude API grading loop. You reason from your context only. No separate AI pass evaluates your suggestions.
  • Max two rounds. Propose → reject → refine → reject → stop. If the second round is rejected, ask one clarifying question and exit.
  • One field per turn. Only description. Trigger phrases, name, and body belong to their own turns.

Procedure

1. Read the current description

Open the target file. Read the description: value in full. If the value is missing, abort and route to the relevant writing skill instead.

2. Inspect the description against four criteria

Normative source: skill-quality § Description Triggering.

CheckPass when…
Length≤ 200 characters (hard cap; linter errors description_too_long)
Trigger prefixStarts with "Use when …" or equivalent trigger phrasing
Trigger classesNames ≥ 2 of: domain, symptom, user phrasing, tool, file type
Undertrigger tailEnds with "… even if the user doesn't say {name}" or equivalent

Report which checks pass / fail in one compact line — not a long essay.

2b. Check for trigger-eval evidence (skills only)

If the target is a skill, check for a trigger-eval report:

  • src/skills/{name}/evals/triggers.json — the expected-trigger corpus
  • evals/last-run.json — the most recent runner output (see scripts/skill_trigger_eval.ts)

If last-run.json exists and contains failed queries for this skill, extract the failure patterns and use them to inform step 3 variants.

Example:

Eval evidence (evals/last-run.json, 2026-04-21, router=anthropic):
  • 3/5 should-trigger passed
  • failed queries share phrasing: "my E2E keeps flaking on CI"
  • → one variant in step 3 should incorporate "flaky CI" vocabulary

If no last-run.json exists, skip this step silently. Do not run the evaluator from this skill — eval execution is a separate user action (costs API tokens, see road-to-trigger-evals.md Phase 2).

For rules, commands, and guidelines: skip this step entirely — they do not have evals.

3. Propose 2–3 alternatives

Each variant:

  • Fixes at least one failed check from step 2.
  • If eval evidence was found in step 2b, at least one variant must address the dominant failure pattern. Label it "addresses eval failure: <pattern>" in the rationale.
  • Stays under 200 characters.
  • Has a one-line rationale ("adds symptom trigger", "tightens length", "adds undertrigger tail", "addresses eval failure: flaky CI").
  • Is numbered (per user-interaction rule).

Format:

Current (156 chars, missing undertrigger tail):
  "Use when writing Playwright E2E tests — browser automation, visual
   regression, Page Objects."

> 1. Adds undertrigger tail, 189 chars
>    "Use when writing Playwright E2E tests — browser automation, visual
>     regression, Page Objects — even if the user doesn't say Playwright."
> 2. Adds symptom trigger 'flaky CI', 193 chars
>    "Use when writing Playwright E2E tests — flaky CI, Page Objects,
>     fixtures, visual regression — even if the user doesn't say Playwright."
> 3. Skip — keep current

4. Wait for the user

Do not edit the file yet. Wait for the user's numbered pick or free-text counter-proposal.

5. Apply the picked variant

Only after the user picks:

  • Edit the frontmatter in the artifact's source under src/ (src/rules/, src/skills/{name}/SKILL.md, src/agent-src/commands/, …).
  • Re-copy / re-sync as the target artifact's writing skill prescribes.
  • Run ./scripts-run src/scripts/skill_linter {path} — must report 0 FAIL.
  • Report the diff and exit.

6. Max two rounds

If the user rejects all variants twice, ask one clarifying question (e.g. "What symptom phrase best captures when this skill should fire?") and stop. Do not loop further.

Output format

  1. One-line inspection verdict ("3/4 pass, missing undertrigger tail")
  2. Optional one-line eval evidence note if last-run.json was found
  3. 2–3 numbered variants with rationale + char count
  4. A "skip — keep current" option
  5. On apply: diff snippet + linter verdict

Gotchas

  • Proposing variants longer than 200 characters — linter will reject.
  • Changing anything except description — out of scope, separate turn.
  • Running a secondary AI pass to grade your own proposals — forbidden.
  • Applying a variant without explicit numbered pick from the user.
  • Skipping the linter after apply — must be 0 FAIL.
  • Looping beyond round 2 — the rule caps at two rounds, then clarify and stop.

Do NOT

  • Do NOT call the Claude API to score proposals
  • Do NOT edit the file before the user picks
  • Do NOT propose more than 3 variants in one turn
  • Do NOT change the skill name, body, or trigger phrases in the same turn
  • Do NOT silently strip or reword quotes inside the description value
  • Do NOT run scripts/skill_trigger_eval.ts from inside this skill — eval execution spends API tokens and is a separate user action

Cloud Behavior

On cloud surfaces (Claude.ai Web, Skills API) the package's scripts/audit_skill_descriptions.ts, scripts/skill_linter.ts, and scripts/skill_trigger_eval.ts are not reachable. The skill still applies — with prose-only inspection:

  • Reason from the description text in the conversation. The agent acts as the inspector; no separate audit pass runs.
  • Apply the same checklist used by the local audit: length budget, trigger prefix ("Use when …"), domain class, symptom class, undertrigger tail.
  • Emit verdict + up to 3 numbered variants. The user picks; the agent emits the new frontmatter as a copyable block.
  • Skip every reference to running the audit or trigger-eval scripts. Recommend the user run the package's local linter after applying.
  • Never claim a description has been "graded" or "scored" by an external pass — there isn't one.

Examples

Inspection verdict (good — compact):

2/4 pass. Missing: trigger prefix ("Use when …"), undertrigger tail. Length OK (142), trigger classes OK (domain + symptom).

Inspection verdict (bad — essay):

After reviewing the description, I noticed it has several areas that could be improved. For instance, the length is fine, but the phrasing could be stronger. Additionally, we should consider…

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

event4u-app のスキルをすべて見る

このスキルの問題を報告する