check-impl-against-spec

द्वारा warpdotdev

पुल रिक्वेस्ट के कार्यान्वयन की spec_context.md में दिए गए स्पेक संदर्भ से तुलना करें और किसी भी महत्वपूर्ण बेमेल को review.json में फीड करें। PR समीक्षा के दौरान उपयोग करें जब स्वीकृत हो या रिपॉजिटरी स्पेक संदर्भ उपलब्ध हो।

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.

warpdotdev की और Skills

create-pr
warpdotdev
वर्तमान शाखा के लिए warp रिपॉजिटरी में एक पुल रिक्वेस्ट बनाएँ। इसका उपयोग तब करें जब उपयोगकर्ता PR खोलने, पुल रिक्वेस्ट बनाने, समीक्षा के लिए परिवर्तन सबमिट करने, या मर्ज के लिए कोड तैयार करने का उल्लेख करे।
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
बड़ी सुविधाओं के लिए स्पेक-प्रथम कार्यप्रवाह अपनाएँ: कार्यान्वयन से पहले PRODUCT.md लिखें, जब आवश्यक हो तो TECH.md लिखें, और कार्यान्वयन के विकास के साथ दोनों स्पेक्स को अद्यतन रखें। इसका उपयोग तब करें जब कोई महत्वपूर्ण सुविधा शुरू कर रहे हों, एजेंट-संचालित कार्यान्वयन की योजना बना रहे हों, या जब उपयोगकर्ता उत्पाद और तकनीकी स्पेक्स को स्रोत नियंत्रण में शामिल करना चाहता हो।
developmentdocumentproject-management
review-pr
warpdotdev
पुल रिक्वेस्ट डिफ की समीक्षा करें और वर्कफ़्लो को प्रकाशित करने के लिए review.json में संरचित फीडबैक लिखें। इसका उपयोग तब करें जब pr_diff.txt और pr_description.txt जैसे स्थानीय आर्टिफैक्ट से चेक-आउट किए गए PR की समीक्षा कर रहे हों और सीधे GitHub पर पोस्ट करने के बजाय मशीन-पठनीय समीक्षा आउटपुट तैयार कर रहे हों।
code-reviewdevelopment