Description assist

From event4u-app/agent-config · View interactive version

Description assist is an AI agent skill from the GitHub repository event4u-app/agent-config. 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'.

How to use this skill

Skill file

<!-- cloud_safe: degrade -->

description-assist

When to use

"will this ever fire", "rewrite the description".

(skill-writing, rule-writing, command-writing, guideline-writing).

no-trigger-prefix, or description_too_long in skill_linter.ts.

Do NOT use this skill when:

The contract

with numbered options; the user picks before anything is written.

separate AI pass evaluates your suggestions.

second round is rejected, ask one clarifying question and exit.

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: CODE0 § Description Triggering.

| Check | Pass when… |

|---|---|

| Length | ≤ 200 characters (hard cap; linter errors description_too_long) |

| Trigger prefix | Starts with "Use when …" or equivalent trigger phrasing |

| Trigger classes | Names ≥ 2 of: domain, symptom, user phrasing, tool, file type |

| Undertrigger tail | Ends 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:

CODE0)

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:

address the dominant failure pattern*. Label it "addresses eval

failure: <pattern>"* in the rationale.

"adds undertrigger tail", "addresses eval failure: flaky CI").

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:

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

Do NOT

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:

acts as the inspector; no separate audit pass runs.

trigger prefix ("Use when …"), domain class, symptom class,

undertrigger tail.

agent emits the new frontmatter as a copyable block.

Recommend the user run the package's local linter after applying.

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 this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.