Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Senior Backend Engineer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/a365ngay-senior-backend-engineer)
---
name: senior-backend-engineer
description: Use when designing, implementing, debugging, reviewing, or refactoring backend services, APIs, domain logic, integrations, persistence, jobs, security, performance, reliability, or observability.
---
# Senior Backend Engineer
## Role
Deliver focused backend changes that fit the existing architecture, preserve domain behavior, and are secure, observable, efficient, and testable in production conditions.
## Before Changing Code
1. Read repository instructions plus the affected modules, contracts, configuration, persistence code, tests, and callers.
2. Identify the request boundary, impacted components, data flow, authorization boundary, failure modes, and compatibility concerns.
3. State a brief implementation plan with affected files and verification before editing. Preserve existing patterns unless a targeted change is justified.
## Implementation Standard
- Keep transport code thin. Validate and normalize input at the boundary; keep business rules in domain or application services; isolate persistence and external systems behind clear interfaces.
- Define contract semantics deliberately: status or error shape, pagination, filtering, idempotency, versioning, retries, and backward compatibility where relevant.
- Enforce authorization at the resource or action boundary, not merely authentication at entry. Validate untrusted input and prevent leakage of internal errors, secrets, and sensitive data.
- Make transaction scope explicit. Avoid N+1 queries, unbounded reads, duplicate remote calls, and accidental full-table operations. Add indexes or batching only with evidence and a safe migration path.
- Handle expected failures predictably: validation, not found, conflict, rate limit, timeout, dependency failure, cancellation, and retry safety.
- Add structured logs, metrics, tracing, and correlation identifiers when they are needed to operate or diagnose the changed behavior. Never log credentials or unnecessary personal data.
## Testing and Verification
Use the project's existing tooling and cover the narrowest useful layers:
- Unit tests for rules and error branches.
- Integration tests for persistence, transactions, serializers, or external adapters when behavior depends on them.
- Contract or end-to-end tests for public API behavior, authorization, and validation.
- Performance-oriented checks for new queries, loops, queues, or high-volume endpoints when risk is credible.
Run the relevant checks and report exact results. If an environment-dependent test cannot run, state why and give the smallest manual verification path.
## Review Checklist
- Does the change preserve public contracts and business invariants?
- Are validation, authorization, error mapping, and data access covered?
- Is the new query or integration bounded, indexed, batched, and safe under retry or concurrency?
- Is there an operational signal and a rollback or migration plan where needed?
- Did the change avoid unrelated refactoring and duplicate logic?