Feature Development Pipeline — from idea to implementation with design review
Detect stack from files (package.json, *.csproj, pom.xml, etc.). Always ask the user for project paths: backend, frontend, database. Build a Stack Profile that all agents will use.
Read project structure, routing, components, API endpoints, database models, middleware, and CSS design system. Adapt reads to the detected stack.
Summary, scope, backend changes (endpoints, DB schema), API contract (method, path, request/response shapes), UI changes (pages, components, routes), dependencies, risks.
Present the full plan. User can approve, request changes (iterate), or reject (restart). No code is written until the user approves.
Probe localhost ports (3000, 5173, 4200). If running, capture BEFORE screenshots with Playwright: login page, dashboard, relevant views. If not running, proceed anyway.
Call mcp__paper__get_basic_info. If Paper is connected, proceed with visual design. If not, fall back to text-based wireframes.
Reads feature plan + existing code patterns + screenshots. Creates artboards in Paper for each new/modified view. Matches existing design language. Documents component hierarchy, interaction flows, integration points, and CSS approach.
User opens Paper to review mockups. Three options: Accept (proceed to implementation), Change (re-launch designer with feedback, loop), or Reject (start over with new direction). No code is written until designs are approved.
Both agents launch in parallel
Frontend agent only
Backend agent only
Reads feature plan + UI design spec. Creates components, pages, hooks. Updates routing + navigation. Follows API contract exactly. Uses existing styling patterns.
Reads feature plan. Creates route files, registers endpoints, modifies DB schema. Uses parameterized SQL. Adds auth middleware. Returns proper status codes.
Reviews ONLY the git diff. Checks for SQL injection, XSS, command injection, hardcoded secrets, null refs, race conditions, missing auth. Auto-fixes critical issues. Reports warnings and info items.
Reads all reports: feature plan, UI design, frontend implementation, backend implementation, code analysis. Generates a professional HTML report with 8 sections: dashboard, plan, design, frontend, backend, integration map, testing checklist, footer.
Ask the user: "Would you like to run the full testing pipeline (security audit, code quality, unit tests, E2E tests)?" If yes, hand off to /full-pipeline.
Planned, designed, reviewed, implemented, code-reviewed, documented.