From prism-devtools
Build efficient, scalable Claude Code skills using progressive disclosure and token optimization. Use when creating new skills, optimizing existing skills, or learning skill development patterns. Provides templates, checklists, and working examples.
npx claudepluginhub resolve-io/.prismThis skill uses the workspace's default tool permissions.
- Creating a new Claude Code skill from scratch
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Provides patterns for autonomous Claude Code loops: sequential pipelines, agentic REPLs, PR cycles, de-sloppify cleanups, and RFC-driven multi-agent DAGs. For continuous dev workflows without intervention.
Applies NestJS patterns for modules, controllers, providers, DTO validation, guards, interceptors, config, and production TypeScript backends with project structure and bootstrap examples.
Guides you through building efficient Claude Code skills that follow best practices:
Every skill loads in three levels:
| Level | File | Loaded When | Token Limit | What Goes Here |
|---|---|---|---|---|
| 1 | SKILL.md Metadata (YAML) | Always | ~100 | Name, description, version |
| 2 | SKILL.md Body (Markdown) | Skill triggers | <5k (<2k recommended) | Quick ref, core instructions, links to Level 3 |
| 3 | Bundled files in /reference/ | As-needed by Claude | Unlimited | Detailed docs, scripts, examples, specs |
Key rules:
/reference/ folder (not root!)./reference/filename.md from SKILL.mdCritical Structure:
skill-name/
โโโ SKILL.md # โ
Level 1+2: Only .md in root
โโโ reference/ # โ
REQUIRED: All reference .md files HERE
โ โโโ detail1.md
โ โโโ detail2.md
โโโ scripts/ # Executable tools
incident-triage exampleResult: A working skill following best practices
Need a template or checklist right now?
โ Quick Reference - Templates, checklists, common pitfalls
Want to understand the architectural patterns?
This skill doesn't require specific inputs. Use it when:
Provides guidance, templates, and examples for:
/reference/ folder for all reference .md filesBefore creating any skill, understand this:
โ CORRECT Structure:
skill-name/
โโโ SKILL.md # Only .md in root
โโโ reference/ # ALL reference docs go HERE
โ โโโ api-spec.md
โ โโโ examples.md
โ โโโ advanced.md
โโโ scripts/
โ WRONG Structure:
skill-name/
โโโ SKILL.md
โโโ api-spec.md # โ Should be in reference/
โโโ examples.md # โ Should be in reference/
โโโ scripts/
This hierarchy is MANDATORY for:
All detailed content lives in bundled files (Level 3):
Q: Where do I start? A: Read the 3-level table above, then follow Skill Creation Process
Q: My SKILL.md is too long. What do I do?
A: Move details to reference/*.md files (Level 3). Keep SKILL.md body <2k tokens.
Q: How do I make my skill trigger correctly? A: Use specific keywords in the description (Level 1 metadata). See Quick Reference
Q: Can I see a complete working example?
A: Yes! See the incident-triage example in Skill Creation Process
/reference/ folder structure - reference .md files MUST NOT be in rootThis skill should activate when user mentions:
NEW: Automated Skill Validator
Use the included validation script to check your skill before deployment:
# Install dependencies (first time only)
cd .claude/skill-builder/scripts
npm install
# Validate your skill
node validate-skill.js /path/to/your/skill
node validate-skill.js . # validate current directory
The validator checks:
See: Validation Script
To test this skill:
# Ask Claude:
"Help me create a new Claude Code skill for incident triage"
"What are best practices for skill token optimization?"
"Show me a SKILL.md template"
Verify the skill:
Last Updated: 2025-10-20