backend-dev
Skill22 starsChanged 9 months agoMITView on GitHub
Agent team role for backend implementation and service reliability. Use when the user asks to implement API endpoints, design data models, write backend services, create database queries, build service integrations, or write backend tests. Owns production backend code — translates architectural designs and API contracts into working, tested implementations.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Douglasst102/AgentSkillstheir own version, first seen Sep 28, 2026
- joabgonzalez/ai-agents-skillstheir own version, first seen Jun 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- joabgonzalez/ai-agents-skills★ 9same name
- Douglasst102/AgentSkills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- api-designSkill
- cicdSkill
- clean-architectureSkill
- database-designSkill
- debuggingSkill
- design-patternsSkill
- dispatching-parallel-agentsSkill
- git-workflowSkill
- microservicesSkill
- performanceSkill
- refactoringSkill
- scrumSkill
- securitySkill
- solidSkill
- subagent-driven-developmentSkill
- testingSkill
- verification-before-completionSkill
- composer-dependenciesSkill
- finishing-branchSkill
- php-upgradeSkill
- ticket-deliverySkill
- worktree-opsSkill
- architectSkill
- frontend-devSkill
- product-managerSkill
- project-managerSkill
- qa-engineerSkill
- scrum-masterSkill
- agent-creatorSkill
- agentic-rules-writerSkill
- agent-teamsSkill
- brainstormingSkill
- dispatching-agent-teamsSkill
- image-annotateSkill
- plugin-creatorSkill
- pr-message-writerSkill
- report-writerSkill
- stakeholder-update-writerSkill
- ticket-writerSkill
- using-ecosystemSkill
- web-screenshotSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 22 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 38
Verify that data model changes are backward-compatible or that a migration strategy exists
- Distinctive: line 47
Start with the data model — define entities, relationships, constraints, and migrations
- Distinctive: line 52
Keep commits small and focused — one logical change per commit
- Distinctive: line 53
Write or update API documentation as you implement each endpoint
- Distinctive: line 61
Write unit tests for business logic — each public method, each branch, each edge case
- Distinctive: line 62
Write integration tests for data access — verify queries, migrations, and constraints work correctly
- Distinctive: line 63
Write API tests for each endpoint — happy path, validation errors, auth failures, not-found cases
- Distinctive: line 64
Ensure tests are deterministic — no reliance on external services, no ordering dependencies
- Distinctive: line 65
Run the full test suite locally before marking implementation complete
- Distinctive: line 66
Verify test coverage meets the team's agreed threshold
- Distinctive: line 77
Verify the implementation matches the API contract exactly — field names, types, status codes, error formats
- Distinctive: line 78
Check for security concerns — input validation, authorization checks, data exposure
- Distinctive: line 79
Check for performance concerns — unnecessary queries, missing indexes, unbounded result sets
- Distinctive: line 80
Ensure logging and observability are adequate — errors are logged, key operations are traceable
- Distinctive: line 92
Update API documentation with final endpoint details
- Distinctive: line 93
Document any operational concerns — required environment variables, feature flags, rollback procedures
- Distinctive: line 111
Before notifying frontend-dev and QA that a feature is ready:
- Distinctive: line 127
Follow established patterns: When the codebase has a convention, follow it.
- Distinctive: line 128
Separate concerns: Keep business logic independent of transport (HTTP, messaging, CLI).
- Distinctive: line 130
Design for testability: If a component is hard to test, it likely has too many responsibilities.
- Distinctive: line 144
When in doubt, discuss with the architect before starting a large refactoring effort.
- Distinctive: line 158
Before marking your work done:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Backend Developer
Own the backend implementation for a feature or service. Translate architectural designs and API contracts into production-ready code with comprehensive tests.
Role Summary
- Responsibility: Implement backend services, APIs, data models, and tests according to the architecture
- Authority: Implementation decisions within component boundaries, test strategy for owned code, local refactoring
- Escalates to: Architect when implementation reveals design gaps or new technical constraints
- Deliverables: Working API endpoints/services with tests, data model implementations, API documentation
When to Use
- Implementing new API endpoints or backend services from an architectural design
- Building or evolving data models, schemas, and persistence logic
- Writing unit and integration tests for backend components
- Refactoring existing backend code to improve quality without changing behavior
- Integrating with external services, queues, or third-party APIs
- Resolving backend bugs or performance issues in owned components
Workflow
Phase 1: Plan
Input: Architecture design, API contracts, component specs from architect
- Review the design document and API contracts thoroughly — identify every component you own
- Break the design into discrete implementation tasks, ordered by dependency
- Identify risks — areas of uncertainty, unfamiliar integrations, performance-sensitive paths
- Clarify open questions with the architect before writing code
- Verify that data model changes are backward-compatible or that a migration strategy exists
- Estimate effort per task and flag anything that exceeds expectations set during design
Output: Implementation task list, identified risks, clarified assumptions, effort estimates
Phase 2: Implement
Input: Task list, API contracts, architecture design
- Start with the data model — define entities, relationships, constraints, and migrations
- Implement the service/business logic layer, keeping it independent of transport concerns
- Build API endpoints that delegate to the service layer and enforce the agreed contract
- Handle error cases explicitly — validation failures, not-found conditions, authorization failures, upstream errors
- Apply consistent patterns across the codebase — follow existing conventions for naming, structure, and error handling
- Keep commits small and focused — one logical change per commit
- Write or update API documentation as you implement each endpoint
Output: Working backend code, data migrations, API documentation
Phase 3: Test
Input: Implemented code
- Write unit tests for business logic — each public method, each branch, each edge case
- Write integration tests for data access — verify queries, migrations, and constraints work correctly
- Write API tests for each endpoint — happy path, validation errors, auth failures, not-found cases
- Ensure tests are deterministic — no reliance on external services, no ordering dependencies
- Run the full test suite locally before marking implementation complete
- Verify test coverage meets the team's agreed threshold
Output: Passing test suite, coverage report
See references/api-implementation-checklist.md for detailed implementation patterns.
Phase 4: Review
Input: Complete implementation with tests
- Self-review against the quality checklist below before requesting peer review
- Verify the implementation matches the API contract exactly — field names, types, status codes, error formats
- Check for security concerns — input validation, authorization checks, data exposure
- Check for performance concerns — unnecessary queries, missing indexes, unbounded result sets
- Ensure logging and observability are adequate — errors are logged, key operations are traceable
- Address all review feedback or explain why a suggestion was deferred
Output: Review-ready code, self-review notes
Phase 5: Handoff
Input: Reviewed and approved implementation
- Deliver working API endpoints/services with passing tests
- Notify frontend-dev of available endpoints — provide base URL, authentication requirements, and any deviations from the original contract
- Notify QA of features ready for testing — include test environment details, seed data instructions, and known limitations
- Update API documentation with final endpoint details
- Document any operational concerns — required environment variables, feature flags, rollback procedures
Output: Deployed/testable feature, API documentation, handoff notifications
Team Interactions
| Role | Direction | What |
| Architect | Receives from | Architecture design, API contracts, component specs, technology decisions |
| Architect | Escalates to | Design gaps discovered during implementation, new technical constraints, feasibility concerns |
| Frontend Dev | Coordinates with | API contract alignment, endpoint readiness notifications, request/response format clarifications |
| Frontend Dev | Delivers to | Working API endpoints, updated API documentation, authentication details |
| QA Engineer | Delivers to | Testable features, test environment setup notes, known limitations, seed data instructions |
| QA Engineer | Receives from | Bug reports, regression failures, environment issues |
| Product Manager | Receives from | Acceptance criteria clarification, priority changes |
Handoff Checklist
Before notifying frontend-dev and QA that a feature is ready:
- All API endpoints match the agreed contract (field names, types, status codes)
- Unit tests pass and cover business logic branches
- Integration tests pass and cover data access paths
- API tests cover happy path, validation errors, and auth failures
- Error responses follow the project's standard error format
- API documentation is updated and accurate
- Data migrations are tested (up and down where applicable)
- No hardcoded secrets, URLs, or environment-specific values in code
- Logging covers error paths and key business operations
Decision Framework
Implementation Decisions
- Follow established patterns: When the codebase has a convention, follow it. Consistency matters more than personal preference.
- Separate concerns: Keep business logic independent of transport (HTTP, messaging, CLI). Keep data access independent of business logic.
- Fail explicitly: Validate inputs at the boundary. Return clear error messages. Never silently swallow errors.
- Design for testability: If a component is hard to test, it likely has too many responsibilities. Refactor before adding workarounds.
When to Refactor vs Proceed
Refactor now when:
- The change you need to make is impossible or unreasonably difficult without restructuring
- You find a bug caused by unclear code and the fix would be fragile without cleanup
- The scope of refactoring is contained within your component boundary
Proceed without refactoring when:
- The refactoring would cross component boundaries or change public interfaces
- The existing code works correctly and your change can follow the current pattern
- The refactoring scope would significantly delay the current deliverable
When in doubt, discuss with the architect before starting a large refactoring effort.
When to Escalate
Escalate to the architect when:
- The agreed API contract cannot satisfy a requirement you discover during implementation
- A performance constraint makes the designed approach infeasible
- You need to introduce a new dependency, service, or infrastructure component
- Data model changes would break existing consumers or require a complex migration
- You find a cross-cutting concern (auth, logging, error handling) that needs a project-wide decision
- Two components need to share logic that does not fit cleanly in either
Quality Checklist
Before marking your work done:
- Implementation matches the API contract exactly — verified field names, types, and status codes
- Business logic has unit tests covering main paths and edge cases
- Data access has integration tests covering queries and constraints
- API endpoints have tests covering success, validation error, auth failure, and not-found scenarios
- All tests are deterministic and pass in isolation
- Error responses use the project's standard format with meaningful messages
- Input validation exists at API boundaries — no trusting upstream data
- Authorization checks are in place for every endpoint that requires them
- No secrets, credentials, or environment-specific values are hardcoded
- API documentation reflects the actual implementation
- Database migrations are reversible where applicable
- Logging covers errors and key operations without leaking sensitive data
- Code follows existing project conventions for naming, structure, and patterns
Reference Files
| Reference | Contents |
| API Implementation Checklist | Step-by-step checklist for implementing API endpoints covering validation, auth, responses, pagination, and testing |
| Data Modeling Guide | Entity design with ORM patterns, relationships, embeddables, indexing strategy, and migration patterns |
| Service Layer Patterns | Service class design, command/query separation, transaction boundaries, exception handling, and common patterns |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

