Agent skill
domain-expertise-template
Template for creating domain expertise skills. Copy and customize for your specific domain.
Install this agent skill to your Project
npx add-skill https://github.com/ChaiWithJai/claude-code-mastery/tree/main/examples/skills/domain-expertise-template
SKILL.md
Domain Expertise Template
Copy this template to create your own domain expertise skill.
Instructions
- Copy this file to
~/.claude/skills/your-domain/SKILL.md - Replace all
[PLACEHOLDER]text with your content - Customize sections as needed
- Test and iterate
---
name: [your-skill-name]
description: Use when [trigger conditions]. Applies [your methodology/framework] for [outcome].
---
<framework_overview>
## What This Is
[One paragraph describing what this expertise covers and why it matters]
## When to Use
- [Trigger situation 1]
- [Trigger situation 2]
- [Trigger situation 3]
## Key Terms
| Term | Definition |
|------|------------|
| [Term 1] | [Definition] |
| [Term 2] | [Definition] |
</framework_overview>
<principles>
## Core Philosophy
### 1. [PRINCIPLE NAME IN CAPS]
[2-3 sentences explaining this principle and why it matters]
Example:
- Good: [example of applying this principle well]
- Bad: [example of violating this principle]
### 2. [PRINCIPLE NAME IN CAPS]
[2-3 sentences explaining this principle and why it matters]
Example:
- Good: [example]
- Bad: [example]
### 3. [PRINCIPLE NAME IN CAPS]
[2-3 sentences explaining this principle and why it matters]
Example:
- Good: [example]
- Bad: [example]
</principles>
<process>
## The Process
### Step 1: [Name]
**Purpose**: [Why this step matters]
**Actions**:
- [Action 1]
- [Action 2]
**Output**: [What this step produces]
### Step 2: [Name]
**Purpose**: [Why this step matters]
**Actions**:
- [Action 1]
- [Action 2]
**Output**: [What this step produces]
### Step 3: [Name]
**Purpose**: [Why this step matters]
**Actions**:
- [Action 1]
- [Action 2]
**Output**: [What this step produces]
</process>
<templates>
## Output Templates
### [Template Name 1]
```markdown
# [Document Title]
## Section 1
[What goes here]
## Section 2
[What goes here]
## Section 3
[What goes here]
[Template Name 2]
[Another template if needed]
1. [ANTI-PATTERN NAME]
What it looks like: [Description of the mistake] Why it's wrong: [Consequences] Instead: [Correct approach]
2. [ANTI-PATTERN NAME]
What it looks like: [Description] Why it's wrong: [Consequences] Instead: [Correct approach]
3. [ANTI-PATTERN NAME]
What it looks like: [Description] Why it's wrong: [Consequences] Instead: [Correct approach]
-
[Question about scope]
- [Option A]
- [Option B]
- [Option C]
-
[Question about context] [Open-ended question]
-
[Question about constraints] [Open-ended question]
-
Any specific concerns or requirements?
I'll wait for your answers before proceeding.
---
## Customization Checklist
- [ ] Updated skill name and description
- [ ] Added 3+ principles with examples
- [ ] Added 3+ process steps
- [ ] Created output templates
- [ ] Added 2+ anti-patterns
- [ ] Created intake questions
- [ ] Tested skill triggers correctly
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
code-review-preferences
Use when reviewing code, PRs, or discussing code quality standards. Applies team coding standards and review methodology.
standup-formatter
Use when generating standup reports, daily updates, or team status summaries. Formats work activity into concise standup format.
example-skill
An example skill demonstrating the basic structure. Use when user asks about examples or templates.
code-review-preferences
Use when reviewing code, PRs, or discussing code quality standards. Applies team coding standards and review methodology.
technical-decision-record
Use when making technical decisions, choosing technologies, or documenting architectural choices. Creates ADRs (Architecture Decision Records).
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?