specweave 0.23.1 → 0.23.4
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-plugin/marketplace.json +0 -88
- package/CLAUDE.md +368 -0
- package/bin/fix-marketplace-errors.sh +8 -8
- package/dist/plugins/specweave/lib/utils/fs-native.d.ts +133 -0
- package/dist/plugins/specweave/lib/utils/fs-native.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/utils/fs-native.js +224 -0
- package/dist/plugins/specweave/lib/utils/fs-native.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.js +1 -1
- package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-feature-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-feature-sync.js +52 -20
- package/dist/plugins/specweave-github/lib/github-feature-sync.js.map +1 -1
- package/dist/src/cli/helpers/init/initial-increment-generator.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/initial-increment-generator.js +2 -1
- package/dist/src/cli/helpers/init/initial-increment-generator.js.map +1 -1
- package/dist/src/core/ac-test-validator-cli.d.ts +16 -0
- package/dist/src/core/ac-test-validator-cli.d.ts.map +1 -0
- package/dist/src/core/ac-test-validator-cli.js +118 -0
- package/dist/src/core/ac-test-validator-cli.js.map +1 -0
- package/dist/src/core/ac-test-validator.d.ts +111 -0
- package/dist/src/core/ac-test-validator.d.ts.map +1 -0
- package/dist/src/core/ac-test-validator.js +292 -0
- package/dist/src/core/ac-test-validator.js.map +1 -0
- package/dist/src/core/increment/desync-detector.d.ts +142 -0
- package/dist/src/core/increment/desync-detector.d.ts.map +1 -0
- package/dist/src/core/increment/desync-detector.js +270 -0
- package/dist/src/core/increment/desync-detector.js.map +1 -0
- package/dist/src/core/increment/metadata-manager.d.ts +8 -4
- package/dist/src/core/increment/metadata-manager.d.ts.map +1 -1
- package/dist/src/core/increment/metadata-manager.js +45 -21
- package/dist/src/core/increment/metadata-manager.js.map +1 -1
- package/dist/src/core/qa/qa-runner.js +9 -2
- package/dist/src/core/qa/qa-runner.js.map +1 -1
- package/dist/src/sync/sync-coordinator.d.ts +1 -1
- package/dist/src/sync/sync-coordinator.d.ts.map +1 -1
- package/dist/src/sync/sync-coordinator.js +40 -2
- package/dist/src/sync/sync-coordinator.js.map +1 -1
- package/dist/src/utils/fs-native.d.ts +133 -0
- package/dist/src/utils/fs-native.d.ts.map +1 -0
- package/dist/src/utils/fs-native.js +224 -0
- package/dist/src/utils/fs-native.js.map +1 -0
- package/package.json +1 -1
- package/plugins/specweave/.claude-plugin/plugin.json +22 -0
- package/plugins/specweave/agents/AGENTS-INDEX.md +216 -0
- package/plugins/specweave/agents/architect/AGENT.md +17 -0
- package/plugins/specweave/agents/code-standards-detective/AGENT.md +16 -0
- package/plugins/specweave/agents/docs-writer/AGENT.md +16 -0
- package/plugins/specweave/agents/increment-quality-judge-v2/AGENT.md +704 -0
- package/plugins/specweave/agents/infrastructure/AGENT.md +16 -0
- package/plugins/specweave/agents/performance/AGENT.md +16 -0
- package/plugins/specweave/agents/pm/AGENT.md +17 -0
- package/plugins/specweave/agents/qa-lead/AGENT.md +15 -0
- package/plugins/specweave/agents/reflective-reviewer/AGENT.md +16 -0
- package/plugins/specweave/agents/security/AGENT.md +16 -0
- package/plugins/specweave/agents/tdd-orchestrator/AGENT.md +16 -0
- package/plugins/specweave/agents/tech-lead/AGENT.md +16 -0
- package/plugins/specweave/agents/test-aware-planner/AGENT.md +16 -0
- package/plugins/specweave/agents/translator/AGENT.md +13 -0
- package/plugins/specweave/commands/specweave-done.md +14 -0
- package/plugins/specweave/commands/specweave-qa.md +11 -1
- package/plugins/specweave/commands/specweave-sync-status.md +356 -0
- package/plugins/specweave/commands/specweave-validate.md +10 -1
- package/plugins/specweave/hooks/post-metadata-change.sh +160 -0
- package/plugins/specweave/hooks/pre-task-completion.sh +196 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.js +3 -3
- package/plugins/specweave/lib/hooks/git-diff-analyzer.ts +3 -3
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js +3 -2
- package/plugins/specweave/lib/hooks/invoke-translator-skill.ts +3 -2
- package/plugins/specweave/lib/hooks/prepare-reflection-context.js +3 -3
- package/plugins/specweave/lib/hooks/prepare-reflection-context.ts +3 -3
- package/plugins/specweave/lib/hooks/reflection-config-loader.js +4 -4
- package/plugins/specweave/lib/hooks/reflection-config-loader.ts +4 -4
- package/plugins/specweave/lib/hooks/reflection-storage.js +9 -9
- package/plugins/specweave/lib/hooks/reflection-storage.ts +9 -9
- package/plugins/specweave/lib/hooks/sync-cache.js +9 -8
- package/plugins/specweave/lib/hooks/sync-living-docs.js +57 -6
- package/plugins/specweave/lib/hooks/sync-us-tasks.js +6 -6
- package/plugins/specweave/lib/hooks/translate-file.js +3 -2
- package/plugins/specweave/lib/hooks/translate-file.ts +3 -2
- package/plugins/specweave/lib/hooks/translate-living-docs.js +4 -3
- package/plugins/specweave/lib/hooks/translate-living-docs.ts +4 -3
- package/plugins/specweave/lib/utils/fs-native.js +182 -0
- package/plugins/specweave/lib/utils/fs-native.ts +283 -0
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.d.ts +8 -4
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +45 -21
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js.map +1 -1
- package/plugins/specweave/skills/SKILLS-INDEX.md +26 -2
- package/plugins/specweave/skills/increment-planner/SKILL.md +2 -2
- package/plugins/specweave-ado/commands/specweave-ado-close-workitem.md +1 -1
- package/plugins/specweave-ado/commands/specweave-ado-create-workitem.md +1 -1
- package/plugins/specweave-ado/commands/specweave-ado-status.md +1 -1
- package/plugins/specweave-ado/commands/specweave-ado-sync.md +1 -1
- package/plugins/specweave-diagrams/agents/diagrams-architect/AGENT.md +1 -1
- package/plugins/specweave-diagrams/skills/diagrams-generator/SKILL.md +4 -4
- package/plugins/specweave-github/lib/github-client-v2.js +2 -1
- package/plugins/specweave-github/lib/github-client-v2.ts +1 -1
- package/plugins/specweave-github/lib/github-feature-sync.js +30 -17
- package/plugins/specweave-github/lib/github-feature-sync.ts +54 -24
- package/plugins/specweave-mobile/README.md +1 -1
- package/plugins/specweave-release/hooks/.specweave/logs/dora-tracking.log +72 -0
- package/plugins/specweave/skills/task-builder/README.md +0 -84
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
# SpecWeave Agents Index
|
|
2
|
+
|
|
3
|
+
## Quick Reference: How to Invoke Agents
|
|
4
|
+
|
|
5
|
+
All SpecWeave agents follow the naming pattern: `{plugin}:{directory}:{name-from-yaml}`
|
|
6
|
+
|
|
7
|
+
### Core Planning & Design Agents
|
|
8
|
+
|
|
9
|
+
#### Product Manager (PM)
|
|
10
|
+
```typescript
|
|
11
|
+
Task({
|
|
12
|
+
subagent_type: "specweave:pm:pm",
|
|
13
|
+
prompt: "Create product requirements for user dashboard feature"
|
|
14
|
+
});
|
|
15
|
+
```
|
|
16
|
+
**Use for**: Product strategy, requirements gathering, user story creation, feature prioritization
|
|
17
|
+
|
|
18
|
+
#### Architect
|
|
19
|
+
```typescript
|
|
20
|
+
Task({
|
|
21
|
+
subagent_type: "specweave:architect:architect",
|
|
22
|
+
prompt: "Design system architecture for user authentication"
|
|
23
|
+
});
|
|
24
|
+
```
|
|
25
|
+
**Use for**: System architecture, technical specifications, ADRs, component designs, API contracts
|
|
26
|
+
|
|
27
|
+
#### Tech Lead
|
|
28
|
+
```typescript
|
|
29
|
+
Task({
|
|
30
|
+
subagent_type: "specweave:tech-lead:tech-lead",
|
|
31
|
+
prompt: "Review code and suggest improvements"
|
|
32
|
+
});
|
|
33
|
+
```
|
|
34
|
+
**Use for**: Code review, best practices, technical mentorship, implementation planning
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
### Quality & Testing Agents
|
|
39
|
+
|
|
40
|
+
#### QA Lead
|
|
41
|
+
```typescript
|
|
42
|
+
Task({
|
|
43
|
+
subagent_type: "specweave:qa-lead:qa-lead",
|
|
44
|
+
prompt: "Create test strategy for permission gates feature"
|
|
45
|
+
});
|
|
46
|
+
```
|
|
47
|
+
**Use for**: Test plans, test cases, E2E testing with Playwright, test automation, coverage analysis
|
|
48
|
+
|
|
49
|
+
#### Test-Aware Planner
|
|
50
|
+
```typescript
|
|
51
|
+
Task({
|
|
52
|
+
subagent_type: "specweave:test-aware-planner:test-aware-planner",
|
|
53
|
+
prompt: "Generate tasks with embedded test plans"
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
**Use for**: Task generation with BDD test plans, coverage targets, AC-test mapping
|
|
57
|
+
|
|
58
|
+
#### TDD Orchestrator
|
|
59
|
+
```typescript
|
|
60
|
+
Task({
|
|
61
|
+
subagent_type: "specweave:tdd-orchestrator:tdd-orchestrator",
|
|
62
|
+
prompt: "Coordinate TDD workflow for feature implementation"
|
|
63
|
+
});
|
|
64
|
+
```
|
|
65
|
+
**Use for**: Red-green-refactor discipline, multi-agent TDD coordination
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
### Code Quality & Standards Agents
|
|
70
|
+
|
|
71
|
+
#### Code Reviewer
|
|
72
|
+
```typescript
|
|
73
|
+
Task({
|
|
74
|
+
subagent_type: "specweave:code-reviewer",
|
|
75
|
+
prompt: "Review recent changes for security and performance issues"
|
|
76
|
+
});
|
|
77
|
+
```
|
|
78
|
+
**Use for**: Modern AI-powered code analysis, security scanning, performance optimization
|
|
79
|
+
|
|
80
|
+
#### Code Standards Detective
|
|
81
|
+
```typescript
|
|
82
|
+
Task({
|
|
83
|
+
subagent_type: "specweave:code-standards-detective:code-standards-detective",
|
|
84
|
+
prompt: "Analyze codebase and generate coding standards documentation"
|
|
85
|
+
});
|
|
86
|
+
```
|
|
87
|
+
**Use for**: Discovering naming conventions, import patterns, detecting anti-patterns
|
|
88
|
+
|
|
89
|
+
#### Security
|
|
90
|
+
```typescript
|
|
91
|
+
Task({
|
|
92
|
+
subagent_type: "specweave:security:security",
|
|
93
|
+
prompt: "Perform security review of authentication implementation"
|
|
94
|
+
});
|
|
95
|
+
```
|
|
96
|
+
**Use for**: Threat modeling, security architecture, OWASP Top 10, vulnerability assessment
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
### Documentation & Communication Agents
|
|
101
|
+
|
|
102
|
+
#### Docs Writer
|
|
103
|
+
```typescript
|
|
104
|
+
Task({
|
|
105
|
+
subagent_type: "specweave:docs-writer:docs-writer",
|
|
106
|
+
prompt: "Create API documentation for REST endpoints"
|
|
107
|
+
});
|
|
108
|
+
```
|
|
109
|
+
**Use for**: API docs, user guides, developer guides, README files, architecture documentation
|
|
110
|
+
|
|
111
|
+
#### Translator
|
|
112
|
+
```typescript
|
|
113
|
+
Task({
|
|
114
|
+
subagent_type: "specweave:translator:AGENT",
|
|
115
|
+
prompt: "Translate documentation to Spanish"
|
|
116
|
+
});
|
|
117
|
+
```
|
|
118
|
+
**Use for**: Batch translation projects, multi-file translation coordination
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
### Infrastructure & Performance Agents
|
|
123
|
+
|
|
124
|
+
#### Infrastructure
|
|
125
|
+
```typescript
|
|
126
|
+
Task({
|
|
127
|
+
subagent_type: "specweave:infrastructure:infrastructure",
|
|
128
|
+
prompt: "Generate Terraform configurations for serverless deployment"
|
|
129
|
+
});
|
|
130
|
+
```
|
|
131
|
+
**Use for**: Infrastructure-as-Code, AWS Lambda, Azure Functions, GCP Cloud Functions, Supabase
|
|
132
|
+
|
|
133
|
+
#### Performance
|
|
134
|
+
```typescript
|
|
135
|
+
Task({
|
|
136
|
+
subagent_type: "specweave:performance:performance",
|
|
137
|
+
prompt: "Analyze and optimize database query performance"
|
|
138
|
+
});
|
|
139
|
+
```
|
|
140
|
+
**Use for**: Performance optimization, profiling, benchmarking, scalability analysis
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
### Quality Assurance Agents
|
|
145
|
+
|
|
146
|
+
#### Increment Quality Judge v2
|
|
147
|
+
```typescript
|
|
148
|
+
Task({
|
|
149
|
+
subagent_type: "specweave:increment-quality-judge-v2:increment-quality-judge-v2",
|
|
150
|
+
prompt: "Assess quality of increment specification and implementation"
|
|
151
|
+
});
|
|
152
|
+
```
|
|
153
|
+
**Use for**: AI-powered quality assessment, risk scoring (BMAD), quality gate decisions
|
|
154
|
+
|
|
155
|
+
#### Reflective Reviewer
|
|
156
|
+
```typescript
|
|
157
|
+
Task({
|
|
158
|
+
subagent_type: "specweave:reflective-reviewer:reflective-reviewer",
|
|
159
|
+
prompt: "Perform reflective review of implementation quality"
|
|
160
|
+
});
|
|
161
|
+
```
|
|
162
|
+
**Use for**: Post-implementation review, learning from mistakes, improvement suggestions
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Naming Pattern Explanation
|
|
167
|
+
|
|
168
|
+
**Directory-based agents** (most common):
|
|
169
|
+
```
|
|
170
|
+
Pattern: {plugin}:{directory}:{name-from-yaml}
|
|
171
|
+
Example: specweave:qa-lead:qa-lead
|
|
172
|
+
|
|
173
|
+
Structure:
|
|
174
|
+
plugins/specweave/agents/qa-lead/
|
|
175
|
+
└── AGENT.md (contains: name: qa-lead)
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**File-based agents** (legacy):
|
|
179
|
+
```
|
|
180
|
+
Pattern: {plugin}:{filename}
|
|
181
|
+
Example: specweave:code-reviewer
|
|
182
|
+
|
|
183
|
+
Structure:
|
|
184
|
+
plugins/specweave/agents/
|
|
185
|
+
└── code-reviewer.md
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
## Finding Agent Types
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
# List all available agents
|
|
192
|
+
ls -la plugins/specweave/agents/
|
|
193
|
+
|
|
194
|
+
# Check agent's YAML name field
|
|
195
|
+
head -5 plugins/specweave/agents/qa-lead/AGENT.md
|
|
196
|
+
# Output: name: qa-lead
|
|
197
|
+
|
|
198
|
+
# Construct full type: specweave:qa-lead:qa-lead
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
## Common Mistakes
|
|
202
|
+
|
|
203
|
+
```typescript
|
|
204
|
+
// ❌ WRONG: Missing directory/name part
|
|
205
|
+
Task({ subagent_type: "specweave:qa-lead", ... });
|
|
206
|
+
// Error: Agent type 'specweave:qa-lead' not found
|
|
207
|
+
|
|
208
|
+
// ✅ CORRECT: Full pattern with directory and name
|
|
209
|
+
Task({ subagent_type: "specweave:qa-lead:qa-lead", ... });
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## See Also
|
|
213
|
+
|
|
214
|
+
- **Agent Details**: Each agent's `AGENT.md` file contains full documentation
|
|
215
|
+
- **CLAUDE.md**: Section 15 - Skills vs Agents: Understanding the Distinction
|
|
216
|
+
- **Plugin Validation**: `scripts/validate-plugin-directories.sh`
|
|
@@ -8,6 +8,23 @@ cost_profile: planning
|
|
|
8
8
|
fallback_behavior: strict
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
# Architect Agent
|
|
12
|
+
|
|
13
|
+
## 🚀 How to Invoke This Agent
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
// CORRECT invocation
|
|
17
|
+
Task({
|
|
18
|
+
subagent_type: "specweave:architect:architect",
|
|
19
|
+
prompt: "Design system architecture for user authentication"
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
// Naming pattern: {plugin}:{directory}:{name-from-yaml}
|
|
23
|
+
// - plugin: specweave
|
|
24
|
+
// - directory: architect (folder name)
|
|
25
|
+
// - name: architect (from YAML frontmatter above)
|
|
26
|
+
```
|
|
27
|
+
|
|
11
28
|
# Architect Agent - System Architecture & Technical Design Expert
|
|
12
29
|
|
|
13
30
|
You are an expert System Architect with 15+ years of experience designing scalable, maintainable systems across multiple domains (SaaS, e-commerce, fintech, healthcare).
|
|
@@ -8,6 +8,22 @@ cost_profile: research
|
|
|
8
8
|
fallback_behavior: strict
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
# code-standards-detective Agent
|
|
12
|
+
|
|
13
|
+
## 🚀 How to Invoke This Agent
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
// CORRECT invocation
|
|
17
|
+
Task({
|
|
18
|
+
subagent_type: "specweave:code-standards-detective:code-standards-detective",
|
|
19
|
+
prompt: "Your task description here"
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
// Naming pattern: {plugin}:{directory}:{name-from-yaml}
|
|
23
|
+
// - plugin: specweave
|
|
24
|
+
// - directory: code-standards-detective (folder name)
|
|
25
|
+
// - name: code-standards-detective (from YAML frontmatter above)
|
|
26
|
+
```
|
|
11
27
|
# Code Standards Detective Agent
|
|
12
28
|
|
|
13
29
|
**Purpose**: Autonomously discover and document coding standards from existing codebases using statistical analysis and pattern detection.
|
|
@@ -8,6 +8,22 @@ cost_profile: hybrid
|
|
|
8
8
|
fallback_behavior: auto
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
# docs-writer Agent
|
|
12
|
+
|
|
13
|
+
## 🚀 How to Invoke This Agent
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
// CORRECT invocation
|
|
17
|
+
Task({
|
|
18
|
+
subagent_type: "specweave:docs-writer:docs-writer",
|
|
19
|
+
prompt: "Your task description here"
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
// Naming pattern: {plugin}:{directory}:{name-from-yaml}
|
|
23
|
+
// - plugin: specweave
|
|
24
|
+
// - directory: docs-writer (folder name)
|
|
25
|
+
// - name: docs-writer (from YAML frontmatter above)
|
|
26
|
+
```
|
|
11
27
|
# Docs Writer Agent - Technical Documentation Expert
|
|
12
28
|
|
|
13
29
|
You are an expert technical writer with 8+ years of experience creating clear, comprehensive documentation for developers and end-users.
|