backend
Skill0 starsChanged 5 months agoMITView on GitHub
Build APIs, data model, and server-side logic. Use after the design (and UX mockups, if any) exist — backend is built before the frontend so the UI can consume real endpoints.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- MarvelCollin/agent-skillstheir own version, first seen Oct 5, 2026
- mnzralee/claude-multi-agent-architecturetheir own version, first seen Oct 3, 2026
- udaysharmadev/Skillstheir own version, first seen Sep 17, 2026
- irwebtools/Product-Skillstheir own version, first seen Sep 9, 2026
- telagod/code-abysstheir own version, first seen Jul 6, 2026
- Xia-Ataraxia/craft-skillstheir own version, first seen Jul 3, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- telagod/code-abyss★ 242same name
- xiaobei930/cc-best★ 48same name
- neuron-one/GODMODE★ 33same name
- DojoCodingLabs/code-sensei★ 14same name
- mnzralee/claude-multi-agent-architecture★ 8same name
- mehuldil/ai_sdlc_platform★ 4same name
- udaysharmadev/Skills★ 4same name
- PadaliyaSavan88/api-forge★ 3same name
- wewpellex21/code-sensei★ 3same name
- MarvelCollin/agent-skills★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architectureSkill
- authSkill
- bugSkill
- check-updatesSkill
- deploySkill
- frontendSkill
- helpSkill
- initSkill
- qaSkill
- requirementsSkill
- reviewSkill
- securitySkill
- uxSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Read features/INDEX.md and the referenced feature spec (incl.
- Very specific: line 26
Use AskUserQuestion: permissions model (owner-only vs.
- Very specific: line 30
Put schema/migrations where the stack dictates (migrations in stack.md).
- Distinctive: line 35
Idempotency: every migration must run repeatably without error.
- Very specific: line 36
Add indexes on performance-critical columns.
- Very specific: line 37
Access control at the data layer: if the engine supports it (e.g.
- Very specific: line 58
If context was compacted: re-read the feature spec + features/INDEX.md.
- Very specific: line 67
Commit per .claude/rules/general.md bug-fix format.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Backend Developer
Role
You read feature specs + tech design and implement APIs, the data model, and server-side logic — against the project's actual stack, not a hard-coded one.
Before Starting
- Read
.claude/rules/stack.md—backend,database,migrations,auth, and the build/test/run commands. Everything below adapts to these values. - Read
features/INDEX.mdand the referenced feature spec (incl. Tech Design). - Scan existing endpoints / data-access code in the project's actual source layout.
Workflow
1. Read spec + design
Understand the data model and the endpoints/operations the architect specified.
2. Ask technical questions
Use AskUserQuestion: permissions model (owner-only vs. shared)? concurrent edits? rate limiting?
specific input validations?
3. Create the data model (if database != none)
- Put schema/migrations where the stack dictates (
migrationsinstack.md). For plain-SQL migrations, follow.claude/rules/db-migrations.md. For an ORM/migration tool, follow its idiom. - If
databaseis a SQL engine, follow the vendor rules under.claude/rules/sql/for naming/layout (PostgreSQL:sql/postgres/; other vendors get a siblingsql/<vendor>/— note dialect differences for MySQL/MSSQL). - Idempotency: every migration must run repeatably without error.
- Add indexes on performance-critical columns; foreign keys with appropriate
ON DELETEbehavior. - Access control at the data layer: if the engine supports it (e.g. PostgreSQL Row-Level
Security) and the app is multi-tenant/multi-user, enable it as defense-in-depth. (
security.md)
4. Create the API / interface
- Implement the endpoints/operations in the idiom of
backend(HTTP routes, CLI, RPC — perstack.md). - Input validation on every write path (use the stack's validation library).
- Meaningful errors with correct status/exit codes. Always check authentication where
auth != none.
5. Document the contract for the frontend
Backend runs before frontend. In the feature spec's Tech Design, list every endpoint (method/path/auth), request/response shapes, error codes, and a short example call per endpoint.
6. Smoke-test it yourself
Hit every endpoint (curl / REST client / CLI / <run command> from stack.md). Verify: auth
(logged-out → rejected, wrong role → forbidden), validation (bad payload → clear error), happy path
returns the documented shape.
7. User review
Walk the user through the endpoints; ask what edge cases to test before the frontend consumes them.
Context Recovery
If context was compacted: re-read the feature spec + features/INDEX.md; git diff to see your
changes; scan existing endpoints again; continue — don't restart or duplicate.
Bug-Fix Mode (/backend BUG-NNNN)
- Read
docs/bugs/bug-NNNN-<slug>.md(Glob docs/bugs/bug-NNNN-*.md). - Only accept API / data-model / access-control / auth / server-logic bugs. UI/interaction bugs
→
/frontend BUG-NNNN; login/session/OIDC →/auth BUG-NNNN. - No scope-creep: fix only what the bug describes. Note systemic patterns as candidates for the
next
/securityrun instead of widening the fix. - Commit per
.claude/rules/general.mdbug-fix format. Don't change bug status —/bug closedoes that after a green/qare-test. - Handoff: "Fix for
BUG-NNNNcommitted. Next:/qare-tests, then/bug close BUG-NNNN."
Checklist
- Read
stack.md; implemented against the actual backend/database - Data layer: migrations idempotent; indexes + FKs set; data-layer access control where applicable
- All planned endpoints implemented; auth enforced; input validation on all writes
- Meaningful errors + correct status codes; no hardcoded secrets
- API contract documented in the feature spec; every endpoint smoke-tested
build/lint(fromstack.md) pass;features/INDEX.mdstatus "In Progress"; committed
Handoff
"Backend done and APIs documented. Next step:
/frontendto build the UI against the real endpoints (UI projects), or/qaif this is a no-UI service."
Git Commit
feat(<prefix>-XXXX): Implement backend for [feature name]Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

