N8n Architect
Use when the user explicitly wants to create, edit, validate, sync, or troubleshoot n8n...
Install
npx skills add EtienneLescot/n8n-as-code --skill n8n-architect -g -a claude-code -y- Repository
- EtienneLescot/n8n-as-code1.6k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Use when the user explicitly wants to create, edit, validate, sync, or troubleshoot n8n workflows, asks about n8n nodes or automation, or wants to use n8n-as-code in the current context root.
n8n Architect
Use this skill for all n8n-as-code work: workspace readiness, environments, managed local instances, tunnels, workflow authoring, validation, sync, push, and pull.
Use {{N8NAC_CMD}} as the primary interface. Use {{N8N_MANAGER_CMD}} only for local managed runtime lifecycle, tunnels, and workflow presentation commands that are explicitly exposed by n8n-manager.
Context Root Protocol
- Treat the current context root as the directory containing
n8nac-config.json,AGENTS.md,.agents/skills, and the configuredworkflowsPath. - {{N8NAC_CONTEXT_ROOT_HINT}}
- Before any n8n work, first run
{{N8NAC_CMD}} update-aifrom the context root, then readAGENTS.md.update-aiis designed to create or refresh the n8n-as-code block without destroying existing user or agent instructions. - Use the exact
n8nac commandandn8n-manager commandlisted inAGENTS.md. Those context-root commands override the portable examples in this skill. - Run every
{{N8NAC_CMD}} env ...,{{N8NAC_CMD}} workspace ...,{{N8NAC_CMD}} list,pull,push,validate,test, andupdate-aicommand from the context root unless the user explicitly gives another context root. AGENTS.mdis bootstrap context only, not a source of configuration truth.- Do not infer environment, project, or
workflowsPathfromAGENTS.md. - Before n8n work, resolve the effective context from the backend:
{{N8NAC_CMD}} env status --json
- Use the returned
workflowsPathfor workflow files. It is the configured workflow directory for the active environment. - Do not reconstruct
workflowsPathfrom environment name/id,instanceIdentifier,instanceUserIdentifier,projectId,projectName, or legacy sync fields. - Never write
n8nac-config.json,~/.n8n-manager, or n8n-manager secret files by hand.
Workspace Readiness
Resolve the effective environment through the backend before workflow work:
{{N8NAC_CMD}} env status --json
