- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24) - apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004) - apps/web: React 19 + Vite 8 (ESM) - libs/shared/api-interface: Zod contract base - Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit - WDS artifacts: - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs) - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact) - Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md - AGENTS.md + README.md como entrada para devs/agentes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.1 KiB
2.1 KiB
name, description, borrows_from
| name | description | borrows_from |
|---|---|---|
| scope-improvement | Create a focused scenario for a specific product improvement | Phase 3 (scenarios) |
Scope Improvement
Goal: Turn an improvement target into a concrete scenario — one focused change with clear before/after.
INITIALIZATION
Design Log
Read {output_folder}/_progress/00-design-log.md. Check Current and Backlog for context.
Steps
Step 1: Load Analysis
Read the analysis from [A] Analyze Product:
- Product snapshot
- Selected improvement target
- Context and rationale
Step 2: Define the Change
Scope the improvement as a mini-scenario:
- Which view/page needs changing? (Be specific — one page, one flow section)
- Current state — What does the user see today? What's wrong?
- Desired state — What should the user experience after the change?
- Success criteria — How do we know it worked? (measurable if possible)
Step 3: Map the User Journey
For the selected view, map the micro-journey:
- Entry point — How does the user arrive at this view?
- Current flow — What happens step by step today?
- Pain points — Where exactly does the experience break down?
- Proposed flow — What should happen step by step after the change?
Step 4: Estimate Scope
Assess the change:
- Pages affected: List specific pages/views
- Components touched: Which UI elements change?
- Data changes: Any API or data model changes?
- Risk level: Low (visual only) / Medium (behavior change) / High (structural change)
Step 5: Write Scenario
Create a scenario document at {output_folder}/evolution/scenarios/:
# [Scenario Name]
## Target
[What we're improving and why]
## Current State
[What users experience today]
## Desired State
[What users should experience after]
## User Journey
[Step-by-step flow]
## Success Criteria
[How we measure success]
## Scope
[Pages, components, risk level]
Present for user approval.
AFTER COMPLETION
- Update design log
- Suggest next action
- Return to activity menu