brainstorming
Structured design dialogue that validates ideas before implementation begins.
A practical framework to map change dependencies and blast radius, including who/what is affected, what to test, rollout/rollback strategies, and stakeholder ownership
Full skill instructions
Documentation ที่แสดงว่า "แก้ A กระทบ B/C อะไรบ้าง" - dependency relationships ระหว่าง components ที่ช่วยให้ประเมิน impact ของ changes ได้ก่อน implement
# IMPACT_MAP.md
> Last updated: 2024-01-15
## High-Level Dependencies
```
┌─────────────────────────────────────────────────────┐
│ Frontend │
│ (React App, Mobile App) │
└─────────────────────┬───────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ API Gateway │
│ (Auth, Rate Limiting, Routing) │
└──────┬─────────────┬─────────────┬──────────────────┘
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ User │ │ Order │ │ Payment │
│ Service │ │ Service │ │ Service │
└────┬─────┘ └────┬─────┘ └────┬─────┘
│ │ │
└──────────────┼──────────────┘
▼
┌──────────────────┐
│ PostgreSQL │
│ Redis Cache │
└──────────────────┘
```
## Component Impact Matrix
| If you change... | Direct Impact | Indirect Impact | Must Test |
|------------------|---------------|-----------------|-----------|
| User Service | Auth flow | All services (auth tokens) | Login, Registration, All API calls |
| Order Service | Order creation | Payment processing, Notifications | Create order, Payment flow |
| Payment Service | Checkout | Order completion, Receipts | Full checkout flow |
| Database Schema | All services | N/A | All integration tests |
| API Gateway Config | All routes | Frontend apps | Smoke tests |
## Critical Path Analysis
### 🔴 Critical (P0 Impact)
Changes here can cause total outage:
- `src/infrastructure/db/connection.ts` - Database connection
- `src/middleware/auth.ts` - Authentication
- `src/api/gateway/routes.ts` - API routing
- `config/production.ts` - Production config
**Required**: Full test suite, staged rollout, immediate rollback plan
### 🟠 High Impact (P1)
Changes here affect major features:
- `src/domain/users/` - User management
- `src/domain/orders/` - Order processing
- `src/domain/payments/` - Payment handling
**Required**: Integration tests, canary deployment
### 🟡 Medium Impact (P2)
Changes here affect specific features:
- `src/domain/notifications/` - Email/SMS
- `src/domain/reports/` - Reporting
- `src/api/admin/` - Admin functions
**Required**: Unit tests, feature flag
### 🟢 Low Impact (P3)
Changes here are isolated:
- `src/shared/utils/` - Utility functions
- `src/shared/constants/` - Constants
- Documentation files
**Required**: Unit tests
## Dependency Chains
### User Authentication
```
Change: src/domain/users/auth/
Impact chain:
1. User Service (login/logout)
↓
2. API Gateway (token validation)
↓
3. All Services (auth middleware)
↓
4. Frontend (auth state)
↓
5. Mobile App (auth state)
```
### Database Schema
```
Change: prisma/schema.prisma
Impact chain:
1. Database migration required
↓
2. All repositories using changed tables
↓
3. All services using those repositories
↓
4. API responses may change
↓
5. Frontend/Mobile display
```
### Shared Types
```
Change: src/shared/types/user.ts
Impact chain:
1. All files importing User type
↓
2. API request/response shapes
↓
3. Frontend type definitions
↓
4. Test mocks and fixtures
```
## Team Ownership
| Component | Owner | Reviewer |
|-----------|-------|----------|
| User Service | @auth-team | @security-team |
| Order Service | @commerce-team | @backend-lead |
| Payment Service | @payments-team | @security-team, @finance |
| Infrastructure | @platform-team | @sre |
| Database | @data-team | @backend-lead |
| Frontend | @frontend-team | @ux-team |
## Change Checklist by Scope
### Small Change (Single file, isolated)
- [ ] Unit tests pass
- [ ] Code review by 1 person
- [ ] Deploy to staging
- [ ] Quick smoke test
### Medium Change (Multiple files, one service)
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Code review by 2 people
- [ ] Deploy to staging
- [ ] Full feature test
- [ ] Monitor for 30 min
### Large Change (Multiple services, schema change)
- [ ] All tests pass
- [ ] Security review (if auth/data)
- [ ] Code review by team lead
- [ ] Database migration reviewed
- [ ] Feature flag ready
- [ ] Rollback plan documented
- [ ] Canary deployment
- [ ] Monitor for 24 hours
```
## Impact Assessment Questions
```markdown
Before making a change, answer:
1. **What depends on this?**
- Which files import this?
- Which services call this?
- Which tests cover this?
2. **What does this depend on?**
- External APIs?
- Database tables?
- Configuration?
3. **Who needs to know?**
- Which teams?
- Which stakeholders?
- Which customers?
4. **What could go wrong?**
- Failure modes?
- Edge cases?
- Data corruption?
5. **How do we verify success?**
- Tests to run?
- Metrics to watch?
- Manual checks?
```
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs