apdr-backend-engineer

apdr-backend-engineer is a skill for Claude Code, Codex from lazysheep-z/apdr-product-design-runtime. It costs 49 tokens per session (792 once invoked), scanned A, original, MIT.

A backend code-generation workflow that builds server-side API and service code from an approved product plan and frontend code bundle. A backend is the server-side part of an application that handles requests, data, and business rules.

In plain words
What is it for?
Use it to create API routes, request validation, data models, error formats, an environment-variable template, and tests for core endpoints.
Why use it?
It connects planned features and frontend API needs to a concrete server implementation. It can be skipped when the project does not require a backend.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create API routes, request validation, data models, error formats, an environment-variable template, and tests for core endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lazysheep-z/apdr-product-design-runtime/backend-engineer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lazysheep-z/apdr-product-design-runtime --skill backend-engineer
Clone the repo
git clone --depth 1 https://github.com/lazysheep-z/apdr-product-design-runtime

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apdr-backend-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/lazysheep-z/apdr-product-design-runtime/backend-engineer/github.svg)](https://agentmods.dev/skills/lazysheep-z/apdr-product-design-runtime/backend-engineer)
Your own site
<a href="https://agentmods.dev/skills/lazysheep-z/apdr-product-design-runtime/backend-engineer"><img src="https://agentmods.dev/badge/skills/lazysheep-z/apdr-product-design-runtime/backend-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apdr-backend-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/lazysheep-z/apdr-product-design-runtime/backend-engineer"><img src="https://agentmods.dev/badge/skills/lazysheep-z/apdr-product-design-runtime/backend-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 792 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00792
Opus 5.5 $0.00020 $0.00317
Sonnet 5.5 $0.00010 $0.00158
Haiku 4.5 $0.00005 $0.00079

Measured 27d ago against content hash 73820079889a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apdr-backend-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/backend-engineer/SKILL.md · 72 lines

What it actually says

Backend Engineer (APDR)

Stage: backend_codegen(可选)。上游:PRD + CodeBundle(前端)。

何时运行

  1. Intake 已问过用户「是否需要生成后端代码?」
  2. ProjectBrief.includeBackend === true(或 meta.includeBackend === true)
  3. 若为 false / 未设置:引擎在 advance_pipeline 时自动跳过本阶段 → code_intelligence

External / drop-in skills

来源 路径 说明
Superpowers vendor/superpowers/skills/writing-plans、test-driven-development 计划 + TDD
Addy vendor/addy-agent-skills/documentation-and-adrs API/架构决策 ADR
用户后续提供 skills/backend-skills/*/SKILL.md 优先调用;你提供新 skill 后放入此目录即可

执行本阶段时:

  1. 列出 skills/backend-skills/ 下所有 */SKILL.md
  2. 按 description 匹配当前栈/任务,先读再执行用户 skill
  3. 若目录为空:用本文件下方「默认实现」完成最小可用后端

Workflow

  1. get_latest_artifact — PRD、CodeBundle、ProjectBrief(确认 includeBackend)
  2. 若 includeBackend !== true:告知用户将跳过 → advance_pipeline
  3. 与用户确认栈(默认 node-express 或用户 skill 指定)
  4. Invoke writing-plans(或用户 backend skill 的计划步骤)
  5. 在 projects/{projectId}/server/(或用户 skill 指定路径)实现:
    • 路由 / handlers 对齐 PRD 功能与前端 CodeBundle.routes 所需 API
    • 数据模型、校验、错误形状
    • .env.example(不要写入真实密钥)
  6. TDD:至少覆盖核心 endpoint 的 happy path
  7. write_artifact type BackendCodeBundle:
{
  "stack": "node-express",
  "rootPath": "projects/{projectId}/server",
  "apiBasePath": "/api",
  "endpoints": [{ "method": "GET", "path": "/api/...", "description": "..." }],
  "dataModels": [{ "name": "Entity", "fields": ["id", "..."] }],
  "envVars": ["DATABASE_URL", "PORT"],
  "notes": "skills used: ..."
}
  1. 可选 approve → advance → code_intelligence

默认实现(无用户 skill 时)

  • Express + TypeScript 最小脚手架
  • 按 PRD must 功能生成 REST stub(可先返回 mock)
  • README.md:启动命令、环境变量说明
  • 禁止把生产密钥写入仓库

Do not

  • 在 includeBackend=false 时仍强行写后端
  • 跳过 write_artifact BackendCodeBundle
  • 把 app_secret / 数据库密码写入 artifact 或代码明文
  • 替代前端 CodeBundle(两端分开)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago First seen · 72 lines · 49 tokens per session scan A 73820079889a

Subscribe to this mod's changes

apdr-backend-engineer is a skill published in the GitHub repository lazysheep-z/apdr-product-design-runtime (3 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 792 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-21.

Related

Other skills, from other repositories

server-side-calls

Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.

trpc/trpc · 61 tokens

django-tdd

Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.

hashgraph-online/awesome-codex-plugins · 32 tokens

ring:running-dev-cycle

Running the backend dev cycle: implements every task in a rolling-wave plan.md (ring:writing-plans format) for a Go/TS service, driving specialist agents through Gate 0 implementation/TDD, Gate 8 parallel review, and Gate 9 validation per epic, elaborating later phases at each phase boundary. Use when starting or…

LerianStudio/ring · 122 tokens

nw-fp-domain-modeling

Domain modeling with algebraic data types, smart constructors, and type-level error handling.

nWave-ai/nWave · 23 tokens

ring:instrumenting-streaming-events

Instrumenting streaming events: wires lib-streaming event emission end-to-end into a Lerian Go service via a 13-gate cycle (catalog, Builder bootstrap, Emit sites, outbox, HTTP manifest, NoopEmitter fallback, integration and chaos tests), dispatching ring:backend-go under TDD. Consumes the validated…

LerianStudio/ring · 102 tokens

django-tdd

Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.

loulanyue/awesome-claude-notes · 32 tokens