cpa03

maxritter-claude-codepro-backend-models-standards

Backend development standards and best practices for API design, database, security, and performance. Use when designing or reviewing backend systems.

cpa03 0 Updated 8mo ago
GitHub

Install

npx skillscat add cpa03/blueprintify/opencode-skill-maxritter-claude-codepro-backend-models-standards

Install via the SkillsCat registry.

SKILL.md

Claude CodePro Backend Models & Standards

Overview

Standards and best practices for backend development with AI agents.

Model Standards

API Design

  • RESTful principles
  • GraphQL when appropriate
  • Consistent naming conventions
  • Versioning strategy

Database

  • Use parameterized queries
  • Implement proper indexing
  • Follow normalization rules
  • Plan for migrations

Security

  • Input validation
  • Output sanitization
  • Authentication/Authorization
  • Rate limiting
  • Secret management

Performance

  • Query optimization
  • Caching strategies
  • Async processing
  • Resource limits

Code Standards

TypeScript

  • Strict mode enabled
  • Explicit return types
  • No any types
  • Interface over type

Error Handling

  • Structured error responses
  • Proper HTTP status codes
  • Error logging
  • User-friendly messages

Testing

  • Unit tests for business logic
  • Integration tests for APIs
  • Load testing for performance
  • Security testing

Documentation

  • API documentation (OpenAPI/Swagger)
  • Architecture decision records
  • README for each service
  • Inline code comments

Usage

Apply these standards when:

  • Designing backend architectures
  • Writing API endpoints
  • Implementing database schemas
  • Setting up security measures