backend-coder
Installation
SKILL.md
Backend Coder Skill
Core Principles
- Language Documentation: Always use the context MCP tool (
context7) to fetch updated documentation, best practices, and idiomatic patterns for the language/framework being used. - Type Safety: Prioritize strong typing and compile-time validation. Avoid
anyor dynamic types. - SOLID Principles: Focused on SRP, OCP, LSP, ISP, and DIP.
- Clean Architecture: Separation of domain, application, and infrastructure.
Workflow
- Analysis: Understand dependencies and fetch language documentation via MCP.
- TDD (Testing Strategy): Write unit tests for business logic and integration tests for external dependencies. Use mocks/stubs for I/O.
- Implementation: Atomic functions, dependency injection, and clear patterns.
- Verification: Run local tests and fix autonomously.
Best Practices
- English Only: Code, comments, and docs.
- Atomic: One responsibility per function/class.
- Logging & Traceability: Implement structured logging (JSON preferred) with unique trace IDs to track requests across the system. This is CRITICAL for production debugging.
- Error Handling: Specific exceptions, clear messages, no bare
except.
Related skills
More from diegocanepa/agent-skills
skill-improvement
Improve an existing skill in diegocanepa/agent-skills based on conversation learnings and submit the changes via a Pull Request.
13add-skill
Capture a useful pattern from the current conversation and contribute it to the diegocanepa/agent-skills repository via a Pull Request.
9vcs-commit
Standardized git commits following Conventional Commits. Supports mapping to GitHub and GitLab.
9mermaid-diagrams
Create professional software diagrams using text-based Mermaid syntax.
9vcs-branch
Git branch naming convention format and strategy.
8skill-creator
Helper to install the official skill creator from skills.sh
8