Create or Refactor a Skill

VerifiedSafe

Create or refactor a Claude Code skill using read, grep, glob, write, and task tools to structure and document your skill effectively.

Sby Skills Guide Bot
DevelopmentIntermediate
306/2/2026
Claude Code
#skill-creation#refactoring#claude-code#automation

Recommended for

Our review

Creates or refactors a Claude Code skill following a defined template.

Strengths

  • Automates the creation of new skills from a standardized skeleton.
  • Allows refactoring existing skills to improve their structure.
  • Integrates with Claude Code's reading, searching, and writing tools.

Limitations

  • Requires prior understanding of Claude Code's skill system.
  • Depends on another skill (create-skill) for full instruction execution.
When to use it

When you need to create a new reusable skill or improve an existing skill in Claude Code.

When not to use it

For simple one-off tasks that do not justify creating a structured skill.

Security analysis

Safe
Quality score70/100

The skill only instructs to read and follow another skill file; it does not execute or instruct any destructive, exfiltrating, or privileged operations directly. The allowed tools (Read, Grep, Glob, Write, Task) are used within the context of skill creation, which is a legitimate development activity.

No concerns found

Examples

Create a skill for circuit breaker pattern
/create-skill circuit-breaker docs/features/resilience
Refactor an existing skill
/create-skill codex-brainstorm

description: Create or refactor a Claude Code skill argument-hint: <skill-name> [docs-path] allowed-tools: Read, Grep, Glob, Write, Task

⚠️ Must read and follow the skill below before executing this command:

@skills/create-skill/SKILL.md

Task

Create or refactor a skill.

Parameters

$ARGUMENTS

Examples

/create-skill circuit-breaker docs/features/resilience
/create-skill codex-brainstorm  # Refactor existing skill
Related skills