check-impl-against-spec

द्वारा warpdotdev

Compare a pull request's implementation against spec context in spec_context.md and feed any material mismatches into review.json. Use during PR review when approved or repository spec context is available.

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

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
create-pr
warpdotdev
वर्तमान शाखा के लिए warp रिपॉजिटरी में एक पुल रिक्वेस्ट बनाएँ। इसका उपयोग तब करें जब उपयोगकर्ता PR खोलने, पुल रिक्वेस्ट बनाने, समीक्षा के लिए परिवर्तन सबमिट करने, या मर्ज के लिए कोड तैयार करने का उल्लेख करे।
developmentcode-review
implement-specs
warpdotdev
PRODUCT.md और TECH.md से स्वीकृत सुविधा को लागू करें, स्पेक्स और कोड को उसी PR में संरेखित रखें जैसे-जैसे कार्यान्वयन विकसित होता है। उत्पाद और तकनीकी स्पेक्स स्वीकृत होने के बाद और अगला कदम सुविधा का निर्माण होने पर उपयोग करें।
developmentcode-reviewapi
cross-critique
warpdotdev
एक विवादित प्रश्न पर दूसरा दौर चलाएँ, प्रत्येक उप-एजेंट के स्वतंत्र प्रस्ताव को अन्य ल
resolve-merge-conflicts
warpdotdev
Resolve Git merge conflicts by extracting only unresolved paths, conflict hunks, and compact diffs instead of loading whole files into context. Use when a merge, rebase, cherry-pick, or stash pop stops on conflicts, when `git status` shows unmerged paths, or when files contain conflict markers.
developmentcode-review
brandalf
warpdotdev
Warp या Oz ब्रांडेड एसेट्स के निर्माण, संशोधन और समीक्षा का मार्गदर्शन करता है। लॉन्च पेजों, डॉक्स, HTML/CSS घटकों, UI मॉकअप्स, प्रॉम्प्ट्स, सोशल एसेट्स, कॉपी, प्रेजेंटेशन्स या किसी भी अन्य ब्रांडेड डिलिवरेबल पर काम करते समय उपयोग करें, जो निस्संदेह Warp या Oz जैसा दिखना और सुनाई देना चाहिए।
designcreativemarketing