sutras new¶
Create a new skill with proper structure and best-practice templates.
Usage¶
sutras new <name> [OPTIONS]
Arguments¶
Argument |
Description |
Required |
|---|---|---|
|
Name of the skill to create |
Yes (unless |
Options¶
Option |
Description |
Default |
|---|---|---|
|
Skill description |
None |
|
Skill author |
None |
|
Template to scaffold from |
|
|
List available templates and exit |
False |
|
Create in global skills directory ( |
False (project) |
Templates¶
Templates provide pre-configured SKILL.md, sutras.yaml, and examples.md files tailored to common skill categories.
List available templates¶
sutras new --list-templates
Built-in templates¶
Template |
Description |
|---|---|
|
Minimal skill scaffold with basic structure |
|
Code review skill with diff analysis and feedback patterns |
|
API integration skill with request handling and error patterns |
|
Data analysis skill with file processing and reporting patterns |
|
Workflow automation skill with task orchestration patterns |
Examples¶
Create a basic skill¶
sutras new my-skill
Create from a template¶
sutras new my-reviewer --template code-review
Create with description and template¶
sutras new my-api --template api-integration --description "Integrates with Stripe API"
Create a global skill¶
sutras new my-skill --global
Output¶
Creates the following structure:
.claude/skills/my-skill/
├── SKILL.md # Skill definition with YAML frontmatter
├── sutras.yaml # Metadata (version, author, tests, etc.)
└── examples.md # Usage examples
The content of each file depends on the selected template.
Skill Locations¶
Project skills:
.claude/skills/- Shared via git with your teamGlobal skills:
~/.claude/skills/- Personal, not committed to version control