nw-ab-critique-dimensi…
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Enhanced Mikado Method for complex architectural refactoring - systematic dependency discovery, tree-based planning, and bottom-up execution
$ npx -y skills add nWave-ai/nWave --skill nw-mikado-method --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nw-mikado-methodContext preview
The summary Claude sees to decide when to auto-load this skill.
Enhanced Mikado Method for complex architectural refactoring - systematic dependency discovery, tree-based planning, and bottom-up execution
name: nw-mikado-method description: Enhanced Mikado Method for complex architectural refactoring - systematic dependency discovery, tree-based planning, and bottom-up execution user-invocable: false disable-model-invocation: true
Use for complex refactoring where direct implementation causes cascading failures across multiple classes/modules.
Cycle: Set Goal > Experiment > Visualize prerequisites > Revert to working state.
Treat compilation/test failures as valuable information -- each failure reveals a prerequisite node in the dependency graph. Revert keeps codebase shippable at all times.
Commit immediately after each dependency discovery to preserve exploration history and enable interrupt/resume.
Sequence: EXPERIMENT > LEARN > GRAPH > COMMIT GRAPH > REVERT
1. **Experiment**: Attempt naive implementation of stated goal 2. **Learn**: Capture ALL compilation and test failures immediately 3. **Graph**: Create concrete prerequisite nodes with exact specifications 4. **Commit Graph**: Commit discovery with mandatory format 5. **Revert**: Revert ALL code changes to maintain clean state
Nodes require method-level specificity:
1. Root goal at 0 indentation 2. Direct dependencies at 4-space indentation 3. Sub-dependencies at 8-space, continuing per level 4. Child nodes must complete before parent nodes 5. Nodes at same indentation level are independent (parallelizable)
1. Attempt naive implementation of refactoring goal 2. Capture compilation/test failures with full details 3. Create concrete prerequisite nodes with method-level specificity 4. Add dependencies to tree file with proper indentation nesting 5. Commit tree discovery only (specific format) 6. Revert code changes completely except tree file 7. Repeat until no new dependencies discovered
1. Identify deepest indentation level with incomplete nodes 2. Select only true leaves (most nested, zero prerequisites) 3. Execute one leaf at a time for safety 4. Complete all nodes at current level before moving up 5. Never attempt parent node until all children complete 6. Implement minimal possible change per leaf 7. Validate with full test execution 8. Commit implementation, update tree marking node complete 9. Proceed bottom-up to next true leaf
- [ ] Goal: Replace direct DB calls in OrderController with repository pattern
- [ ] Update OrderController constructor to use IOrderRepository
- [ ] Implement SqlOrderRepository : IOrderRepository
- [ ] Create IOrderRepository interface
- [ ] Define GetOrderById(int orderId) -> Order? method signature
- [ ] Define SaveOrder(Order order) -> Task method signature
- [ ] Add constructor SqlOrderRepository(IDbContext context)
- [ ] Verify IDbContext is registered in DI container
- [ ] Implement GetOrderById method
- [ ] Handle null order case with OrderNotFoundException
- [x] Create OrderNotFoundException class
- [ ] Register IOrderRepository in DI container
- [ ] Remove IDbContext _context field from OrderControllerExecution order: deepest leaves first, working up level by level.
10-minute timebox per attempt. If change can't be made in 10 min, it's too complex -- break down further.
Convert technical goals to stakeholder-understandable business value:
AI agents that guide you from idea to working code, with human judgment at every gate. nWave runs inside Claude Code. It breaks feature delivery into seven waves (discover, diverge, discuss, design, devops, distill, deliver).
Repo: nWave-ai/nWave
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton…
Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement
5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance
Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating…