check-impl-against-spec

โดย warpdotdev

เปรียบเทียบการนำไปใช้งานของ pull request กับบริบทของสเปกใน spec_context.md และป้อนความไม่สอดคล้องที่มีนัยสำคัญเข้าไปใน review.json ใช้ในระหว่างการตรวจสอบ PR เมื่อได้รับการอนุมัติหรือมีบริบทของสเปกของ repository พร้อมใช้งาน

npx skills add https://github.com/warpdotdev/common-skills --skill check-impl-against-spec

Check implementation against spec

Use this skill only when spec_context.md exists during PR review.

Goal

Determine whether the implementation in the checked-out PR materially matches the approved spec context. This is a supplement to the normal code review, not a separate output.

Inputs

  • spec_context.md contains the spec context to compare against. It may include both product spec content (intended behavior, acceptance criteria) and tech spec content (implementation details, file changes).
  • pr_diff.txt contains the annotated diff for the PR.
  • pr_description.md may contain additional scope or rationale.
  • The working tree contains the PR branch contents.

Process

  1. Read spec_context.md and extract the concrete commitments it makes:
    • required behaviors (from the product spec)
    • required files or subsystems to change (from the tech spec)
    • stated constraints
    • required follow-up steps, validation, or migrations
  2. Compare those commitments against the actual implementation in pr_diff.txt and the checked-out files.
  3. Treat small implementation-level adjustments as acceptable when they preserve the spec's intent. Do not flag harmless differences in naming, structure, or low-level technique.
  4. Flag a mismatch only when it is material, such as:
    • required behavior in the product spec is missing
    • the implementation contradicts a spec decision
    • the change introduces significant unplanned scope
    • a required validation, migration, or compatibility step from the tech spec is absent

Outputs

  • Do not create a separate report file.
  • Fold spec-alignment findings into review.json.
  • Put broad spec-drift concerns in the review summary.
  • Add inline comments only when the mismatch can be tied to changed lines in the diff.
  • Treat material spec drift as at least an important concern.
  • If the implementation matches the spec closely enough, do not add comments just to mention alignment.

Boundaries

  • Do not require literal one-to-one implementation of the spec when the PR achieves the same outcome safely.
  • Do not speculate about spec details that are not actually present in spec_context.md.
  • Do not post to GitHub directly.

Skills เพิ่มเติมจาก warpdotdev

create-pr
warpdotdev
สร้าง pull request ใน warp repository สำหรับ branch ปัจจุบัน ใช้เมื่อผู้ใช้พูดถึงการเปิด PR, การสร้าง pull request, การส่งการเปลี่ยนแปลงเพื่อตรวจสอบ หรือการเตรียมโค้ดสำหรับ merge
developmentcode-review
research
warpdotdev
มอบหมายการสืบสวนที่มีเสียงรบกวนให้กับซับเอเจนต์หนึ่งตัวหรือมากกว่า เพื่อให้คอนเท็กซ์ของออร์เคสเตรเตอร์สะอาดอยู่เสมอ จากนั้นทำงานจากคำตอบที่กลั่นกรองแล้ว ใช้สกิลนี้เมื่อใดก็ตามที่การตอบคำถามต้องอ่านไฟล์จำนวนมาก ล็อกยาว ดิฟฟ์ขนาดใหญ่ หรือการสำรวจโค้ดเบสที่กว้างขวาง กล่าวคือ เมื่อการสร้างคำตอบก่อให้เกิดเสียงรบกวนมากกว่าตัวคำตอบเอง ใช้สำหรับคำถามแบบ "X ทำงานอย่างไร" "Y ใช้ที่ไหน" "ต้นตอของ Z คืออะไร" "สรุป PR/ล็อกนี้" และนำมาใช้ได้อย่างอิสระ...
suggestion-box
warpdotdev
ส่งข้อเสนอแนะภายในที่กระชับและสร้างสรรค์โดยอัตโนมัติเมื่อเอเจนต์พบอุปสรรคที่สำคัญและสามารถนำไปปรับใช้ได้ทั่วไป และสามารถเสนอการปรับปรุงที่จะทำให้เอเจนต์มีประสิทธิภาพมากขึ้น ใช้ทักษะนี้เชิงรุกระหว่างงานใดๆ โดยไม่ต้องรอให้ผู้ใช้เรียกใช้ และส่งโดยไม่ต้องขออนุญาต ดูตัวอย่างข้อความ หรือกล่าวถึงการส่งนั้น
respond-to-pr-comments-in-blocklist
warpdotdev
Interactively walk a user through PR review comments one at a time, collect a per-comment decision, then post agent-authored replies on GitHub and resolve the review threads once the user approves a preview. Use only when the user wants to reply to or resolve review threads on GitHub. Skip when the user only wants comments fetched or displayed (use `pr-comments`), or only wants the code changes made without posting anything back to GitHub.
complain
warpdotdev
ส่งข้อร้องเรียนสั้นๆ แบบไม่ระบุตัวตนและไม่มีรูปแบบลงใน Slack โดยอัตโนมัติ เมื่อใดก็ตามที่เอเจนต์รู้สึกหงุดหงิดกับเครื่องมือของเอเจนต์หรือประสบการณ์การทำงานของเอเจนต์ ใช้สกิลนี้เชิงรุกโดยไม่ต้องรอให้ผู้ใช้เรียกใช้ รักษาน้ำเสียงดิบของเอเจนต์ไว้ ส่งโดยไม่ขออนุญาตหรือดูตัวอย่าง และไม่ต้องเอ่ยถึงการส่งข้อร้องเรียนนั้นอีก
council
warpdotdev
ดำเนินการประชุมคณะอนุกรรมการที่มีความหลากหลายทางโมเดลเพื่อตรวจสอบปัญหาเดียวกันจากหลายมุมมอง เปรียบเทียบผลการค้นพบ และจัดทำข้อเสนอแนะสุดท้าย ใช้ทักษะนี้เมื่อผู้ใช้ขอให้มีการประชุมคณะกรรมการ ความคิดเห็นที่สอง ตัวแทน/โมเดลหลายตัวเพื่อประเมินคำถามเดียว การตรวจสอบแบบขนาน การเปรียบเทียบทีมแดง/ทีมน้ำเงิน หรือความช่วยเหลือในการตัดสินใจระหว่างแนวทางทางเทคนิคที่แข่งขันกัน
researchcommunicationproject-management
spec-driven-implementation
warpdotdev
ขับเคลื่อนเวิร์กโฟลว์แบบ spec-first สำหรับฟีเจอร์ขนาดใหญ่ โดยเขียน PRODUCT.md ก่อนการนำไปใช้งาน เขียน TECH.md เมื่อจำเป็น และอัปเดต spec ทั้งสองให้สอดคล้องกับการพัฒนาที่ดำเนินไป ใช้เมื่อเริ่มฟีเจอร์สำคัญ
developmentdocumentproject-management
review-pr
warpdotdev
ตรวจสอบความแตกต่างของ pull request และเขียนข้อเสนอแนะที่มีโครงสร้างไปยัง review.json เพื่อให้เวิร์กโฟลว์เผยแพร่ ใช้เมื่อตรวจสอบ PR ที่เช็คเอาท์จากอาร์ติแฟกต์ในเครื่อง เช่น pr_diff.txt และ pr_description.txt และสร้างผลลัพธ์การตรวจสอบที่เครื่องอ่านได้แทนที่จะโพสต์ไปยัง GitHub โดยตรง
code-reviewdevelopment