speckit.backend

speckit.backend is a skill for Claude Code, Codex from wedabro/bro-skills. It costs 33 tokens per session (2,199 once invoked), scanned A, original, MIT.

A backend development skill for building production API services, business logic, authentication, authorization, integrations, and reliability controls within an existing project.

In plain words
What is it for?
Use it to trace data and request paths, implement API and business-logic changes, handle permissions and side effects, and verify contracts safely.
Why use it?
It helps keep backend changes aligned with the feature specification, data model, security rules, architecture, and failure-handling requirements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to trace data and request paths, implement API and business-logic changes, handle permissions and side effects, and verify contracts safely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wedabro/bro-skills/speckit.backend
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 wedabro/bro-skills --skill speckit.backend
Clone the repo
git clone --depth 1 https://github.com/wedabro/bro-skills

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 speckit.backend

README.md
[![agentmods](https://agentmods.dev/badge/skills/wedabro/bro-skills/speckit.backend/github.svg)](https://agentmods.dev/skills/wedabro/bro-skills/speckit.backend)
Your own site
<a href="https://agentmods.dev/skills/wedabro/bro-skills/speckit.backend"><img src="https://agentmods.dev/badge/skills/wedabro/bro-skills/speckit.backend/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 speckit.backend

Your own site · 80×15
<a href="https://agentmods.dev/skills/wedabro/bro-skills/speckit.backend"><img src="https://agentmods.dev/badge/skills/wedabro/bro-skills/speckit.backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,199 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.00033 $0.02199
Opus 5 $0.00016 $0.01099
Sonnet 5 $0.00007 $0.00440
Haiku 4.5 $0.00003 $0.00220

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

Security

Grade A, and why

speckit.backend 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 10d 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.

.agents/skills/speckit.backend/SKILL.md · 169 lines

How it starts

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

Mission

Build the smallest production-ready backend change that honors the feature specification and the existing architecture. Prefer a modular monolith unless the specification demonstrates a need for distributed complexity. Match .agents/knowledge_base/api_standards.md, data_schema.md, and the project constitution.

Required Inputs

  • .agents/specs/[feature]/spec.md, plan.md, and tasks.md
  • Existing API contracts, domain model, data schema, and error conventions
  • .agents/memory/constitution.md for ENV, Docker, port, and safety policy

If the contract, ownership, caller, data classification, or failure behavior is unknown, resolve it in the specification before implementation. Use speckit.database, speckit.security, speckit.devops, or speckit.tester for specialized work rather than duplicating their scope.

Protocol

0. Preflight and Risk

  • Trace request, async-event, and data paths before editing. Identify callers, authorization boundary, side effects, transaction owner, dependencies, and rollback or recovery behavior.
  • Classify the change as read-only, reversible write, irreversible write, or externally visible contract change. For payments, identity, PII, tenant data, migrations, queues, or destructive work, state the risk and mitigation.
  • Reuse the project's error, validation, configuration, logging, persistence, and dependency-injection patterns. Do not introduce a framework, vendor, or architectural pattern without a documented need.

1. Contract-First API

  • Define or update the contract before handler logic: consumer, resource or operation, authorization, request/response schemas, examples, errors, pagination/filter/sort semantics, limits, and rate-limit behavior.
  • Keep public changes additive when possible. Version, deprecate, and announce breaking changes; never silently change a field's meaning or error shape.
  • Validate every untrusted boundary input (HTTP, webhook, queue, CLI, file, environment) with a schema. Reject invalid input early with stable, actionable client errors; normalize only after validation.
  • Use a consistent error envelope. Map expected domain failures deliberately; centralize unexpected-error handling and never expose stack traces, secrets, internal IDs, or provider responses.
  • Make retriable mutations idempotent when duplicate execution can charge, create, send, or otherwise cause side effects. Define idempotency-key scope, TTL, conflict response, and persisted result where applicable.

Read the full file on GitHub · 169 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. 10d ago First seen · 169 lines · 33 tokens per session scan A e1495d804157

Subscribe to this mod's changes

speckit.backend is a skill published in the GitHub repository wedabro/bro-skills (2 stars, last pushed 14d ago), licensed MIT. It adds 33 tokens to every session and 2,199 once invoked, about $0.0002 per session on Opus 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-08-31.