| name | agent-run |
| description | Build and run the agent pipeline, or run a specific agent stage |
| argument-hint | [{"stage":"all|analyze|generate|assets|qa"}] |
| allowed-tools | Read, Bash, Glob, Grep |
Run Agent Pipeline
Build and execute the AI WordPress Builder agent pipeline.
Input
Stage: ${ARGUMENTS[0]:-all}
Steps
-
Check prerequisites:
ANTHROPIC_API_KEY is set
npm install has been run (check node_modules/)
- TypeScript compiles cleanly:
npm run typecheck
-
Build: npm run build
-
Run the specified stage:
all — Full pipeline: analyze → generate → assets → qa
analyze — Figma analysis only
generate — Theme generation only
assets — Asset processing only
qa — Quality assurance validation only
Execute: node dist/index.js --stage $ARGUMENTS[0]
-
Report results:
- Show agent output summary
- Report cost and token usage
- List generated/modified files
- Flag any errors or warnings