codument: Skill for Claude Code

.agents/skills/senior-backend/SKILL.md

senior-backend is a skill for Claude Code, Codex from jakubsuplicki/codument. It costs 104 tokens per session (716 once invoked), scanned A, original, Apache-2.0.

A set of guidance for building server-side software, including APIs, databases, authentication, and error handling. It covers common technologies such as Node.js, Go, Python, PostgreSQL, GraphQL, and REST.

In plain words
What is it for?
Designing API endpoints, database schemas and queries, authentication flows, GraphQL services, and reliable server logic.
Why use it?
It provides practical rules for avoiding common backend problems such as unsafe queries, inconsistent errors, missing indexes, and unbounded results.

Skill for Claude CodeCodex

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

This is jakubsuplicki/codument's own configuration. It tells Claude Code and Codex how to work on codument itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codument configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jakubsuplicki/codument. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jakubsuplicki/codument/main/.agents/skills/senior-backend/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jakubsuplicki/codument

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakubsuplicki/codument/senior-backend"><img src="https://agentmods.dev/badge/skills/jakubsuplicki/codument/senior-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 716 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00104 $0.00716
Opus 5.5 $0.00042 $0.00286
Sonnet 5.5 $0.00021 $0.00143
Haiku 4.5 $0.00010 $0.00072

Measured 1mo ago against content hash 375f94888bcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

senior-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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/senior-backend/SKILL.md · 77 lines

How it starts

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

Backend Development

API Design

REST Endpoints

  • Use nouns for resources, HTTP verbs for actions: GET /users/:id not GET /getUser
  • Return appropriate status codes: 201 for creation, 204 for deletion, 404 for missing
  • Use consistent error response format across all endpoints
  • Version APIs when breaking changes are unavoidable: /api/v2/
  • Paginate list endpoints from day one — don't add it after hitting limits

GraphQL

  • Keep resolvers thin — business logic belongs in service layer
  • Use DataLoader for N+1 query prevention
  • Define clear input types for mutations
  • Implement depth/complexity limiting for public APIs

Database

Query Patterns

  • Always add indexes for fields used in WHERE, JOIN, and ORDER BY
  • Use parameterized queries — never string interpolation for SQL
  • Prefer specific column selection over SELECT *
  • Add LIMIT to queries that could return unbounded results
  • Use transactions for multi-step writes that must be atomic

Schema Design

  • Normalize until it hurts performance, then denormalize strategically
  • Add created_at and updated_at timestamps to every table
  • Use UUIDs for public-facing IDs, auto-increment for internal references
  • Define foreign key constraints — let the database enforce integrity

Error Handling

  • Catch errors at service boundaries, not deep in business logic
  • Log the full error internally, return safe messages to clients
  • Use typed errors with error codes clients can switch on
  • Don't swallow errors — if you catch it, either handle it or re-throw it
  • Implement graceful degradation for non-critical external dependencies

Authentication & Authorization

  • Hash passwords with bcrypt/argon2 — never SHA/MD5
  • Use short-lived JWTs (15 min) with refresh token rotation
  • Validate authorization on every request, not just at the gateway
  • Rate limit auth endpoints aggressively (login, signup, password reset)
  • Never expose internal user IDs in tokens — use opaque session references

Performance

Read the full file on GitHub · 77 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. 1mo ago First seen · 77 lines · 104 tokens per session scan A 375f94888bcc

Subscribe to this mod's changes

senior-backend is a skill published in the GitHub repository jakubsuplicki/codument (48 stars, last pushed 23d ago), licensed Apache-2.0. It adds 104 tokens to every session and 716 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

ship-safe-scan

Quick scan for leaked secrets — API keys, passwords, tokens, database URLs. Use when the user wants to check for hardcoded secrets or exposed credentials.

asamassekou10/ship-safe · 36 tokens

firebase

Use when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like a database open to the internet, a query rejected by rules, or a doc stuck at 1 write/sec. NOT managed-Postgres BaaS with SQL and RLS (that…

ericrisco/rsc-harness · 77 tokens

notion-connector

Use when wiring server code or a cron job to Notion as an ops backend over its HTTP API: pushing or mirroring database rows, two-way sync without duplicates, page blocks, or an integration broken by the 2025-09-03 data-source split. NOT generic REST wiring (that is api-connector-builder), NOT inbound Notion webhook…

ericrisco/rsc-harness · 86 tokens

backend-development

Backend API design, database architecture, microservices patterns, and test-driven development. Use for designing APIs, database schemas, or backend system architecture.

MoizIbnYousaf/Ai-Agent-Skills · 32 tokens

database-connections

Connect a Mendix app to an external database over JDBC with the External Database Connector, and define the queries microflows run against it. Use when the app must read or write Oracle, PostgreSQL, MySQL or SQL Server directly from a microflow.

mendixlabs/mxcli · 55 tokens

connect-rapidminer-graph

Fetch data from a RapidMiner graph mart or any SPARQL 1.1 HTTP endpoint (AnzoGraph and friends) and surface it as Mendix entities. Use when a graph database with a SPARQL endpoint has to feed a Mendix app read-only.

mendixlabs/mxcli · 62 tokens