brainstorming
Structured design dialogue that validates ideas before implementation begins.
claude-artifact-creator
Creates, improves, and validates Claude Code artifacts (skills, agents, commands, hooks). Use when creating domain expertise skills, specialized task agents, user-invoked commands, extending Claude Code capabilities, improving existing artifacts, reviewing artifact quality, analyzing code for aut...
Full skill instructions
Creates, improves, and maintains Claude Code extensions following official best practices.
Before creating any artifact, READ .claude/GUIDELINES.md for:
This skill provides quick patterns; GUIDELINES.md provides authoritative rules.
The context window is a shared resource. Before adding content, ask:
CRITICAL: Before creating any knowledge artifact, determine the correct layer.
See GUIDELINES.md § Three-Layer Knowledge Architecture for full details.
Is it a design principle that applies to ANY language?
│
├── YES → Create CONCEPT (knowledge/concepts/)
│ NO CODE, just principles
│
└── NO → Is it specific to a language/framework?
│
├── YES → Create IMPLEMENTATION (knowledge/implementations/{lang}/)
│ CODE EXAMPLES, links to concept
│
└── NO → Create SKILL (skills/)
ORCHESTRATION, references both
Location: knowledge/concepts/{topic}/{concept}.md
Rules:
Template:
---
name: {Concept Name}
category: {topic}
implementations:
dotnet: ../implementations/dotnet/{file}.md#{anchor}
react: ../implementations/react/{file}.md#{anchor}
used_by_skills: []
---
# {Concept Name}
> "{Quote or one-liner definition}"
## The Principle
{Framework-independent explanation}
## Why It Matters
{Business/technical rationale}
## How to Detect Violations
- {Detection criteria - NO code}
- {Observable symptoms}
## Related Concepts
- [{Related Concept}](../{related}/concept.md)
## Implementations
| Language | Guide |
|----------|-------|
| C#/.NET | [Link](../../implementations/dotnet/{file}.md) |
| React | [Link](../../implementations/react/{file}.md) |
Location: knowledge/implementations/{lang}/{file}.md
Rules:
Template:
---
implements_concepts:
- concepts/{topic}/{concept}
language: {csharp|typescript|python}
framework: [{dotnet|react|abp}]
---
# {Concept Name} in {Language}
## {Concept} {#anchor}
> **Concept**: [{Concept Name}](../../concepts/{topic}/{concept}.md)
### ❌ Violation
```{lang}
// Code showing anti-pattern
// Code showing correct implementation
{Any framework-specific considerations}
### Updating Skills for Three-Layer
When creating or updating skills, add these front matter fields:
```yaml
---
name: skill-name
applies_concepts:
- knowledge/concepts/{topic}/{concept}
uses_implementations:
- knowledge/implementations/{lang}/{file}
---
Before creating ANY knowledge artifact:
knowledge/concepts/INDEX.md or knowledge/implementations/INDEX.mdCreate a skill:
python scripts/init_skill.py pdf-processor --path .claude/skills --template tool
Create an agent:
python scripts/init_agent.py abp-code-reviewer --path .claude/agents --template reviewer --category reviewers
Create a command:
python scripts/init_command.py run-tests --path .claude/commands --template workflow --category tdd
User triggers explicitly → COMMAND
Claude auto-detects → SKILL (no isolation) or AGENT (with isolation)
Deterministic on events → HOOK
Level 1: description (~100 tokens) → Trigger matching
Level 2: SKILL.md body (<5k tokens) → When activated
Level 3: references/ → On-demand deep dives
See GUIDELINES.md § Size Limits for authoritative limits.
Quick reference: Skills <500, Agents <150, References one level deep.
# Good: Third-person with triggers
description: Processes PDF files for text extraction and form filling.
Use when working with PDFs, extracting text, or filling forms.
# Bad: First-person or vague
description: I can help you with documents
| Field | Requirements |
|---|---|
name | Max 64 chars, lowercase, hyphens only, no reserved words (anthropic, claude) |
description | Max 1024 chars, third-person voice, 3+ trigger scenarios, no XML tags |
tools | Comma-separated; omitting grants ALL tools (including MCP) |
model | haiku (fast), sonnet (balanced), opus (powerful) |
permissionMode | default, acceptEdits, bypassPermissions |
See GUIDELINES.md § Choosing the Right Tool for the full decision matrix.
Quick reference: Command (user triggers) → Skill (auto, no isolation) → Agent (auto, isolated) → Hook (deterministic events)
Type Decision Checklist:
- [ ] User invokes with /command? → Command
- [ ] Needs separate context window? → Agent
- [ ] Auto-triggered domain knowledge? → Skill
- [ ] Shell action on tool events? → Hook
Skills: Trigger scenarios (3+), resources needed, primary workflow Agents: Team role, tools needed (least privilege), permission mode Commands: Arguments, phases, expected output
| Type | Command |
|---|---|
| Skill | python scripts/init_skill.py <name> --template <type> |
| Agent | python scripts/init_agent.py <name> --template <type> --category <cat> |
| Command | python scripts/init_command.py <name> --template <type> --category <cat> |
Templates:
default, tool, workflow, domain, analysis, integration, generator, patternarchitect, reviewer, developer, coordinator, specialistreview, generate, debug, workflow, git, refactorTesting Checklist:
- [ ] Customize all placeholders ([DOMAIN], [TARGET])
- [ ] Test with Haiku - enough guidance?
- [ ] Test with Sonnet - clear and efficient?
- [ ] Test with Opus - not over-explained?
- [ ] Verify triggers activate correctly
Claude Code includes built-in agents (cannot be modified):
| Agent | Purpose | Mode |
|---|---|---|
| Plan | Research before presenting plan | Read-only, plan mode |
| Explore | Fast codebase search | Read-only (ls, find, cat, head, tail) |
Note: Subagents cannot spawn other subagents.
⚠️ Warning: Omitting tools grants ALL tools including MCP. Always whitelist explicitly.
Full reference: See GUIDELINES.md § Agents for tool permissions by role, and GUIDELINES.md § Hooks for hook events.
scripts/validate.py --strict| Pitfall | Detection | Fix |
|---|---|---|
| Vague triggers | Description <100 chars | Add 3+ specific scenarios |
| Abstract only | No code blocks | Add before/after examples |
| Monolithic | >500 lines | Move to references/ |
| Kitchen sink | Lists 5+ domains | Create specialized artifacts |
| Embedded code in agent | Code blocks in agent | Extract to skill |
| First-person description | "I can help" | Use third-person |
See references/anti-patterns.md for comprehensive list.
When agents grow >150 lines, extract embedded content to skills, commands, or docs.
Full guide: See agent-refactoring-guide.md
For comprehensive agent optimization, see agent-optimization-patterns.md.
Key techniques:
| Technique | Purpose |
|---|---|
| Semantic skill categorization | Organize skills by METHODOLOGY, DOMAIN, LENS, OUTPUT |
| Explicit workflow pipeline | Declarative GATHER → ANALYZE → REPORT in frontmatter |
| Skill invocation guidance | Phase-to-skill mapping with fallback checks |
| Project-agnostic design | Dynamic context loading from docs/ |
| Output externalization | Dedicated format skill for report templates |
Quick optimization checklist:
- [ ] Skills categorized semantically (not alphabetically)
- [ ] Workflow defined as pipeline with phase-to-skill mapping
- [ ] Fallback checks provided for skill failures
- [ ] No hardcoded project names/paths
- [ ] Output template in dedicated skill
- [ ] Quality self-check categorized by concern
- [ ] Agent size <150 lines
Agents declare their knowledge profile in YAML front matter to enable validation and discoverability.
See GUIDELINES.md § Artifact Knowledge Rules for full governance.
| Field | Purpose | Format |
|---|---|---|
understands | Concepts agent knows | List of paths relative to knowledge/concepts/ |
applies | Implementations agent uses | List of paths relative to knowledge/implementations/ |
---
name: abp-developer
understands:
- solid/srp
- solid/dip
- clean-code/naming
- clean-architecture/layers
applies:
- dotnet/solid
- dotnet/clean-code
---
understands paths must exist in knowledge/concepts/INDEX.mdapplies paths must exist in knowledge/implementations/INDEX.mdsolid/* to include all concepts in a category| Role (folder) | understands (min) | applies (min) |
|---|---|---|
reviewers/ | 3 | 1 |
engineers/ | 2 | 2 |
architects/ | 3 | 0 |
specialists/ | 1 | 0 |
When creating or updating agents:
understands paths exist in concepts INDEXapplies paths exist in implementations INDEXCross-reference: See ARTIFACT-KNOWLEDGE-MATRIX.md for full coverage.
Track these for artifact quality:
| Metric | Target |
|---|---|
| Trigger accuracy | Activates on relevant requests |
| Output consistency | Same quality across similar inputs |
| Model compatibility | Works with Haiku, Sonnet, Opus |
| Line count | Skills <500, Agents <150 |
| Description length | 100-1024 chars with triggers |
See GUIDELINES.md § Quality Checklists for authoritative checklists.
Quick validation:
/add-feature (command)
└─ Uses backend-architect (agent)
└─ Applies api-design-principles (skill)
Rule: "Knowing" = Skill, "Doing" = Command
"Doing with Knowledge" = Command referencing Skills
Primary (READ FIRST):
.claude/GUIDELINES.md - Authoritative meta-knowledge for all artifact creationSkill-Specific:
Project Context:
CLAUDE.md - Project-specific values and quick referencesStructured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs