Create new Claude Code skills with proper structure, validation, and best practices. Generates skills that follow Anthropic specifications and community patterns. Use when you need custom skills for specific workflows, either globally or per-project.
Generates new Claude Code skills with proper structure, validation, and best practices. Use when you need custom skills for specific workflows, either globally or per-project.
/plugin marketplace add jbabin91/super-claude/plugin install meta@super-claudeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
templates/skill_template.mdA meta-skill for generating new Claude Code skills with proper structure and validation.
Ask the user:
Template Reference: See templates/skill_template.md for the complete skill template with all available fields and examples.
Create a properly formatted SKILL.md with:
---
# OFFICIAL CLAUDE CODE FIELDS (recognized by Claude Code)
name: skill-identifier # Required: kebab-case
description: | # Required: What it does AND when to activate
Clear description of what it does and when to use it.
IMPORTANT: Include activation triggers in the description itself.
Example: "Generate React components. Use when creating new UI components."
allowed-tools: [] # Optional: Restrict to specific tools
# EXTENDED METADATA (ignored by Claude Code, useful for organization)
version: 1.0.0 # Track changes (skills are files, not packages)
---
# Skill Name
Brief overview (1-2 sentences).
## When to Use
- Concrete trigger 1
- Concrete trigger 2
- Specific scenario 3
## Core Workflow
### 1. First Step
Description and instructions
### 2. Second Step
Description and instructions
## Best Practices
- Practice 1
- Practice 2
## Example Workflows
### Scenario 1: Common Use Case
Step-by-step example
### Scenario 2: Edge Case
How to handle edge cases
## Integration Points
- Works with: [other skills]
- Calls: [agents/tools]
- Required by: [dependent skills]
## Troubleshooting
### Issue 1
Symptom: [description]
Solution: [fix]
### Issue 2
Symptom: [description]
Solution: [fix]
## References
- [External documentation links]
Ensure the skill follows:
Anthropic Best Practices:
RED-GREEN-REFACTOR Ready:
Community Patterns:
Global Skills (general use across all projects):
~/.claude/skills/super-claude/plugins/[category]/skills/skill-name.md
Project-Local Skills (specific to one project):
/path/to/project/.claude/skills/skill-name.md
Note: Project-local skills are perfect for work-specific or proprietary patterns that shouldn't be shared globally.
Provide testing guidance:
General-purpose automation or guidance for specific tasks.
Creates code/files following specific patterns.
Coordinates multiple steps or tools.
Ensures code/config meets standards.
Assists in moving between technologies.
If skill exceeds 500 lines, split into:
Link from SKILL.md:
For advanced usage, see [API_REFERENCE.md](./API_REFERENCE.md)
Make skills activate automatically:
triggers:
keywords: [specific, technical, terms]
patterns: ['regex.*patterns']
contexts: [file-types, project-types]
Declare requirements:
requires:
tools: [git, npm, docker]
skills: [typescript/tsc-validation]
packages: ['@types/node']
Skills can auto-activate based on user prompts using the skill-rules.json system. This enables Claude to proactively suggest relevant skills before responding.
For complete details, see: SKILL_ACTIVATION_GUIDE.md
Add skill-rules.json entries when:
Skip activation rules for:
For plugin developers: Add entries to plugins/{plugin}/skills/skill-rules.json
Schema:
{
"plugin": {
"name": "plugin-name",
"version": "1.0.0",
"namespace": "namespace"
},
"skills": {
"skill-name": {
"type": "domain",
"enforcement": "suggest",
"priority": "high",
"description": "Brief description of what the skill does",
"promptTriggers": {
"keywords": ["keyword1", "keyword2"],
"intentPatterns": ["pattern1", "pattern2"]
}
}
}
}
✅ Good Keywords (specific, unambiguous):
"keywords": [
"create skill",
"new skill",
"skill template",
"generate skill",
"skill development"
]
❌ Bad Keywords (too generic):
"keywords": [
"create",
"new",
"help",
"build"
]
Rules for keywords:
✅ Good Patterns (capture intent, not exact wording):
"intentPatterns": [
"(create|add|generate|build).*?skill",
"how to.*?(create|add|build).*?skill",
"skill.*?(template|generator|builder)",
"need.*?skill.*?(for|to)",
"(make|write).*?skill"
]
❌ Bad Patterns (too broad or too narrow):
"intentPatterns": [
".*skill.*",
"^create exactly this specific phrase$"
]
Rules for patterns:
i).*? for flexible matching between keywordscritical - Must run for safety/correctness:
"priority": "critical"
// Examples: security validators, syntax checkers
high - Highly recommended:
"priority": "high"
// Examples: skill-creator, component-generator
medium - Useful but optional:
"priority": "medium"
// Examples: documentation generators, formatters
low - Nice-to-have:
"priority": "low"
// Examples: experimental features, rarely-used tools
{
"plugin": {
"name": "meta",
"version": "1.0.0",
"namespace": "claude"
},
"skills": {
"skill-creator": {
"type": "domain",
"enforcement": "suggest",
"priority": "high",
"description": "Generate new Claude Code skills with proper structure and validation",
"promptTriggers": {
"keywords": [
"create skill",
"new skill",
"skill development",
"generate skill",
"skill template"
],
"intentPatterns": [
"(create|add|generate|build).*?skill",
"how to.*?(create|add|build).*?skill",
"skill.*?(template|generator|builder)",
"need.*?skill.*?(for|to)",
"(make|write).*?skill"
]
}
}
}
}
Use /generate-skill-rules to auto-generate entries from existing SKILL.md YAML frontmatter:
# Preview generated rules
/generate-skill-rules --plugin plugins/tanstack-tools --namespace tanstack
# Write to skill-rules.json
/generate-skill-rules --plugin plugins/api-tools --namespace api --write
Test in isolated project:
# 1. Create test project
mkdir test-activation && cd test-activation
# 2. Copy hook and rules
mkdir -p .claude/hooks .claude/skills/your-plugin
cp {hook-path}/skill-activation-prompt.ts .claude/hooks/
cp {plugin-path}/skill-rules.json .claude/skills/your-plugin/
# 3. Test with prompts
echo '{"prompt":"create a new skill","cwd":"'$(pwd)'"}' | \
bun run .claude/hooks/skill-activation-prompt.ts
Expected output:
============================================================
SKILL ACTIVATION CHECK
============================================================
[RECOMMENDED] SKILLS:
-> skill-creator
ACTION: Use Skill tool BEFORE responding
============================================================
When creating a skill that should auto-activate:
Create the SKILL.md (as normal)
Identify triggers by asking:
Add to skill-rules.json:
{
"skills": {
"new-skill": {
"type": "domain",
"enforcement": "suggest",
"priority": "high",
"description": "What the skill does",
"promptTriggers": {
"keywords": ["keyword1", "keyword2"],
"intentPatterns": ["pattern1", "pattern2"]
}
}
}
}
Test the triggers:
Document in SKILL.md:
## Auto-Activation
This skill auto-activates when you mention:
- Creating/generating {domain objects}
- Specific workflow requests
- Related keywords
Triggered by: create skill, new skill, generate skill
Users can customize activation in their projects via .claude/skills/skill-rules.json:
{
"version": "1.0",
"overrides": {
"claude/skill-creator": {
"priority": "critical"
}
},
"disabled": ["claude/skill-validator"],
"global": {
"maxSkillsPerPrompt": 3,
"priorityThreshold": "medium"
}
}
Command for users: /workflow:configure
User Request: "Create a skill for generating Odyssey design system components"
Generated Skill:
Location: /path/to/odyssey-project/.claude/skills/odyssey-components.md
---
name: odyssey-components
version: 1.0.0
description: |
Generate components following Odyssey design system guidelines.
Ensures consistency with design tokens, patterns, and accessibility standards.
category: design-system
tags: [odyssey, components, design-system, react]
model: sonnet
requires:
tools: [npm]
packages: ["@odyssey/design-tokens", "@odyssey/components"]
triggers:
keywords: [odyssey, odyssey component, design system]
patterns: ["create.*odyssey", "generate.*odyssey"]
---
# Odyssey Components
Generate React components that follow Odyssey design system standards.
## When to Use
- Creating new Odyssey components
- Ensuring design system compliance
- Maintaining consistency across products
## Component Structure
All components follow this pattern:
\`\`\`
components/
└── ComponentName/
├── ComponentName.tsx
├── ComponentName.stories.tsx
├── ComponentName.test.tsx
└── index.ts
\`\`\`
## Design Token Usage
Always use design tokens from `@odyssey/design-tokens`:
\`\`\`typescript
import { tokens } from '@odyssey/design-tokens'
const styles = {
color: tokens.color.primary.base,
spacing: tokens.spacing.md,
borderRadius: tokens.borderRadius.md
}
\`\`\`
## Accessibility Requirements
All components must:
- Meet WCAG AAA standards
- Include proper ARIA labels
- Support keyboard navigation
- Provide focus indicators
## Example: Button Component
[Detailed example following Odyssey patterns]
name: project-api-client
purpose: Generate type-safe API clients from OpenAPI schemas
includes: OpenAPI schema parsing, type generation, RPC helpers
location: project-local (for proprietary APIs)
name: design-system-components
purpose: Generate components following project design system
includes: Component patterns, theme support, testing
location: project-local (for proprietary design systems)
name: drizzle-schema-from-db
purpose: Generate Drizzle schemas from existing Postgres database
includes: Type inference, relationship mapping, migration helpers
location: global (reusable across projects)
name: coolify-deployment
purpose: Automate deployment to Coolify platform
includes: Docker config, environment setup, rollback procedures
location: global (reusable deployment pattern)
# Generate skill that wraps shadcn commands
pnpm dlx shadcn@latest add [component]
pnpm dlx shadcn@latest add @coss/[component]
Skills can integrate with component registries:
Symptom: Skill exists but doesn't trigger Solution:
Symptom: Skill triggers too often or in wrong contexts Solution:
Symptom: Skill exceeds 500 lines Solution:
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.