5. Skills
Last updated:
5.0 Two Kinds of Skills
Section titled “5.0 Two Kinds of Skills”This taxonomy is a design aid, not an official platform classification. It separates skills that compensate for a model limitation from skills that encode a durable local choice. The distinction changes the baseline and retirement test.
Not all skills age the same way. The type you’re building determines how you write it, how you test it, and when to retire it.
| Capability Uplift | Encoded Preference | |
|---|---|---|
| What it does | Fills a gap the base model can’t handle consistently | Sequences existing capabilities your team’s specific way |
| Examples | Precise PDF text placement, custom code patterns | NDA review checklist, weekly status update workflow |
| Durability | Fades as the model improves | Stays durable as long as the workflow is relevant |
| Retirement signal | Model passes the eval without the skill | Workflow changes or becomes irrelevant |
| Eval approach | A/B test: with vs. without the skill | Fidelity check: does it follow the sequence correctly? |
Capability Uplift teaches Claude something it genuinely can’t do well on its own, yet. High value today, but carries a maintenance debt: as Claude improves, these skills may become redundant. Evals tell you when that happens before a user does.
Encoded Preference encodes your team’s specific way of doing something Claude already knows how to do. An NDA review follows your legal team’s criteria, not a generic checklist. These skills don’t compete with model improvements: they capture workflow decisions that are yours to make, and stay relevant as long as your process does.
Practical implication: When building a Capability Uplift skill, budget time for evals. When building an Encoded Preference skill, budget time for keeping the workflow description accurate as your process evolves.
5.1 Understanding Skills
Section titled “5.1 Understanding Skills”Skills are knowledge packages that agents can inherit.
Skills vs Agents
Section titled “Skills vs Agents”Custom commands have merged into skills, but existing files still work. A file at
.claude/commands/deploy.mdand a skill at.claude/skills/deploy/SKILL.mdboth create/deploy. New reusable content should use the skill directory format, which supports supporting files and invocation controls. Usedisable-model-invocation: truefor manual-only workflows with side effects.
| Concept | Purpose | Invocation |
|---|---|---|
| Agent | Context isolation tool | Task tool delegation |
| Skill | Knowledge module or workflow template | /skill-name (user) or auto-loaded (model) |
Detailed Comparison
Section titled “Detailed Comparison”| Aspect | Skills (user-invocable) | Skills (model-invocable) | Agents |
|---|---|---|---|
| What it is | Workflow template | Knowledge module | Context isolation tool |
| Location | .claude/skills/ | .claude/skills/ | .claude/agents/ |
| Invocation | /skill-name (user types) | Auto-loaded by model | Task tool delegation |
| Frontmatter | disable-model-invocation: true | Default (no flag needed) | n/a |
| Execution | In main conversation | Loaded into context | Separate subprocess |
| Context | Shares main context | Adds to agent context | Isolated context |
| Best for | Repeatable manual workflows | Reusable knowledge | Scope-limited analysis |
| Token cost | Low (template only) | Medium (knowledge loaded) | High (full agent) |
| Examples | /commit, /pr, /ship | TDD, security-guardian | security-audit, perf-audit |
Decision Tree: Which to Use?
Section titled “Decision Tree: Which to Use?”Does correctness require guaranteed ordering, retries, a required artifact, or a hard stop?├─ Yes → Use a HOOK, SCRIPT, CI JOB, or DYNAMIC WORKFLOW│ Keep judgment in a skill only when the model must interpret a case.│└─ No → Is this reusable knowledge or an adaptable procedure? ├─ Yes → Use a SKILL │ Manual-only if timing or side effects require user control. │ └─ No → Does this need isolated context or parallel work? ├─ Yes → Use an AGENT │ Example: code-reviewer, performance-auditor │ └─ No → Just write it in CLAUDE.md as instructionsStarting heuristic, not a platform rule: content relevant to most sessions belongs in
CLAUDE.md; procedures and references used occasionally belong in skills. Measure your own session mix before using a numeric threshold. Skill descriptions still consume context while visible, and the full body enters the conversation when invoked.
See also: Memory Loading Comparison for a broader decision tree covering all seven mechanisms (including Hooks, MCP, and CLAUDE.md vs rules). To automate detection of what belongs in each category, use
cc-sessions discover, which applies this 20% threshold to your actual session history.
Common Patterns
Section titled “Common Patterns”| Need | Solution | Example |
|---|---|---|
| Run tests before commit | Skill (user-invocable) | /commit with test step |
| Security review knowledge | Skill + Agent | security-guardian skill → security-audit agent |
| Parallel code review | Multiple scope-focused agents | Launch 3 review agents with isolated scopes |
| Quick git workflow | Skill (user-invocable) | /pr, /ship |
| Architecture knowledge | Skill (model-invocable) | architecture-patterns skill |
| Complex debugging | Agent | debugging-specialist agent |
Skills and Subagents
Section titled “Skills and Subagents”Subagents don’t inherit skills automatically: this is a common source of confusion.
| Rule | Details |
|---|---|
| Built-in agents can’t use skills | Explorer, Plan, and Verify agents have no access to skills |
| Custom subagents need explicit wiring | Skills must be listed in the agent’s skills: frontmatter field |
| Skills load at agent start | Not on-demand like in the main conversation: all listed skills are loaded upfront |
| List only always-relevant skills | Don’t add a skill unless it applies to every single task the subagent performs |
Custom subagent frontmatter with skills (.claude/agents/my-agent.md):
---name: frontend-reviewerdescription: "Use this agent when reviewing frontend code for accessibility and security"tools: Bash, Glob, Grep, Read, WebFetchmodel: sonnetskills: accessibility-audit, security-guardian---The skills listed in skills: must exist in .claude/skills/ (project) or ~/.claude/skills/ (personal). Create agents with skills via /agents in Claude Code or add the skills: field to an existing agent file.
Why Skills?
Section titled “Why Skills?”Without skills:
Agent A: Has security knowledge (duplicated)Agent B: Has security knowledge (duplicated)Agent C: Has security knowledge (duplicated)With a project-owned skill:
security-guardian skill: Shared source inside this repository and team scopeAgent A: inherits security-guardianAgent B: inherits security-guardianAgent C: inherits security-guardianThis removes duplication only inside an ownership boundary that has a maintainer, review path, and shared assumptions. A public skill does not automatically create that contract.
Ownership and Reuse Governance
Section titled “Ownership and Reuse Governance”Frédéric Camblor’s Un Skill n’est pas une librairie makes a useful distinction: sharing an idea or implementation is not the same as agreeing to co-maintain one generic artifact. Skills often encode context that is expensive to reconstruct and can regress without a build failure.
Choose the scope before choosing the distribution channel:
| Sphere | Typical channel | Default expectation |
|---|---|---|
| Personal | ~/.claude/skills/ | Optimize for one person’s habits; no compatibility promise |
| Project or team | .claude/skills/ committed with the project | Shared local contract with a named owner and review path |
| Tool or vendor | Plugin or maintained repository | Versioned support for users of that tool |
| Marketplace or global | Registry or public repository | Discovery and inspiration; adoption requires local review and evaluation |
Public sharing has several valid outcomes: consume unchanged, fork and specialize, extract a pattern, or reject. Do not assume that duplication is waste when the alternative is a generic skill full of branches for incompatible contexts.
Two rules apply at the same time:
- Security boundary: treat a downloaded skill like executable code. Review its instructions, scripts, dependencies, and tool grants before invocation.
- Ownership boundary: treat a skill like situated context. Record its scope, owner, assumptions, baseline, and retirement signal.
A catalog is therefore useful even when you install nothing. It exposes workflows, guardrails, and design patterns that can inform a smaller local skill.
What Makes a Good Skill?
Section titled “What Makes a Good Skill?”| Good Skill | Bad Skill | Expected Lifespan |
|---|---|---|
| Reusable inside its declared scope | Claims universal reuse without evidence | n/a |
| Domain-focused and context-aware | Generic branches dilute the common case | n/a |
| Records owner and assumptions | No maintenance contract | n/a |
| Includes observable verification | Relies on self-assessment alone | n/a |
| Has evals defined | ”Seems to work” validation | Capability Uplift: monitor regularly; Encoded Preference: stable |
| Clear retirement criteria | No lifecycle plan | Capability Uplift: short-medium; Encoded Preference: long |
5.2 Creating Skills
Section titled “5.2 Creating Skills”Skills live in .claude/skills/{skill-name}/ directories.
Skill Folder Structure
Section titled “Skill Folder Structure”skill-name/├── SKILL.md # Required - Main instructions├── reference.md # Optional - Detailed documentation├── checklists/ # Optional - Verification lists│ ├── security.md│ └── performance.md├── examples/ # Optional - Code patterns│ ├── good-example.ts│ └── bad-example.ts└── scripts/ # Optional - Helper scripts └── audit.shSKILL.md Frontmatter
Section titled “SKILL.md Frontmatter”---name: skill-namedescription: Short description for activation (max 1024 chars)allowed-tools: Read Grep Bash---| Field | Spec | Description |
|---|---|---|
name | agentskills.io | Lowercase, 1-64 chars, hyphens only, no --, must match directory name |
description | agentskills.io | What the skill does and when to use it (max 1024 chars) |
allowed-tools | agentskills.io | Space-delimited list of pre-approved tools. Supports wildcard scoping: Bash(npm run *), Bash(agent-browser:*), Edit(/docs/**) |
license | agentskills.io | License name or reference to bundled file |
compatibility | agentskills.io | Environment requirements (max 500 chars) |
metadata | agentskills.io | Arbitrary key-value pairs (author, version, etc.) |
effort | CC only (v2.1.80+) | low|medium|high: overrides the session effort level when this skill is invoked. Set low for mechanical tasks (commit, format, scaffold), high for analysis or architectural reasoning. |
model | CC only | Model to use when this skill runs: haiku, sonnet, opus, or a full model ID. Overrides the session model for this skill’s execution. Useful for fast mechanical skills (haiku) or deep analysis skills (opus). |
argument-hint | CC only | Placeholder shown in the slash command menu when the skill accepts $ARGUMENTS. Format: "[--flag] [positional_arg]". Example: "[--verbose] [--max N] <branch>". |
disable-model-invocation | CC only | true to make skill manual-only (workflow with side effects). This is what replaced .claude/commands/: user-invocable workflows now live in .claude/skills/ with this flag. |
context | CC only | fork runs the skill in an isolated subagent. The subagent receives only the inputs passed to it; only its final response returns to the main conversation. File reads, tool calls, and intermediate reasoning inside the forked context do not appear in the parent context window. Known limitation: context: fork is ignored when the skill is invoked via the Skill tool in agent code. Fork behavior only activates when the skill is called as a slash command (e.g., /my-skill). |
hooks | CC only | Event hooks scoped to this skill’s lifetime. Same format as settings.json hooks. Hooks are registered when the skill is invoked and removed when the session ends. Stop hooks in skills are automatically converted to SubagentStop. The once: true field on a hook handler is honoured here (fires once per session then removes itself); it is ignored in settings files. |
model per skill: overrides the model for this skill’s execution. The session model is restored after the skill completes.
---name: quick-formatdescription: Run Prettier on the current filemodel: haiku # Fast and cheap for mechanical taskseffort: lowallowed-tools: Bashdisable-model-invocation: true---hooks in skill frontmatter: registers event hooks that are active only while this skill runs. Hooks are cleaned up when the session ends.
---name: secure-opsdescription: Perform operations with pre-execution security checkshooks: PreToolUse: - matcher: "Bash" hooks: - type: command command: "./scripts/security-check.sh" once: true # Fires once per session then removes itself---effort per skill (v2.1.80+): overrides the session effort level for a specific skill invocation. Independent of effortLevel in settings.json: the skill’s value takes precedence only while that skill runs, then reverts.
---name: security-auditdescription: Deep security analysis with threat modelingeffort: high # Always high effort, regardless of session settingallowed-tools: Read Grep Glob Bash------name: commitdescription: Stage and commit changes with conventional formateffort: low # Mechanical — no reasoning budget neededallowed-tools: Bash---Why it matters: Effort controls thinking depth, tool call verbosity, and analysis depth, not just tokens. A low effort skill runs faster and cheaper. A high effort skill reasons deeper without the user having to manually adjust the session setting. This enables automatic cognitive budget allocation per task type: pay for reasoning only where it adds value.
${CLAUDE_EFFORT} in skill content (v2.1.120): Skill body text can reference ${CLAUDE_EFFORT} as a variable. Claude substitutes it with the current effort level string (low, medium, high, xhigh, max) before processing the skill. Use this to branch instructions based on effort:
---name: review-codeeffort: medium---
Review the changed files for correctness.
${if CLAUDE_EFFORT == "high" or CLAUDE_EFFORT == "xhigh"}Also run a full security audit and check all edge cases.${end}This lets one skill serve both quick-scan (low/medium) and thorough (high/xhigh) use cases without maintaining two separate skills.
allowed-tools wildcard scoping pre-approves matching commands for the turn that invokes the skill:
# Pre-approve one CLI command namespace for this invocationallowed-tools: Bash(agent-browser:*)
# Pre-approve npm scriptsallowed-tools: Bash(npm run *)
# Pre-approve reads and edits under docsallowed-tools: Read Grep Glob Edit(/docs/**)This is narrower than pre-approving broad Bash access, but it is not a sandbox or tool allowlist. Other tools remain callable under the session’s permission settings. Use disallowed-tools for turn-scoped removal and project permission deny rules for a persistent restriction. Review project skill grants before opening Claude Code in an untrusted repository.
Open standard: Agent Skills follow the agentskills.io specification, created by Anthropic and supported by 35+ platforms (Cursor, VS Code, GitHub Copilot, Codex, Gemini CLI, Goose, Roo Code, OpenHands, Amp, Letta, Junie, etc.). Skills you create for Claude Code are portable. The
disable-model-invocationfield is a Claude Code extension.
Validating Skills
Section titled “Validating Skills”Use the official skills-ref CLI to validate your skill before publishing:
skills-ref validate ./my-skill # Check frontmatter + naming conventionsskills-ref to-prompt ./my-skill # Generate <available_skills> XML for agent promptsBeyond spec validation: Three complementary audit tools:
/audit-agents-skills: broad quality audit across agents, skills, AND commands (16 criteria, 32-pt weighted grading). Use for general production readiness./eval-skills: skills-only audit with effort-level inference engine. Discovers all skills, infers the appropriateeffortlevel from content analysis, flags mismatches, and prints copy-paste ready frontmatter patches. Use when addingeffortfields to an existing library or auditing a new project. Seeexamples/skills/eval-skills/./eval-rules: rules-focused audit with interactive usefulness review. Resolves everypaths:glob pattern against real project files, flags dead or over-broad patterns, then asks you rule-by-rule whether each rule still fires in the right context and whether its content is still accurate. Can apply edits in-place based on your answers. Use for periodic rules hygiene or when a rule fires too often/never. Seeexamples/skills/eval-rules/.
Skill Quality Gates
Section titled “Skill Quality Gates”Before publishing or committing a skill, run through this content checklist. /audit-agents-skills scores frontmatter and structure; this checklist covers the content layer that automated tools miss.
Checklist (Every.to compound-engineering criteria, adapted):
- Frontmatter complete:
name,description,allowed-toolsall present and accurate - “When to Apply” section: explicitly states the triggers and anti-triggers (when NOT to use)
- Methodology is structured: numbered steps or a clear decision sequence, not free-form paragraphs
- No TODOs or placeholders: every section is complete and actionable
- allowed-tools scoped to minimum: if the skill only reads files, don’t grant Bash; if it searches, don’t grant Edit
- Output format documented: what does Claude produce? Example or template included
- No AskUserQuestion for cross-platform skills: skills invoked by other agents should not block on interactive prompts
- Single responsibility: one skill, one domain, not a catch-all that dispatches to sub-skills
- Description is a trigger sentence: the
descriptionfield should tell Claude when to activate this skill, not what it does internally
Passing these nine gates proves structural and editorial readiness only. Before production use or sharing, test trigger correctness and output quality on representative prompts in fresh sessions, including a no-skill baseline. Record the model, Claude Code version, prompt set, assertions, run count, pass count, token cost, and observed variance.
5.X Skill Lifecycle & Retirement
Section titled “5.X Skill Lifecycle & Retirement”Skills have a lifecycle. Treating them like permanent artifacts leads to skill rot: every visible name and description adds context cost, while invoked stale content can steer work in the wrong direction.
Two patterns govern when to act:
CATCH REGRESSIONS SPOT OUTGROWTH───────────────── ──────────────Model Evolves Model Improves ↓ ↓ Skill Drifts Skill Passes Alone ↓ (without help) Eval Alerts ↓ (early signal) Skill Retired ↓ (no longer needed)Fix or RetireCatch Regressions: Your skill worked last month. The model updated. Now it behaves differently. Without evals, you discover this when a user reports a problem. With evals, you catch it before the failure reaches anyone.
Spot Outgrowth: You built a Capability Uplift skill to cover a gap. Six months later, Claude handles that gap natively. Run the eval without the skill. If it passes, the skill is no longer needed, remove it to reduce context load and maintenance overhead.
Retirement Decision Checklist
Section titled “Retirement Decision Checklist”- Run eval without the skill: does Claude pass on its own?
- Check last activation date: when did this skill last fire in practice?
- Check workflow accuracy: for Encoded Preference skills, has the underlying process changed?
- Inspect usage and context cost: run
/skill-doctorin the terminal; treat its unused flag as a review signal, not an automatic deletion order - Disable before deleting: use
/skillsorskillOverridesto turn off a candidate and compare representative sessions - Archive outside discovery paths: preserve the skill in Git history or move it outside
.claude/skills/; nested discovery can keep an in-tree archive visible
/skill-doctor reports visible skills that have never been invoked and their context cost. The current official documentation requires Claude Code v2.1.252 or later. The report excludes bundled and enterprise skills, depends on feature-flag fetching, and is unavailable through Remote Control.
See also: §5.Y Skill Evals, for how to run evals to inform retirement decisions.
5.Y Skill Evals
Section titled “5.Y Skill Evals”Skill evals replace an unsupported impression with reproducible evidence. They do not prove universal correctness, eliminate model variance, or make a skill production-ready by themselves.
Available via: install the official
skill-creatorplugin with/plugin install skill-creator@claude-plugins-official. See the current Claude Code skills documentation.
How It Works
Section titled “How It Works”Skill → Test Prompts + Files ↓ Expected Output (what good looks like) ↓ Run Evals ↓ Pass ✓ / Fail ✗ ↓ Improve skill → Re-runYou define realistic prompts, optional input files, and explicit assertions. Run each case in an isolated context with the skill enabled and disabled. The baseline shows whether the skill adds value instead of merely producing an acceptable answer.
Results report: pass rate, elapsed time, token usage per test case.
The Three Eval Tools
Section titled “The Three Eval Tools”Benchmark Mode: tracks pass rates, elapsed time, and token usage across model updates. Runs tests in parallel with clean, isolated contexts (no cross-contamination between cases). Use this to detect regressions automatically when Claude updates.
A/B Testing (Comparator Agents): blind head-to-head comparison between two versions of a skill. Version A vs. Version B is judged without revealing which is which. This reduces confirmation bias but does not make an LLM judge independent evidence.
Trigger Tuning (Description Optimizer): analyzes your skill’s description field and suggests improvements to reduce false positives (skill fires when it should not) and false negatives (skill does not fire when it should).
Two Uses of Evals
Section titled “Two Uses of Evals”| Use Case | When | Action |
|---|---|---|
| Catch Regressions | After model updates | Run benchmark → alert if pass rate drops |
| Spot Outgrowth | Periodically for Capability Uplift skills | Run eval without the skill → if it passes, retire |
Practical Eval Structure
Section titled “Practical Eval Structure”.claude/skills/my-skill/├── SKILL.md└── evals/ └── evals.json # Prompts, input files, and assertionsThe plugin writes per-run grading evidence to grading.json and aggregates with-skill versus without-skill results in benchmark.json. Generated reports are evidence artifacts, not part of the portable Agent Skills specification.
Eval Design Principles
Section titled “Eval Design Principles”- One behavior per test: don’t combine multiple assertions, or failures become ambiguous
- Include edge cases: test the inputs that made the skill necessary in the first place
- Define “good” precisely: vague expected outputs make eval judgments unreliable
- Set a risk-based acceptance rule: include the denominator, variance, and severity of each failed assertion instead of applying one universal percentage
- Separate routing from output: a correctly invoked skill can still produce the wrong result
- Use independent checks where possible: deterministic validators and qualified human review strengthen LLM grading
See also: §5.2 Skill Quality Gates for pre-publish checklist | §5.X Skill Lifecycle for retirement workflow
5.3 Skill Template
Section titled “5.3 Skill Template”---name: your-skill-namedescription: Expert guidance for [domain] problemsallowed-tools: Read Grep Bash---
# Your Skill Name
## Expertise Areas
This skill provides knowledge in:- [Area 1]- [Area 2]- [Area 3]
## When to Apply
Use this skill when:- [Situation 1]- [Situation 2]
## Methodology
When activated, follow this approach:1. [Step 1]2. [Step 2]3. [Step 3]
## Key Concepts
### Concept 1: [Name][Explanation]
### Concept 2: [Name][Explanation]
## Checklists
### Pre-Implementation Checklist- [ ] [Check 1]- [ ] [Check 2]- [ ] [Check 3]
### Post-Implementation Checklist- [ ] [Verification 1]- [ ] [Verification 2]
## Examples
### Good Pattern// Good example
### Anti-Pattern// Bad example - don’t do this
## Reference Material
See `reference.md` for detailed documentation.
## 5.4 Skill Examples
### Example 1: Security Guardian Skill
```markdown---name: security-guardiandescription: Security expertise for OWASP Top 10, auth, and data protectionallowed-tools: Read Grep Bash---
# Security Guardian
## Expertise Areas
- OWASP Top 10 vulnerabilities- Authentication & Authorization- Data protection & encryption- API security- Secrets management
## OWASP Top 10 Checklist
### A01: Broken Access Control- [ ] Check authorization on every endpoint- [ ] Verify row-level permissions- [ ] Test IDOR vulnerabilities- [ ] Check for privilege escalation
### A02: Cryptographic Failures- [ ] Check for hardcoded secrets- [ ] Verify TLS configuration- [ ] Review password hashing (bcrypt/argon2)- [ ] Check data encryption at rest
### A03: Injection- [ ] Review SQL queries (parameterized?)- [ ] Check NoSQL operations- [ ] Review command execution- [ ] Check XSS vectors
[... more checklists ...]
## Authentication Patterns
### Good: Secure Password Hashing```typescriptimport { hash, verify } from 'argon2';
const hashedPassword = await hash(password);const isValid = await verify(hashedPassword, inputPassword);Bad: Insecure Hashing
Section titled “Bad: Insecure Hashing”// DON'T DO THISconst hashed = md5(password);const hashed = sha1(password);Secrets Management
Section titled “Secrets Management”Never Commit Secrets
Section titled “Never Commit Secrets”.env.env.local*.pem*credentials*Use Environment Variables
Section titled “Use Environment Variables”// Goodconst apiKey = process.env.API_KEY;
// Badconst apiKey = "sk-1234567890abcdef";Example 2: TDD Skill
Section titled “Example 2: TDD Skill”---name: tdddescription: Test-Driven Development methodology and patternsallowed-tools: Read Write Bash---
# TDD (Test-Driven Development)
## The TDD Cycle
┌─────────────────────────────────────────────────────────┐│ RED → GREEN → REFACTOR │├─────────────────────────────────────────────────────────┤│ ││ 1. RED ──→ Write a failing test ││ │ ││ ▼ ││ 2. GREEN ──→ Write minimal code to pass ││ │ ││ ▼ ││ 3. REFACTOR ──→ Improve code, keep tests green ││ │ ││ └────────────→ Repeat ││ │└─────────────────────────────────────────────────────────┘
## Methodology
### Step 1: RED (Write Failing Test)
Write a test for the behavior you want BEFORE writing any code.
```typescript// user.test.tsdescribe('User', () => { it('should validate email format', () => { expect(isValidEmail('test@example.com')).toBe(true); expect(isValidEmail('invalid')).toBe(false); });});Run: pnpm test → Should FAIL (function doesn’t exist)
Step 2: GREEN (Minimal Implementation)
Section titled “Step 2: GREEN (Minimal Implementation)”Write the MINIMUM code to make the test pass.
export const isValidEmail = (email: string): boolean => { return email.includes('@');};Run: pnpm test → Should PASS
Step 3: REFACTOR (Improve)
Section titled “Step 3: REFACTOR (Improve)”Now improve the implementation while keeping tests green.
// user.ts (improved)export const isValidEmail = (email: string): boolean => { const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; return emailRegex.test(email);};Run: pnpm test → Should still PASS
Test Structure: AAA Pattern
Section titled “Test Structure: AAA Pattern”it('should calculate order total', () => { // Arrange - Set up test data const items = [ { price: 10, quantity: 2 }, { price: 5, quantity: 3 } ];
// Act - Execute the code const total = calculateTotal(items);
// Assert - Verify the result expect(total).toBe(35);});Example 3: Design Patterns Analyzer Skill
Section titled “Example 3: Design Patterns Analyzer Skill”Purpose: Detect, analyze, and suggest Gang of Four design patterns in TypeScript/JavaScript codebases with stack-aware recommendations.
Location: examples/skills/design-patterns/
Key Features:
- Detects 23 GoF design patterns (Creational, Structural, Behavioral)
- Stack-aware detection (React, Angular, NestJS, Vue, Express, RxJS, Redux, ORMs)
- Code smell detection with pattern suggestions
- Quality evaluation (5 criteria: Correctness, Testability, SRP, Open/Closed, Documentation)
- Prefers stack-native alternatives (e.g., React Context over Singleton)
Structure:
design-patterns/├── SKILL.md # Main skill instructions├── reference/│ ├── patterns-index.yaml # 23 patterns metadata│ ├── creational.md # 5 creational patterns│ ├── structural.md # 7 structural patterns│ └── behavioral.md # 11 behavioral patterns├── signatures/│ ├── stack-patterns.yaml # Stack detection + native alternatives│ ├── detection-rules.yaml # Grep patterns for detection│ └── code-smells.yaml # Smell → pattern mappings└── checklists/ └── pattern-evaluation.md # Quality scoring systemOperating Modes:
-
Detection Mode: Find existing patterns in codebase
Terminal window # Invoke via skill or direct analysis"Analyze design patterns in src/" -
Suggestion Mode: Identify code smells and suggest patterns
Terminal window "Suggest design patterns to fix code smells in src/services/" -
Evaluation Mode: Score pattern implementation quality
Terminal window "Evaluate the Factory pattern implementation in src/lib/errors/"
Example Output:
{ "stack_detected": { "primary": "react", "version": "19.0", "secondary": ["typescript", "next.js", "prisma"], "detection_sources": ["package.json", "tsconfig.json"] }, "patterns_found": { "factory-method": [{ "file": "src/lib/errors/factory.ts", "lines": "12-45", "confidence": 0.9, "quality_score": 8.2, "notes": "Well-implemented with proper abstraction" }], "singleton": [{ "file": "src/config.ts", "confidence": 0.85, "quality_score": 4.0, "recommendation": "Consider React Context instead" }] }, "code_smells": [{ "type": "switch_on_type", "file": "src/components/data-handler.tsx", "line": 52, "severity": "medium", "suggested_pattern": "strategy", "rationale": "Replace conditional logic with strategy objects" }]}Stack-Native Recommendations:
| Pattern | React Alternative | Angular Alternative | NestJS Alternative |
|---|---|---|---|
| Singleton | Context API + Provider | @Injectable() service | @Injectable() (default) |
| Observer | useState + useEffect | RxJS Observables | EventEmitter |
| Decorator | Higher-Order Component | @Decorator syntax | @Injectable decorators |
| Factory | Custom Hook pattern | Factory service | Provider pattern |
Detection Methodology:
- Stack Detection: Analyze package.json, tsconfig.json, config files
- Pattern Search: Use Glob → Grep → Read pipeline
- Glob: Find candidate files (
**/*factory*.ts,**/*singleton*.ts) - Grep: Match detection patterns (regex for key structures)
- Read: Verify pattern implementation
- Glob: Find candidate files (
- Quality Evaluation: Score on 5 criteria (0-10 each)
- Smell Detection: Identify anti-patterns and suggest refactoring
Quality Evaluation Criteria:
| Criterion | Weight | Description |
|---|---|---|
| Correctness | 30% | Follows canonical pattern structure |
| Testability | 25% | Easy to mock, no global state |
| Single Responsibility | 20% | One clear purpose |
| Open/Closed | 15% | Extensible without modification |
| Documentation | 10% | Clear intent, usage examples |
Example Usage in Agent:
---name: architecture-reviewerdescription: Review system architecture and design patternstools: Read, Grep, Globskills: - design-patterns # Inherits pattern knowledge---
When reviewing architecture:1. Use design-patterns skill to detect existing patterns2. Evaluate pattern implementation quality3. Suggest improvements based on stack-native alternatives4. Check for code smells requiring pattern refactoringIntegration with Méthode Aristote:
This skill is now installed in the Méthode Aristote repository at:
/Users/florianbruniaux/Sites/MethodeAristote/app/.claude/skills/design-patterns/Usage:
- Direct invocation: “Analyze design patterns in src/”
- Via agent: Create an agent that inherits the design-patterns skill
- Automated review: Use in CI/CD to detect pattern violations
Reference:
- Full documentation:
examples/skills/design-patterns/SKILL.md - Pattern reference:
examples/skills/design-patterns/reference/*.md - Detection rules:
examples/skills/design-patterns/signatures/*.yaml
Example 4: Tally Form Builder Skill
Section titled “Example 4: Tally Form Builder Skill”Purpose: Create and modify Tally forms via MCP, no browser, no UI, just /tally-form-builder and a description.
Location: ~/.claude/skills/tally-form-builder/
What This Pattern Demonstrates: MCP wrapping with deferred tool loading. The Tally MCP tools are not available by default: their schemas must be fetched via ToolSearch before any call. This skill handles that automatically and documents all the gotchas that cause failures when calling the API blind.
Key Features:
- OAuth flow management (authenticate → browser → callback URL → complete)
- Block-chaining with
insertAfterBlockUuidto preserve order - HTML support awareness (TEXT blocks yes, option labels no)
- Batch text updates in a single call
- Known-issues reference file with 7 documented limitations and workarounds
Structure:
tally-form-builder/├── SKILL.md # Full workflow + rules + anti-patterns└── references/ ├── block-types.md # All block types with payloads and examples └── known-issues.md # 7 limitations with workaroundsCore Concept: Deferred Tools
Tally MCP tools are deferred: calling them without ToolSearch first returns InputValidationError. The skill enforces a mandatory ToolSearch step before any MCP call. This pattern applies to any MCP server with deferred tools.
ToolSearch → authenticate → list_workspaces → create_new_form → create_blocks → configure_blocks → update_text → save_formBlock Chaining Pattern:
Each block must reference the UUID of the block that precedes it. The skill tracks UUIDs across calls to maintain correct insertion order:
FORM_TITLE (uuid: "abc") → create_blocks([TITLE], insertAfterBlockUuid: "abc") → returns "def" → create_blocks([CHECKBOX × N], insertAfterBlockUuid: "def") → returns "ghi" → create_blocks([PAGE_BREAK], insertAfterBlockUuid: "ghi") → ...Critical Rule: save_form is mandatory. Without it, the form does not exist in Tally and list_forms returns 0 results.
Usage:
/tally-form-builderCreate a survey form on [topic] with:- Page 1: intro + checkbox question with options [A, B, C, D]- Page 2: context questions (team size, role)- Page 3: optional contact info (first name, email)Publish as PUBLISHED./tally-form-builderEdit form [formId]:- Change "2 min" to "3 min max" in the intro- Add a "SMB" option to the team size questionKey Limitations (documented in references/known-issues.md):
- Options (checkbox, dropdown, multiple choice) do not support HTML: labels are always plain text
- “Other” option generates a fixed small input; cannot be converted to a textarea via API
list_formsalways returns 0 untilsave_formis called
Reference:
- Full skill:
~/.claude/skills/tally-form-builder/SKILL.md - Block types:
~/.claude/skills/tally-form-builder/references/block-types.md - Known issues:
~/.claude/skills/tally-form-builder/references/known-issues.md - MCP wrapping template:
examples/skills/mcp-integration-reference/SKILL.md
5.5 Community Skill Repositories
Section titled “5.5 Community Skill Repositories”Registry-based Discovery: ctx7 CLI
Section titled “Registry-based Discovery: ctx7 CLI”Before diving into specific repositories, Context7 provides a CLI companion (ctx7) that automates skill discovery and installation. Instead of manually cloning repos, ctx7 skills suggest analyzes your project’s dependencies and recommends matching skills from the context7.com/skills registry, with trust scores to help evaluate quality.
Install:
npx ctx7 --help # No install required (npx)npm install -g ctx7 # Global installDiscovery workflow:
# Auto-detect project deps and suggest matching skillsnpx ctx7 skills suggest
# Search by keywordnpx ctx7 skills search terraform
# Install from any GitHub repositorynpx ctx7 skills install antonbabenko/terraform-skillnpx ctx7 skills install owner/repo
# List / remove installed skillsnpx ctx7 skills listnpx ctx7 skills remove skill-nameSetup wizard (replaces manual claude mcp add):
# Configure Context7 for Claude Code — detects editor, picks MCP or CLI+Skills modenpx ctx7 setup --claudectx7 setup runs a wizard that configures Context7 in the right mode for your editor. Use it when setting up Context7 for the first time instead of writing claude mcp add manually. The --claude flag targets Claude Code specifically; --cursor and --universal are available for other editors.
Registry vs. agentskills.io: The agentskills.io specification is the open standard defining the skill format (supported by 30+ platforms, see §5.1). The context7.com/skills registry is a hosted directory of skills conforming to that standard. The two are complementary: agentskills.io defines the format, context7.com/skills is one place to discover and share conforming skills. Skills installed via ctx7 land in ~/.claude/skills/ and work identically to manually installed ones.
Skill generation (authenticated, rate-limited):
npx ctx7 skills generate # AI-generated custom skillGeneration is best reserved for skills with no equivalent in the registry. For team onboarding at scale, the suggest + install workflow is more practical than generation.
CLI doc lookup (alternative to MCP):
# Search available librariesnpx ctx7 library react
# Fetch docs for a specific library + querynpx ctx7 docs /facebook/react "useEffect cleanup"This is the terminal equivalent of what the Context7 MCP server does. Useful when you want to look something up yourself without invoking Claude, or in environments where MCP is not configured. Claude Code users who already have the MCP server active don’t need this. Claude handles it automatically.
Cybersecurity Skills Repository
Section titled “Cybersecurity Skills Repository”The Claude Code community has created specialized skill collections for specific domains. One notable collection focuses on cybersecurity and penetration testing.
Repository: zebbern/claude-code-guide Skills Directory: /skills
This repository contains 29 cybersecurity-focused skills covering penetration testing, vulnerability assessment, and security analysis:
Penetration Testing & Exploitation
- SQL Injection Testing
- XSS (Cross-Site Scripting) Testing
- Broken Authentication Testing
- IDOR (Insecure Direct Object Reference) Testing
- File Path Traversal Testing
- Active Directory Attacks
- Privilege Escalation (Linux & Windows)
Security Tools & Frameworks
- Metasploit Framework
- Burp Suite Testing
- SQLMap Database Pentesting
- Wireshark Analysis
- Shodan Reconnaissance
- Scanning Tools
Infrastructure Security
- AWS Penetration Testing
- Cloud Penetration Testing
- Network 101
- SSH Penetration Testing
- SMTP Penetration Testing
Application Security
- API Fuzzing & Bug Bounty
- WordPress Penetration Testing
- HTML Injection Testing
- Top Web Vulnerabilities
Methodologies & References
- Ethical Hacking Methodology
- Pentest Checklist
- Pentest Commands
- Red Team Tools
- Linux Shell Scripting
Usage Example
Section titled “Usage Example”To use these skills in your Claude Code setup:
- Clone or download specific skills from the repository
- Copy the skill folder to your
.claude/skills/directory - Reference in your agents using the
skillsfrontmatter field
# Example: Add SQL injection testing skillcd ~/.claude/skills/curl -L https://github.com/zebbern/claude-code-guide/archive/refs/heads/main.zip -o skills.zipunzip -j skills.zip "claude-code-guide-main/skills/sql-injection-testing/*" -d sql-injection-testing/Then reference in an agent:
---name: security-auditordescription: Security testing specialist for penetration testingtools: Read, Grep, Bash---Important Disclaimer
Section titled “Important Disclaimer”Note: These cybersecurity skills have not been fully tested by the maintainers of this guide. While they appear well-structured and comprehensive based on their documentation, you should:
- Test thoroughly before using in production security assessments
- Ensure you have proper authorization before conducting any penetration testing
- Review and validate the techniques against your organization’s security policies
- Use only in legal contexts with written permission from system owners
- Contribute back if you find issues or improvements
The skills appear to follow proper ethical hacking guidelines and include appropriate legal prerequisites, but as with any security tooling, verification is essential.
claude-red: Offensive Security Skill Library
Section titled “claude-red: Offensive Security Skill Library”A more comprehensive alternative to the zebbern collection above. claude-red is a curated library of 58 offensive security skills across 13 attack surface categories, built for authorized red team engagements, bug bounty hunting, and security audits on your own systems.
Repository: SnailSploit/Claude-Red, 2,786 stars as of 2026-07-27 (was 1,200+), MIT license, active maintenance (updated May 2026).
Categories: Web app (16 skills: SQLi, XSS, SSRF, SSTI, XXE, IDOR, RCE, deserialization, race conditions, request smuggling, WAF bypass, GraphQL…), Auth & Identity (JWT manipulation, OAuth exploitation), Active Directory, Wireless (13 skills), Cloud (AWS/Azure/GCP), Mobile (Android/iOS), IoT & Embedded, Infrastructure & Red Team, Exploit Development (6 skills), Fuzzing & Vulnerability Research, OSINT/Recon, AI Security, and Utility (fast triage checklist, reporting).
Each skill is a structured SKILL.md with frontmatter (name, description, trigger phrases), detailed methodology, tool enumeration, and escalation paths, not ready-to-copy exploits, but expert-level operational guidance.
One-Shot Usage (No Global Install)
Section titled “One-Shot Usage (No Global Install)”The most important pattern with claude-red is loading skills without permanently installing them. This keeps your global ~/.claude/skills/ clean.
Option 1: Read directly in session: Ask Claude to read a skill file and apply its methodology. The context disappears when the session closes.
Option 2: --system-file at launch: Load one or more skills at session start via CLI:
# Single skillclaude --system-file path/to/Skills/utility/offensive-fast-checking/SKILL.md
# Multiple skills (concatenated)cat Skills/utility/offensive-fast-checking/SKILL.md \ Skills/web/offensive-sqli/SKILL.md \ | claude --system-file /dev/stdinOption 3: Project-level .claude/skills/: Symlink only the relevant skills into the target repo’s .claude/skills/, run the audit, then remove the directory. Zero pollution beyond the repo boundary.
Targeted Prompt Pattern
Section titled “Targeted Prompt Pattern”Rather than loading all 58 skills, craft a prompt that matches skills to your stack. This is the highest-value pattern: Claude reads only the skills relevant to your attack surface and applies them with your codebase as context.
Example for a Next.js + Prisma + Clerk app:
You are doing a security audit on this Next.js/tRPC/Prisma/Clerk codebase.
Read these skills in order:1. Skills/utility/offensive-fast-checking/SKILL.md — quick wins triage2. Skills/web/offensive-idor/SKILL.md — role-based access flaws3. Skills/auth/offensive-jwt/SKILL.md — Clerk JWT manipulation4. Skills/web/offensive-sqli/SKILL.md — Prisma ORM injection paths5. Skills/ai/offensive-ai-security/SKILL.md — prompt injection on AI endpoints
Priority vectors: IDOR between user roles, JWT algorithm confusion,Prisma raw query injection, SSRF via external API integrations.
Codebase: [path to project root]
Start with the fast-checking triage, then dig into IDOR and auth.Tailor the skill list to your actual stack: a Rust CLI project would load fuzzing and exploit-dev skills instead of web skills; a map application with external tile loading would prioritize SSRF and XSS over SQLi.
Ethical & Legal Scope
Section titled “Ethical & Legal Scope”Use only on systems you own or have explicit written authorization to test. The repository’s SECURITY.md details scope: authorized engagements, bug bounty programs, CTF competitions, and internal security research only. Misuse may violate computer-crime statutes (CFAA, Computer Misuse Act).
Infrastructure as Code Skills
Section titled “Infrastructure as Code Skills”Repository: antonbabenko/terraform-skill Author: Anton Babenko (creator of terraform-aws-modules, 1B+ downloads, AWS Community Hero) Documentation: terraform-best-practices.com
A production-grade Claude Code skill for Terraform and OpenTofu infrastructure management, covering:
Testing & Validation
- Test strategy decision frameworks (native tests vs Terratest)
- Workflow examples for different testing scenarios
Module Development
- Naming conventions and versioning patterns
- Structural best practices for reusable modules
CI/CD Integration
- GitHub Actions and GitLab CI templates
- Cost estimation and compliance checks baked in
Security & Compliance
- Static analysis and policy-as-code integration
- Security scanning workflows
Patterns & Anti-patterns
- Side-by-side examples of recommended vs problematic approaches
- Decision frameworks over prescriptive rules
Why This Skill is Notable
Section titled “Why This Skill is Notable”This skill demonstrates several best practices for production-grade skill development:
- Marketplace distribution: Uses
.claude-plugin/marketplace.jsonfor easy installation - Structured references: Organized
references/directory with knowledge base - Test coverage: Includes
tests/directory for skill validation - Decision frameworks: Emphasizes frameworks over rigid rules, enabling contextual decisions
Installation
Section titled “Installation”# Via marketplace (if available)/install terraform-skill@antonbabenko
# Manual installationcd ~/.claude/skills/git clone https://github.com/antonbabenko/terraform-skill.git terraformContributing
Section titled “Contributing”If you create specialized skills for other domains (DevOps, data science, ML/AI, etc.), consider sharing them with the community through similar repositories or pull requests to existing collections.
Automatic Skill Generation: Claudeception
Section titled “Automatic Skill Generation: Claudeception”Repository: blader/Claudeception Author: Siqi Chen (@blader) | Stars: 2,381 (2026-07-27, was 1k+) | License: MIT
Unlike traditional skill repositories, Claudeception is a meta-skill that generates new skills during Claude Code sessions. It addresses a fundamental limitation: “Every time you use an AI coding agent, it starts from zero.”
How It Works
Section titled “How It Works”- Monitors your Claude Code sessions via hook activation
- Detects non-obvious discoveries (debugging techniques, workarounds, project-specific patterns)
- Writes new skill files with Problem/Context/Solution/Verification structure
- Retrieves matching skills in future sessions when similar contexts arise
Validated Use Case
Section titled “Validated Use Case”A user reported Claudeception auto-generated a pre-merge-code-review skill from their actual workflow, transforming an ad-hoc debugging session into a reusable, automatically-triggered skill.
Installation
Section titled “Installation”# User-level installationgit clone https://github.com/blader/Claudeception.git ~/.claude/skills/claudeception
# Project-level installationgit clone https://github.com/blader/Claudeception.git .claude/skills/claudeceptionSee the repository README for hook configuration.
Considerations
Section titled “Considerations”| Aspect | Recommendation |
|---|---|
| Governance | Review generated skills periodically; archive or merge duplicates |
| Overhead | Hook-based activation adds evaluation per prompt |
| Scope | Start with non-critical projects to validate the workflow |
| Quality gates | Claudeception only persists tested, discovery-driven knowledge |
Why It’s Notable
Section titled “Why It’s Notable”This skill demonstrates the skill-that-creates-skills pattern, a meta-approach where Claude Code improves itself through session learning. Inspired by academic work on reusable skill libraries (Voyager, CASCADE, SEAgent, Reflexion).
Automatic Skill Improvement: Claude Reflect System
Section titled “Automatic Skill Improvement: Claude Reflect System”Repository: claude-reflect-system Author: Haddock Development | Status: Third-party project; current behavior and maintenance status require verification Marketplace: Agent Skills Index
While Claudeception creates new skills from discovered patterns, Claude Reflect System is designed to propose edits to existing skills from feedback and corrections observed in sessions.
Evidence boundary: session reflection can generate useful candidates, but it cannot validate its own edits. Before installation, inspect the repository at a pinned revision and verify its hook contract, commands, writes, and rollback path. Before accepting a proposed skill change, re-run independent evals or deterministic checks against the previous version.
How It Works
Section titled “How It Works”The project documents two modes:
Manual Mode (/reflect [skill-name]):
/reflect design-patterns # Analyze and propose improvements for specific skillAutomatic Mode (Stop hook):
- Monitors Stop hook triggers (session end, error, explicit stop)
- Parses session transcript for skill-related feedback
- Classifies improvement type (correction, enhancement, new example)
- Proposes skill modifications with confidence level (HIGH/MED/LOW)
- Waits for explicit user review and approval
- Backs up original skill file to Git
- Applies changes with validation (YAML syntax, markdown structure)
- Commits with descriptive message
Documented Safety Features
Section titled “Documented Safety Features”The following controls are project claims until verified against the installed revision and a real session:
| Feature | Purpose | Documented implementation |
|---|---|---|
| User Review Gate | Prevent automatic unwanted changes | All proposals require explicit approval before application |
| Git Backups | Enable rollback of bad improvements | Auto-commits before each modification with descriptive messages |
| Syntax Validation | Maintain skill file integrity | YAML frontmatter + markdown body validation before write |
| Confidence Levels | Prioritize high-quality improvements | HIGH (clear correction) > MED (likely improvement) > LOW (suggestion) |
| Locking Mechanism | Prevent concurrent modifications | File locks during analysis and application phases |
Installation
Section titled “Installation”# Clone to skills directorygit clone https://github.com/haddock-development/claude-reflect-system.git \ ~/.claude/skills/claude-reflect-system
# Configure Stop hook (add to ~/.claude/hooks/Stop.sh or Stop.ps1)# Bash example:echo '/reflect-auto' >> ~/.claude/hooks/Stop.shchmod +x ~/.claude/hooks/Stop.sh
# PowerShell example:Add-Content -Path "$HOME\.claude\hooks\Stop.ps1" -Value "/reflect-auto"See the repository README for detailed hook configuration.
Use Case Example
Section titled “Use Case Example”Problem: You use a terraform-validation skill that doesn’t catch a specific security misconfiguration. During the session, Claude detects and corrects the issue manually.
Illustrative proposal flow:
- Claude corrected a pattern not covered by the skill
- A correction appeared alongside passing tests
- The system labels the candidate high confidence
Proposal:
Skill: terraform-validationConfidence: HIGHChange: Add S3 bucket encryption validationDiff: + - Check bucket encryption: aws_s3_bucket.*.server_side_encryption_configuration + - Reject: Encryption not set or using AES256 instead of aws:kmsUser reviews → evaluates against the previous version → accepts or rejects the candidate. A successful edit does not prove that future sessions will always catch the issue.
⚠️ Security Warnings
Section titled “⚠️ Security Warnings”Self-improving systems introduce specific security risks. Claude Reflect System includes mitigations, but users must remain vigilant:
| Risk | Description | Mitigation | User Responsibility |
|---|---|---|---|
| Feedback Poisoning | Adversarial inputs manipulate improvement proposals | User review gate, confidence scoring | Review all HIGH confidence proposals, reject suspicious changes |
| Memory Poisoning | Malicious edits to learned patterns accumulate | Git backups, syntax validation | Periodically audit skill history via Git log |
| Prompt Injection | Embedded instructions in session transcripts | Input sanitization, proposal isolation | Never approve proposals with executable commands |
| Skill Bloat | Unbounded growth without curation | Manual /reflect [skill] mode, curate regularly | Archive or merge redundant improvements quarterly |
Activation and Control
Section titled “Activation and Control”| Command | Effect |
|---|---|
/reflect-on | Enable automatic Stop hook analysis |
/reflect-off | Disable automatic analysis (manual mode only) |
/reflect [skill-name] | Manually trigger analysis for specific skill |
/reflect status | Show enabled/disabled state and recent proposals |
Default: Disabled (opt-in for safety)
Comparison: Claudeception vs Reflect System
Section titled “Comparison: Claudeception vs Reflect System”| Aspect | Claudeception | Claude Reflect System |
|---|---|---|
| Focus | Skill generation (create new) | Skill improvement (refine existing) |
| Trigger | New patterns discovered | Corrections/feedback detected |
| Input | Session discoveries, workarounds | Claude’s self-corrections, user feedback |
| Review | Implicit (skill created, user evaluates in next session) | Explicit (proposal shown, user approves/rejects) |
| Safety | Quality gates (only tested discoveries) | Git backups, syntax validation, confidence levels |
| Use Case | Bootstrap project-specific skills | Evolve skills based on real-world usage |
| Overhead | Hook evaluation per prompt | Stop hook evaluation (session end) |
Recommended Combined Workflow
Section titled “Recommended Combined Workflow”- Bootstrap: generate a candidate skill from repeated, observed friction.
- Baseline: capture representative prompts and assertions before changing it.
- Reflect: use session feedback to propose a focused edit.
- Compare: run old and new versions in fresh contexts, including a no-skill baseline.
- Curate: accept only evidence-backed changes; merge duplicates and retire stale skills.
Resources
Section titled “Resources”- GitHub Repository: haddock-development/claude-reflect-system
- Marketplace: Agent Skills Index
Design Intelligence: UI UX Pro Max
Section titled “Design Intelligence: UI UX Pro Max”Repository: nextlevelbuilder/ui-ux-pro-max-skill Site: ui-ux-pro-max-skill.nextlevelbuilder.io | uupm.cc Stars: 110.8K (2026-07-27, was 33.7k) | Forks: 11.8K (was 3.3k) | License: MIT | Latest: v2.2.1 (Jan 2026)
UI UX Pro Max is the most popular design skill in the AI coding assistant ecosystem. It adds a design reasoning engine to Claude Code (and 14 other assistants), replacing generic AI-generated UI with professional, industry-aware design systems.
The engine works offline: it runs BM25 search over ~400 local JSON rules to recommend styles, palettes, and typography. No external LLM calls, no network dependency at runtime.
What It Provides
Section titled “What It Provides”| Asset | Count | Examples |
|---|---|---|
| UI Styles | 67 | Glassmorphism, Brutalism, Bento Grid, AI-Native UI, Claymorphism… |
| Color Palettes | 96 | Industry-specific: SaaS, fintech, healthcare, e-commerce, luxury… |
| Font Pairings | 57 | Curated Google Fonts combinations with context rules |
| Chart Types | 25 | Dashboard, analytics, BI recommendations |
| UX Guidelines | 99 | Best practices, anti-patterns, accessibility rules |
| Industry Reasoning Rules | 100 | SaaS, fintech, healthcare, e-commerce, beauty, Web3, gaming… |
Flagship Feature: Design System Generator
Section titled “Flagship Feature: Design System Generator”The Design System Generator (v2.0+) analyzes your product type and generates a complete, tailored design system in seconds:
# Generate design system for a SaaS dashboard projectpython3 .claude/skills/ui-ux-pro-max/scripts/search.py "saas analytics dashboard" \ --design-system -p "MyApp"
# Output: pattern + style + palette + typography + effects + anti-patterns + checklistMaster + Override pattern for multi-page projects:
# Generate and persist a global design systempython3 .claude/skills/ui-ux-pro-max/scripts/search.py "saas dashboard" \ --design-system --persist -p "MyApp"
# Create page-specific overridespython3 .claude/skills/ui-ux-pro-max/scripts/search.py "checkout flow" \ --design-system --persist -p "MyApp" --page "checkout"This creates a design-system/ folder:
design-system/├── MASTER.md # Global: colors, typography, spacing, components└── pages/ └── checkout.md # Page-specific overrides onlyReference in your Claude Code prompts:
I am building the Checkout page.Read design-system/MASTER.md, then check design-system/pages/checkout.md.Prioritize page rules if present, otherwise use Master rules.Now generate the code.Installation
Section titled “Installation”Option 1: Claude Marketplace (two commands):
/plugin marketplace add nextlevelbuilder/ui-ux-pro-max-skill/plugin install ui-ux-pro-max@ui-ux-pro-max-skillOption 2: CLI (recommended):
npm install -g uipro-clicd /path/to/your/projectuipro init --ai claude # Claude CodeOption 3: Manual (no npm):
git clone --depth=1 https://github.com/nextlevelbuilder/ui-ux-pro-max-skill /tmp/uiprocp -r /tmp/uipro/.claude/skills/ui-ux-pro-max .claude/skills/Prerequisite: Python 3.x must be installed (the reasoning engine is a Python script).
Once installed, the skill activates automatically for UI/UX requests in Claude Code:
Build a landing page for my SaaS productCreate a dashboard for healthcare analyticsDesign a fintech app with dark themeConsiderations
Section titled “Considerations”| Aspect | Notes |
|---|---|
| Scope | Multi-platform: supports Cursor, Windsurf, Copilot, Gemini CLI, and 10 others alongside Claude Code |
| Quality signal | 110.8K stars, 11.8K forks as of 2026-07-27 (was 33.7k / 3.3k in the first 3 months), strongest community traction of any design skill |
| Maintenance | Active: v2.0→v2.2.1 in 10 days (Jan 2026), updated regularly |
| Chinese community | Strong adoption: listed on jimmysong.io, benchmark repos in Chinese dev ecosystem |
Security note:
npm install -g uipro-cliinstalls a package from an anonymous organization (“nextlevelbuilder”) globally. Source audit (Feb 2026) confirmed:
- No preinstall/postinstall scripts in the npm package
- No network calls in the Python engine (
search.py,core.py,design_system.py; stdlib + local CSV/JSON only)Option 3 (manual git clone) remains the safest route if you want to inspect before installing. The package has not been formally audited by Anthropic or the maintainers of this guide.
DevOps & SRE Guide
Section titled “DevOps & SRE Guide”For comprehensive DevOps/SRE workflows, see DevOps & SRE Guide:
- The FIRE Framework: First Response → Investigate → Remediate → Evaluate
- Kubernetes troubleshooting: Prompts by symptom (CrashLoopBackOff, OOMKilled, etc.)
- Incident response: Solo and multi-agent patterns
- IaC patterns: Terraform, Ansible, GitOps workflows
- Guardrails: Security boundaries and team adoption checklist
Quick Start: Agent Template | CLAUDE.md Template
Skills Marketplace: skills.sh
Section titled “Skills Marketplace: skills.sh”URL: skills.sh | GitHub: vercel-labs/agent-skills | Launched: January 21, 2026
Skills.sh (Vercel Labs) provides a centralized marketplace for discovering and installing agent skills with one-command installation:
npx skills add vercel-labs/agent-skillsnpx skills add supabase/agent-skillsnpx skills add anthropics/skillsnpx skills add anthropics/claude-plugins-officialHow It Works
Section titled “How It Works”Installation: the CLI copies selected skills into the agent and scope you choose. Confirm the destination and inspect the copied files before invocation.
Supported agents: the current catalog lists Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Gemini, Cline, and other clients.
Format: standard SKILL.md with YAML frontmatter. Claude Code-specific fields are not guaranteed to behave the same way in another client.
Catalog and Popularity Data
Section titled “Catalog and Popularity Data”The leaderboard and install counts change continuously and do not establish quality, compatibility, or maintenance. Consult the live skills.sh catalog for discovery, then inspect the selected repository and evaluate the skill in your own scope before adoption.
Security Audits (February 2026)
Section titled “Security Audits (February 2026)”Vercel launched automated security scanning on every skills.sh skill (announcement, Feb 17, 2026), partnering with three independent security firms covering 60,000+ skills:
| Partner | Method | Performance |
|---|---|---|
| Socket | Cross-ecosystem static analysis + LLM-based noise reduction (curl|sh, obfuscation, exfiltration, suspicious deps) | 95% precision, 97% F1 |
| Snyk | mcp-scan engine: LLM judges + deterministic rules, detects “toxic flows” between natural language and executable code | 90-100% recall, 0% false positives on legit skills |
| Gen (Agent Trust Hub) | Real-time monitoring of connections in/out of agents to prevent data exfiltration and prompt injection | Continuous |
Risk levels displayed on every skill page and shown before installation via skills@1.4.0+:
| Rating | Meaning |
|---|---|
| ✅ Safe | Verified against security best practices |
| 🟡 Low Risk | Minor risk indicators detected |
| 🔴 High Risk | Significant security concerns |
| ☠️ Critical | Severe or malicious behavior, hidden from search |
Continuous monitoring: skills are re-evaluated as detection improves. If a repository becomes malicious after install, its rating updates automatically.
Security model: treat a downloaded skill like executable code because it can contain tool grants, scripts, dependencies, and instructions. A marketplace rating is one input, not a substitute for reviewing the version you install.
Ownership model: installation does not create a shared maintenance contract. Consume, fork, extract a pattern, or reject based on your context and evaluation evidence.
Status & Trade-offs
Section titled “Status & Trade-offs”Status: Launched Jan 21, 2026, security-audited since Feb 17, 2026 (Socket + Snyk + Gen)
Governance: Community project by Vercel Labs (not official Anthropic). Skills contributed by Vercel, Anthropic, Supabase, and community members.
Trade-offs:
- ✅ Centralized discovery and a live leaderboard
- ✅ One-command install (vs manual GitHub clone)
- ✅ Uses the Agent Skills directory format
- ✅ Automated 3-layer security audit before installation
- ✅ Continuous monitoring post-install
- ⚠️ Multi-agent focus (not Claude Code specific)
- ⚠️ Skills require explicit invocation; agents only auto-invoke them ~56% of the time (Gao, 2026). For critical instructions, prefer always-loaded CLAUDE.md
When to Use
Section titled “When to Use”| Use Case | Recommendation |
|---|---|
| Discover patterns | Browse skills.sh; installation is optional |
| Adopt a maintained tool skill | Review source, permissions, scripts, version, and vendor support promise |
| Team-specific skill | Fork or write a project skill with a named owner and local evals |
| Organization-managed skill | Use the managed distribution path with explicit review and retirement policy |
Installation Examples
Section titled “Installation Examples”Interactive CLI installation:
# Select skills, target agents, and scope in the installernpx skills add vercel-labs/agent-skills
# Add another repositorynpx skills add supabase/agent-skills
# Example verification when you selected Claude Code personal scopels ~/.claude/skills/Manual installation (project-specific):
# Clone from GitHubgit clone https://github.com/vercel-labs/agent-skills.git /tmp/agent-skills
# Copy specific skillcp -r /tmp/agent-skills/react-best-practices .claude/skills/
# Claude Code auto-discovers skills in .claude/skills/References
Section titled “References”- Vercel Changelog: Introducing Agent Skills
- Vercel Changelog: Automated security audits for skills.sh
- Snyk Blog: Securing the Agent Skill Ecosystem
- Gen + Vercel: Agent Trust Hub partnership
- GitHub: vercel-labs/agent-skills
- Platform Claude Docs: Skill Best Practices
- See also: AI Ecosystem Guide for complementary tools
Quick jump: Slash Commands · Creating Custom Commands · Command Template · Command Examples
CC 2.1.3 (January 2026): Skills and Commands are now unified.
.claude/commands/is merged into.claude/skills/. Skills have two invocation modes: user-triggered (/skill-name, equivalent to old commands) and model-triggered (auto-loaded by description match). To restrict a skill to user-invocation only, adddisable-model-invocation: trueto its frontmatter. Existing files in.claude/commands/remain backward-compatible but all new development belongs in.claude/skills/.
Reading time: 10 minutes Skill level: Week 1-2 Goal: Create custom slash commands