skill-name
Describe when this skill should be invoked. Include: - Trigger keywords (e.g., authentication, API design) - File patterns (e.g., when editing *.go files) - Use cases (e.g., implementing login flows)
When & Why to Use This Skill
This Claude skill is designed to accelerate Go-based software development by providing expert guidance on API design and authentication systems. It streamlines the implementation of complex logic like login flows while ensuring code adheres to architectural best practices and security standards, significantly reducing boilerplate and potential vulnerabilities.
Use Cases
- Implementing secure authentication and authorization flows (e.g., JWT, OAuth2) within Go applications.
- Designing and scaffolding RESTful API endpoints and data structures in Go source files.
- Refactoring existing backend logic to align with specific architectural patterns and avoid common anti-patterns.
| name | skill-name |
|---|---|
| description | > |
Skill Name
When This Skill Applies
This skill is relevant when:
- [Specific scenario 1]
- [Specific scenario 2]
- [Specific scenario 3]
Principles
1. Principle Name
Clear explanation of the principle.
Rationale: Why this principle matters.
Example:
// Code demonstrating the principle
2. Another Principle
Explanation with examples.
Patterns
Pattern Name
When to use this pattern.
// Implementation
Key points:
- Point 1
- Point 2
Anti-Patterns
What to Avoid
Bad:
// Anti-pattern example
Why: Explanation of the problem.
Good:
// Correct approach
Quick Reference
- Key point 1
- Key point 2
- Key point 3