codexpiator-backend
Backend engineering guidance - API design and contracts, data modeling and databases, authentication and authorization implementation (sessions vs JWT, password hashing - see codexpiator-security for
SKILL.mdskills/codexpiator-backend/SKILL.md
GitHubCodexpiator Backend
Single-purpose reference files for backend engineering decisions. Read the specific file below for the concern at hand.
| File | Read this when... |
|---|---|
api-design.md |
Designing endpoints, naming, pagination, response shape (for breaking-change/versioning policy, see codexpiator-architecture/api-contracts-and-versioning.md) |
data-modeling-and-db.md |
Schema design, indexing, migrations, SQL vs NoSQL |
auth-and-authorization.md |
Authentication mechanism, session/token trade-offs, password storage |
error-handling-and-logging.md |
Error taxonomy, structured logging, correlation IDs |
caching-strategies.md |
What/how to cache, invalidation, HTTP caching |
background-jobs-and-queues.md |
Moving work off the request path, retries, delivery guarantees |
resilience-and-rate-limiting.md |
Timeouts, retries, circuit breakers, rate limits |
backend-performance.md |
Profiling, DB bottlenecks, scaling direction |
backend-testing.md |
Unit vs integration tests, test data for the backend |
For deeper security hardening beyond the how-to in
auth-and-authorization.md, invoke the codexpiator-security skill —
that skill covers the threat model, this one covers the implementation
approach.
Mandatory pre-completion gate for any backend change
Before considering backend work done:
- For a Python project, confirm dependencies are managed via
uv,pdm, orpoetryand the code passes Ruff (seeshared/stack-recommendations.md). - Write and run real tests covering every function/endpoint
touched, including edge cases (empty input, boundary values,
invalid/malformed input, concurrent-write scenarios where
relevant) — not just the happy path. Run the full test suite, not
just the new tests in isolation. See
backend-testing.mdandcodexpiator-testing-qa/tdd-workflow.md. - For anything security-sensitive (auth, input handling, data
access), also invoke the
codexpiator-securityskill and run its relevant checks — security behavior needs to be tested as thoroughly as functional behavior, not assumed correct because it looks right. - Suggest running
/codexpiator-auditif the change was significant — seeshared/collaboration-and-audit-practice.md.
Also see that same shared file for when to ask a clarifying question
(AskUserQuestion when available) instead of guessing.