--- name: ecommerce-store-foundation description: 'Create a new ecommerce project with FastAPI, React, Next.js, PostgreSQL, storefront, admin panel, back office, and AGENTS.md. Use for greenfield online stores in monorepos or split repos.' argument-hint: 'Describe the store, repo mode, design direction, and must-have features' --- # Ecommerce Store Foundation ## When to use - Building a new online store from scratch. - Scaffolding a new FastAPI and React commerce stack. - Setting up storefront plus admin panel or back office. - Creating AGENTS.md before implementation. ## Procedure 1. Run the discovery questions from [discovery checklist](./assets/discovery-checklist.md). 2. Decide whether the target is a monorepo or split repos. 3. Create AGENTS.md first using the matching template. 4. Define entities, flows, roles, and integrations. 5. Scaffold backend, then storefront, then admin. 6. Finish with responsive polish, motion, content plan, and image prompt support. ## Templates - Monorepo: [monorepo AGENTS template](./assets/monorepo-agents-template.md) - Split frontend repo: [split frontend AGENTS template](./assets/split-frontend-agents-template.md) - Split backend repo: [split backend AGENTS template](./assets/split-backend-agents-template.md) - Image prompts: [image prompt template](./assets/image-prompt-template.md)