Home / phelan164 / codex-howto · skills/build-backend/SKILL.md · GitHub

build-backend skillA

build-backend is agent-read markdown (skill) from phelan164/codex-howto: Build or modify backend APIs, services, jobs, persistence, and integrations while preserving contracts, authorization, data integrity, and failure behavior. Use for server-side features, database changes, background processing, backend defects, and service refactors; do not use for frontend-only or infrastructure-only work..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Build Backend

## Domain contract

- Trace changed behavior from input through validation, authorization, domain
  logic, persistence, side effects, and response mapping.
- Preserve published contracts unless the request explicitly changes them.
- Enforce authorization at a trustworthy server-side boundary.
- Validate untrusted input before domain or persistence operations.
- Keep multi-write operations atomic where partial state would violate invariants.
- Design external calls for timeouts, retries, idempotency, and duplicate delivery where applicable.
- Do not query or mutate production data without explicit authorization.
- Do not fabricate migration, framework, or API behavior; verify version-sensitive details.
- Avoid broad service abstractions that are used once.

## Execute and verify

Read [references/contracts-and-data.md](references/contracts-and-data.md) when the task changes a public API, schema, transaction, job, or integration.

Implement the smallest change at the owning layer. Cover success, invalid
input, authorization, and material failure paths. Prefer:

```text
reproducing/focused test → contract/integration test → type/lint → build
```
…

Read the whole file at its exact version.

How to install

Latest version
mdr add phelan164/codex-howto/build-backend@git:20260731.42e092c
Exact content
mdr add phelan164/codex-howto/build-backend@sha256:ada1a71cf76df64e

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_do335yffv5udz2er.svg)](https://markdownregistry.com/a/art_do335yffv5udz2er)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260731.42e092c latest2026-07-31 42e092c 1,643 BA view · diff
git:20260724.a8a71482026-07-24 a8a7148 2,492 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1643 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

phelan164/codex-howto · 9 stars · license MIT · pushed 2026-09-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_do335yffv5udz2er
GET https://markdownregistry.com/api/v1/resolve?ref=phelan164/codex-howto/build-backend
GET https://markdownregistry.com/api/v1/blob/ada1a71cf76df64ec554705bc8864833655dc3e195fd171f10c9f53024b0017f

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from phelan164/codex-howto

AGENTS.md agents
phelan164/codex-howto · AGENTS.md
git:20260915.dd80dad · audit A · 9 stars
AGENTS.md@examples agents
phelan164/codex-howto · examples/AGENTS.md
git:20260724.a8a7148 · audit A · 9 stars
evidence-review skill
phelan164/codex-howto · examples/plugin-marketplace/plugins/engineering-review/skills/evidence-review/SKILL.md · Review a small code or documentation change and return only evidence-backed correctness findings. Use in the Codex How…
git:20260724.a8a7148 · audit A · 9 stars
choose-engineering-flow skill
phelan164/codex-howto · examples/skills/choose-engineering-flow/SKILL.md · Select the smallest useful Codex engineering workflow from this repository's existing skills. Use when a task spans…
git:20260731.42e092c · audit A · 9 stars
AGENTS.md@labs/2048-game-benchmark agents
phelan164/codex-howto · labs/2048-game-benchmark/AGENTS.md
git:20260801.7da7a8e · audit A · 9 stars
AGENTS.md@labs/engineering-playground agents
phelan164/codex-howto · labs/engineering-playground/AGENTS.md
git:20260724.a8a7148 · audit A · 9 stars
AGENTS.md@labs/incident-response-benchmark agents
phelan164/codex-howto · labs/incident-response-benchmark/AGENTS.md
git:20260811.78209a9 · audit A · 9 stars
build-frontend skill
phelan164/codex-howto · skills/build-frontend/SKILL.md · Build or modify frontend interfaces using repository-native components while preserving accessibility, responsive…
git:20260731.42e092c · audit A · 9 stars
engineering-loop skill
phelan164/codex-howto · skills/engineering-loop/SKILL.md · Drive an authorized repository change through a verified local loop: baseline, reproduce, implement, test, review, and…
git:20260915.dd80dad · audit A · 9 stars
maintain-codex-wiki skill
phelan164/codex-howto · skills/maintain-codex-wiki/SKILL.md · Maintain a review-first Markdown knowledge base for Codex practices with source provenance, engineering capture…
git:20260731.47f36fd · audit A · 9 stars
operate-devops skill
phelan164/codex-howto · skills/operate-devops/SKILL.md · Plan and implement infrastructure, CI/CD, container, deployment, observability, and operational configuration changes…
git:20260724.a8a7148 · audit A · 9 stars
orchestrate-engineering skill
phelan164/codex-howto · skills/orchestrate-engineering/SKILL.md · Coordinate complex engineering work across bounded subagents while protecting the main context, preventing edit…
git:20260724.a8a7148 · audit A · 9 stars

Every file in phelan164/codex-howto

Browse by kind, by grade A, or by owner.