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

write-be-spec-write

Author and validate BE spec files, update indexes/tracker, run deepening and ambiguity gates, and enforce allowed next-step transitions

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.2 KB

SKILL.md(원문)

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

Overview

Prerequisites

  1. BE spec stub exists and includes ## Classification
  2. Referenced Material Inventory exists from classify shard

Step-by-Step

Step 1 — Re-run and endpoint reconciliation gate

  1. Detect existing authored content and decide continue vs targeted redo.
  2. Build endpoint completeness reconciliation table before drafting sections.
  3. Require each unspecced endpoint to be either authored now or explicitly deferred with reason.

Step 2 — Write BE spec content

Use BE template/conventions and write full sections, including split-group metadata when applicable.

Core expectations:

  • endpoint contracts
  • schema rules
  • middleware/security controls
  • error strategy
  • testing strategy hooks
  • IA source mapping

Step 3 — Content completeness floor (replaces line-count gate)

For every endpoint, verify all of: request schema (fields + constraints + examples), success response schema, response schema per error class, validation rules per (field × constraint) with error codes, full error-code matrix (4xx for validation/auth/404/409/429, 5xx for downstream cascades), authorization row per role with allow/deny + ownership predicate, idempotency statement, rate limit (or explicit inheritance), and observability hooks (logs/metrics/audit/spans).

Hard gate: any missing cell on any endpoint blocks the spec from advancing. Inheritance from conventions must be cited; "implicit" is not allowed. Length is informational only.

Step 4 — Index and tracker updates

  1. Update .memory/wiki/specs/be/index.md.
  2. Update BE completion state in .memory/pipeline/progress/spec-pipeline.md.
  3. Handle structural-reference no-spec rows when classification indicates 0 specs.

Step 5 — Iterative deepening passes

Run multi-pass refinement (passes 1–7 mandatory, 8–10 conditional, hard stop after 10):

  1. cross-endpoint consistency
  2. sequencing/concurrency scenarios
  3. failure cascade analysis
  4. authorization completeness (role × endpoint matrix with no empty cells, ownership predicates, 403 vs 404 decisions)
  5. observability completeness (logs, metrics, audit-trail, trace spans per endpoint)
  6. rate-limit and abuse-protection edge cases (anonymous vs authed limits, burst, enumeration protection, mass-assignment whitelist)
  7. failure-mode partial-state hygiene (per external dependency: rollback / compensate / queue / surface) 8–10. additional convergence passes if prior pass produced significant additions

Step 6 — Cross-reference + ambiguity gates

  1. Verify back-links to IA source and related BE specs.
  2. Verify deep-dive and cross-shard source citations.
  3. Run micro/macro ambiguity checks, two-implementer test, devil's-advocate pass.
  4. If last BE spec, run /audit-ambiguity be before allowing FE recommendation.

Step 7 — Dependency/bootstrap and ledger updates

  1. Detect newly introduced dependencies and trigger bootstrap + verification as needed.
  2. Update feature ledger BE coverage when ledger exists.

Step 8 — Graph refresh, review request, and constrained next-step recommendation

  1. Run Protocol 8 fully, including mandatory memory_compile graph refresh after tracker verification.
  2. Present:
  • spec link(s)
  • cross-reference verification status
  • ambiguity gate status
  • spec graph refresh confirmation
  • pipeline state and only allowed next command (/write-be-spec or /write-fe-spec)

Completion Checklist

  • endpoint reconciliation table completed
  • BE spec content fully authored
  • complexity gate handled
  • BE index updated
  • pipeline tracker updated
  • deepening passes completed
  • ambiguity gate completed
  • dependency bootstrap checks handled
  • feature ledger BE coverage updated (if present)
  • spec graph refreshed via memory_compile
  • review requested with constrained next-step options

Next Steps

  • if BE specs remain: /write-be-spec
  • if BE complete and ambiguity audit passes: /write-fe-spec

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Structured methodology for adversarial thinking — generating attack scenarios, abuse cases, race conditions, and security edge cases against specs and implementations. Produces spec-level gap items, not code-level fixes.

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Manage API versioning and evolution with URL/header/query strategies, deprecation workflows, breaking change classification, sunset headers, and consumer-driven contract testing. Use when designing versioning strategy, deprecating endpoints, or evolving API contracts.

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Analyzes codebase structure, data flow, module relationships, and key patterns to generate and maintain a living architecture document (ARCHITECTURE.md).

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

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

RepairYourTech의 스킬 모두 보기

이 스킬의 문제 신고