edwardzhang/sps-cli/backend

Claude Code and agent skill by edwardzhang/sps-cli

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Backend end skill — API design, layering, data access, caching, auth, resilience, observability. Language-neutral. Combine with a language skill (`python`, `typescript`, `golang`, etc.) for syntax, and with persona skills (`backend-architect`, `database-optimizer`) for mindset.

Install

npx vskill@latest install edwardzhang/sps-cli/backend

SKILL.md

The same SKILL.md was published earlier as edwardzhang/sps-cli/backend.

Backend

Server-side architecture patterns. Language-neutral by design — examples use pseudocode or diagrams, never a specific language. Pair with a language skill for idiomatic implementation.

When to load

  • Designing or reviewing server-side code (API, service, worker)
  • Deciding layering (repository, service, controller, domain)
  • Data access: queries, transactions, migrations, N+1, connection pooling
  • Caching, queuing, background jobs
  • Authentication, authorization, rate limiting, input validation
  • Resilience: retries, timeouts, circuit breakers, idempotency
  • Observability: structured logging, metrics, traces, health checks

Core principles

  1. Keep the domain ignorant of infrastructure. Business logic doesn't import HTTP, DB drivers, or queues directly — those cross the boundary through interfaces.
  2. The caller should be able to swap the implementation. If you can't replace the DB with an in-memory fake in tests, your layering is wrong.
  3. Every write is either idempotent or transactional. Retries must be safe.
  4. Input validation happens at the edge. Once data is inside the domain, it is trusted.
  5. Timeouts on every outbound call. No unbounded network wait. Ever.
  6. Never log secrets, tokens, PII. Redact at the logger, not at the call site.
  7. Observability is not optional. A request you can't trace is a bug you can't fix.
  8. Errors cross the boundary as data, not as exceptions. The HTTP layer decides status codes; the domain raises domain errors.

How to use references

ReferenceWhen to load
`references/api-design.md`REST/GraphQL/gRPC conventions, versioning, error format, pagination
`references/layering.md`Repository / service / controller, hexagonal, dependency direction
`references/data-access.md`Transactions, N+1, migrations, connection pooling
`references/caching.md`Cache-aside, write-through, TTL, invalidation, stampede protection
`references/security.md`AuthN vs authZ, sessions vs tokens, RBAC, rate limiting, input validation
`references/resilience.md`Retries, timeouts, circuit breakers, idempotency, background jobs
`references/observability.md`Structured logging, metrics, traces, health checks, correlation IDs

Language binding

This skill has no language-specific content. For concrete syntax:

  • Python backend → load python + this skill
  • TypeScript/Node → load typescript + this skill
  • Go → load golang + this skill
  • etc.

Forbidden patterns (auto-reject)

  • Business logic that imports HTTP request/response objects directly
  • DB queries issued from controllers (bypass the repository)
  • Outbound HTTP / DB call with no timeout
  • Writes that aren't idempotent AND aren't in a transaction
  • Secrets or tokens in logs
  • Unvalidated input reaching the domain layer
  • Catch-all 500 Internal Server Error as the only error response
  • Silent swallowing of background-job failures (no dead-letter, no alert)

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/edwardzhang/sps-cli/backend/badge)](https://verified-skill.com/skills/edwardzhang/sps-cli/backend)

Something wrong with this skill or its page? Tell us.