Skip to content

Project type playbooks

Best for: Online stores with catalog, cart, checkout, and payment flows.

Typical spec partition:

Spec Focus area
001-catalog Product listing, categories, search, filters
002-cart Shopping cart, quantity management, persistence
003-checkout Order creation, address, shipping options
004-payment Payment gateway integration, confirmation
005-orders Order history, tracking, status updates

Key considerations: Inventory management strategy, payment provider fallbacks, guest vs. authenticated checkout.


Best for: iOS/Android apps with navigation, offline behavior, and data sync.

Typical spec partition:

Spec Focus area
001-navigation Screen flow, tab structure, deep linking
002-auth Login, biometrics, token refresh
003-data-sync Offline storage, conflict resolution, background sync
004-notifications Push notifications, in-app alerts
005-core-feature The main feature of your specific app

Key considerations: Offline-first vs. online-first strategy, platform-specific behaviors, app store requirements.


⚙️ Backend API (playbooks/backend-api/)

Section titled “⚙️ Backend API (playbooks/backend-api/)”

Best for: REST or GraphQL APIs serving frontends, mobile apps, or third parties.

Typical spec partition:

Spec Focus area
001-data-model Database schema, relationships, migrations
002-endpoints Route design, input validation, response format
003-auth-security Authentication, authorization, rate limiting
004-integration Third-party API connections, webhooks
005-observability Logging, monitoring, error tracking, health checks

Key considerations: API versioning strategy, authentication mechanism (JWT vs. OAuth2 vs. API keys), error response standardization.


Using https://github.com/juanklagos/spec-driven-development-template and the [PACK_NAME] playbook,
help me set up a new project for [MY GOAL].
Use the playbook's typical spec partition as a starting point.
Propose initial idea framing and spec structure adapted to my specific needs.
Do not implement code until we agree on the spec partition.
  1. Copy the playbook’s suggested spec structure into your specs/ folder
  2. Fill idea/IDEA_GENERAL.md using the playbook’s focus areas as a guide
  3. Create each spec folder using ./scripts/new-spec.sh "feature-name" "Owner"
  4. Customize requirements and acceptance criteria for your specific case

If your project type isn’t covered, create a new playbook:

  1. Create playbooks/your-type/README.md
  2. Define: typical spec partition, key considerations, domain-specific prompts
  3. Include at least 5 suggested specs with focus areas
  4. Add a recommended AI prompt for initialization
  • Start from a simple one-paragraph project description.
  • Ask the AI to confirm the active spec before coding.
  • Close every session with validation and a clear next step.
flowchart LR
A["Project idea"] --> B["Spec approved"]
B --> C["Plan aligned"]
C --> D["Tasks prioritized"]
D --> E["Implementation"]
E --> F["Validation + Logbook"]