Awesome-omni-skill backend-pro-max
Backend development intelligence. Multi-stack (Node.js, PHP, Python) and Multi-DB (PostgreSQL, MySQL). Actions: build, create, design, implement, review, fix, improve, optimize backend. Topics: authentication, database, API, error handling, testing, security, architecture.
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/backend-pro-max" ~/.claude/skills/diegosouzapw-awesome-omni-skill-backend-pro-max && rm -rf "$T"
skills/development/backend-pro-max/SKILL.mdBackend Pro Max - Backend Development Intelligence
Comprehensive backend guide for modern web applications. Supports multiple languages (Node.js, PHP, Python) and databases (PostgreSQL, MySQL). Contains 15+ architecture patterns, 25+ security rules, 20+ language-specific patterns, 15+ database patterns, 20+ API design patterns, and 20+ project-specific reasoning rules.
When to Apply
Reference these guidelines when:
- Building new backend APIs or services in Node.js, PHP, or Python
- Designing and optimizing database schemas (PostgreSQL, MySQL)
- Implementing authentication/authorization
- Reviewing code for security issues
- Structuring backend project architecture
Rule Categories by Priority
| Priority | Category | Impact | Domain |
|---|---|---|---|
| 1 | Security | CRITICAL | , |
| 2 | Architecture | HIGH | , |
| 3 | Database | HIGH | |
| 4 | API Design | MEDIUM | |
| 5 | Error Handling | MEDIUM | |
| 6 | Testing | MEDIUM | |
Quick Reference
1. Security (CRITICAL)
- Validate and sanitize all user inputsinput-validation
- Use strong, random JWT secrets (256-bit)jwt-secret
- Use parameterized queries, never concatenate SQLsql-injection
- Implement rate limiting on all public endpointsrate-limiting
- Never hardcode secrets, use environment variablessecrets-management
2. Architecture (HIGH)
- Separate domain, application, infrastructure layersclean-architecture
- Use DI for testability and maintainabilitydependency-injection
- Abstract data access logicrepository-pattern
- Keep business logic in service layerservice-layer
3. Database (HIGH)
- Reuse connections with connection poolconnection-pooling
- Use transactions for atomic operationstransactions
- Add indexes on frequently queried columnsindexes
- Avoid N+1 query problem with eager loadingn-plus-one
4. API Design (MEDIUM)
- Design resource-based endpointsrestful-resources
- Version your API (URL or header)versioning
- Paginate large result setspagination
- Use consistent error response formaterror-responses
5. Error Handling (MEDIUM)
- Create custom error classescustom-errors
- Use centralized error handling middlewarecentralized-handler
- Log errors with context, don't log sensitive datalogging
6. Testing (MEDIUM)
- Test business logic in isolationunit-tests
- Test API endpoints with databaseintegration-tests
- Aim for 80%+ code coveragecoverage
How to Use
When user requests backend work (build API, design database, implement auth, review security, optimize queries), follow this workflow:
Step 1: Analyze Requirements
Extract key information:
- Project type: E-commerce, chat, CMS, etc.
- Language: nodejs, php, python (default: nodejs)
- Database: postgresql, mysql, mongodb (default: postgresql)
- Features: Authentication, real-time, file upload, etc.
- Scale: MVP, production-ready, enterprise-scale
Step 2: Generate Backend System
Always start with
--backend-system:
python3 .github/skills/backend-pro-max/scripts/search.py \ "e-commerce API nodejs postgresql" \ --backend-system \ -p "My Shop API" \ --lang nodejs \ --db postgresql
This generates:
- Architecture recommendation
- Security checklist
- Database patterns
- API design patterns
- Error handling strategy
- Authentication method
Step 3: Domain-Specific Searches
# Security patterns python3 .github/skills/backend-pro-max/scripts/search.py \ "jwt authentication" --domain auth --lang nodejs --db postgresql # Database optimization python3 .github/skills/backend-pro-max/scripts/search.py \ "postgresql indexes" --domain database --lang nodejs --db postgresql # API design python3 .github/skills/backend-pro-max/scripts/search.py \ "pagination filtering" --domain api --lang nodejs --db postgresql
🔴 HOW TO USE THE SYSTEM GENERATOR (CRITICAL)
Before generating ANY architecture, you MUST analyze the user's prompt to detect the requested tech stack.
- Detect Language: Is the user asking for Node.js, PHP, or Python? (Default: nodejs)
- Detect Database: Is the user asking for PostgreSQL or MySQL? (Default: postgresql)
You MUST run the generator with the detected stack using the
--lang and --db flags:
Examples:
If user asks: "Build a PHP e-commerce backend with MySQL"
python3 .github/skills/backend-pro-max/scripts/search.py "e-commerce API" --backend-system -p "E-commerce" --lang php --db mysql
If user asks: "Create a chat app" (No stack mentioned, use defaults)
python3 .github/skills/backend-pro-max/scripts/search.py "chat app" --backend-system -p "Chat API" --lang nodejs --db postgresql
Example Prompts
- Build an e-commerce API with authentication and payment processing
- Create a REST API for a chat application with PostgreSQL
- Design database schema for a multi-tenant SaaS application
- Implement JWT authentication with refresh tokens
- Optimize slow PostgreSQL queries in user service
- Review this code for security vulnerabilities