specweave 0.3.13 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +17 -1
- package/README.md +1 -1
- package/bin/install-all.sh +9 -2
- package/bin/install-hooks.sh +57 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +55 -0
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/core/agent-model-manager.d.ts +52 -0
- package/dist/core/agent-model-manager.d.ts.map +1 -0
- package/dist/core/agent-model-manager.js +120 -0
- package/dist/core/agent-model-manager.js.map +1 -0
- package/dist/core/cost-tracker.d.ts +108 -0
- package/dist/core/cost-tracker.d.ts.map +1 -0
- package/dist/core/cost-tracker.js +281 -0
- package/dist/core/cost-tracker.js.map +1 -0
- package/dist/core/model-selector.d.ts +57 -0
- package/dist/core/model-selector.d.ts.map +1 -0
- package/dist/core/model-selector.js +115 -0
- package/dist/core/model-selector.js.map +1 -0
- package/dist/core/phase-detector.d.ts +62 -0
- package/dist/core/phase-detector.d.ts.map +1 -0
- package/dist/core/phase-detector.js +229 -0
- package/dist/core/phase-detector.js.map +1 -0
- package/dist/types/cost-tracking.d.ts +43 -0
- package/dist/types/cost-tracking.d.ts.map +1 -0
- package/dist/types/cost-tracking.js +8 -0
- package/dist/types/cost-tracking.js.map +1 -0
- package/dist/types/model-selection.d.ts +53 -0
- package/dist/types/model-selection.d.ts.map +1 -0
- package/dist/types/model-selection.js +12 -0
- package/dist/types/model-selection.js.map +1 -0
- package/dist/utils/cost-reporter.d.ts +58 -0
- package/dist/utils/cost-reporter.d.ts.map +1 -0
- package/dist/utils/cost-reporter.js +224 -0
- package/dist/utils/cost-reporter.js.map +1 -0
- package/dist/utils/pricing-constants.d.ts +70 -0
- package/dist/utils/pricing-constants.d.ts.map +1 -0
- package/dist/utils/pricing-constants.js +71 -0
- package/dist/utils/pricing-constants.js.map +1 -0
- package/package.json +1 -1
- package/src/agents/architect/AGENT.md +3 -0
- package/src/agents/code-reviewer.md +156 -0
- package/src/agents/data-scientist/AGENT.md +181 -0
- package/src/agents/database-optimizer/AGENT.md +147 -0
- package/src/agents/devops/AGENT.md +3 -0
- package/src/agents/diagrams-architect/AGENT.md +3 -0
- package/src/agents/docs-writer/AGENT.md +3 -0
- package/src/agents/kubernetes-architect/AGENT.md +142 -0
- package/src/agents/ml-engineer/AGENT.md +150 -0
- package/src/agents/mlops-engineer/AGENT.md +201 -0
- package/src/agents/network-engineer/AGENT.md +149 -0
- package/src/agents/observability-engineer/AGENT.md +213 -0
- package/src/agents/payment-integration/AGENT.md +35 -0
- package/src/agents/performance/AGENT.md +3 -0
- package/src/agents/performance-engineer/AGENT.md +153 -0
- package/src/agents/pm/AGENT.md +3 -0
- package/src/agents/qa-lead/AGENT.md +3 -0
- package/src/agents/security/AGENT.md +3 -0
- package/src/agents/sre/AGENT.md +3 -0
- package/src/agents/tdd-orchestrator/AGENT.md +169 -0
- package/src/agents/tech-lead/AGENT.md +3 -0
- package/src/commands/specweave.costs.md +261 -0
- package/src/commands/specweave.ml-pipeline.md +292 -0
- package/src/commands/specweave.monitor-setup.md +501 -0
- package/src/commands/specweave.slo-implement.md +1055 -0
- package/src/commands/specweave.sync-github.md +1 -1
- package/src/commands/specweave.tdd-cycle.md +199 -0
- package/src/commands/specweave.tdd-green.md +842 -0
- package/src/commands/specweave.tdd-red.md +135 -0
- package/src/commands/specweave.tdd-refactor.md +165 -0
- package/src/skills/SKILLS-INDEX.md +18 -10
- package/src/skills/billing-automation/SKILL.md +559 -0
- package/src/skills/distributed-tracing/SKILL.md +438 -0
- package/src/skills/e2e-playwright/README.md +1 -1
- package/src/skills/e2e-playwright/package.json +1 -1
- package/src/skills/gitops-workflow/SKILL.md +285 -0
- package/src/skills/gitops-workflow/references/argocd-setup.md +134 -0
- package/src/skills/gitops-workflow/references/sync-policies.md +131 -0
- package/src/skills/grafana-dashboards/SKILL.md +369 -0
- package/src/skills/helm-chart-scaffolding/SKILL.md +544 -0
- package/src/skills/helm-chart-scaffolding/assets/Chart.yaml.template +42 -0
- package/src/skills/helm-chart-scaffolding/assets/values.yaml.template +185 -0
- package/src/skills/helm-chart-scaffolding/references/chart-structure.md +500 -0
- package/src/skills/helm-chart-scaffolding/scripts/validate-chart.sh +244 -0
- package/src/skills/k8s-manifest-generator/SKILL.md +511 -0
- package/src/skills/k8s-manifest-generator/assets/configmap-template.yaml +296 -0
- package/src/skills/k8s-manifest-generator/assets/deployment-template.yaml +203 -0
- package/src/skills/k8s-manifest-generator/assets/service-template.yaml +171 -0
- package/src/skills/k8s-manifest-generator/references/deployment-spec.md +753 -0
- package/src/skills/k8s-manifest-generator/references/service-spec.md +724 -0
- package/src/skills/k8s-security-policies/SKILL.md +334 -0
- package/src/skills/k8s-security-policies/assets/network-policy-template.yaml +177 -0
- package/src/skills/k8s-security-policies/references/rbac-patterns.md +187 -0
- package/src/skills/ml-pipeline-workflow/SKILL.md +245 -0
- package/src/skills/paypal-integration/SKILL.md +467 -0
- package/src/skills/pci-compliance/SKILL.md +466 -0
- package/src/skills/prometheus-configuration/SKILL.md +392 -0
- package/src/skills/slo-implementation/SKILL.md +329 -0
- package/src/skills/stripe-integration/SKILL.md +442 -0
- package/src/skills/tdd-workflow/SKILL.md +378 -0
- package/src/templates/README.md.template +1 -1
- package/src/skills/bmad-method-expert/SKILL.md +0 -626
- package/src/skills/bmad-method-expert/scripts/analyze-project.js +0 -318
- package/src/skills/bmad-method-expert/scripts/check-setup.js +0 -208
- package/src/skills/bmad-method-expert/scripts/generate-template.js +0 -1149
- package/src/skills/bmad-method-expert/scripts/validate-documents.js +0 -340
- package/src/skills/context-optimizer/SKILL.md +0 -588
- package/src/skills/figma-designer/SKILL.md +0 -149
- package/src/skills/figma-implementer/SKILL.md +0 -148
- package/src/skills/figma-mcp-connector/SKILL.md +0 -136
- package/src/skills/figma-to-code/SKILL.md +0 -128
- package/src/skills/spec-kit-expert/SKILL.md +0 -1010
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
Write comprehensive failing tests following TDD red phase principles.
|
|
2
|
+
|
|
3
|
+
[Extended thinking: Generates failing tests that properly define expected behavior using test-automator agent.]
|
|
4
|
+
|
|
5
|
+
## Role
|
|
6
|
+
|
|
7
|
+
Generate failing tests using Task tool with subagent_type="unit-testing::test-automator".
|
|
8
|
+
|
|
9
|
+
## Prompt Template
|
|
10
|
+
|
|
11
|
+
"Generate comprehensive FAILING tests for: $ARGUMENTS
|
|
12
|
+
|
|
13
|
+
## Core Requirements
|
|
14
|
+
|
|
15
|
+
1. **Test Structure**
|
|
16
|
+
- Framework-appropriate setup (Jest/pytest/JUnit/Go/RSpec)
|
|
17
|
+
- Arrange-Act-Assert pattern
|
|
18
|
+
- should_X_when_Y naming convention
|
|
19
|
+
- Isolated fixtures with no interdependencies
|
|
20
|
+
|
|
21
|
+
2. **Behavior Coverage**
|
|
22
|
+
- Happy path scenarios
|
|
23
|
+
- Edge cases (empty, null, boundary values)
|
|
24
|
+
- Error handling and exceptions
|
|
25
|
+
- Concurrent access (if applicable)
|
|
26
|
+
|
|
27
|
+
3. **Failure Verification**
|
|
28
|
+
- Tests MUST fail when run
|
|
29
|
+
- Failures for RIGHT reasons (not syntax/import errors)
|
|
30
|
+
- Meaningful diagnostic error messages
|
|
31
|
+
- No cascading failures
|
|
32
|
+
|
|
33
|
+
4. **Test Categories**
|
|
34
|
+
- Unit: Isolated component behavior
|
|
35
|
+
- Integration: Component interaction
|
|
36
|
+
- Contract: API/interface contracts
|
|
37
|
+
- Property: Mathematical invariants
|
|
38
|
+
|
|
39
|
+
## Framework Patterns
|
|
40
|
+
|
|
41
|
+
**JavaScript/TypeScript (Jest/Vitest)**
|
|
42
|
+
- Mock dependencies with `vi.fn()` or `jest.fn()`
|
|
43
|
+
- Use `@testing-library` for React components
|
|
44
|
+
- Property tests with `fast-check`
|
|
45
|
+
|
|
46
|
+
**Python (pytest)**
|
|
47
|
+
- Fixtures with appropriate scopes
|
|
48
|
+
- Parametrize for multiple test cases
|
|
49
|
+
- Hypothesis for property-based tests
|
|
50
|
+
|
|
51
|
+
**Go**
|
|
52
|
+
- Table-driven tests with subtests
|
|
53
|
+
- `t.Parallel()` for parallel execution
|
|
54
|
+
- Use `testify/assert` for cleaner assertions
|
|
55
|
+
|
|
56
|
+
**Ruby (RSpec)**
|
|
57
|
+
- `let` for lazy loading, `let!` for eager
|
|
58
|
+
- Contexts for different scenarios
|
|
59
|
+
- Shared examples for common behavior
|
|
60
|
+
|
|
61
|
+
## Quality Checklist
|
|
62
|
+
|
|
63
|
+
- Readable test names documenting intent
|
|
64
|
+
- One behavior per test
|
|
65
|
+
- No implementation leakage
|
|
66
|
+
- Meaningful test data (not 'foo'/'bar')
|
|
67
|
+
- Tests serve as living documentation
|
|
68
|
+
|
|
69
|
+
## Anti-Patterns to Avoid
|
|
70
|
+
|
|
71
|
+
- Tests passing immediately
|
|
72
|
+
- Testing implementation vs behavior
|
|
73
|
+
- Complex setup code
|
|
74
|
+
- Multiple responsibilities per test
|
|
75
|
+
- Brittle tests tied to specifics
|
|
76
|
+
|
|
77
|
+
## Edge Case Categories
|
|
78
|
+
|
|
79
|
+
- **Null/Empty**: undefined, null, empty string/array/object
|
|
80
|
+
- **Boundaries**: min/max values, single element, capacity limits
|
|
81
|
+
- **Special Cases**: Unicode, whitespace, special characters
|
|
82
|
+
- **State**: Invalid transitions, concurrent modifications
|
|
83
|
+
- **Errors**: Network failures, timeouts, permissions
|
|
84
|
+
|
|
85
|
+
## Output Requirements
|
|
86
|
+
|
|
87
|
+
- Complete test files with imports
|
|
88
|
+
- Documentation of test purpose
|
|
89
|
+
- Commands to run and verify failures
|
|
90
|
+
- Metrics: test count, coverage areas
|
|
91
|
+
- Next steps for green phase"
|
|
92
|
+
|
|
93
|
+
## Validation
|
|
94
|
+
|
|
95
|
+
After generation:
|
|
96
|
+
1. Run tests - confirm they fail
|
|
97
|
+
2. Verify helpful failure messages
|
|
98
|
+
3. Check test independence
|
|
99
|
+
4. Ensure comprehensive coverage
|
|
100
|
+
|
|
101
|
+
## Example (Minimal)
|
|
102
|
+
|
|
103
|
+
```typescript
|
|
104
|
+
// auth.service.test.ts
|
|
105
|
+
describe('AuthService', () => {
|
|
106
|
+
let authService: AuthService;
|
|
107
|
+
let mockUserRepo: jest.Mocked<UserRepository>;
|
|
108
|
+
|
|
109
|
+
beforeEach(() => {
|
|
110
|
+
mockUserRepo = { findByEmail: jest.fn() } as any;
|
|
111
|
+
authService = new AuthService(mockUserRepo);
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
it('should_return_token_when_valid_credentials', async () => {
|
|
115
|
+
const user = { id: '1', email: 'test@example.com', passwordHash: 'hashed' };
|
|
116
|
+
mockUserRepo.findByEmail.mockResolvedValue(user);
|
|
117
|
+
|
|
118
|
+
const result = await authService.authenticate('test@example.com', 'pass');
|
|
119
|
+
|
|
120
|
+
expect(result.success).toBe(true);
|
|
121
|
+
expect(result.token).toBeDefined();
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
it('should_fail_when_user_not_found', async () => {
|
|
125
|
+
mockUserRepo.findByEmail.mockResolvedValue(null);
|
|
126
|
+
|
|
127
|
+
const result = await authService.authenticate('none@example.com', 'pass');
|
|
128
|
+
|
|
129
|
+
expect(result.success).toBe(false);
|
|
130
|
+
expect(result.error).toBe('INVALID_CREDENTIALS');
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Test requirements: $ARGUMENTS
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
Refactor code with confidence using comprehensive test safety net:
|
|
2
|
+
|
|
3
|
+
[Extended thinking: This tool uses the tdd-orchestrator agent (opus model) for sophisticated refactoring while maintaining all tests green. It applies design patterns, improves code quality, and optimizes performance with the safety of comprehensive test coverage.]
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
Use Task tool with subagent_type="tdd-orchestrator" to perform safe refactoring.
|
|
8
|
+
|
|
9
|
+
Prompt: "Refactor this code while keeping all tests green: $ARGUMENTS. Apply TDD refactor phase:
|
|
10
|
+
|
|
11
|
+
## Core Process
|
|
12
|
+
|
|
13
|
+
**1. Pre-Assessment**
|
|
14
|
+
- Run tests to establish green baseline
|
|
15
|
+
- Analyze code smells and test coverage
|
|
16
|
+
- Document current performance metrics
|
|
17
|
+
- Create incremental refactoring plan
|
|
18
|
+
|
|
19
|
+
**2. Code Smell Detection**
|
|
20
|
+
- Duplicated code → Extract methods/classes
|
|
21
|
+
- Long methods → Decompose into focused functions
|
|
22
|
+
- Large classes → Split responsibilities
|
|
23
|
+
- Long parameter lists → Parameter objects
|
|
24
|
+
- Feature Envy → Move methods to appropriate classes
|
|
25
|
+
- Primitive Obsession → Value objects
|
|
26
|
+
- Switch statements → Polymorphism
|
|
27
|
+
- Dead code → Remove
|
|
28
|
+
|
|
29
|
+
**3. Design Patterns**
|
|
30
|
+
- Apply Creational (Factory, Builder, Singleton)
|
|
31
|
+
- Apply Structural (Adapter, Facade, Decorator)
|
|
32
|
+
- Apply Behavioral (Strategy, Observer, Command)
|
|
33
|
+
- Apply Domain (Repository, Service, Value Objects)
|
|
34
|
+
- Use patterns only where they add clear value
|
|
35
|
+
|
|
36
|
+
**4. SOLID Principles**
|
|
37
|
+
- Single Responsibility: One reason to change
|
|
38
|
+
- Open/Closed: Open for extension, closed for modification
|
|
39
|
+
- Liskov Substitution: Subtypes substitutable
|
|
40
|
+
- Interface Segregation: Small, focused interfaces
|
|
41
|
+
- Dependency Inversion: Depend on abstractions
|
|
42
|
+
|
|
43
|
+
**5. Refactoring Techniques**
|
|
44
|
+
- Extract Method/Variable/Interface
|
|
45
|
+
- Inline unnecessary indirection
|
|
46
|
+
- Rename for clarity
|
|
47
|
+
- Move Method/Field to appropriate classes
|
|
48
|
+
- Replace Magic Numbers with constants
|
|
49
|
+
- Encapsulate fields
|
|
50
|
+
- Replace Conditional with Polymorphism
|
|
51
|
+
- Introduce Null Object
|
|
52
|
+
|
|
53
|
+
**6. Performance Optimization**
|
|
54
|
+
- Profile to identify bottlenecks
|
|
55
|
+
- Optimize algorithms and data structures
|
|
56
|
+
- Implement caching where beneficial
|
|
57
|
+
- Reduce database queries (N+1 elimination)
|
|
58
|
+
- Lazy loading and pagination
|
|
59
|
+
- Always measure before and after
|
|
60
|
+
|
|
61
|
+
**7. Incremental Steps**
|
|
62
|
+
- Make small, atomic changes
|
|
63
|
+
- Run tests after each modification
|
|
64
|
+
- Commit after each successful refactoring
|
|
65
|
+
- Keep refactoring separate from behavior changes
|
|
66
|
+
- Use scaffolding when needed
|
|
67
|
+
|
|
68
|
+
**8. Architecture Evolution**
|
|
69
|
+
- Layer separation and dependency management
|
|
70
|
+
- Module boundaries and interface definition
|
|
71
|
+
- Event-driven patterns for decoupling
|
|
72
|
+
- Database access pattern optimization
|
|
73
|
+
|
|
74
|
+
**9. Safety Verification**
|
|
75
|
+
- Run full test suite after each change
|
|
76
|
+
- Performance regression testing
|
|
77
|
+
- Mutation testing for test effectiveness
|
|
78
|
+
- Rollback plan for major changes
|
|
79
|
+
|
|
80
|
+
**10. Advanced Patterns**
|
|
81
|
+
- Strangler Fig: Gradual legacy replacement
|
|
82
|
+
- Branch by Abstraction: Large-scale changes
|
|
83
|
+
- Parallel Change: Expand-contract pattern
|
|
84
|
+
- Mikado Method: Dependency graph navigation
|
|
85
|
+
|
|
86
|
+
## Output Requirements
|
|
87
|
+
|
|
88
|
+
- Refactored code with improvements applied
|
|
89
|
+
- Test results (all green)
|
|
90
|
+
- Before/after metrics comparison
|
|
91
|
+
- Applied refactoring techniques list
|
|
92
|
+
- Performance improvement measurements
|
|
93
|
+
- Remaining technical debt assessment
|
|
94
|
+
|
|
95
|
+
## Safety Checklist
|
|
96
|
+
|
|
97
|
+
Before committing:
|
|
98
|
+
- ✓ All tests pass (100% green)
|
|
99
|
+
- ✓ No functionality regression
|
|
100
|
+
- ✓ Performance metrics acceptable
|
|
101
|
+
- ✓ Code coverage maintained/improved
|
|
102
|
+
- ✓ Documentation updated
|
|
103
|
+
|
|
104
|
+
## Recovery Protocol
|
|
105
|
+
|
|
106
|
+
If tests fail:
|
|
107
|
+
- Immediately revert last change
|
|
108
|
+
- Identify breaking refactoring
|
|
109
|
+
- Apply smaller incremental changes
|
|
110
|
+
- Use version control for safe experimentation
|
|
111
|
+
|
|
112
|
+
## Example: Extract Method Pattern
|
|
113
|
+
|
|
114
|
+
**Before:**
|
|
115
|
+
```typescript
|
|
116
|
+
class OrderProcessor {
|
|
117
|
+
processOrder(order: Order): ProcessResult {
|
|
118
|
+
// Validation
|
|
119
|
+
if (!order.customerId || order.items.length === 0) {
|
|
120
|
+
return { success: false, error: "Invalid order" };
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// Calculate totals
|
|
124
|
+
let subtotal = 0;
|
|
125
|
+
for (const item of order.items) {
|
|
126
|
+
subtotal += item.price * item.quantity;
|
|
127
|
+
}
|
|
128
|
+
let total = subtotal + (subtotal * 0.08) + (subtotal > 100 ? 0 : 15);
|
|
129
|
+
|
|
130
|
+
// Process payment...
|
|
131
|
+
// Update inventory...
|
|
132
|
+
// Send confirmation...
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**After:**
|
|
138
|
+
```typescript
|
|
139
|
+
class OrderProcessor {
|
|
140
|
+
async processOrder(order: Order): Promise<ProcessResult> {
|
|
141
|
+
const validation = this.validateOrder(order);
|
|
142
|
+
if (!validation.isValid) return ProcessResult.failure(validation.error);
|
|
143
|
+
|
|
144
|
+
const orderTotal = OrderTotal.calculate(order);
|
|
145
|
+
const inventoryCheck = await this.inventoryService.checkAvailability(order.items);
|
|
146
|
+
if (!inventoryCheck.available) return ProcessResult.failure(inventoryCheck.reason);
|
|
147
|
+
|
|
148
|
+
await this.paymentService.processPayment(order.paymentMethod, orderTotal.total);
|
|
149
|
+
await this.inventoryService.reserveItems(order.items);
|
|
150
|
+
await this.notificationService.sendOrderConfirmation(order, orderTotal);
|
|
151
|
+
|
|
152
|
+
return ProcessResult.success(order.id, orderTotal.total);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
private validateOrder(order: Order): ValidationResult {
|
|
156
|
+
if (!order.customerId) return ValidationResult.invalid("Customer ID required");
|
|
157
|
+
if (order.items.length === 0) return ValidationResult.invalid("Order must contain items");
|
|
158
|
+
return ValidationResult.valid();
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**Applied:** Extract Method, Value Objects, Dependency Injection, Async patterns
|
|
164
|
+
|
|
165
|
+
Code to refactor: $ARGUMENTS"
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**Purpose**: Quick reference for all available skills. Read this file BEFORE starting any task.
|
|
4
4
|
|
|
5
|
-
**Last Updated**: 2025-10-
|
|
5
|
+
**Last Updated**: 2025-10-31T06:36:02.949Z (auto-generated, do not edit manually)
|
|
6
6
|
|
|
7
|
-
**Total Skills**:
|
|
7
|
+
**Total Skills**: 35
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -57,9 +57,9 @@ Step 4: Execute → Follow the increment planning workflow
|
|
|
57
57
|
|
|
58
58
|
#### increment-planner
|
|
59
59
|
|
|
60
|
-
**Description**: Creates comprehensive implementation plans for SpecWeave increments (aka features - both terms are interchangeable). This skill should be used when planning new increments/features, creating specifications, or organizing implementation work. Activates for: increment planning, feature planning, implementation plan, create increment, create feature, plan increment, plan feature, organize work, break down increment, break down feature.
|
|
60
|
+
**Description**: Creates comprehensive implementation plans for SpecWeave increments (aka features - both terms are interchangeable). This skill should be used when planning new increments/features, creating specifications, or organizing implementation work. Activates for: increment planning, feature planning, implementation plan, create increment, create feature, plan increment, plan feature, organize work, break down increment, break down feature, new product, build project, MVP, SaaS, app development, product description, tech stack planning, feature list.
|
|
61
61
|
|
|
62
|
-
**Activates for**: increment planning, feature planning, implementation plan, create increment, create feature, plan increment, plan feature, organize work, break down increment, break down feature
|
|
62
|
+
**Activates for**: increment planning, feature planning, implementation plan, create increment, create feature, plan increment, plan feature, organize work, break down increment, break down feature, new product, build project, MVP, SaaS, app development, product description, tech stack planning, feature list
|
|
63
63
|
|
|
64
64
|
**Location**: `.claude/skills/increment-planner/SKILL.md`
|
|
65
65
|
|
|
@@ -93,7 +93,7 @@ Step 4: Execute → Follow the increment planning workflow
|
|
|
93
93
|
|
|
94
94
|
#### specweave-detector
|
|
95
95
|
|
|
96
|
-
**Description**:
|
|
96
|
+
**Description**: Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation. v0.3.8+ features PROACTIVE auto-detection - when in SpecWeave folder, product descriptions automatically trigger increment planning. Explicit slash commands still work (/inc, /do, /progress, /validate, /done, /sync-docs, /sync-github). Keywords slash commands, /inc, /increment, /do, /progress, /validate, /done, specweave commands, smart workflow, auto-detection, specweave folder.
|
|
97
97
|
|
|
98
98
|
**Location**: `.claude/skills/specweave-detector/SKILL.md`
|
|
99
99
|
|
|
@@ -120,7 +120,7 @@ Step 4: Execute → Follow the increment planning workflow
|
|
|
120
120
|
|
|
121
121
|
#### skill-router
|
|
122
122
|
|
|
123
|
-
**Description**: Intelligent routing system that parses ambiguous user requests and routes them to appropriate SpecWeave skills with >90% accuracy. Acts as the "traffic controller" for all skill invocations. Activates when user intent is unclear or when multiple skills could handle a request. Keywords: route, clarify, ambiguous, which skill, help me decide.
|
|
123
|
+
**Description**: Intelligent routing system that parses ambiguous user requests and routes them to appropriate SpecWeave skills with >90% accuracy. Acts as the "traffic controller" for all skill invocations. Activates when user intent is unclear or when multiple skills could handle a request. Also activates proactively when detecting product description patterns (name + features + tech stack + timeline) in SpecWeave folders. Keywords: route, clarify, ambiguous, which skill, help me decide, product description, new project, feature list, tech stack, build this.
|
|
124
124
|
|
|
125
125
|
**Location**: `.claude/skills/skill-router/SKILL.md`
|
|
126
126
|
|
|
@@ -196,9 +196,9 @@ Step 4: Execute → Follow the increment planning workflow
|
|
|
196
196
|
|
|
197
197
|
#### spec-driven-brainstorming
|
|
198
198
|
|
|
199
|
-
**Description**: Refines rough ideas into spec-ready designs through structured Socratic questioning, alternative exploration, and incremental validation. Use BEFORE creating increments - transforms vague concepts into clear requirements. Activates for: brainstorm, explore idea, refine concept, design thinking, what should I build, help me think through, ultrathink
|
|
199
|
+
**Description**: Refines rough ideas into spec-ready designs through structured Socratic questioning, alternative exploration, and incremental validation. Use BEFORE creating increments - transforms vague concepts into clear requirements. Activates for: brainstorm, explore idea, refine concept, design thinking, what should I build, help me think through, ultrathink, ultrathink on, think through this, deep thinking, architecture exploration, analyze this idea, evaluate approach, explore options.
|
|
200
200
|
|
|
201
|
-
**Activates for**: brainstorm, explore idea, refine concept, design thinking, what should I build, help me think through, ultrathink
|
|
201
|
+
**Activates for**: brainstorm, explore idea, refine concept, design thinking, what should I build, help me think through, ultrathink, ultrathink on, think through this, deep thinking, architecture exploration, analyze this idea, evaluate approach, explore options
|
|
202
202
|
|
|
203
203
|
**Location**: `.claude/skills/spec-driven-brainstorming/SKILL.md`
|
|
204
204
|
|
|
@@ -355,6 +355,14 @@ Step 4: Execute → Follow the increment planning workflow
|
|
|
355
355
|
|
|
356
356
|
---
|
|
357
357
|
|
|
358
|
+
#### project-kickstarter
|
|
359
|
+
|
|
360
|
+
**Description**: Proactively detects product/project descriptions and guides users through SpecWeave increment planning. Activates when user provides product name, features, tech stack, timeline, or problem description. Keywords: project, product, SaaS, app, MVP, build, new project, features, tech stack, core functionality, monetization, timeline, I want to build, let's build, quick build, core features.
|
|
361
|
+
|
|
362
|
+
**Location**: `.claude/skills/project-kickstarter/SKILL.md`
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
358
366
|
#### spec-kit-expert
|
|
359
367
|
|
|
360
368
|
**Description**: SPEC-KIT Subject Matter Expert for dynamic gap analysis. Deeply understands spec-kit framework and performs on-demand comparison analysis against current SpecWeave state. Analyzes actual code, features, and specs to generate fresh comparison reports. Activates for "compare to spec-kit", "spec-kit vs SpecWeave", "gap analysis", "what does spec-kit have", "benefits comparison", "should I use spec-kit or SpecWeave", "spec-kit features", "how does spec-kit handle X", "GitHub spec-kit".
|
|
@@ -419,8 +427,8 @@ Step 4: Execute → Follow the increment planning workflow
|
|
|
419
427
|
This index simulates Claude Code's native progressive disclosure:
|
|
420
428
|
- Claude pre-loads skill metadata at startup (name + description)
|
|
421
429
|
- Other tools read this index file for same benefit
|
|
422
|
-
- Single file read replaces
|
|
423
|
-
- Token savings: ~97% (1 file vs
|
|
430
|
+
- Single file read replaces 35 individual file scans
|
|
431
|
+
- Token savings: ~97% (1 file vs 35 files)
|
|
424
432
|
|
|
425
433
|
**How to use in your AI tool**:
|
|
426
434
|
1. Load this file at session start
|