@chamba/claude-extras 0.3.0 → 0.3.2
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/assets/commands/ticket.md +27 -21
- package/assets/commands/vault.md +13 -0
- package/package.json +3 -3
|
@@ -3,25 +3,31 @@ description: Resolve a ticket end-to-end in isolated worktrees, delegating to ch
|
|
|
3
3
|
argument-hint: <ticket> [repo ...]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
You are orchestrating ticket **$ARGUMENTS** end-to-end. chamba provides
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
You are orchestrating ticket **$ARGUMENTS** end-to-end. chamba provides context,
|
|
7
|
+
plan validation, worktrees and vault memory; you delegate the thinking and the
|
|
8
|
+
code to the configured subagents. **Run to the end and stop only for my final
|
|
9
|
+
review** — do not pause for approval mid-way.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
11
|
+
The first token of the arguments is the ticket id; any further tokens are repos I
|
|
12
|
+
named explicitly. Analyze first, create worktrees only for the repos actually
|
|
13
|
+
touched — do not create a worktree for every repo in the workspace.
|
|
14
|
+
|
|
15
|
+
1. Call `chamba_load_context` with the ticket to pull the workspace map (all repos
|
|
16
|
+
and what each one is) + relevant Obsidian notes.
|
|
17
|
+
2. Delegate to the **planner** subagent to produce the plan. The plan MUST state
|
|
18
|
+
**which repos the ticket touches and why**, with subtasks grouped per repo. If I
|
|
19
|
+
named repos in the arguments, use exactly those; otherwise infer the set from the
|
|
20
|
+
ticket + the workspace map. If anything is ambiguous, list it as an assumption —
|
|
21
|
+
do not invent scope.
|
|
22
|
+
3. Run the plan through `chamba_review_plan` and have the **reviewer** subagent
|
|
23
|
+
audit it. Fix and re-review until approved (max 3 rounds). Do NOT stop to ask me.
|
|
24
|
+
4. Create isolated worktrees ONLY for the repos the plan identified: call
|
|
25
|
+
`chamba_create_worktrees` with the ticket and that repo list. ALL work happens
|
|
26
|
+
inside these worktrees — never edit the main checkouts.
|
|
27
|
+
5. For each subtask/repo, delegate implementation to the **implementer** subagent
|
|
28
|
+
(in that repo's worktree) and the tests to the **tester** subagent; run them.
|
|
29
|
+
6. Call `chamba_summarize_to_vault` with a summary of what changed.
|
|
30
|
+
7. STOP and report for my review: the repos touched and why; per repo, what changed
|
|
31
|
+
and the test results; the `.code-workspace` to open; and the suggested commit +
|
|
32
|
+
`git merge --no-ff` commands. Do NOT commit, merge or push — I review, commit and
|
|
33
|
+
send to my company's code review by hand.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Show the connected Obsidian vault and the notes chamba can see
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Call `chamba_vault_status` and show me the result clearly:
|
|
6
|
+
|
|
7
|
+
- The resolved vault path and whether it came from `CHAMBA_OBSIDIAN_VAULT_PATH`
|
|
8
|
+
or autodetection.
|
|
9
|
+
- How many markdown notes chamba can see, and the list of note files.
|
|
10
|
+
|
|
11
|
+
If no vault is found, or the note count is 0, or the path ends in `.obsidian`,
|
|
12
|
+
tell me to set `CHAMBA_OBSIDIAN_VAULT_PATH` to the **vault root** (the folder that
|
|
13
|
+
*contains* `.obsidian`, not `.obsidian` itself) and restart the editor.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chamba/claude-extras",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Optional Claude Code extras for chamba: slash commands, subagents and hooks installer",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@inquirer/prompts": "^7.0.0",
|
|
34
|
-
"@chamba/adapters": "0.3.
|
|
35
|
-
"@chamba/core": "0.3.
|
|
34
|
+
"@chamba/adapters": "0.3.2",
|
|
35
|
+
"@chamba/core": "0.3.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^22.0.0",
|