Update Skill
Agent Buildingupdate-skillUpdate Skill is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Update an existing skill with improvements
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/skills/skills-wpank-ai/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/update-skill, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
/update-skill
Load an existing skill, make improvements, and validate.
Usage
/update-skill <path>
Arguments:
path— Path to skill directory (relative or absolute)
Examples
/update-skill ai/skills/realtime/websocket-hub-patterns
/update-skill ai/skills/design-systems/distinctive-design-systems
/update-skill ai/skills/my-custom-skill
When to Use
- After using a skill and finding gaps or issues
- When a better approach is discovered
- To add missing sections (NEVER Do, Related, examples)
- When patterns or best practices change
- During periodic skill maintenance
What It Does
- Reads the current SKILL.md content
- Validates current structure (checks for required sections)
- Identifies gaps (missing When to Use, NEVER Do, Related, examples)
- Prompts for specific updates:
- What needs to change?
- New patterns to add?
- Anti-patterns discovered?
- Updates the skill with changes
- Re-validates against quality criteria
- Reports what was changed
Required Sections Check
The command verifies these sections exist:
- Frontmatter with name and description
- When to Use section
- Code examples
- NEVER Do section
- Related section (if applicable)
Quality Re-validation
After updates:
- Description still has WHAT, WHEN, KEYWORDS
- Still <300 lines (max 500)
- Still project-agnostic
- New content follows existing style
Output Locations
- Updated skill →
[path]/SKILL.md - No new files created
Related
- Create new:
/create-skill(for new skills) - Validate:
/validate-skill(check without updating) - Archive old:
/archive-skill(deprecate skills)