Skill management

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

Skill management is an AI agent skill from the GitHub repository event4u-app/agent-config. Use when condensing, decondenseing, refactoring, or improving existing skills. Covers the full skill lifecycle from verbose → sharp → maintained.

How to use this skill

Skill file

skill-management

When to use

Use this skill when:

Do not use when:

Procedure: Manage a skill

Mode: Condense

Trigger: "condense skill", "shorten skill", "make skill sharper"

  1. Inspect — what is the core job? Which lines are redundant?
  2. Preserve critical skeleton: When to use, Procedure, Output format, Gotchas, Do NOT
  3. Condense trigger — rewrite description for fast matching
  4. Condense decision logic — explanations → direct choices
  5. Condense procedure — each step short and executable
  6. Remove obvious content — keep only what model forgets or misuses
  7. Validate — condensed version must be: easier to scan, easier to trigger, at least as safe

Iron rule: Condensation must NOT weaken validation or remove decision hints that prevent mistakes.

Linter gate: After condensation, run ./scripts-run src/scripts/skill_linter on the file — must be 0 FAIL.

Mode: Decondense

Trigger: "expand skill", "decondense skill", "make skill clearer"

  1. Inspect — which parts are unclear or too condensed?
  2. Restore full structure (all required sections)
  3. Expand trigger — make "When to use" clearer
  4. Expand procedure — turn terse steps into clear actions
  5. Strengthen validation — make checks explicit and testable
  6. Add minimal explanations only where they improve execution
  7. Validate — expanded version must be: clearer, still executable, not noisy

Iron rule: Expansion must NOT turn skills into documentation. Add context, not prose.

Linter gate: After expansion, run ./scripts-run src/scripts/skill_linter on the file — must be 0 FAIL.

Mode: Refactor

Trigger: "refactor skill", "improve skill", "fix skill structure"

  1. Inspect — identify missing sections, weak areas, anti-patterns
  2. Clean structure — ensure required sections exist
  3. Improve procedure — make steps concrete, add validation
  4. Remove noise — delete obvious/redundant content, merge duplicate bullets
  5. Refine scope — ensure single responsibility, split if multiple workflows
  6. Compare before/after — must be clearer, at least as executable, not broader

Linter gate: After refactoring, run ./scripts-run src/scripts/skill_linter on the file — must be 0 FAIL.

Independence check: After refactoring, verify the skill is still executable without opening any guideline.

If the refactor introduced guideline delegations ("see guideline X"), ensure the Procedure still works standalone.

Decision hints:

Common anti-patterns

Output format

  1. Updated skill file(s) passing linter with 0 FAIL
  2. Before/after line count comparison

Gotchas

Do NOT

Auto-trigger keywords

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.