skills/n8n-prd-generator/SKILL.md
Generate structured PRD documents for n8n automation workflows. Use when planning n8n workflows, creating automation requirements, starting a new n8n project, or preparing workflow specifications before building.
npx skillsauth add alexpeclub/n8n-prd-generator n8n-prd-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate structured, MCP-ready PRD documents for n8n automation workflows. Captures all requirements needed to build the workflow with Claude Code + n8n-mcp.
When the user wants to plan or specify an n8n automation workflow, activate this skill. The output is a PRD markdown file saved to the project directory.
Follow these phases strictly. Do NOT skip phases or rush to the PRD.
Ask the user to describe the automation they need. Accept any format:
After receiving the input, summarize what you understood in 2-3 sentences and confirm with the user before proceeding.
Ask targeted questions across these dimensions. Use the AskUserQuestion tool with grouped questions (max 4 per round). Run multiple rounds if needed.
Round 1 - Trigger & Schedule:
Round 2 - Data Flow & Services:
Round 3 - Error Handling & Edge Cases:
Round 4 - Credentials & Environment:
Skip questions that were already answered in the initial description. Ask follow-up questions if answers reveal new complexity.
After all questions are answered, generate the PRD using the template below. Save it as a markdown file in the project directory:
File naming convention: prd-[short-name].md
Example: prd-youtube-video-ideas.md, prd-linkedin-lead-capture.md
# PRD: [Workflow Name]
**Status:** Draft
**Erstellt:** [Datum]
**Autor:** [Name]
---
## 1. Ziel & Kontext
**Was soll automatisiert werden?**
[1-3 Saetze die das Ziel beschreiben]
**Warum wird diese Automatisierung gebraucht?**
[Business-Kontext, Zeitersparnis, aktueller manueller Prozess]
**Wer nutzt das Ergebnis?**
[Zielgruppe/Empfaenger des Outputs]
---
## 2. Trigger & Zeitplan
| Eigenschaft | Wert |
|---|---|
| Trigger-Typ | [Webhook / Schedule / Manual / Event] |
| Zeitplan | [z.B. Jeden Montag 9:00 / Echtzeit / Bei Bedarf] |
| Zeitzone | [z.B. Europe/Berlin] |
| Erwartetes Volumen | [z.B. 10-50 Ausfuehrungen pro Tag] |
---
## 3. Datenfluss
### Input
- **Quelle:** [Service/API/Webhook]
- **Format:** [JSON / Form Data / CSV / etc.]
- **Beispiel-Payload:**
```json
{
"beispiel": "daten"
}
| Service | Zweck | Credential-Typ | Status | |---|---|---|---| | [z.B. YouTube] | [Videos abrufen] | [OAuth2] | [Vorhanden / Fehlt] | | [z.B. Anthropic] | [AI-Verarbeitung] | [API Key] | [Vorhanden / Fehlt] | | [z.B. Gmail] | [E-Mail senden] | [OAuth2] | [Vorhanden / Fehlt] |
| # | Node-Name | Node-Typ | Funktion | |---|---|---|---| | 1 | [Name] | [n8n-nodes-base.xyz] | [Was macht der Node] | | 2 | [Name] | [n8n-nodes-base.xyz] | [Was macht der Node] | | ... | ... | ... | ... |
[Trigger] -> [Node 2] -> [Node 3] -> ... -> [Output]
|
v
[Error Branch]
| Fehlertyp | Reaktion | |---|---| | API nicht erreichbar | [z.B. Retry 3x, dann Benachrichtigung] | | Leere Daten | [z.B. Info-Mail senden, Workflow beenden] | | Rate Limit erreicht | [z.B. Warten und erneut versuchen] | | Ungueltige Eingabe | [z.B. Validierung, Fehlermeldung] |
onError: "continueRegularOutput" statt deprecated continueOnFail: true
---
## Guidelines for the Agent
### DO:
- Ask ALL clarifying questions before generating the PRD
- Use the n8n-mcp `search_nodes` tool to validate node suggestions
- Include specific n8n node types in the architecture section
- Flag known n8n pitfalls (data structure, expressions, aggregation)
- Save the PRD as a file in the project directory
- Number the workflow steps clearly
### DON'T:
- Skip the clarifying questions phase
- Assume services or credentials - always ask
- Generate vague requirements ("handle errors somehow")
- Include implementation details like exact expressions or code
- Create the workflow - this PRD is INPUT for the build phase
### Quality Checklist (verify before delivering):
- [ ] Every service has a credential status (Vorhanden/Fehlt)
- [ ] Error handling is specified for each external API call
- [ ] Aggregation needs are explicitly stated
- [ ] Data flow is clear: what comes in, what goes out
- [ ] At least 3 acceptance criteria are defined
- [ ] Known n8n pitfalls are documented in Section 7
---
## Integration with Other Skills
### Build Phase (after PRD is approved):
Once the user approves the PRD, they can use the n8n-mcp tools to build:
1. `search_nodes` - Find the right nodes
2. `get_node` - Check node configuration
3. `n8n_create_workflow` - Build the workflow
4. `n8n_validate_workflow` - Validate
5. `n8n_autofix_workflow` - Auto-fix issues
6. `n8n_executions` - Debug runs
### Related Skills:
- **n8n-workflow-patterns** - Architectural patterns for the workflow design
- **n8n-node-configuration** - Detailed node setup guidance
- **n8n-expression-syntax** - Expression rules for n8n
- **n8n-validation-expert** - Validation and debugging
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.