thachvd-kit 1.0.34 → 1.0.35

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 thachvd
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 thachvd
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.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # thachvd-kit
2
2
 
3
- `thachvd-kit` bootstraps project context for AI coding agents. It creates shared entry files and scan-based documentation so an agent can understand the repository quickly.
3
+ `thachvd-kit` bootstraps project context for AI coding agents. It creates shared entry files and scan-based documentation so an agent can understand the repository quickly, and it installs/checks [Matt Pocock's promoted skills](https://github.com/mattpocock/skills) — the single workflow layer for planning, implementation, debugging, architecture, and review.
4
4
 
5
- Workflow skills are intentionally not copied into projects. Install [Superpowers](https://github.com/obra/superpowers#installation) through the official plugin surface for the AI client each member uses.
5
+ Skill bodies are intentionally not vendored into this kit or copied globally. `thachvd-kit skills install` delegates to the upstream `skills` CLI and installs the promoted set project-locally under `.agents/skills/`.
6
6
 
7
7
  ## Quick Start
8
8
 
@@ -15,9 +15,17 @@ thachvd-kit setup
15
15
  thachvd-kit doctor
16
16
  ```
17
17
 
18
- `global` installs a managed tool-routing block into the current user's Antigravity and Codex global instruction files while preserving unrelated user content. `init` is project-focused. It does not install external workflow skills or create a second workflow engine.
18
+ For an existing project:
19
19
 
20
- For an existing project that already has refined `.agent/docs/*`, use `thachvd-kit upgrade` instead of re-running `init --yes`. `upgrade` only adds/updates thachvd-kit managed policy blocks and removes a small set of obsolete generated defaults; it preserves project-specific knowledge.
20
+ ```bash
21
+ thachvd-kit upgrade
22
+ thachvd-kit setup
23
+ thachvd-kit doctor
24
+ ```
25
+
26
+ `global` installs a managed tool-routing block into the current user's Antigravity and Codex global instruction files while preserving unrelated user content. `init` is safe and project-focused: it does not install external tools, install skills, or create a second workflow engine. For an existing project that already has refined `.agent/docs/*`, use `thachvd-kit upgrade` instead of re-running `init --yes` — it only adds/updates thachvd-kit's managed policy blocks and removes a small set of obsolete generated defaults, preserving project-specific knowledge (see Safe Project Upgrade below). `setup` installs the promoted Matt Pocock skill set by default (`--no-install-skills` to skip) alongside MCP/RTK tooling.
27
+
28
+ After the first skill install, run `/setup-matt-pocock-skills` once inside your AI client to configure the issue tracker, triage labels, and generated docs location — thachvd-kit does not simulate that skill.
21
29
 
22
30
  ## Generated Files
23
31
 
@@ -29,24 +37,25 @@ For an existing project that already has refined `.agent/docs/*`, use `thachvd-k
29
37
  - `.agent/docs/architecture.md`: architecture notes to refine over time.
30
38
  - `.agent/docs/conventions.md`: coding and verification conventions.
31
39
  - `.agent/docs/workflow.md`: the project workflow contract.
32
- - `.agent/docs/tooling.md`: Superpowers, MCP, RTK, and Playwright setup.
40
+ - `.agent/docs/tooling.md`: Matt Pocock skills, MCP, RTK, and Playwright setup.
33
41
  - `.agent/docs/getting-started.md`: member onboarding guide.
34
42
  - `.agent/docs/index-project-prompt.md`: durable prompt for the first project scan.
35
43
 
36
- `init` does not generate `.agent/skills`, `.agent/workflows`, `.agent/agents`, Forge commands, or client-specific skill copies. `setup` can optionally add a Claude Code Stop hook (see below); it never adds workflow content of its own.
44
+ `init` does not generate `.agent/skills`, `.agent/workflows`, `.agent/agents`, or client-specific skill copies — skills are installed by `thachvd-kit setup`/`skills install` into `.agents/skills/` instead. `setup` can optionally add a Claude Code Stop hook (see below); it never adds workflow content of its own.
37
45
 
38
46
  ## Workflow
39
47
 
40
- Superpowers is the primary workflow backend:
48
+ [Matt Pocock's promoted skills](https://github.com/mattpocock/skills) (`skills/engineering/` + `skills/productivity/`) are the workflow layer, installed project-locally under `.agents/skills/`:
41
49
 
42
- 1. `brainstorming` for unclear requirements.
43
- 2. `using-git-worktrees` for isolated work.
44
- 3. `writing-plans`, then explicit approval.
45
- 4. `test-driven-development` and `executing-plans` or `subagent-driven-development`.
46
- 5. `requesting-code-review` and `verification-before-completion`.
47
- 6. `finishing-a-development-branch`.
48
-
49
- For bugs, use `systematic-debugging`: reproduce, inspect, test hypotheses, add regression protection, fix the root cause, and verify.
50
+ - Ambiguous feature or design: `/grill-with-docs`, then optionally `/to-spec` for a durable contract.
51
+ - Normal feature: `/grill-with-docs` -> `/to-spec` -> `/implement`.
52
+ - Large feature needing decomposition: add `/to-tickets` before `/implement`.
53
+ - Huge, multi-session uncertainty: `/wayfinder`.
54
+ - Bug or failing behavior: `/diagnosing-bugs`.
55
+ - Test-driven implementation: `/tdd`.
56
+ - Architecture survey: `/improve-codebase-architecture` (`/codebase-design` for the design vocabulary).
57
+ - Pre-completion review: `/code-review`.
58
+ - Unsure which skill fits? Run `/ask-matt`.
50
59
 
51
60
  Fast-path eligibility is based on risk and contract surface, not file count. A localized, mechanically obvious, low-risk change with focused verification can use the client fast path; a one-file security, schema, payment, concurrency, or public-contract change should not.
52
61
 
@@ -91,9 +100,19 @@ thachvd-kit upgrade
91
100
 
92
101
  ## Integrations
93
102
 
94
- ### Superpowers
103
+ ### Matt Pocock Skills
104
+
105
+ The promoted engineering + productivity catalog from [mattpocock/skills](https://github.com/mattpocock/skills), installed project-locally (never globally) under `.agents/skills/`:
106
+
107
+ ```bash
108
+ thachvd-kit skills install # install the promoted set (--dry-run to preview)
109
+ thachvd-kit skills check # read-only: report what's installed
110
+ thachvd-kit skills update # re-add each promoted skill individually to update it (slower: one clone per skill)
111
+ ```
112
+
113
+ The manifest (`bin/matt-skills.js`) mirrors upstream's `skills/engineering/` + `skills/productivity/` catalog and deliberately excludes `skills/in-progress`, `skills/misc`, and `skills/deprecated`. Installation targets the Codex and Antigravity agent identifiers of the upstream `skills` CLI, both of which resolve to `.agents/skills/`.
95
114
 
96
- Install it separately for each AI client. The official guide contains the current commands for Claude Code, Antigravity, Codex App, Codex CLI, and Cursor.
115
+ After the first install, run `/setup-matt-pocock-skills` once inside your AI client — it configures the issue tracker, triage labels, and generated docs location. thachvd-kit does not simulate that skill.
97
116
 
98
117
  ### codebase-memory-mcp
99
118
 
@@ -122,15 +141,18 @@ Examples: `rtk git status`, `rtk npm test`, `rtk git log`. If it is not installe
122
141
  thachvd-kit init [--yes]
123
142
  thachvd-kit upgrade [--dry-run]
124
143
  thachvd-kit global [--dry-run] [--antigravity-only|--codex-only]
125
- thachvd-kit setup [--no-setup-mcp] [--no-setup-hook] [--no-install-rtk] [--no-index]
144
+ thachvd-kit setup [--no-setup-mcp] [--no-setup-hook] [--no-install-rtk] [--no-index] [--no-install-skills]
126
145
  thachvd-kit doctor
127
146
  thachvd-kit prompt
147
+ thachvd-kit skills install [--dry-run]
148
+ thachvd-kit skills check
149
+ thachvd-kit skills update [--dry-run]
128
150
  thachvd-kit --help
129
151
  ```
130
152
 
131
- `setup` configures MCP entries for detected clients, prints official Superpowers installation guidance, and adds a Claude Code Stop hook that checks for Plan/Review/Verification evidence before a feature or refactor can be reported as done (skip with `--no-setup-hook`). The hook only checks for evidence; it never prescribes which skill must produce it, so it works whether that evidence came from Superpowers or from a manual process. It also auto-installs missing npm-based MCP packages (`codebase-memory-mcp`, `context7-mcp`, `playwright-mcp`), indexes the current repository with `codebase-memory-mcp` (skip with `--no-index`), and installs `rtk` via `cargo` when `cargo` is available (skip with `--no-install-rtk`). Superpowers itself cannot be auto-installed by this CLI — it is installed through each AI client's own plugin command, not a shell command this tool can run. `doctor` is read-only and reports missing integrations without changing the machine.
153
+ `init` generates project context for a new project; `upgrade` and `global` are the safe, additive-only paths for an existing project or machine (see Safe Project Upgrade and Global Tool Routing above). `setup` installs the promoted Matt Pocock skill set by default (skip with `--no-install-skills`), configures MCP entries for detected clients, and adds a Claude Code Stop hook that checks for Plan/Review/Verification evidence before a feature or refactor can be reported as done (skip with `--no-setup-hook`). The hook only checks for evidence; it never prescribes which skill must produce it, so it works whether that evidence came from a Matt Pocock skill or a manual process. `setup` also auto-installs missing npm-based MCP packages (`codebase-memory-mcp`, `context7-mcp`, `playwright-mcp`), indexes the current repository with `codebase-memory-mcp` (skip with `--no-index`), and installs `rtk` via `cargo` when `cargo` is available (skip with `--no-install-rtk`). `doctor` is read-only and reports missing integrations, including the promoted skill set, without changing the machine.
132
154
 
133
- The project-indexing prompt is saved by `init`, so installing Superpowers or RTK afterward cannot make it disappear. Run `thachvd-kit prompt` whenever you need to print it again.
155
+ The project-indexing prompt is saved by `init`, so installing skills or RTK afterward cannot make it disappear. Run `thachvd-kit prompt` whenever you need to print it again.
134
156
 
135
157
  ## Development
136
158