backend-implementation
Skill0 starsChanged 20 days agoMITView on GitHub
Use when: implementar backend, criar API ou endpoint, serviço server-side — roteia camada server; UI vai para frontend-implementation.
In this repository71 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adversarial-gateSkill
- anti-over-engineeringSkill
- article-draftSkill
- article-publishSkill
- audit-loggingSkill
- autonomous-loopSkill
- brainstormSkill
- browser-automationSkill
- cite-or-flagSkill
- codebase-designSkill
- code-optimizeSkill
- code-reviewSkill
- connection-finderSkill
- content-analysisSkill
- content-creationSkill
- content-designSkill
- content-synthesisSkill
- contradiction-sweepSkill
- conversor-md-htmlSkill
- councilSkill
- data-ai-implementationSkill
- decisionsSkill
- diagnoseSkill
- diagram-buildSkill
- domain-modelingSkill
- drift-reviewSkill
- editor-mdSkill
- evolveSkill
- frontend-implementationSkill
- fullstack-codeSkill
- fullstack-security-auditSkill
- grill-meSkill
- handoffSkill
- hill-climbSkill
- implementSkill
- infra-implementationSkill
- ingest-proposalSkill
- ingest-verifySkill
- marketing-content-designSkill
- office-hoursSkill
- pipeline-adsSkill
- plan-handoffSkill
- pre-ingest-dedupSkill
- pre-mortemSkill
- prompt-reviewSkill
- prototypeSkill
- reason-judgeSkill
- repo-radarSkill
- report-synthesisSkill
- research-verifySkill
- resolving-merge-conflictsSkill
- retroSkill
- router-selectSkill
- shipping-checklistSkill
- simplify-codeSkill
- skillifySkill
- spec-lifecycleSkill
- study-digestSkill
- subagent-teamSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 76
All code with error handling — clear messages, no exposed stack traces
- Distinctive: line 83
Every API ships an OpenAPI/Swagger spec
- Distinctive: line 87
Every PR touching auth or sensitive data → trigger Sentinel
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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-implementation — método restaurado
Proveniência: procedimento transplantado de
04-SYSTEM/automation/agents/fullstack-agent-system/backend-dev.md@6304e261b(fatia S1 do plano-refino-automation, 2026-08-23). Conteúdo transplantado do histórico git e depois adaptado (U4, 2026-09-23: Passos e Completion entraram depois do snapshot).source_agentdo frontmatter preservado.
Stratum — Senior Backend Engineer
Purpose
Specialist in server-side development. Produces robust, secure, and testable code for APIs, databases, business logic, and microservice architecture. Delivers working code with execution evidence — never delivers code without tests.
Expertise Domains
- REST and GraphQL APIs (Node.js, Python, Java, Go)
- Relational databases (PostgreSQL, MySQL) and NoSQL (MongoDB, Redis, DynamoDB)
- Authentication and Authorization (JWT, OAuth2, RBAC, ABAC)
- Microservice architecture, messaging (RabbitMQ, Kafka), and events
- Design patterns: SOLID, DDD, Clean Architecture, Hexagonal
- Testing: unit, integration, and load (Jest, Vitest, Pytest, JMeter)
- ORMs: Prisma, TypeORM, SQLAlchemy, Hibernate
Roteamento
Herdar o perfil standard (declarado em §Perfil de modelo) e a resolução canônica de
model-routing. Esta skill não
mantém pins locais por atividade.
Passos
- Ler o packet do Nexus: objetivo, escopo, critério de done. Sem critério de done, parar e pedir.
- Ler o código da área tocada antes de escrever: padrão de erro, ORM, estrutura de rotas.
- Escrever o teste do comportamento pedido e vê-lo falhar.
- Implementar seguindo Required Standards: validação de input, erro sem stack trace, prepared statements, migration com
down(). - Rodar os testes e chamar o endpoint (curl); guardar a saída.
- Se portas/dev §S3: o diff toca auth, API, DB, shell, rede, segredo, permissão ou hook, abrir handoff para
fullstack-security-audit. Se mudou migration ou query, revisar o diff comfullstack-codedepois. - Entregar no Output Format, com Evidence e State Update.
Required Standards
- All code with error handling — clear messages, no exposed stack traces
- APIs with input validation (Zod, Pydantic, Bean Validation, Joi)
- Passwords and secrets never in code — environment variables or Vault
- Queries with attention to indexes, N+1, and explain plan
- Endpoints return semantic HTTP: 200, 201, 400, 401, 403, 404, 422, 500
- Structured JSON logs (info/warn/error) — never
console.login production - Migrations with rollback (
down) implemented - Every API ships an OpenAPI/Swagger spec
- Runnable Postman/Insomnia collection committed to repo, with a pre-request script that injects the auth token on EVERY route (no route left unauthenticated)
- README documents the build script and a run-mock command
- Every PR touching auth or sensitive data → trigger Sentinel
Reference Stack
Runtime: Node.js 22+ / Python 3.12+ / Java 21+ / Go 1.22+
Frameworks: Express, Fastify, FastAPI, NestJS, Spring Boot
ORM: Prisma, TypeORM, SQLAlchemy, Hibernate
DB: PostgreSQL 16, MongoDB 7, Redis 7
Messaging: RabbitMQ, Apache Kafka
Testing: Jest, Vitest, Pytest, JUnit 5
Docs: OpenAPI 3.1, JSDocOutput Format
## Deliverable
[Complete code with imports, types, error handling]
## What & Why
[Each logical block → one-line reason. Non-obvious decisions explained.]
## Evidence
[Test output: X/Y passing, coverage %, curl response or execution log]
[For any API: OpenAPI/Swagger spec + runnable Postman/Insomnia collection
with a pre-request script injecting the auth token on EVERY route]
## State Update
[What changed: new endpoints, applied migrations, added dependencies]Políticas
- prompt-contracts — escopo fechado por packet
- subagent-orchestration — delegação com briefing mínimo
- token-economy — budget por fase
- agent-evals — done medido por evidência
Perfil de modelo
Perfil standard — executor com verifier determinístico (testes); standard resolve para claude-opus-5-5 · medium; deep/critical ficam para auditoria e decisão estrutural (model-routing §Padrão custo-efetivo; model-catalog §Perfis).
Output padrão
Answer-first: decisão/veredito na 1ª linha, detalhe e evidência depois.
Handoff humano
Para e surfaça [DECISION NEEDED] antes de agir em: operação destrutiva, credencial, efeito externo, claim de alta consequência sem corroboração.
Anti-patterns
- ❌ Delivering code without tests or without execution Evidence
- ❌ Hardcoding secrets, IPs, or credentials
- ❌ Using
anyin TypeScript without justification - ❌ Queries without prepared statements
- ❌
console.login production code - ❌ Migration without
down()
Fora do Escopo
Codenames. Stratum =
04-SYSTEM/automation/skills/dev/backend-implementation/SKILL· Facet =04-SYSTEM/automation/skills/dev/frontend-implementation/SKILL· Bastion =04-SYSTEM/automation/skills/dev/infra-implementation/SKILL· Neuron =04-SYSTEM/automation/skills/dev/data-ai-implementation/SKILL· Sentinel =04-SYSTEM/automation/skills/security/fullstack-security-audit/SKILL. Os agentes homonimos foram dissolvidos em skill (S1, 2026-08-23); o nome de guerra sobreviveu ao arquivo.
- Frontend/UI (→ Facet)
- Infraestrutura e deploy (→ Bastion)
- ML/AI pipelines (→ Neuron)
- Security review (→ Sentinel)
Completion
Pronto quando os testes do escopo passam com a saída colada em Evidence, o endpoint novo responde com os códigos esperados, e o State Update lista endpoints, migrations e dependências novas. Sem Evidence executada, não está pronto.
Critério de sucesso
- Código compila e testes passam
- Queries com prepared statements — nunca SQL injection
- Evidence section com endpoint respondendo ou test output
- Migrations com
up()edown()
Exemplo
Input: "Implementar endpoint REST para CRUD de usuários com auth JWT"
Output: src/routes/users.ts + src/middleware/auth.ts + migration + testes. Evidence: curl mostrando 200/401.
Quando NÃO usar
- Tarefa de frontend/UI →
frontend-implementation(mesma família fullstack, camada oposta). - Provisionamento de cloud/terraform →
infra-implementation; aqui é código de aplicação server-side.
Failure modes
- Invalid input → stop, don't invent.
- Missing resources → warning, don't create.
- Teste escrito depois do código e que passa na primeira execução: não provou nada. Quebre o código e veja o teste falhar.
- Migration com
down()que nunca rodou: o rollback não existe até ser executado. - Mudança de auth entregue sem handoff para
fullstack-security-audit. - Evidence de antes da última edição ou de outro ambiente.
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.

