specweave 1.0.558 → 1.0.559
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/package.json +1 -1
- package/plugins/specweave/hooks/hooks.json +10 -10
- package/plugins/specweave/skills/do/SKILL.md +1 -14
- package/plugins/specweave/skills/increment/SKILL.md +0 -13
- package/plugins/specweave/skills/team-build/SKILL.md +0 -6
- package/plugins/specweave/skills/team-lead/SKILL.md +0 -6
- package/plugins/specweave/skills/validate/SKILL.md +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specweave",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.559",
|
|
4
4
|
"description": "100+ domain-expert AI skills — PM, Architect, Frontend, QA, Security and more. Skills learn your team's patterns permanently. Spec-first planning, autonomous execution, multi-agent teams, synced to GitHub/JIRA. Claude Code, Cursor, Copilot & more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"hooks": [
|
|
8
8
|
{
|
|
9
9
|
"type": "command",
|
|
10
|
-
"command": "specweave hook pre-tool-use"
|
|
10
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook pre-tool-use || { cat >/dev/null; echo \"{\\\"decision\\\":\\\"allow\\\"}\"; }'"
|
|
11
11
|
}
|
|
12
12
|
]
|
|
13
13
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"hooks": [
|
|
17
17
|
{
|
|
18
18
|
"type": "command",
|
|
19
|
-
"command": "specweave hook pre-tool-use"
|
|
19
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook pre-tool-use || { cat >/dev/null; echo \"{\\\"decision\\\":\\\"allow\\\"}\"; }'"
|
|
20
20
|
}
|
|
21
21
|
]
|
|
22
22
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"hooks": [
|
|
27
27
|
{
|
|
28
28
|
"type": "command",
|
|
29
|
-
"command": "specweave hook session-start"
|
|
29
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook session-start || { cat >/dev/null; echo \"{\\\"continue\\\":true}\"; }'"
|
|
30
30
|
}
|
|
31
31
|
]
|
|
32
32
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"hooks": [
|
|
37
37
|
{
|
|
38
38
|
"type": "command",
|
|
39
|
-
"command": "specweave hook user-prompt-submit"
|
|
39
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook user-prompt-submit || { cat >/dev/null; echo \"{\\\"decision\\\":\\\"approve\\\"}\"; }'"
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"hooks": [
|
|
47
47
|
{
|
|
48
48
|
"type": "command",
|
|
49
|
-
"command": "specweave hook pre-compact"
|
|
49
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook pre-compact || { cat >/dev/null; echo \"{\\\"continue\\\":true}\"; }'"
|
|
50
50
|
}
|
|
51
51
|
]
|
|
52
52
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"hooks": [
|
|
59
59
|
{
|
|
60
60
|
"type": "command",
|
|
61
|
-
"command": "specweave hook post-tool-use"
|
|
61
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook post-tool-use || { cat >/dev/null; echo \"{\\\"continue\\\":true}\"; }'"
|
|
62
62
|
}
|
|
63
63
|
]
|
|
64
64
|
},
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"hooks": [
|
|
68
68
|
{
|
|
69
69
|
"type": "command",
|
|
70
|
-
"command": "specweave hook post-tool-use-analytics"
|
|
70
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook post-tool-use-analytics || { cat >/dev/null; echo \"{\\\"continue\\\":true}\"; }'"
|
|
71
71
|
}
|
|
72
72
|
]
|
|
73
73
|
}
|
|
@@ -77,17 +77,17 @@
|
|
|
77
77
|
"hooks": [
|
|
78
78
|
{
|
|
79
79
|
"type": "command",
|
|
80
|
-
"command": "specweave hook stop-reflect",
|
|
80
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook stop-reflect || { cat >/dev/null; echo \"{\\\"decision\\\":\\\"approve\\\"}\"; }'",
|
|
81
81
|
"timeout": 15000
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
"type": "command",
|
|
85
|
-
"command": "specweave hook stop-auto",
|
|
85
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook stop-auto || { cat >/dev/null; echo \"{\\\"decision\\\":\\\"approve\\\"}\"; }'",
|
|
86
86
|
"timeout": 15000
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"type": "command",
|
|
90
|
-
"command": "specweave hook stop-sync",
|
|
90
|
+
"command": "bash -c 'command -v specweave &>/dev/null && specweave hook stop-sync || { cat >/dev/null; echo \"{\\\"decision\\\":\\\"approve\\\"}\"; }'",
|
|
91
91
|
"timeout": 15000
|
|
92
92
|
}
|
|
93
93
|
]
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Execute increment tasks following spec and plan with sync hooks. Use when saying "implement", "start working", "execute tasks", or "continue increment". IMPORTANT - Before starting, check task count and domain count. If 3+ domains or 15+ tasks, recommend sw:team-lead instead (ask user for confirmation, or auto-invoke in auto mode).
|
|
3
3
|
argument-hint: "<increment-id>"
|
|
4
|
-
hooks:
|
|
5
|
-
PostToolUse:
|
|
6
|
-
- matcher: Edit
|
|
7
|
-
hooks:
|
|
8
|
-
- type: command
|
|
9
|
-
command: bash "${CLAUDE_PLUGIN_ROOT}/hooks/universal/run-hook.sh" v2/guards/task-ac-sync-guard
|
|
10
|
-
- matcher: Write
|
|
11
|
-
hooks:
|
|
12
|
-
- type: command
|
|
13
|
-
command: bash "${CLAUDE_PLUGIN_ROOT}/hooks/universal/run-hook.sh" v2/guards/task-ac-sync-guard
|
|
14
4
|
---
|
|
15
5
|
|
|
16
6
|
# Do Increment
|
|
@@ -68,10 +58,7 @@ This ensures the execution loop stays focused on the contextually correct increm
|
|
|
68
58
|
4. **Verify readiness**: Status is planned/in-progress, no blocking deps, tasks exist
|
|
69
59
|
5. **Task count validation**: If >25 tasks, warn and offer to split, phase, or use `sw:auto`/`sw:team-lead`
|
|
70
60
|
6. **Validate AC presence** (MANDATORY):
|
|
71
|
-
|
|
72
|
-
bash "${CLAUDE_PLUGIN_ROOT}/hooks/pre-increment-start.sh" <increment-path>
|
|
73
|
-
```
|
|
74
|
-
If fails: manually add ACs to spec.md, then retry. Do NOT proceed without ACs in spec.md.
|
|
61
|
+
Check that spec.md contains AC-IDs (e.g., `AC-US1-01`). If missing: add ACs to spec.md before proceeding. Do NOT proceed without ACs in spec.md.
|
|
75
62
|
|
|
76
63
|
### Step 2.5: PR-Based Branch Setup (conditional)
|
|
77
64
|
|
|
@@ -2,19 +2,6 @@
|
|
|
2
2
|
description: Plan and create SpecWeave increments with PM and Architect agent collaboration. Use when starting new features, hotfixes, bugs, or any development work that needs specification and task breakdown. Creates spec.md, plan.md, tasks.md with proper AC-IDs and living docs integration.
|
|
3
3
|
argument-hint: "<feature-description>"
|
|
4
4
|
model: opus
|
|
5
|
-
hooks:
|
|
6
|
-
PreToolUse:
|
|
7
|
-
- matcher: Write
|
|
8
|
-
hooks:
|
|
9
|
-
- type: command
|
|
10
|
-
command: bash "${CLAUDE_PLUGIN_ROOT}/hooks/universal/run-hook.sh" v2/guards/interview-enforcement-guard
|
|
11
|
-
- type: command
|
|
12
|
-
command: bash "${CLAUDE_PLUGIN_ROOT}/hooks/universal/run-hook.sh" v2/guards/spec-template-enforcement-guard
|
|
13
|
-
PostToolUse:
|
|
14
|
-
- matcher: Write
|
|
15
|
-
hooks:
|
|
16
|
-
- type: command
|
|
17
|
-
command: bash "${CLAUDE_PLUGIN_ROOT}/hooks/universal/run-hook.sh" v2/guards/increment-duplicate-guard
|
|
18
5
|
---
|
|
19
6
|
|
|
20
7
|
# Plan Product Increment
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Preset-driven team building — spawn coordinated multi-agent teams from battle-tested presets for full-stack, review, brainstorm, testing, TDD, and migration workflows. Review and brainstorm presets work without an increment."
|
|
3
|
-
hooks:
|
|
4
|
-
PreToolUse:
|
|
5
|
-
- matcher: TeamCreate
|
|
6
|
-
hooks:
|
|
7
|
-
- type: command
|
|
8
|
-
command: bash "${CLAUDE_PLUGIN_ROOT}/hooks/universal/run-hook.sh" v2/guards/increment-existence-guard
|
|
9
3
|
---
|
|
10
4
|
|
|
11
5
|
# Team Build
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Phase-agnostic orchestrator for parallel multi-agent work — brainstorm, plan, implement, review, research, or test. Auto-detects mode from intent. Use for implementation (3+ domains or 15+ tasks), brainstorming (multiple perspectives), parallel planning (PM + Architect), code review (delegates to sw:code-reviewer), research (multiple topics), or testing (parallel test layers). Also use when user says "team setup", "parallel agents", "team lead", "agent teams", "brainstorm with agents", "plan in parallel", "review code", "research this".
|
|
3
|
-
hooks:
|
|
4
|
-
PreToolUse:
|
|
5
|
-
- matcher: TeamCreate
|
|
6
|
-
hooks:
|
|
7
|
-
- type: command
|
|
8
|
-
command: bash "${CLAUDE_PLUGIN_ROOT}/hooks/universal/run-hook.sh" v2/guards/increment-existence-guard
|
|
9
3
|
---
|
|
10
4
|
|
|
11
5
|
# Team Lead
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Validate increment with rule-based checks and AI quality assessment. Use when saying "validate", "check quality", or "verify increment".
|
|
3
3
|
argument-hint: "[increment-id]"
|
|
4
|
-
hooks:
|
|
5
|
-
Stop:
|
|
6
|
-
- hooks:
|
|
7
|
-
- type: command
|
|
8
|
-
command: bash "${CLAUDE_PLUGIN_ROOT}/hooks/universal/run-hook.sh" v2/guards/spec-validation-guard approve
|
|
9
4
|
---
|
|
10
5
|
|
|
11
6
|
# Validate Increment
|