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 $0.00052 $0.00358
Sonnet 5 $0.00021 $0.00143
Haiku 4.5 $0.00010 $0.00072

Measured 9d ago against content hash 375f94888bcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 9d 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. 9d 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 (47 stars, last pushed 18d ago), licensed Apache-2.0. It adds 104 tokens to every session and 716 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

patterns

This skill should be used when the user asks to "create an API endpoint", "add CRUD operations", "implement event handlers", "set up logging", "add configuration", or builds features involving database operations, REST/GraphQL APIs, pub/sub patterns, or service configuration. Provides implementation patterns that…

dean0x/devflow · 68 tokens

expo-notifications

Push and local notification setup with expo-notifications. iOS (APNs) + Android (FCM) credentials, permission flow, channels (Android 8+), categories, and scheduled notifications.

fatihkan/badi · 73 tokens

pentest-api

API security testing — REST/GraphQL/WebSocket, OWASP API Top 10, JWT/OAuth analysis, mass assignment, broken object-level authorization advisory. Triggers on API pentest, OWASP API, REST security, GraphQL test, WebSocket, JWT analysis, OAuth flow, BOLA, BFLA, mass assignment.

fatihkan/badi · 73 tokens

development

Modern frontend application development with React, Vue, Angular, Next.js, and component-driven architecture. Performance, accessibility, and developer experience emphasized. Triggers on: frontend, React, Vue, Angular, Next.js, component, web app, SPA, hooks, state management.

fatihkan/badi · 0 tokens

bullmq-specialist

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications. Use when: bullmq, bull queue, redis queue, background job, job queue.

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI · 47 tokens

erpnext-frappe-dev

Complete Frappe Framework development reference for building ERPNext apps. Use when creating custom DocTypes, controllers, hooks, REST APIs, form scripts, background jobs, or any Frappe/ERPNext development. Contains full API documentation for Document, Database, Controllers, Hooks, REST API, Form Scripts, Testing, and…

6missedcalls/erpnext-skill · 74 tokens