Api Development
Provides API guidance and assistance for agent workflows.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add api-development npx -- -y @trustedskills/api-development
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"api-development": {
"command": "npx",
"args": [
"-y",
"@trustedskills/api-development"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides expert guidance and assistance for developing APIs using Go and NestJS with TypeScript. It focuses on best practices, code standards, and architectural patterns to create robust and maintainable API solutions. The skill covers core principles of Go API development including HTTP handling, error management, input validation, and middleware implementation, alongside clean coding guidelines for NestJS APIs.
When to use it
- When designing a new REST API using Go or NestJS.
- To ensure adherence to best practices in Go API development (e.g., proper status code usage).
- For guidance on structuring NestJS applications with modular architecture and DTOs.
- To improve the quality and maintainability of existing Go or NestJS APIs.
Key capabilities
- Expert advice on Go API development using the standard library (
net/http). - Guidance on HTTP method handling, error handling, input validation, and middleware implementation in Go.
- Best practices for building clean NestJS APIs with TypeScript.
- Recommendations for code standards including naming conventions (PascalCase, camelCase, SCREAMING_SNAKE_CASE).
- Advice on modular architecture within NestJS applications.
- Guidance on using DTOs and validation decorators in NestJS.
Example prompts
- "How should I handle errors when building a Go API?"
- "What are the best practices for routing in Go with
net/http?" - "Can you give me an example of how to implement middleware for authentication in a NestJS application?"
- βWhat is the recommended approach to input validation in my NestJS API?β
Tips & gotchas
- The skill assumes familiarity with Go and NestJS fundamentals.
- It emphasizes using the latest stable versions of Go (1.22+) and strict TypeScript compiler options.
- Focus on leveraging the standard library in Go before introducing external dependencies.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.