본문으로 건너뛰기
cccskills
무료GitHub에 공개

vibe-production-mindset

Checks production-bound code for observability, error handling at system boundaries, input validation, graceful degradation, and resource management, scaled to the project's real stakes. Use before declaring a production feature done.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

vibe-production-mindset

The gap between "works on my machine" and "works in production" is where incidents live. The goal is to avoid under-engineering the critical paths, not to add every hardening pattern to every feature. Pair it with vibe-scope-guard.

When to Use This Skill

  • Implementing API endpoints, data processing, or user-facing features that will run in production
  • Before declaring a production feature "done"
  • When the user cares about production quality

When NOT to Use This Skill

  • Prototypes or spikes explicitly marked as throwaway
  • Internal scripts that run once
  • Test code (different quality criteria)
  • When the user says "just get it working"

Calibrate First

Before running the checklist, establish the stakes and the conventions:

  • What already exists? Use the project's existing logger, metrics, retry, and validation libraries. Don't introduce a second one.
  • What's the real scale and blast radius? An internal admin tool and a public payments API need different answers.
  • Only flag an item if it applies at this project's scale. A missing circuit breaker is not a gap in a service with one dependency and ten users.

The Checklist

1. Observability

  • Logs at key decision points use the project's structured logger
  • Request/correlation IDs are propagated, if the project already uses them
  • Metrics for key operations, if the project has a metrics pipeline

2. Error Handling at System Boundaries

  • External calls (HTTP, DB, queues) have timeouts
  • Retries with backoff where the operation is idempotent
  • Specific handling for expected failures (not found, permission denied, conflict)
  • Errors carry enough context to debug, and no secrets

3. Input Validation

  • External input is validated before processing
  • Size limits on strings, arrays, and uploads
  • Parameterized queries and output encoding (injection, XSS)
  • Authentication before authorization, and authorization on every access path

4. Graceful Degradation (only where dependencies justify it)

  • Defined behavior when a dependency is down
  • Graceful shutdown (drain in-flight work)
  • Health check, if the deploy target uses one

5. Resource Management

  • Connections, files, and handles are closed or returned to the pool
  • Goroutines, threads, and tasks have bounded lifetimes
  • No unbounded in-memory growth (caches, queues, buffers)

6. Performance Budgets (when performance is a requirement)

  • Budgets are targets from the spec (published thresholds, competitor medians), not today's measurement plus a margin
  • Named profiles: a constrained one for CI (slow link, throttled CPU) and a typical target device
  • Per-route or per-endpoint budgets: payload sizes (JS, CSS, HTML, fonts, total) and timings (e.g., LCP, CLS, TBT, p95 latency)
  • Overrides carry a written reason; raising a default requires a spec change
  • Enforced in CI; a failing budget is fixed in code, never raised to pass
  • Performance changes report "no budgets loosened", and call out mechanical key renames so they aren't mistaken for loosening

Steps

  1. Calibrate (above)
  2. Read the implementation
  3. Run the checklist, skipping items that don't apply
  4. Flag gaps with file:line and a specific fix that uses existing project conventions

Output Format

Production Readiness: [Feature Name]

Stakes: [e.g., public API, ~10k req/min] · Overall: READY / NEEDS_WORK / NOT_READY

CategoryStatusGaps
Observability✓/◐/✗/n/a[count]
Error Handling✓/◐/✗/n/a[count]
Input Validation✓/◐/✗/n/a[count]
Graceful Degradation✓/◐/✗/n/a[count]
Resource Management✓/◐/✗/n/a[count]
Performance Budgets✓/◐/✗/n/a[count]

Critical Gaps

  1. [gap with file:line and the fix]

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Validates completed work against defined acceptance criteria. Use after completing a task that has specific success criteria defined in issues, specs, or task descriptions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ash1794/vibe-engineering1642026년 10월 8일 업데이트

Generates edge case, failure mode, and spec-driven test cases. Covers boundary values, nil inputs, concurrency, resource exhaustion, malformed data, and requirement-linked traceability tests. Use after happy-path tests exist and before claiming coverage is complete, when requirements lack tests, or before a security review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ash1794/vibe-engineering1642026년 10월 8일 업데이트

Catches shortcuts and reward hacking — weakening or deleting tests to make them pass, hard-coding expected outputs, silently dropping requirements, or claiming work is done without running it. Use before declaring a task complete and whenever a test or requirement feels like it's in the way.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ash1794/vibe-engineering1642026년 10월 8일 업데이트

Safely integrates commits from parallel agent branches using sequential cherry-pick. Use after parallel work completes in isolated branches or worktrees.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ash1794/vibe-engineering1642026년 10월 8일 업데이트

Audits tests for concurrency safety — race conditions, shared mock state, cleanup ordering. Use when writing tests that involve goroutines, async operations, or shared mutable state.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ash1794/vibe-engineering1642026년 10월 8일 업데이트

Enforces tiered test coverage standards with three dimensions — line coverage by tier, spec-to-test traceability, and spec-to-code implementation mapping. Use before claiming code is complete.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ash1794/vibe-engineering1642026년 10월 8일 업데이트

ash1794의 스킬 모두 보기

이 스킬의 문제 신고