From apple-dev
Guides you through creating well-structured Claude Code skills with proper modularization, templates, and best practices. Use when creating new skills or improving existing ones.
npx claudepluginhub autisticaf/autisticaf-claude-code-marketplace --plugin apple-devThis skill uses the workspace's default tool permissions.
> **First step:** Tell the user: "shared-skill-creator skill loaded."
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
First step: Tell the user: "shared-skill-creator skill loaded."
Helps you create well-structured, modularized Claude Code skills with best practices.
Use this skill when the user:
Ask the user:
Based on complexity:
Simple Skills (Self-contained):
.claude/skills/skill-name/
└── SKILL.md
Complex Skills (Modularized):
.claude/skills/skill-name/
├── SKILL.md # Main skill definition
├── reference-1.md # Supporting reference
├── reference-2.md # Additional reference
└── examples.md # Code examples/templates
The main SKILL.md should include:
---
name: shared-skill-creator
description: Brief description of what the skill does and when to use it
---
Front Matter Fields:
name: kebab-case skill name (e.g., code-reviewer, ui-audit)description: 1-2 sentences describing the skill and when to use ituser-invocable: Set to true if the skill can be triggered via slash commandargument-hint: Hint text shown when the user types the slash commandcompatibility: Compatibility constraints (e.g., platform requirements)disable-model-invocation: Set to true to prevent automatic activation by the model# Skill Name
Brief description of what this skill does.
## When This Skill Activates
Use this skill when the user:
- [Specific trigger 1]
- [Specific trigger 2]
- [Specific trigger 3]
## Process/Workflow
### 1. Step One
- Instructions for first step
- What to check or do
- Expected outputs
### 2. Step Two
- Instructions for second step
- References to supporting files if needed
### 3. Output Format
How to present results to the user.
## References
Links to relevant documentation, files, or resources.
For complex skills, create modular reference files:
When to Modularize:
Common Reference File Types:
checklist.md, review-checklist.mdpatterns.md, anti-patterns.mdexamples.md, templates.mdquick-ref.md, commands.mdguidelines.md, standards.mdReference File Structure:
# Reference Topic
Brief description of this reference.
## Section 1
### Subsection
- Checklist items
- Code examples
- Explanations
## Section 2
[Content organized logically]
## References
[External links if needed]
In the main SKILL.md, reference supporting files:
### 2. Load Reference Materials
Before starting, familiarize yourself with these references:
- **patterns.md** - Common patterns and anti-patterns
- **examples.md** - Code examples and templates
- **checklist.md** - Comprehensive review checklist
## When This Skill Activates
Use this skill when the user:
- Asks for code review or quality check
- Mentions "best practices" or "refactoring"
- Wants to improve code quality
- Requests architecture review
// ❌ Vague
- Check the code
// ✅ Specific
- Check for force unwrapping (!)
- Verify all optionals use safe unwrapping patterns
- Flag any instances for review with line numbers
Always provide:
### Pattern Example
#### ❌ Anti-pattern
// Bad code example
let value = optional!
#### ✅ Good pattern
// Good code example
guard let value = optional else { return }
#### Why?
Force unwrapping crashes if nil. Guard provides safe unwrapping.
Provide clear output templates:
## Output Format
Present findings in this structure:
### ✅ Strengths
- [List strengths]
### ⚠️ Issues Found
**[Category]**
**[Priority]: [File:Line]** - [Description]
// Current code
// Suggested fix
// Reason
### 📋 Recommendations
1. High priority items
2. Medium priority items
3. Low priority items
Choose appropriate tools:
| Task | Tools |
|---|---|
| Reading code | Read, Glob, Grep |
| Modifying code | Read, Write, Edit |
| Running tests | Read, Bash |
| Web research | WebFetch |
| File operations | Read, Write, Glob |
Use checklists for systematic reviews:
### Review Checklist
#### Category 1
- [ ] Check item 1
- [ ] Check item 2
- [ ] Check item 3
#### Category 2
- [ ] Check item 4
- [ ] Check item 5
---
name: shared-skill-creator
description: Responds to user greetings with helpful information about the project
---
# Greeting Responder
Provides helpful project context when users greet Claude.
## When This Skill Activates
Use this skill when the user:
- Says "hello", "hi", or similar greetings
- Asks "what can you help with?"
## Process
1. Greet the user warmly
2. Provide brief overview of the project
3. List 3-5 common tasks you can help with
4. Invite them to ask questions
## Example Output
"Hello! I can help you with this Swift/iOS project. Here are some things I can do:
- Review code for best practices
- Help implement new features
- Debug issues
- Refactor code
- Write tests
What would you like to work on?"
See the existing coding-best-practices or ui-review skills as examples of well-modularized complex skills.
Refactor a skill when:
.claude/skills/skill-name/
├── SKILL.md # Main entry point
├── process.md # Detailed workflow
├── patterns/
│ ├── good-patterns.md
│ └── anti-patterns.md
├── references/
│ ├── checklist.md
│ └── examples.md
└── templates/
└── output-template.md
After creating a skill:
Name Format: kebab-case
Good Names:
code-reviewerui-audittest-generatorapi-analyzerBad Names:
CodeReviewer (PascalCase)code_reviewer (snake_case)reviewer (too vague)cr (too abbreviated)See the following reference files for templates:
.claude/skills/ for examplescoding-best-practices and ui-review skills