Loading...
Loading...
Spec-driven development framework for ecommerce features. Orchestrates from intent to implementation via structured specs and task breakdown. Triggers on "/spec.plan", "/spec.refine", "/spec.clarify", "/spec.tasks", "/spec.run", "I want to build", "I want to add", "create spec", "feature spec", "new feature", "implement feature".
npx skill4agent add lorenzogirardi/ai-ecom-demo spec-driven-dev| Command | Purpose |
|---|---|
| Create spec from feature description |
| Improve spec with research |
| Answer clarification questions |
| Break spec into executable tasks |
| Execute tasks with TDD |
/spec.plan/spec.plan <description>specs/specs/{feature-slug}.mdCreated: specs/feature-name.md (DRAFT)
Questions requiring clarification:
1. [Question about scope]
2. [Question about behavior]
Use /spec.clarify to answer./spec.refine/spec.refine [section]/spec.clarify/spec.clarify <response>User: /spec.clarify Q1: OAuth2 with Google only. Q2: Admin can also delete.
Updated specs/auth-system.md:
- Added OAuth2/Google to Technical Strategy
- Updated permissions
Remaining questions: None
Spec ready. Use /spec.tasks/spec.tasks/spec.tasks/spec.run/spec.run/spec.run [task#]specs/{feature}.tasks.md/typescriptspecs/
├── README.md # Project config
├── user-wishlist.md # Spec (APPROVED)
├── user-wishlist.tasks.md # Task breakdown
├── payment-stripe.md # Spec (DRAFT)
└── ...DRAFT -> APPROVED -> IN_PROGRESS -> COMPLETED
| |
v v
(questions?) (blocked?)
| |
v v
DRAFT IN_PROGRESS| Module | Files | Considerations |
|---|---|---|
| Auth | | JWT, sessions, rate limits |
| Catalog | | Redis caching |
| Cart | Frontend hooks + Backend | Session persistence |
| Orders | | Transactions |
| Checkout | | Payment flow |
references/templates.mdspecs/IN_PROGRESS.tasks.md