speccrew 0.1.12 → 0.2.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/.speccrew/agents/speccrew-feature-designer.md +120 -0
- package/.speccrew/agents/speccrew-product-manager.md +54 -0
- package/.speccrew/agents/speccrew-system-designer.md +150 -14
- package/.speccrew/agents/speccrew-system-developer.md +309 -37
- package/.speccrew/agents/speccrew-task-worker.md +43 -0
- package/.speccrew/agents/speccrew-team-leader.md +108 -11
- package/.speccrew/agents/speccrew-test-manager.md +278 -0
- package/.speccrew/skills/speccrew-dev-backend/SKILL.md +44 -0
- package/.speccrew/skills/speccrew-dev-desktop/SKILL.md +44 -0
- package/.speccrew/skills/speccrew-dev-frontend/SKILL.md +44 -0
- package/.speccrew/skills/speccrew-dev-mobile/SKILL.md +44 -0
- package/.speccrew/skills/speccrew-fd-api-contract/SKILL.md +70 -0
- package/.speccrew/skills/speccrew-fd-feature-design/SKILL.md +158 -0
- package/.speccrew/skills/speccrew-pm-requirement-analysis/SKILL.md +65 -0
- package/.speccrew/skills/speccrew-sd-backend/SKILL.md +38 -0
- package/.speccrew/skills/speccrew-sd-desktop/SKILL.md +38 -0
- package/.speccrew/skills/speccrew-sd-frontend/SKILL.md +38 -0
- package/.speccrew/skills/speccrew-sd-mobile/SKILL.md +38 -0
- package/.speccrew/skills/speccrew-test-case-design/SKILL.md +33 -0
- package/.speccrew/skills/speccrew-test-code-gen/SKILL.md +34 -0
- package/.speccrew/skills/speccrew-test-execute/SKILL.md +34 -0
- package/README.ar.md +70 -3
- package/README.bn.md +52 -0
- package/README.bs.md +70 -3
- package/README.da.md +70 -3
- package/README.de.md +70 -3
- package/README.el.md +52 -0
- package/README.en.md +69 -2
- package/README.es.md +70 -3
- package/README.fr.md +70 -3
- package/README.it.md +70 -3
- package/README.ja.md +70 -3
- package/README.ko.md +70 -3
- package/README.md +69 -2
- package/README.no.md +70 -3
- package/README.pl.md +70 -3
- package/README.pt-BR.md +70 -3
- package/README.ru.md +70 -3
- package/README.th.md +69 -2
- package/README.tr.md +69 -2
- package/README.uk.md +69 -2
- package/README.vi.md +52 -0
- package/README.zh-TW.md +70 -3
- package/docs/GETTING-STARTED.ar.md +78 -4
- package/docs/GETTING-STARTED.bn.md +78 -4
- package/docs/GETTING-STARTED.bs.md +78 -4
- package/docs/GETTING-STARTED.da.md +78 -4
- package/docs/GETTING-STARTED.de.md +78 -4
- package/docs/GETTING-STARTED.el.md +78 -4
- package/docs/GETTING-STARTED.en.md +78 -4
- package/docs/GETTING-STARTED.es.md +78 -4
- package/docs/GETTING-STARTED.fr.md +78 -4
- package/docs/GETTING-STARTED.it.md +78 -4
- package/docs/GETTING-STARTED.ja.md +79 -5
- package/docs/GETTING-STARTED.ko.md +79 -5
- package/docs/GETTING-STARTED.md +78 -4
- package/docs/GETTING-STARTED.no.md +78 -4
- package/docs/GETTING-STARTED.pl.md +78 -4
- package/docs/GETTING-STARTED.pt-BR.md +78 -4
- package/docs/GETTING-STARTED.ru.md +78 -4
- package/docs/GETTING-STARTED.th.md +79 -5
- package/docs/GETTING-STARTED.tr.md +78 -4
- package/docs/GETTING-STARTED.uk.md +78 -4
- package/docs/GETTING-STARTED.vi.md +79 -5
- package/docs/GETTING-STARTED.zh-TW.md +79 -5
- package/package.json +1 -1
- package/.speccrew/skills/speccrew-create-agents/SKILL.md +0 -98
- package/.speccrew/skills/speccrew-create-agents/templates/agents/designer-agent.md +0 -54
- package/.speccrew/skills/speccrew-create-agents/templates/agents/dev-agent.md +0 -79
- package/.speccrew/skills/speccrew-create-agents/templates/agents/test-agent.md +0 -80
- package/.speccrew/skills/speccrew-project-diagnosis/SKILL.md +0 -233
- package/.speccrew/skills/speccrew-project-diagnosis/templates/DIAGNOSIS-REPORT-TEMPLATE.md +0 -202
- package/.speccrew/skills/speccrew-workflow-diagnose/SKILL.md +0 -155
- package/workspace-template/docs/solutions/Agent/346/212/200/350/203/275/345/256/232/344/271/211+/351/234/200/346/261/202/346/226/207/346/241/243+UML/344/275/277/347/224/250/346/250/241/346/235/277/357/274/210ISA-95/345/205/255/346/256/265/345/274/217/350/236/215/345/220/210/347/211/210/357/274/211.md +0 -586
- package/workspace-template/docs/solutions/harness.md +0 -410
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: speccrew-workflow-diagnose
|
|
3
|
-
description: Diagnose issues in AI engineering workflows. Analyze workflow bottlenecks, Agent behavior anomalies, deliverable quality issues, and provide solutions. Trigger scenarios: user mentions "workflow stuck", "diagnose problem", "Agent not working as expected", "poor deliverable quality"
|
|
4
|
-
tools: Read, Glob, Grep
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Trigger Scenarios
|
|
8
|
-
|
|
9
|
-
- AI engineering workflow stuck at a certain stage
|
|
10
|
-
- Agent output does not meet expectations
|
|
11
|
-
- Deliverable quality does not meet standards
|
|
12
|
-
- User mentions "workflow issues", "diagnose", "Agent behavior anomaly"
|
|
13
|
-
|
|
14
|
-
# Workflow
|
|
15
|
-
|
|
16
|
-
## 1. Collect Problem Information
|
|
17
|
-
|
|
18
|
-
Ask or identify the following information:
|
|
19
|
-
- Which stage did the problem occur? (PM / Solution / Design / Development / Testing)
|
|
20
|
-
- What are the specific symptoms?
|
|
21
|
-
- What solutions have been tried?
|
|
22
|
-
|
|
23
|
-
## 2. Read Related Deliverables
|
|
24
|
-
|
|
25
|
-
Based on the problem stage, read the corresponding deliverables:
|
|
26
|
-
|
|
27
|
-
| Problem Stage | Deliverables to Read |
|
|
28
|
-
|---------------|----------------------|
|
|
29
|
-
| PM Stage | `se/prd.md` |
|
|
30
|
-
| Solution Stage | `se/solution.md` |
|
|
31
|
-
| Design Stage | `se/*-design.md` |
|
|
32
|
-
| Development Stage | Related code files |
|
|
33
|
-
| Testing Stage | Test cases, test reports |
|
|
34
|
-
|
|
35
|
-
## 3. Analyze Root Cause
|
|
36
|
-
|
|
37
|
-
Common problem types and diagnostic directions:
|
|
38
|
-
|
|
39
|
-
### Agent Behavior Issues
|
|
40
|
-
|
|
41
|
-
| Symptom | Possible Cause | Solution |
|
|
42
|
-
|---------|----------------|----------|
|
|
43
|
-
| Output too generic | Agent prompt lacks project-specific information | Use `agent-optimize` Skill to supplement specific tech stack |
|
|
44
|
-
| Skipping necessary steps | Workflow description unclear | Add checklists (checkboxes) |
|
|
45
|
-
| Output format chaotic | Output specification unclear | Provide specific template examples |
|
|
46
|
-
| Responsibility overreach | Insufficient constraints | Clearly define prohibited actions |
|
|
47
|
-
|
|
48
|
-
### Workflow Handoff Issues
|
|
49
|
-
|
|
50
|
-
| Symptom | Possible Cause | Solution |
|
|
51
|
-
|---------|----------------|----------|
|
|
52
|
-
| Design document unclear | Missing transition from Solution to design | Add context input requirements for design Agent |
|
|
53
|
-
| Code does not match design | Design document not detailed enough | Output pseudo-code level details in design stage |
|
|
54
|
-
| Test cases incomplete coverage | Testing Agent lacks design input | Ensure testing Agent reads design documents |
|
|
55
|
-
|
|
56
|
-
### Deliverable Quality Issues
|
|
57
|
-
|
|
58
|
-
| Symptom | Possible Cause | Solution |
|
|
59
|
-
|---------|----------------|----------|
|
|
60
|
-
| PRD requirements vague | PM Agent did not fully explore requirements | Add multi-round dialogue confirmation |
|
|
61
|
-
| Solution lacks feasibility analysis | Technical constraints not identified | Add technical feasibility checkpoints |
|
|
62
|
-
| Design document too complex | Not following simple design principles | Split modules, design in phases |
|
|
63
|
-
|
|
64
|
-
## 4. Provide Solutions
|
|
65
|
-
|
|
66
|
-
For identified problems, provide:
|
|
67
|
-
1. **Immediate Solution** - Actions that can be taken immediately
|
|
68
|
-
2. **Long-term Improvement** - Mechanisms to prevent similar issues
|
|
69
|
-
3. **Files to Modify** - Specific configurations or documents to adjust
|
|
70
|
-
|
|
71
|
-
## 5. Execute Fixes (Optional)
|
|
72
|
-
|
|
73
|
-
If user agrees, execute fixes:
|
|
74
|
-
- Use `agent-optimize` to adjust Agent prompts
|
|
75
|
-
- Use `skill-develop` to create new check Skills
|
|
76
|
-
- Update related deliverable templates
|
|
77
|
-
|
|
78
|
-
# Diagnostic Checklist
|
|
79
|
-
|
|
80
|
-
Standard checklist items when analyzing problems:
|
|
81
|
-
|
|
82
|
-
- [ ] Problem stage accurately identified
|
|
83
|
-
- [ ] Related deliverables have been read
|
|
84
|
-
- [ ] Root cause analysis is well-founded
|
|
85
|
-
- [ ] Solutions are specific and feasible
|
|
86
|
-
- [ ] Long-term prevention measures considered
|
|
87
|
-
|
|
88
|
-
# Common Diagnostic Scenarios
|
|
89
|
-
|
|
90
|
-
## Scenario 1: Agent Output Does Not Meet Expectations
|
|
91
|
-
|
|
92
|
-
**Diagnostic Steps:**
|
|
93
|
-
1. Read the corresponding Agent file
|
|
94
|
-
2. Check if description contains trigger scenarios
|
|
95
|
-
3. Check if workflow has checklists
|
|
96
|
-
4. Check if constraints are clear
|
|
97
|
-
|
|
98
|
-
**Fix Solutions:**
|
|
99
|
-
- Optimize Agent prompts (call `agent-optimize`)
|
|
100
|
-
- Add example outputs
|
|
101
|
-
- Clearly define prohibited actions
|
|
102
|
-
|
|
103
|
-
## Scenario 2: Workflow Loops at a Certain Stage
|
|
104
|
-
|
|
105
|
-
**Diagnostic Steps:**
|
|
106
|
-
1. Check if previous stage deliverables are complete
|
|
107
|
-
2. Check if current stage input requirements are clear
|
|
108
|
-
3. Check if deliverable standards are too high or vague
|
|
109
|
-
|
|
110
|
-
**Fix Solutions:**
|
|
111
|
-
- Adjust deliverable acceptance standards
|
|
112
|
-
- Add intermediate checkpoints
|
|
113
|
-
- Split overly long workflow steps
|
|
114
|
-
|
|
115
|
-
## Scenario 3: Multiple Agent Responsibility Conflicts
|
|
116
|
-
|
|
117
|
-
**Diagnostic Steps:**
|
|
118
|
-
1. Compare responsibility descriptions of related Agents
|
|
119
|
-
2. Check for overlaps (what can/cannot be done)
|
|
120
|
-
3. Check deliverable definitions at handoff points
|
|
121
|
-
|
|
122
|
-
**Fix Solutions:**
|
|
123
|
-
- Redefine responsibility boundaries
|
|
124
|
-
- Clarify deliverable handoff standards
|
|
125
|
-
- Add dedicated handoff Agent
|
|
126
|
-
|
|
127
|
-
# Verification Checklist
|
|
128
|
-
|
|
129
|
-
- [ ] Problem root cause identified
|
|
130
|
-
- [ ] Solutions provided
|
|
131
|
-
- [ ] User understands and agrees with solution
|
|
132
|
-
- [ ] If fixes needed, fixes completed
|
|
133
|
-
|
|
134
|
-
# Output Format
|
|
135
|
-
|
|
136
|
-
```
|
|
137
|
-
## Workflow Diagnostic Report
|
|
138
|
-
|
|
139
|
-
### Problem Description
|
|
140
|
-
[User described problem]
|
|
141
|
-
|
|
142
|
-
### Root Cause Analysis
|
|
143
|
-
[Analyzed root cause]
|
|
144
|
-
|
|
145
|
-
### Solutions
|
|
146
|
-
1. **Immediate Measures**: [What can be done immediately]
|
|
147
|
-
2. **Long-term Improvement**: [Prevention mechanism]
|
|
148
|
-
|
|
149
|
-
### Files to Modify
|
|
150
|
-
- [File path] - [Modification content]
|
|
151
|
-
|
|
152
|
-
### Recommendations
|
|
153
|
-
[Next step action recommendations]
|
|
154
|
-
```
|
|
155
|
-
|