tackle-harness 0.0.4 → 0.0.5

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.
Files changed (53) hide show
  1. package/LICENSE +21 -21
  2. package/README.en.md +263 -259
  3. package/README.md +265 -261
  4. package/bin/tackle.js +152 -150
  5. package/package.json +29 -29
  6. package/plugins/contracts/plugin-interface.js +244 -244
  7. package/plugins/core/hook-session-start/index.js +153 -0
  8. package/plugins/core/hook-session-start/plugin.json +7 -0
  9. package/plugins/core/hook-skill-gate/index.js +437 -437
  10. package/plugins/core/hook-skill-gate/plugin.json +12 -12
  11. package/plugins/core/provider-memory-store/index.js +403 -403
  12. package/plugins/core/provider-memory-store/plugin.json +9 -9
  13. package/plugins/core/provider-role-registry/index.js +477 -477
  14. package/plugins/core/provider-role-registry/plugin.json +9 -9
  15. package/plugins/core/provider-state-store/index.js +244 -244
  16. package/plugins/core/provider-state-store/plugin.json +9 -9
  17. package/plugins/core/skill-agent-dispatcher/cleanup-reference.md +223 -223
  18. package/plugins/core/skill-agent-dispatcher/plugin.json +13 -13
  19. package/plugins/core/skill-agent-dispatcher/roles-reference.md +245 -245
  20. package/plugins/core/skill-agent-dispatcher/skill.md +542 -542
  21. package/plugins/core/skill-batch-task-creator/plugin.json +15 -13
  22. package/plugins/core/skill-batch-task-creator/skill.md +610 -616
  23. package/plugins/core/skill-checklist/plugin.json +10 -10
  24. package/plugins/core/skill-checklist/skill.md +115 -115
  25. package/plugins/core/skill-completion-report/plugin.json +10 -10
  26. package/plugins/core/skill-completion-report/skill.md +331 -331
  27. package/plugins/core/skill-experience-logger/plugin.json +10 -10
  28. package/plugins/core/skill-experience-logger/skill.md +235 -235
  29. package/plugins/core/skill-human-checkpoint/plugin.json +10 -10
  30. package/plugins/core/skill-human-checkpoint/skill.md +194 -194
  31. package/plugins/core/skill-progress-tracker/plugin.json +10 -10
  32. package/plugins/core/skill-progress-tracker/skill.md +204 -204
  33. package/plugins/core/skill-role-manager/plugin.json +10 -10
  34. package/plugins/core/skill-role-manager/skill.md +252 -252
  35. package/plugins/core/skill-split-work-package/plugin.json +15 -13
  36. package/plugins/core/skill-split-work-package/skill.md +441 -446
  37. package/plugins/core/skill-task-creator/plugin.json +15 -13
  38. package/plugins/core/skill-task-creator/skill.md +738 -744
  39. package/plugins/core/skill-team-cleanup/plugin.json +10 -10
  40. package/plugins/core/skill-team-cleanup/skill.md +266 -266
  41. package/plugins/core/skill-workflow-orchestrator/plugin.json +13 -13
  42. package/plugins/core/skill-workflow-orchestrator/skill.md +274 -274
  43. package/plugins/core/validator-doc-sync/index.js +248 -248
  44. package/plugins/core/validator-doc-sync/plugin.json +9 -9
  45. package/plugins/core/validator-work-package/index.js +300 -300
  46. package/plugins/core/validator-work-package/plugin.json +9 -9
  47. package/plugins/plugin-registry.json +124 -118
  48. package/plugins/runtime/config-manager.js +306 -306
  49. package/plugins/runtime/event-bus.js +187 -187
  50. package/plugins/runtime/harness-build.js +1165 -1019
  51. package/plugins/runtime/logger.js +174 -174
  52. package/plugins/runtime/plugin-loader.js +339 -339
  53. package/plugins/runtime/state-store.js +277 -277
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 tackle contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 tackle contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.en.md CHANGED
@@ -1,259 +1,263 @@
1
- # Tackle Harness
2
-
3
- > A plugin-based AI Agent workflow framework that provides task management, workflow orchestration, and role management for Claude Code
4
-
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
- [![Version](https://img.shields.io/badge/version-0.0.2-blue.svg)](https://github.com/ph419/tackle)
7
-
8
- **[中文文档](README.md)**
9
-
10
- ## Why Tackle Harness
11
-
12
- You describe what you need; Tackle Harness manages the entire process:
13
-
14
- - **Plan first, human approval required** — AI outputs implementation plans and work package breakdowns, then waits for your confirmation before writing any code. No more "AI went rogue and changed a bunch of things."
15
- - **Complex requirements, parallel delivery** — Large requirements are automatically split into independent modules, with multiple agents working simultaneously. Frontend, backend, and database changes progress in parallel — no serial waiting.
16
- - **Experience accumulation, gets better over time** — After each task, lessons learned are automatically extracted. Next time a similar issue arises, agents reference historical experience for better decisions.
17
-
18
- ### End-to-End Data Flow
19
-
20
- User requirements pass through five stages from planning to delivery:
21
-
22
- ```mermaid
23
- flowchart LR
24
- REQ["User Requirement<br/>(Natural Language)"]
25
- P0["P0: Plan<br/>task-creator / split-wp"]
26
- P1["P1: Review<br/>human-checkpoint"]
27
- P2["P2: Execute<br/>agent-dispatcher"]
28
- P3["P3: Verify<br/>checklist / experience-logger"]
29
- P4["P4: Report<br/>completion-report"]
30
-
31
- O1["docs/wp/*.md<br/>task.md updated"]
32
- O2["User Approval<br/>(Human Intervention)"]
33
- O3["Agent Teams<br/>(Multi-agent Parallel)"]
34
- O4["Completion Report<br/>Experience Logged"]
35
-
36
- REQ --> P0 --> P1 --> P2 --> P3 --> P4
37
-
38
- P0 -.-> O1
39
- P1 -.-> O2
40
- P2 -.-> O3
41
- P3 -.-> O4
42
- ```
43
-
44
- ## Installation
45
-
46
- ```bash
47
- npm install tackle-harness
48
- ```
49
-
50
- ## Quick Start
51
-
52
- ```bash
53
- # Navigate to your project directory
54
- cd your-project
55
-
56
- # One-command initialization (build skills + register hooks + create config directories)
57
- npx tackle-harness init
58
-
59
- # Or step by step
60
- npx tackle-harness build # Build skills to .claude/skills/, merge hooks into settings.json
61
- npx tackle-harness validate # Validate plugin integrity
62
- ```
63
-
64
- ## Use Cases
65
-
66
- ### Case 1: New Feature Development
67
-
68
- **Your situation**: Adding a "Team Collaboration" module to a SaaS product, involving frontend UI, backend API, and database changes.
69
-
70
- **Just say**:
71
- ```
72
- Start workflow, implement team collaboration module, including:
73
- - Team creation and management pages
74
- - Member invitation and permission APIs
75
- - Database table design
76
- ```
77
-
78
- **What Tackle Harness does**:
79
- 1. Analyzes requirement complexity, splits into 4 work packages (frontend, backend, database, integration testing)
80
- 2. Outputs implementation plans for each work package, pauses for your review
81
- 3. After your approval, dispatches multiple agents to develop modules in parallel
82
- 4. Automatically runs code checks and test verification
83
- 5. Generates a completion report and asks for next steps
84
-
85
- **Skills involved**: workflow-orchestrator → split-work-package → human-checkpoint → agent-dispatcher → checklist → completion-report
86
-
87
- ### Case 2: Batch Bug Fixes
88
-
89
- **Your situation**: A backlog of 5 bugs before the sprint ends, want to handle them in parallel and wrap up quickly.
90
-
91
- **Just say**:
92
- ```
93
- Batch execute WP-015 through WP-019, fix these 5 bugs in parallel
94
- ```
95
-
96
- **What Tackle Harness does**:
97
- 1. Analyzes dependencies between the 5 bugs (check for overlapping file changes)
98
- 2. Assigns conflict-free bugs to different agents for simultaneous fixes
99
- 3. Queues dependent bugs sequentially, auto-starting the next after each completes
100
- 4. Runs a checklist after all fixes to confirm no new issues introduced
101
-
102
- **Skills involved**: agent-dispatcher → checklist → completion-report
103
-
104
- ### Case 3: System Refactoring
105
-
106
- **Your situation**: Need to refactor a monolithic application into microservices, involving coordinated changes across multiple modules, worried about breaking things.
107
-
108
- **Just say**:
109
- ```
110
- Split work package, extract the user module from the monolith into an independent service
111
- ```
112
-
113
- **What Tackle Harness does**:
114
- 1. Deep analysis of code structure, identifies all modules and dependencies that need changes
115
- 2. Generates a detailed refactoring plan (interface extraction, data migration, routing adjustments, etc.)
116
- 3. Pauses for your review of the architecture proposal (critical decision point)
117
- 4. Executes refactoring in dependency-ordered batches, auto-verifying after each batch
118
- 5. Records refactoring experience for future similar extraction tasks
119
-
120
- **Skills involved**: split-work-package → human-checkpoint → agent-dispatcher → checklist → experience-logger → completion-report
121
-
122
- ## Command Reference
123
-
124
- | Command | Description |
125
- |---------|-------------|
126
- | `npx tackle-harness` | Default: runs build |
127
- | `npx tackle-harness build` | Build all skills, update .claude/settings.json |
128
- | `npx tackle-harness validate` | Validate plugin format |
129
- | `npx tackle-harness init` | First-time setup: build + create .claude/ directories |
130
- | `npx tackle-harness --root <path>` | Specify target project path (default: current directory) |
131
- | `npx tackle-harness --help` | Show help |
132
-
133
- ## Skills Reference
134
-
135
- | Skill | Trigger (CN / EN) | Function |
136
- |-------|---------|----------|
137
- | task-creator | "创建任务" / "create task" | Create a single task in the task list |
138
- | batch-task-creator | "批量创建任务" / "batch create tasks" | Batch create multiple tasks |
139
- | split-work-package | "拆分工作包" / "split work package" | Split requirements into executable work packages |
140
- | progress-tracker | "记录进度" / "record progress" | Track and report work progress |
141
- | team-cleanup | "清理团队" / "cleanup team" | Release residual team resources |
142
- | human-checkpoint | "等待审核" / "wait for review" | Pause and request human confirmation |
143
- | role-manager | "查看角色" / "view roles" | Manage project role definitions |
144
- | checklist | "运行检查" / "run checklist" | Execute checklists |
145
- | completion-report | "完成报告" / "completion report" | Generate completion report |
146
- | experience-logger | "总结经验" / "log experience" | Record project lessons learned |
147
- | agent-dispatcher | "批量执行" / "dispatch agents" | Dispatch multiple sub-agents in parallel |
148
- | workflow-orchestrator | "开始工作流" / "start workflow" | Orchestrate complete workflows |
149
-
150
- ## Workflow Overview
151
-
152
- User requirements pass through 5 stages from planning to delivery:
153
-
154
- ```
155
- Requirement → Plan(P0) → Review(P1) → Execute(P2) → Verify(P3) → Report(P4) → Delivery
156
- ```
157
-
158
- | Stage | What Happens | Key Skills |
159
- |-------|-------------|------------|
160
- | **P0 Plan** | Parse requirements, split into work packages, write docs | task-creator, split-work-package |
161
- | **P1 Review** | Pause for your plan approval (mandatory human intervention) | human-checkpoint |
162
- | **P2 Execute** | Multi-agent parallel development, scheduled by dependencies | agent-dispatcher |
163
- | **P3 Verify** | Code/test/doc quality verification, extract experience | checklist, experience-logger |
164
- | **P4 Report** | Generate completion report, ask for next steps | completion-report |
165
-
166
- > For the full data flow diagram and stage details, see [docs/ai_workflow.md](docs/ai_workflow.md)
167
-
168
- ## Plugin Architecture
169
-
170
- Tackle Harness contains 4 plugin types, 18 plugins total:
171
-
172
- | Type | Count | Purpose |
173
- |------|-------|---------|
174
- | Skill | 12 | Executable skills, directly callable by Claude Code |
175
- | Provider | 3 | State store, role registry, memory store |
176
- | Hook | 1 | Skill gate, intercepts edit operations and skill calls |
177
- | Validator | 2 | Document sync validation, work package validation |
178
-
179
- > For plugin dependency graph and development guide, see [docs/plugin-development.md](docs/plugin-development.md)
180
-
181
- ## Build Output Structure
182
-
183
- After running `tackle-harness build`, the following is generated in your project:
184
-
185
- ```
186
- your-project/
187
- .claude/
188
- skills/ # 12 skills
189
- skill-task-creator/skill.md
190
- skill-batch-task-creator/skill.md
191
- skill-split-work-package/skill.md
192
- skill-progress-tracker/skill.md
193
- skill-team-cleanup/skill.md
194
- skill-human-checkpoint/skill.md
195
- skill-role-manager/skill.md
196
- skill-checklist/skill.md
197
- skill-completion-report/skill.md
198
- skill-experience-logger/skill.md
199
- skill-agent-dispatcher/skill.md
200
- skill-workflow-orchestrator/skill.md
201
- settings.json # Auto-registered hooks
202
- ```
203
-
204
- ## FAQ
205
-
206
- ### Skills not working after installation?
207
-
208
- Make sure you ran `npx tackle-harness build` in your project root, and that `.claude/skills/` contains 12 skill folders.
209
-
210
- ### Can multiple projects share an installation?
211
-
212
- Each project installs and builds independently. Different projects can use different versions.
213
-
214
- ### Global installation
215
-
216
- ```bash
217
- npm install -g tackle-harness
218
- tackle-harness build
219
- ```
220
-
221
- After global installation, use the `tackle-harness` command directly without `npx`.
222
-
223
- ### How to uninstall?
224
-
225
- ```bash
226
- npm uninstall tackle-harness
227
- ```
228
-
229
- Skill files remain in `.claude/skills/`. Delete manually if needed.
230
-
231
- ### What are the hooks in settings.json?
232
-
233
- `tackle-harness build` automatically injects two hooks into `.claude/settings.json`:
234
- - `PreToolUse(Edit|Write)` Blocks file edits under certain states
235
- - `PostToolUse(Skill)` — Updates state after skill calls
236
-
237
- These hooks point to scripts in `node_modules/tackle-harness/` and won't affect other configurations in your project. Existing settings.json content is preserved; only tackle-harness-related hooks are appended.
238
-
239
- ## Documentation
240
-
241
- - [Configuration Reference](docs/config-reference.md) - Complete configuration file documentation
242
- - [Best Practices](docs/best-practices.md) - Usage tips and optimization techniques
243
- - [Plugin Development](docs/plugin-development.md) - Plugin architecture and development guide
244
- - [Workflow Details](docs/ai_workflow.md) - Full workflow data flow and stage descriptions
245
-
246
- ## Contributing
247
-
248
- Contributions welcome! We accept bug reports, feature suggestions, code submissions, and documentation improvements. See [Contributing Guide](CONTRIBUTING.md).
249
-
250
- Quick start: Fork → Create branch → Make changes → Submit PR. Follow [Conventional Commits](https://www.conventionalcommits.org/) format.
251
-
252
- ## License
253
-
254
- MIT License - See [LICENSE](LICENSE) file
255
-
256
- ## Acknowledgments
257
-
258
- This project draws on excellent designs from the following open-source projects:
259
- - DeerFlow - Memory extraction and middleware architecture
1
+ # Tackle Harness
2
+
3
+ > A plugin-based AI Agent workflow framework that provides task management, workflow orchestration, and role management for Claude Code
4
+
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
+ [![Version](https://img.shields.io/badge/version-0.0.5-blue.svg)](https://github.com/ph419/tackle)
7
+
8
+ **[中文文档](README.md)**
9
+
10
+ ## Why Tackle Harness
11
+
12
+ You describe what you need; Tackle Harness manages the entire process:
13
+
14
+ - **Plan first, human approval required** — AI outputs implementation plans and work package breakdowns, then waits for your confirmation before writing any code. No more "AI went rogue and changed a bunch of things."
15
+ - **Complex requirements, parallel delivery** — Large requirements are automatically split into independent modules, with multiple agents working simultaneously. Frontend, backend, and database changes progress in parallel — no serial waiting.
16
+ - **Experience accumulation, gets better over time** — After each task, lessons learned are automatically extracted. Next time a similar issue arises, agents reference historical experience for better decisions.
17
+
18
+ ### End-to-End Data Flow
19
+
20
+ User requirements pass through five stages from planning to delivery:
21
+
22
+ ```mermaid
23
+ flowchart LR
24
+ REQ["User Requirement<br/>(Natural Language)"]
25
+ P0["P0: Plan<br/>task-creator / split-wp"]
26
+ P1["P1: Review<br/>human-checkpoint"]
27
+ P2["P2: Execute<br/>agent-dispatcher"]
28
+ P3["P3: Verify<br/>checklist / experience-logger"]
29
+ P4["P4: Report<br/>completion-report"]
30
+
31
+ O1["docs/wp/*.md<br/>task.md updated"]
32
+ O2["User Approval<br/>(Human Intervention)"]
33
+ O3["Agent Teams<br/>(Multi-agent Parallel)"]
34
+ O4["Completion Report<br/>Experience Logged"]
35
+
36
+ REQ --> P0 --> P1 --> P2 --> P3 --> P4
37
+
38
+ P0 -.-> O1
39
+ P1 -.-> O2
40
+ P2 -.-> O3
41
+ P3 -.-> O4
42
+ ```
43
+
44
+ ## Installation
45
+
46
+ ```bash
47
+ npm install tackle-harness
48
+ ```
49
+
50
+ ## Quick Start
51
+
52
+ ```bash
53
+ # Navigate to your project directory
54
+ cd your-project
55
+
56
+ # One-command initialization (build skills + register hooks + create config directories)
57
+ npx tackle-harness init
58
+
59
+ # Or step by step
60
+ npx tackle-harness build # Build skills to .claude/skills/, merge hooks into settings.json
61
+ npx tackle-harness validate # Validate plugin integrity
62
+ ```
63
+
64
+ ## Use Cases
65
+
66
+ ### Case 1: New Feature Development
67
+
68
+ **Your situation**: Adding a "Team Collaboration" module to a SaaS product, involving frontend UI, backend API, and database changes.
69
+
70
+ **Just say**:
71
+ ```
72
+ Start workflow, implement team collaboration module, including:
73
+ - Team creation and management pages
74
+ - Member invitation and permission APIs
75
+ - Database table design
76
+ ```
77
+
78
+ **What Tackle Harness does**:
79
+ 1. Analyzes requirement complexity, splits into 4 work packages (frontend, backend, database, integration testing)
80
+ 2. Outputs implementation plans for each work package, pauses for your review
81
+ 3. After your approval, dispatches multiple agents to develop modules in parallel
82
+ 4. Automatically runs code checks and test verification
83
+ 5. Generates a completion report and asks for next steps
84
+
85
+ **Skills involved**: workflow-orchestrator → split-work-package → human-checkpoint → agent-dispatcher → checklist → completion-report
86
+
87
+ ### Case 2: Batch Bug Fixes
88
+
89
+ **Your situation**: A backlog of 5 bugs before the sprint ends, want to handle them in parallel and wrap up quickly.
90
+
91
+ **Just say**:
92
+ ```
93
+ Batch execute WP-015 through WP-019, fix these 5 bugs in parallel
94
+ ```
95
+
96
+ **What Tackle Harness does**:
97
+ 1. Analyzes dependencies between the 5 bugs (check for overlapping file changes)
98
+ 2. Assigns conflict-free bugs to different agents for simultaneous fixes
99
+ 3. Queues dependent bugs sequentially, auto-starting the next after each completes
100
+ 4. Runs a checklist after all fixes to confirm no new issues introduced
101
+
102
+ **Skills involved**: agent-dispatcher → checklist → completion-report
103
+
104
+ ### Case 3: System Refactoring
105
+
106
+ **Your situation**: Need to refactor a monolithic application into microservices, involving coordinated changes across multiple modules, worried about breaking things.
107
+
108
+ **Just say**:
109
+ ```
110
+ Split work package, extract the user module from the monolith into an independent service
111
+ ```
112
+
113
+ **What Tackle Harness does**:
114
+ 1. Deep analysis of code structure, identifies all modules and dependencies that need changes
115
+ 2. Generates a detailed refactoring plan (interface extraction, data migration, routing adjustments, etc.)
116
+ 3. Pauses for your review of the architecture proposal (critical decision point)
117
+ 4. Executes refactoring in dependency-ordered batches, auto-verifying after each batch
118
+ 5. Records refactoring experience for future similar extraction tasks
119
+
120
+ **Skills involved**: split-work-package → human-checkpoint → agent-dispatcher → checklist → experience-logger → completion-report
121
+
122
+ ## Command Reference
123
+
124
+ | Command | Description |
125
+ |---------|-------------|
126
+ | `npx tackle-harness` | Default: runs build |
127
+ | `npx tackle-harness build` | Build all skills, update .claude/settings.json |
128
+ | `npx tackle-harness validate` | Validate plugin format |
129
+ | `npx tackle-harness init` | First-time setup: build + create .claude/ directories |
130
+ | `npx tackle-harness --root <path>` | Specify target project path (default: current directory) |
131
+ | `npx tackle-harness --help` | Show help |
132
+
133
+ ## Skills Reference
134
+
135
+ | Skill | Trigger (CN / EN) | Function |
136
+ |-------|---------|----------|
137
+ | task-creator | "创建任务" / "create task" | Create a single task in the task list |
138
+ | batch-task-creator | "批量创建任务" / "batch create tasks" | Batch create multiple tasks |
139
+ | split-work-package | "拆分工作包" / "split work package" | Split requirements into executable work packages |
140
+ | progress-tracker | "记录进度" / "record progress" | Track and report work progress |
141
+ | team-cleanup | "清理团队" / "cleanup team" | Release residual team resources |
142
+ | human-checkpoint | "等待审核" / "wait for review" | Pause and request human confirmation |
143
+ | role-manager | "查看角色" / "view roles" | Manage project role definitions |
144
+ | checklist | "运行检查" / "run checklist" | Execute checklists |
145
+ | completion-report | "完成报告" / "completion report" | Generate completion report |
146
+ | experience-logger | "总结经验" / "log experience" | Record project lessons learned |
147
+ | agent-dispatcher | "批量执行" / "dispatch agents" | Dispatch multiple sub-agents in parallel |
148
+ | workflow-orchestrator | "开始工作流" / "start workflow" | Orchestrate complete workflows |
149
+
150
+ ## Workflow Overview
151
+
152
+ User requirements pass through 5 stages from planning to delivery:
153
+
154
+ ```
155
+ Requirement → Plan(P0) → Review(P1) → Execute(P2) → Verify(P3) → Report(P4) → Delivery
156
+ ```
157
+
158
+ | Stage | What Happens | Key Skills |
159
+ |-------|-------------|------------|
160
+ | **P0 Plan** | Parse requirements, split into work packages, write docs | task-creator, split-work-package |
161
+ | **P1 Review** | Pause for your plan approval (mandatory human intervention) | human-checkpoint |
162
+ | **P2 Execute** | Multi-agent parallel development, scheduled by dependencies | agent-dispatcher |
163
+ | **P3 Verify** | Code/test/doc quality verification, extract experience | checklist, experience-logger |
164
+ | **P4 Report** | Generate completion report, ask for next steps | completion-report |
165
+
166
+ > For the full data flow diagram and stage details, see [docs/ai_workflow.md](docs/ai_workflow.md)
167
+
168
+ ## Plugin Architecture
169
+
170
+ Tackle Harness contains 4 plugin types, 19 plugins total:
171
+
172
+ | Type | Count | Purpose |
173
+ |------|-------|---------|
174
+ | Skill | 12 | Executable skills, directly callable by Claude Code |
175
+ | Provider | 3 | State store, role registry, memory store |
176
+ | Hook | 2 | Skill gate + session-start plan-mode rule injection |
177
+ | Validator | 2 | Document sync validation, work package validation |
178
+
179
+ > For plugin dependency graph and development guide, see [docs/plugin-development.md](docs/plugin-development.md)
180
+
181
+ ## Build Output Structure
182
+
183
+ After running `tackle-harness build`, the following is generated in your project:
184
+
185
+ ```
186
+ your-project/
187
+ .claude/
188
+ skills/ # 12 skills
189
+ skill-task-creator/skill.md
190
+ skill-batch-task-creator/skill.md
191
+ skill-split-work-package/skill.md
192
+ skill-progress-tracker/skill.md
193
+ skill-team-cleanup/skill.md
194
+ skill-human-checkpoint/skill.md
195
+ skill-role-manager/skill.md
196
+ skill-checklist/skill.md
197
+ skill-completion-report/skill.md
198
+ skill-experience-logger/skill.md
199
+ skill-agent-dispatcher/skill.md
200
+ skill-workflow-orchestrator/skill.md
201
+ hooks/ # 2 hooks
202
+ hook-skill-gate/index.js
203
+ hook-session-start/index.js
204
+ settings.json # Auto-registered hooks
205
+ ```
206
+
207
+ ## FAQ
208
+
209
+ ### Skills not working after installation?
210
+
211
+ Make sure you ran `npx tackle-harness build` in your project root, and that `.claude/skills/` contains 12 skill folders.
212
+
213
+ ### Can multiple projects share an installation?
214
+
215
+ Each project installs and builds independently. Different projects can use different versions.
216
+
217
+ ### Global installation
218
+
219
+ ```bash
220
+ npm install -g tackle-harness
221
+ tackle-harness build
222
+ ```
223
+
224
+ After global installation, use the `tackle-harness` command directly without `npx`.
225
+
226
+ ### How to uninstall?
227
+
228
+ ```bash
229
+ npm uninstall tackle-harness
230
+ ```
231
+
232
+ Skill files remain in `.claude/skills/`. Delete manually if needed.
233
+
234
+ ### What are the hooks in settings.json?
235
+
236
+ `tackle-harness build` automatically injects three hooks into `.claude/settings.json`:
237
+ - `SessionStart` On session startup, scans plan-mode skills and injects priority rules into system-reminder, ensuring task-creation skills enforce Plan mode
238
+ - `PreToolUse(Edit|Write)` — Blocks file edits under certain states
239
+ - `PostToolUse(Skill)` — Updates state after skill calls
240
+
241
+ These hooks point to scripts in `node_modules/tackle-harness/` and won't affect other configurations in your project. Existing settings.json content is preserved; only tackle-harness-related hooks are appended.
242
+
243
+ ## Documentation
244
+
245
+ - [Configuration Reference](docs/config-reference.md) - Complete configuration file documentation
246
+ - [Best Practices](docs/best-practices.md) - Usage tips and optimization techniques
247
+ - [Plugin Development](docs/plugin-development.md) - Plugin architecture and development guide
248
+ - [Workflow Details](docs/ai_workflow.md) - Full workflow data flow and stage descriptions
249
+
250
+ ## Contributing
251
+
252
+ Contributions welcome! We accept bug reports, feature suggestions, code submissions, and documentation improvements. See [Contributing Guide](CONTRIBUTING.md).
253
+
254
+ Quick start: Fork Create branch → Make changes → Submit PR. Follow [Conventional Commits](https://www.conventionalcommits.org/) format.
255
+
256
+ ## License
257
+
258
+ MIT License - See [LICENSE](LICENSE) file
259
+
260
+ ## Acknowledgments
261
+
262
+ This project draws on excellent designs from the following open-source projects:
263
+ - DeerFlow - Memory extraction and middleware architecture