@gw-tools/gw 0.58.2 → 0.58.4-beta.62.1
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/README.md +27 -40
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,74 +139,61 @@ gw checkout main
|
|
|
139
139
|
|
|
140
140
|
## 🎓 AI Skills (for Claude Code, Copilot, Cursor, etc.)
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
The `gw`-specific skills live in this repo. The autonomous workflow and its companions live in [**`mthines/agent-skills`**](https://github.com/mthines/agent-skills#autonomous-workflow).
|
|
143
|
+
|
|
144
|
+
**gw-specific skills** (this repo):
|
|
143
145
|
|
|
144
146
|
```bash
|
|
145
|
-
npx skills add https://github.com/mthines/gw-tools
|
|
147
|
+
npx skills add https://github.com/mthines/gw-tools \
|
|
148
|
+
--skill git-worktree-workflows gw-config-management \
|
|
149
|
+
--agent claude-code \
|
|
150
|
+
--yes
|
|
146
151
|
```
|
|
147
152
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
- **autonomous-workflow** - Autonomous feature development from requirements to PR
|
|
151
|
-
- **create-plan** - Generate structured implementation plan artifacts
|
|
152
|
-
- **create-walkthrough** - Generate PR walkthrough summaries
|
|
153
|
-
- **confidence** - Quality gate for plan, code, or bug analysis validation
|
|
154
|
-
- **git-worktree-workflows** - Master Git worktrees and gw workflows
|
|
155
|
-
- **gw-config-management** - Configure gw for your project type (Next.js, monorepos, etc.)
|
|
153
|
+
- **git-worktree-workflows** — Master Git worktrees and `gw` workflows
|
|
154
|
+
- **gw-config-management** — Configure `gw` for your project type (Next.js, monorepos, etc.)
|
|
156
155
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
- Execute complete feature development cycles autonomously
|
|
160
|
-
- Create worktrees for bug fixes and features automatically
|
|
161
|
-
- Configure gw for your specific project type
|
|
162
|
-
- Navigate between worktrees and manage files
|
|
163
|
-
- Create tested PRs from isolated worktrees
|
|
164
|
-
|
|
165
|
-
📖 **Skill documentation:** [skills/README.md](../../skills/README.md)
|
|
156
|
+
📖 **gw skill documentation:** [skills/README.md](../../skills/README.md)
|
|
166
157
|
|
|
167
158
|
### 🤖 Use as a Claude Code Agent
|
|
168
159
|
|
|
169
|
-
Want Claude Code to autonomously implement features end-to-end?
|
|
170
|
-
|
|
171
|
-
Install the skill + agent either **globally** or **per-project**:
|
|
160
|
+
Want Claude Code to autonomously implement features end-to-end? Install the autonomous workflow skill + companion agents from [`mthines/agent-skills`](https://github.com/mthines/agent-skills#autonomous-workflow):
|
|
172
161
|
|
|
173
162
|
**Global** (personal use — works in all projects):
|
|
174
163
|
|
|
175
164
|
```bash
|
|
176
|
-
npx skills add https://github.com/mthines/
|
|
165
|
+
npx skills add https://github.com/mthines/agent-skills \
|
|
177
166
|
--skill autonomous-workflow create-plan create-walkthrough confidence \
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
167
|
+
code-quality holistic-analysis tdd ux update-claude \
|
|
168
|
+
review-changes create-pr ci-auto-fix \
|
|
169
|
+
--agent claude-code \
|
|
170
|
+
--global --yes
|
|
171
|
+
bash ~/.claude/skills/autonomous-workflow/install.sh --global
|
|
182
172
|
```
|
|
183
173
|
|
|
184
|
-
Installs all skills to `~/.agents/skills/` and links the agent definition into `~/.claude/agents/` so it's available in every project.
|
|
185
|
-
|
|
186
174
|
**Per-project** (team use — committable to git):
|
|
187
175
|
|
|
188
176
|
```bash
|
|
189
|
-
npx skills add https://github.com/mthines/
|
|
177
|
+
npx skills add https://github.com/mthines/agent-skills \
|
|
190
178
|
--skill autonomous-workflow create-plan create-walkthrough confidence \
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
.claude/rules/autonomous-workflow-routing.md
|
|
179
|
+
code-quality holistic-analysis tdd ux update-claude \
|
|
180
|
+
review-changes create-pr ci-auto-fix \
|
|
181
|
+
--agent claude-code \
|
|
182
|
+
--yes
|
|
183
|
+
bash .claude/skills/autonomous-workflow/install.sh
|
|
197
184
|
```
|
|
198
185
|
|
|
199
|
-
|
|
186
|
+
The `install.sh` script links the planner + executor agent definitions and the auto-routing rule into `.claude/`. Then say _"implement X independently"_ and the agent takes over. It will:
|
|
200
187
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
- Create isolated worktrees for each task
|
|
188
|
+
- Create isolated worktrees for each task (uses `gw` if installed, native `git worktree` otherwise)
|
|
204
189
|
- Plan and implement incrementally
|
|
205
190
|
- Run tests and iterate until passing
|
|
206
191
|
- Create draft PRs with full context
|
|
207
192
|
|
|
208
193
|
📦 **Building custom agents?** See [@gw-tools/autonomous-workflow-agent](https://www.npmjs.com/package/@gw-tools/autonomous-workflow-agent) for SDK integration.
|
|
209
194
|
|
|
195
|
+
📊 **Visualize progress in VS Code:** Install the [Agent Tasks extension](https://marketplace.visualstudio.com/items?itemName=mthines.agent-tasks) to see `plan.md`, `task.md`, and `walkthrough.md` artifacts live in the sidebar.
|
|
196
|
+
|
|
210
197
|
## Initial Setup: Secrets in the Default Branch
|
|
211
198
|
|
|
212
199
|
**Important:** Before using `gw checkout` with auto-copy, ensure your secrets and environment files exist in your `defaultBranch` worktree (typically `main`). This worktree is the **source** from which files are copied to new worktrees.
|