duyet/codex-claude-plugins72 installs
backend-api-patterns
Rules for designing and implementing HTTP APIs and backend services. Use when adding endpoints, auth, database access, caching, or background work to a service.
How do I install this agent skill?
npx skills add https://github.com/duyet/codex-claude-plugins --skill backend-api-patternsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is a collection of best practices for backend API design and implementation. It focuses on security and reliability guidelines such as input validation, authorization, and SQL parameterization.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Backend API patterns
Follow the repo's framework, ORM, and error conventions first. Constraints that are easy to miss:
- Validate every input at the edge with a schema. One error envelope per service, no stack traces or raw DB errors.
- Check authorization per resource (does this user own this row), not only per route.
- Parameterize all SQL, including allowlisting
ORDER BYcolumns. - Paginate lists from day one and cap page size server-side.
- Retryable mutations take an idempotency key. Background jobs are safe to run twice.
- No external calls inside a DB transaction. Use an outbox or run after commit.
- Migrations are forward-only and safe under rolling deploys. Never rename or drop a column in the release that stops using it.
- Every outbound call has a timeout. Retry only idempotent calls.
- Cache only after measuring, with a named invalidation trigger, a TTL, and a fallback to the source.
- Never log credentials, tokens, or personal data in request bodies.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/duyet/codex-claude-plugins/backend-api-patterns">View backend-api-patterns on skillZs</a>