Update Skill
Use this skill when the user asks to update any skill file (SKILL.md, AGENTS.md, templates, references) and wants the result to stay clean and easy to maintain.
Core Intent
Keep skills simple and clean without losing context. Every update must fit the full skill flow, not just a local section.
Non-Negotiable Rules
- •Read the whole target skill file before editing.
- •If related files exist for that skill (
AGENTS.md,TEMPLATE.md, references), read the relevant ones before editing. - •Do not append blindly. Integrate changes where they logically belong.
- •Avoid repetition:
- •no duplicate rules,
- •no repeated wording across sections unless required,
- •merge overlapping instructions.
- •Preserve structure clarity:
- •short sections,
- •predictable headings,
- •direct language,
- •minimal but sufficient detail.
- •Keep behavioral intent intact when refactoring wording.
Placement Recommendation Rule (Mandatory)
Always recommend the best home for the requested update before applying it. This recommendation is mandatory even when the user asks for a specific file.
Evaluate placement in this order:
- •Existing skill, existing section (best).
- •Existing skill, new section (if concept is new but belongs there).
- •Different existing skill (if concern belongs elsewhere).
- •New skill (only if concern is reusable and does not fit existing skills cleanly).
When requested file is likely wrong, explicitly say:
- •why it is a mismatch,
- •which file/skill is better,
- •whether to move or duplicate (default: move, not duplicate).
Decision Heuristics
Use these heuristics to decide where an update belongs:
- •
build-component: entry flow, orchestration, confirmations, branching, implementation sequence. - •
read-screenshot: screenshot extraction quality, 1:1 parity method, token mapping from visuals. - •
project-architect: repository constraints, token governance, architecture boundaries, integration rules. - •
update-skill(this skill): how to maintain/edit skills cleanly.
Recommend a new skill only when:
- •the rule is cross-cutting and reusable across many skills,
- •it introduces a distinct workflow,
- •adding it to an existing skill would create conceptual clutter.
Workflow (Execute In Order)
- •Parse the requested update.
- •Read the entire target file(s) end-to-end.
- •Identify overlaps/conflicts/duplication risk.
- •Provide placement recommendation:
- •best file,
- •rationale,
- •note if requested target is suboptimal.
- •Apply edit in the recommended location.
- •Refactor nearby text to keep flow coherent.
- •Run a clean-up pass:
- •remove duplicates,
- •normalize terminology,
- •keep section length tight.
- •Report:
- •what changed,
- •why this location was chosen,
- •alternatives considered,
- •any follow-up suggestions.
Output Requirements
When done, report:
- •Recommendation summary (best placement + reason).
- •Files changed.
- •Structural cleanup performed (if any).
- •Any remaining ambiguity and your recommended next step.