backend-development

backend-development is a skill for Claude Code from dhslegen/digital-delivery-team. It costs 72 tokens per session (3,104 once invoked), scanned A, original, MIT.

A set of instructions for building server-side code such as APIs and database-backed applications. It uses API contracts, data models, the chosen technology stack, and tests as the project’s reference points.

In plain words
What is it for?
Use it when implementing backend files, API endpoints, database-related code, integration tests, or server-rendered templates such as Django or Thymeleaf views.
Why use it?
It keeps the implementation aligned with the documented API and data model, so endpoints, errors, and tests do not drift apart.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the digital-delivery-team plugin — 13 skills, 21 commands, 9 agents, 8 hooks shipped together

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.

agentmods
npx agentmods add skills/dhslegen/digital-delivery-team/backend-development
Any agent
npx skills add dhslegen/digital-delivery-team --skill backend-development
Clone the repo
git clone --depth 1 https://github.com/dhslegen/digital-delivery-team

Made for: Claude Code.

Or install digital-delivery-team, the plugin that ships this one along with the rest of its 13 skills, 21 commands, 9 agents, 8 hooks.

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 backend-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/dhslegen/digital-delivery-team/backend-development.svg)](https://agentmods.dev/skills/dhslegen/digital-delivery-team/backend-development)
Your own site
<a href="https://agentmods.dev/skills/dhslegen/digital-delivery-team/backend-development"><img src="https://agentmods.dev/badge/skills/dhslegen/digital-delivery-team/backend-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,104 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00072 $0.03104
Opus 5 $0.00036 $0.01552
Sonnet 5 $0.00014 $0.00621
Haiku 4.5 $0.00007 $0.00310

Measured 6d ago against content hash b90ed3f60045, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

backend-development scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:3001/health
skills/backend-development/SKILL.md · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Backend Development · 后端实现知识包

M6.4 整改:v0.6.x 用 backend-agent subagent 黑盒派发,工时不可控、用户看不到中间步骤。 v0.7.0 改 main thread + 6-phase 范式(EXPLORE→PLAN→APPROVE→IMPLEMENT→VERIFY→SUMMARY)。 本 skill 是 main thread 实现 server/ 时的"必读知识包",不再是 subagent。

Triggers

  • /build-api 命令的 IMPLEMENT phase
  • /impl 命令串行执行后端阶段
  • 任何 main thread 写 server/**/*.{ts,js,java,py,go} 文件时
  • PR-E(v0.7.2):当 .ddt/tech-stack.json::frontend.type === "server-side" 时,模板渲染(如 Thymeleaf/JSP/FreeMarker/Jinja2/...)一并由 backend 项目承载,模板路径见 frontend.template_engine 对应惯例(Spring Boot Thymeleaf → src/main/resources/templates/;Django → <app>/templates/;FastAPI Jinja → templates/)。/build-web 此场景跳过;本 skill 必须额外覆盖模板实现。

Inputs(main thread 必读清单)

  • docs/api-contract.yaml(唯一接口真相源)
  • docs/data-model.md(数据层真相源)
  • .ddt/tech-stack.json(栈选型 SSoT,禁止偏离)
  • skills/api-contract-first/SKILL.md(契约优先原则)
  • contexts/delivery.md(DDT 全局上下文)
  • rules/delivery/agent-invariants.md(6 条全局不变量)
  • rules/delivery/contract-integrity.md(契约完整性)
  • 当前栈对应的 TDD 范式(参考栈相关测试框架文档)

Hard Requirements(main thread 必须遵守)

  1. 契约 100% 匹配:每个 endpoint 的 request / response / error 必须 100% 匹配 docs/api-contract.yaml
  2. 每个 endpoint 配集成测试:不合格不得提交(验证 happy path + 至少 1 个 edge case)
  3. 事务边界:数据层操作必须在 data-model.md 声明的事务边界内
  4. migration + smoke test:跑 migration(如有 schema 变更)+ 本地 smoke test(health check + 简单 CRUD 路径)
  5. 日志 requestId:所有日志必须含 requestId 与关键业务字段(脱敏后)
  6. 栈刚性约束:必须使用 .ddt/tech-stack.json::backend 段定义的 language / framework / build / database / orm / testing;禁止偏离 preset
  7. SSoT 锁死.ddt/tech-stack.json 仅可 Read,严禁 Write/Edit/MultiEdit(PreToolUse hook 会硬拦截)
  8. validation loop:每完成一个文件立即跑 build / lint / type-check / test(按 skills/validation-loop/SKILL.md)失败立即停下决策

6-Phase 实施流程(main thread)

Phase 1: EXPLORE(理解现有代码)

如果 server/ 已有代码:

  • Grep / Glob / Read 扫描现有结构
  • 识别已有的 routing / middleware / db client / 测试套
  • 找类似实现作参照(如已有 GET /tasks 实现,新增 POST /tasks 应沿用相同 pattern)
  • 记录约定到 docs/build-api-exploration.md(用户可见 - 去黑盒)

Read the full file on GitHub · 223 lines

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. 6d ago First seen · 223 lines · 72 tokens per session scan A b90ed3f60045

Subscribe to this mod's changes

backend-development is a skill published in the GitHub repository dhslegen/digital-delivery-team (1 stars, last pushed 3mo ago), licensed MIT. It adds 72 tokens to every session and 3,104 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.