brainstorming
Structured design dialogue that validates ideas before implementation begins.
Create new domain expert with expertise file and workflows. Use when adding new technology or domain area.
Full skill instructions
Generate complete expert structure for a new domain. This is a meta-skill - a tool that builds tools.
Ask clarifying questions:
mkdir -p .claude/experts/{expert-name}-expert
Create three files:
expertise.yaml - Mental model (initially low confidence)question.md - Question workflowself-improve.md - Self-improvement workflowUse template from .claude/experts/_shared/expertise-schema.yaml:
---
expert: "{name}-expert"
domain: "{Domain Description}"
last_updated: "{current-date}"
version: "0.1.0"
confidence: "low"
---
{domain}_patterns:
- pattern: "{initial pattern from docs/agent}"
context: "{when this applies}"
evidence: "{source}"
learned_from: "Initial setup"
importance: "medium"
confidence: "low"
common_issues: [] # To be discovered
key_files:
primary: "{main config/entry file}"
common_patterns: []
codebase_conventions: [] # To be discovered
evolution_log:
- date: "{current-date}"
change: "Expert created"
confidence_before: "none"
confidence_after: "low"
trigger: "manual creation"
metadata:
created: "{current-date}"
self_improve_runs: 0
last_self_improve: "never"
questions_answered: 0
Fill with initial patterns from:
Adapt from existing experts (use convex-expert/question.md as template):
---
name: Question {Name} Expert
description: Ask questions about {domain} patterns
argument-hint: [Your question about {domain}]
tools: Read, Grep, Glob
model: inherit
---
# Question: {Name} Expert
Answer questions using accumulated expertise validated against codebase.
## Workflow
### 1. Read Expertise
Read: .claude/experts/{name}-expert/expertise.yaml
### 2. Validate Against Codebase
```bash
# Domain-specific search patterns
Glob: {domain-files}/*
Grep: {domain-keywords}
Read: {key-files}
**Customize:**
- Search patterns for domain (Glob/Grep targets)
- Key files to check
- Domain-specific validation steps
### 5. Generate Self-Improve Prompt
Adapt from convex-expert/self-improve.md:
```markdown
---
name: Self-Improve {Name} Expert
description: Sync {domain} expertise with current codebase
tools: Read, Grep, Glob, Edit
model: inherit
---
# Self-Improve: {Name} Expert
## Workflow
### 1. Read Current Expertise
Read: .claude/experts/{name}-expert/expertise.yaml
### 2. Explore Codebase
```bash
Glob: {domain-files}/**/*
Read: {key-files}
Grep: {domain-patterns}
Edit expertise.yaml:
**Customize:**
- File patterns to explore
- Keywords to search for
- Pattern detection criteria
### 6. Update Dispatcher
Add new expert to `.claude/commands/ask-expert.md`:
```markdown
### {name}
**Domain:** {Domain Description}
**Expertise:** {key areas}
**Use for:** {when to use this expert}
Also update expertMap in implementation section.
Execute the self-improve prompt to populate initial expertise:
# This will explore codebase and populate expertise.yaml
# with real patterns discovered
If there's a corresponding agent, enhance it:
---
expertise_file: .claude/experts/{name}-expert/expertise.yaml
---
## Before Starting Any Task
1. Read expertise file
2. Apply patterns
3. Validate & extend
New expert should have:
.claude/experts/{name}-expert/expertise.yaml with initial patternsquestion.md with domain-specific workflowself-improve.md with exploration logicask-expert.md dispatcher# User request: "Create expert for testing patterns"
# 1. Interview
Expert name: testing-expert
Domain: Test automation and quality assurance
Sources: Existing test files, Jest/Vitest docs
Related: Quality checks, CI/CD
# 2. Create structure
mkdir -p .claude/experts/testing-expert
# 3. Generate expertise.yaml
testing_patterns:
- pattern: "Use describe/it for test structure"
confidence: "low"
- pattern: "Mock external dependencies"
confidence: "low"
key_files:
config: "vitest.config.ts"
test_utils: "test/utils.ts"
# 4. Generate question.md
# Customize for test file patterns (Glob: **/*.test.ts)
# 5. Generate self-improve.md
# Customize for test discovery (Grep: "describe(", "test(")
# 6. Update ask-expert.md
Add "testing" to expert map
# 7. Run self-improvement
Execute: testing-expert/self-improve.md
Result: Discovers actual test patterns in codebase
# 8. Test
/ask-expert testing "How should I structure unit tests?"
Returns: Answer based on discovered patterns
Start Simple:
Use Templates:
Test Early:
Documentation:
Expert doesn't find patterns:
Questions return low confidence:
Duplicate coverage with existing expert:
After creating expert, provide summary:
## Created: {Name} Expert
**Domain:** {description}
**Location:** `.claude/experts/{name}-expert/`
**Files Created:**
- expertise.yaml (version 0.1.0, {N} initial patterns)
- question.md (customized for {domain})
- self-improve.md (explores {file-patterns})
**Initial Self-Improvement:**
- Explored {N} files
- Discovered {M} patterns
- Confidence: low → {updated}
**Usage:**
- Ask questions: `/ask-expert {name} "your question"`
- Update expertise: `/sync-expertise {name}`
**Next Steps:**
- Test with sample questions
- Run self-improvement after domain changes
- Enhance patterns as they're validated
Structured 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