spec-driven-development

द्वारा n8n-io

कार्यान्वयन और विनिर्देशों को समकालिक रखता है। इसका उपयोग तब करें जब किसी ऐसी सुविधा पर काम कर रहे हों जिसका विनिर्देश .claude/specs/ में हो, जब उपयोगकर्ता /spec कहे, या जब शुरू कर रहे हों…

npx skills add https://github.com/n8n-io/n8n --skill spec-driven-development

Spec-Driven Development

Specs live in .agents/specs/. They are the source of truth for architectural decisions, API contracts, and implementation scope. Implementation and specs must stay in sync — neither leads exclusively.

Core Loop

Read spec → Implement → Verify alignment → Update spec or code → Repeat

Before Starting Work

  1. Find the spec. Search .agents/specs/ for files matching the feature:
ls .agents/specs/
  1. Read the full spec. Understand scope, decisions, API contracts, and open questions before writing code.

  2. If no spec exists and the task is non-trivial (new module, new API, architectural change), ask the user whether to create one first.

During Implementation

  • Reference spec decisions — don't re-decide what the spec already settled.
  • When you diverge from the spec (better approach found, user requested change, constraint discovered), update the spec immediately in the same session. Don't leave spec and code out of sync.
  • Tick off TODO checkboxes (- [ ]- [x]) as items are completed.
  • Strike through or annotate items that were deliberately skipped or replaced, with a brief reason:
    - [x] ~~OpenRouter proxy~~ → Direct execution: nodes call OpenRouter directly
    

After Completing Work

Run a spec verification pass:

  1. Re-read the spec alongside the implementation.
  2. Check each section:
    • Do API endpoints in spec match the controller?
    • Do config/env vars in spec match the config class?
    • Does the module structure in spec match the actual file tree?
    • Do type definitions in spec match @n8n/api-types?
    • Are all TODO items correctly checked/unchecked?
  3. Update the spec for any drift found. Common drift:
    • New files added that aren't listed in the structure section
    • API response shapes changed during implementation
    • Config defaults adjusted
    • Architectural decisions refined
  4. Flag unresolved gaps to the user — things the spec promises but implementation doesn't deliver yet (acceptable for MVP, but should be noted).

Spec File Conventions

  • One or more markdown files per feature in .agents/specs/.
  • Keep specs concise. Use tables for mappings, code blocks for shapes.
  • Use ## Implementation TODO with checkboxes to track progress.
  • Split into multiple files when it helps (e.g. separate backend/frontend), but don't enforce a rigid naming scheme.

When the User Asks to "Self-Review" or "Verify Against Spec"

  1. Read all relevant specs.
  2. Read all implementation files.
  3. Produce a structured comparison:
    • Aligned: items where spec and code match
    • Drift: items where they diverge (fix immediately)
    • Gaps: spec items not yet implemented (note as future work)
  4. Fix drift, update specs, report gaps to the user.

n8n-io की और Skills

n8n-cli
n8n-io
n8n CLI का उपयोग करके n8n इंस्टेंस पर वर्कफ़्लो, क्रेडेंशियल्स, एक्ज़ीक्यूशन और अधिक का प्रबंधन करें। जब उपयोगकर्ता n8n के साथ इंटरैक्ट करने, वर्कफ़्लो को स्वचालित करने के लिए कहे, तब उपयोग करें…
official
create-issue
n8n-io
n8n कन्वेंशनों का पालन करते हुए Linear टिकट या GitHub इश्यू बनाएं। जब उपयोगकर्ता टिकट बनाने, बग दर्ज करने, इश्यू खोलने, या /create-issue कहने के लिए कहे तब उपयोग करें।
official
node-add-oauth
n8n-io
मौजूदा n8n नोड में OAuth2 क्रेडेंशियल समर्थन जोड़ें — क्रेडेंशियल फ़ाइल बनाता है, नोड अपडेट करता है, परीक्षण जोड़ता है, और CLI स्थिरांक को सिंक में रखता है। इसका उपयोग तब करें जब...
official
content-design
n8n-io
Product content designer for UI copy. Use when writing, reviewing, or auditing user-facing text: button labels, error messages, tooltips, empty states, modal…
official
create-issue
n8n-io
Create Linear tickets or GitHub issues following n8n conventions. Use when the user asks to create a ticket, file a bug, open an issue, or says /create-issue.
official
agent-builder
n8n-io
लक्ष्य n8n एजेंट की बिल्ड कॉन्फ़िगरेशन बनाते, कॉन्फ़िगर करते या संपादित करते समय उपयोग करें — चैट इंटीग्रेशन/ट्रिगर, MCP सर्वर, नोड-टूल रिसोर्स लोकेटर,…
official
create-pr
n8n-io
GitHub पुल रिक्वेस्ट बनाता है जिसमें उचित रूप से स्वरूपित शीर्षक होते हैं जो check-pr-title CI सत्यापन को पास करते हैं। PR बनाते समय, समीक्षा के लिए परिवर्तन सबमिट करते समय उपयोग करें,…
official
create-skill
n8n-io
उपयोगकर्ताओं को प्रभावी एजेंट स्किल बनाने में मार्गदर्शन करता है। जब आप कोई नई स्किल बनाना, लिखना या रचना करना चाहें, या स्किल संरचना, सर्वोत्तम प्रथाओं के बारे में पूछें, तो इसका उपयोग करें,…
official