This repository contains a collection of custom skills for Claude Code, specifically designed to automate and optimize tasks related to API development.
- What are Claude Code Skills?
- Installation
- Available Skills
- How to Use the Skills
- Creating Your Own Skills
- Contributing
Skills are sets of specialized instructions and knowledge that extend Claude Code's capabilities to perform specific tasks more efficiently and consistently. In this case, our skills are focused on automating common processes in API development.
-
Locate your Claude Code skills directory:
- macOS/Linux:
~/.claude/skills/ - Windows:
%USERPROFILE%\.claude\skills\
- macOS/Linux:
-
Clone this repository:
cd ~/.claude/skills/ # or the corresponding path on Windows
git clone https://github.com/your-username/claude-code-api-skills.git- Copy the individual skills:
cp -r claude-code-api-skills/skills/* .If you only want to install specific skills:
- Navigate to the skills directory:
cd ~/.claude/skills/- Copy only the skill folders you need:
cp -r /path/to/repo/skills/skill-name ./After installing the skills:
- Restart Claude Code if it's running
- Skills should load automatically
- You can verify by asking Claude: "What skills do you have available for API development?"
| Skill | Description | Use Cases |
|---|---|---|
mulesoft-documentor |
Generates documentation for a MuleSoft application | Create MuleSoft application documentation when it doesn't exist |
mulesoft-api-patterns |
Generates MuleSoft projects based on API design patterns | Generate sample code based on Design principles |
(This table will be updated as more skills are added)
Skills are activated automatically when Claude Code detects that your request is related to their domain. However, you can also invoke them explicitly:
Generate an OpenAPI specification:
Using the api-spec-generator skill, create an OpenAPI 3.0 specification
for a user management API with CRUD endpoints
Create a new endpoint:
Create a POST /api/products endpoint that accepts name, price, and description,
validating that the price is positive
Generate tests:
Generate unit tests for the GET /api/users/:id endpoint using Jest
Each skill must follow this structure:
your-skill-name/
├── SKILL.md # Main file (required)
├── templates/ # Optional templates
├── examples/ # Usage examples
└── resources/ # Additional resources
Your SKILL.md file should include:
# Skill Name
## Description
[Brief description of what the skill does]
## When to Use This Skill
- [Scenario 1]
- [Scenario 2]
- [Scenario 3]
## Capabilities
- [Capability 1]
- [Capability 2]
## Instructions for Claude
[Detailed step-by-step instructions on how to execute the skill]
## Usage Examples
### Example 1: [Title]
**User input:**[Example of what the user would request]
**Expected action:**
[What Claude should do]
## Special Considerations
- [Important note 1]
- [Important note 2]
## Dependencies
- [If it requires specific tools]
- [If it depends on other skills]
- Be specific: Provide clear and detailed instructions
- Include examples: Examples help Claude understand the context
- Define scope: Clearly specify when to use (and when not to use) the skill
- Maintain modularity: Each skill should have a well-defined purpose
- Document dependencies: Indicate if it requires specific libraries, frameworks, or tools
Review the existing skills in this repository as a reference. For example, api-spec-generator/SKILL.md is a good starting point.
Contributions are welcome! If you have a useful skill for API development:
- Fork this repository
- Create a new branch (
git checkout -b feature/new-skill) - Add your skill following the described structure
- Commit your changes (
git commit -m 'Add: skill for [functionality]') - Push to the branch (
git push origin feature/new-skill) - Open a Pull Request
- Ensure your skill is well documented
- Include clear usage examples
- Verify it doesn't duplicate existing functionality
- Follow naming conventions (kebab-case for folder names)
- Update the "Available Skills" table in this README
.
├── README.md
├── skills/
│ ├── api-spec-generator/
│ │ ├── SKILL.md
│ │ └── templates/
│ ├── endpoint-creator/
│ │ ├── SKILL.md
│ │ └── examples/
│ └── ... (more skills)
└── docs/
├── creating-skills.md
└── best-practices.md
If you encounter problems or have questions:
- 📝 Open an Issue
- 💬 Check the official Claude Code documentation
- 🤝 Join the discussions in the Discussions section
TBD
- Developed for the Claude Code community
- Inspired by API development best practices
Note: This project is not officially affiliated with Anthropic. It is a community project to improve the development experience with Claude Code.