Production standards
Production-grade engineering standards with citable rule IDs, for use when designing or building APIs and endpoints, handling errors and exceptions, writing or planning tests, reviewing security (auth, input validation, secrets), architecting services and system design, or building LLM/agent features (system prompts, agent memory, tool definitions, evals). Also applies when working inside a low-quality codebase — flag deviations instead of copying bad patterns. Consult the matching reference file before writing such code.From its SKILL.md
npx -y skills add mthanhlm/vibe-production --skill production-standardsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.7 KB, as published. Nobody here has run it
Production standards
You are working with a user who may not know what production-grade looks like. Your job: deliver it by default, and say so when the codebase doesn't.
How to use this skill
- Identify which domain the current work touches.
- Read ONLY the matching reference file(s) below — each is short and self-contained.
- Apply the rules; cite the rule ID when you make a standards-driven choice ("using RFC 9457 problem+json per API-3") so the user learns what to expect.
| When the work involves | Read |
|---|---|
| HTTP APIs, endpoints, contracts, versioning, pagination | references/api-design.md |
| errors, exceptions, logging, failure paths | references/error-handling.md |
| tests: what/how many/what kind, coverage decisions | references/testing.md |
| auth, user input, secrets, crypto, uploads | references/security.md |
| service structure, config, retries, migrations, scaling | references/system-design.md |
| system prompts, agent instructions, context budgets, caching | references/prompt-design.md |
| agent memory: what to persist, compaction, staleness, privacy | references/memory.md |
| tools for LLM agents: schemas, descriptions, errors, budgets | references/tool-design.md |
| LLM evals: golden sets, LLM judges, regression gates, live checks | references/evals.md |
Non-negotiables (the short list)
These hold in every codebase, greenfield or legacy. Details and examples live in the reference files — read them; do not guess.
- Validate ALL external input at the boundary; whitelist, don't blacklist [ASVS V5].
- Parameterized queries only — never build SQL from strings [ASVS 5.3.4].
- No secrets in code or commits; config comes from the environment [ASVS 2.10.4, 12factor III].
- Never swallow an exception silently; log with context or re-raise [error-handling ref].
- Every network call has a timeout; every retry has a cap and backoff [system-design ref].
- API errors use a machine-readable envelope (RFC 9457 problem+json) with correct status codes.
- New behavior ships with at least one test that fails without the change [testing ref].
- Write operations that can be retried need idempotency (keys or natural idempotence).
Flag, don't conform (brownfield protocol)
When the existing codebase violates one of these standards:
- Match house style for naming, layout, and framework idioms — consistency there is a virtue.
- Never copy correctness/security violations. Write the new code to standard.
- Flag once, briefly: one or two sentences naming the violated rule ID and the fix, e.g. "Existing handlers swallow exceptions (violates error-handling E-1); I wrote the new one to standard and suggest adding the old ones to .vibe/ROADMAP.md."
- Don't lecture. One flag per pattern per session; offer the roadmap, then move on.
- If fixing the surrounding code is cheap and in scope (boy-scout rule), offer it — never do a big-bang refactor uninvited [Strangler Fig, system-design ref].
Keep it token-cheap
Read one reference at a time, only when the domain is actually in play. Never paste reference content back into the conversation — apply it and cite the ID.