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

check-requirements-against-code

Check requirements docs against implementation and report discrepancies

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.4 KB

SKILL.md(원문)

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

Comprehensively compare the requirements documents in docs/ against the actual implementation (src/ and apple-fm-helper/main.swift), then bring the derived docs back in sync. Generate a report with recommendations and questions.

Steps

  1. Read all requirements documents in docs/: 1-overview.md, 2-architecture.md, 3-requirements.md, 4-protocol.md. If new numbered docs have been added, include them. Also read README.md and CLAUDE.md — both enumerate the API and module layout and drift the same way.

  2. For each FR/NFR in 3-requirements.md, verify against the code:

    • Find the implementing symbol in src/ (or the Swift helper).
    • Check the behavior matches, and that the status marker is honest — remember Partial is the correct marker for code that is written but not yet verified on an Apple Intelligence device (AF-2). Don't upgrade a Swift path to Shipped without on-device evidence.
    • Note missing, different, undocumented, or stale items.
  3. Verify the wire protocol three ways agree: docs/4-protocol.md, the Node side (src/protocol.ts + src/helper.ts), and the Swift helper (apple-fm-helper/main.swift). The event vocabulary (delta/result/error), the probe line shape, and the error codes must match across all three. The reference stub tests/fixtures/stub-helper.js must also still match.

  4. Check CLAUDE.md completeness:

    • Every doc under docs/ appears in the docs list.
    • The architecture/source list names every file under src/.
    • The public API block matches the exports of src/index.ts.
    • The "Commands" section lists every npm run * script in package.json.
    • The coverage-thresholds sentence matches vitest.config.ts.
  5. Synchronize docs/ai/code-summary.md: confirm the directory tree matches src/ (use Glob), the Public API list matches src/index.ts, the coverage thresholds match vitest.config.ts, and the "where do I look" entries still resolve. Make the edits in place.

  6. Synchronize docs/ai/requirements-summary.md: confirm each FR/NFR line matches its row in 3-requirements.md (same status). Make the edits in place.

  7. Final consistency pass: CLAUDE.md, README.md, and the two AI summaries must agree with the source docs and code. Resolve any disagreement in favor of the code / src/index.ts (API) / 3-requirements.md (behavior) / vitest.config.ts (thresholds). The most common drift here is a new public export or a new src/*.ts file landing without the AI summaries and CLAUDE.md being updated — look for that explicitly.

Report Format

Discrepancies Found

For each: Requirement (doc + ID), Implementation (file:line), Type (missing | different | undocumented | stale | status-wrong), Recommendation (fix doc or fix code).

CLAUDE.md / Summary Coverage Audit

List docs, source files, exports, scripts, or thresholds that are present in code but missing from CLAUDE.md / the AI summaries (or vice versa).

Files Edited

The summary/doc files you updated and why (or "no changes needed").

Questions

Ambiguous requirements where the implementation made a judgment call.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Run all available tests and linters, check for anti-patterns, and generate a comprehensive code quality report

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

brianwestphal/apple-fm72026년 7월 22일 업데이트

Check code for standardization, readability, maintenance complexity, and defensive coding practices

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

brianwestphal/apple-fm72026년 7월 22일 업데이트

glassbox

무료

Read the latest Glassbox code review and apply all feedback annotations

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

brianwestphal/apple-fm72026년 7월 22일 업데이트

hotsheet

무료

Read the Hot Sheet worklist and work through the current priority items

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

brianwestphal/apple-fm72026년 7월 22일 업데이트

Run as a distributed worker — continuously claim, work, and release Up Next tickets

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

brianwestphal/apple-fm72026년 7월 22일 업데이트

hs-bug

무료

Create a new bug ticket in Hot Sheet

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

brianwestphal/apple-fm72026년 7월 22일 업데이트

brianwestphal의 스킬 모두 보기

이 스킬의 문제 신고