thought-cabinet 0.1.13 → 0.2.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 +38 -15
- package/dist/index.js +933 -485
- package/dist/index.js.map +1 -1
- package/docs/CLI.md +24 -13
- package/package.json +1 -1
- package/src/agent-assets/skills/creating-plan/SKILL.md +6 -0
- package/src/agent-assets/skills/creating-plan/plan-template.md +37 -12
- package/src/agent-assets/skills/implementing-plan/SKILL.md +43 -7
- package/src/agent-assets/skills/init-agent-memory/SKILL.md +161 -0
- package/src/agent-assets/skills/init-agent-memory/architectural-patterns-template.md +36 -0
- package/src/agent-assets/skills/init-agent-memory/claude-memory-template.md +40 -0
- package/src/agent-assets/skills/navigate-thoughts/SKILL.md +45 -0
- package/src/agent-assets/skills/onboard/SKILL.md +74 -0
- package/src/agent-assets/skills/onboard/onboard.sh +118 -0
- package/src/agent-assets/skills/test-driven-development/SKILL.md +6 -1
- package/src/agent-assets/skills/test-skill-e2e/SKILL.md +205 -0
- package/src/agent-assets/skills/writing-skill/SKILL.md +207 -0
- package/src/agent-assets/skills/writing-skill/best-practices.md +1211 -0
- package/src/agent-assets/skills/writing-skill/skill-template.md +63 -0
package/README.md
CHANGED
|
@@ -21,30 +21,52 @@ Thought Cabinet solves these by providing:
|
|
|
21
21
|
## Quick Start
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
cd your-project
|
|
25
|
-
|
|
26
24
|
# 1. Install
|
|
27
25
|
pnpm install -g thought-cabinet
|
|
28
26
|
|
|
29
|
-
# 2.
|
|
30
|
-
|
|
27
|
+
# 2. Install skills to your AI agent
|
|
28
|
+
cd your-project
|
|
29
|
+
thc skill install
|
|
31
30
|
|
|
32
|
-
# 3.
|
|
33
|
-
|
|
31
|
+
# 3. Onboard the project (in your agent session)
|
|
32
|
+
> /onboard
|
|
33
|
+
```
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
The `/onboard` skill initializes thoughts, creates agent memory (`AGENTS.md`), and installs git hooks — all in one step.
|
|
36
|
+
|
|
37
|
+
Once onboarded, use the workflow skills:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
36
40
|
> /research-codebase How does the authentication system work?
|
|
37
41
|
> /creating-plan Add OAuth2 support based on the research
|
|
38
42
|
> /implementing-plan thoughts/shared/plans/add-oauth.md
|
|
39
43
|
> /validating-plan thoughts/shared/plans/add-oauth.md
|
|
40
44
|
```
|
|
41
45
|
|
|
46
|
+
<details>
|
|
47
|
+
<summary>Manual setup (without the onboard skill)</summary>
|
|
48
|
+
|
|
49
|
+
If you prefer to set up manually instead of using `/onboard`:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
cd your-project
|
|
53
|
+
|
|
54
|
+
# Initialize thoughts
|
|
55
|
+
thc init
|
|
56
|
+
|
|
57
|
+
# Install skills to your AI agent
|
|
58
|
+
thc skill install
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
</details>
|
|
62
|
+
|
|
42
63
|
## Skills
|
|
43
64
|
|
|
44
|
-
Skills are installed by `thc
|
|
65
|
+
Skills are installed by `thc skill install` and invoked as slash commands in your agent session:
|
|
45
66
|
|
|
46
67
|
| Skill | Description |
|
|
47
68
|
| -------------------- | --------------------------------------------------------------------- |
|
|
69
|
+
| `/onboard` | Initialize thoughts and bootstrap agent memory for a new project |
|
|
48
70
|
| `/research-codebase` | Deep-dive into codebase, save findings to `thoughts/shared/research/` |
|
|
49
71
|
| `/creating-plan` | Create implementation plan with phases and success criteria |
|
|
50
72
|
| `/iterating-plan` | Refine existing plans based on feedback |
|
|
@@ -89,13 +111,14 @@ Research and plans are written to disk. The agent reads back only what it needs,
|
|
|
89
111
|
|
|
90
112
|
## CLI Overview
|
|
91
113
|
|
|
92
|
-
| Command
|
|
93
|
-
|
|
|
94
|
-
| `thc init`
|
|
95
|
-
| `thc sync`
|
|
96
|
-
| `thc status`
|
|
97
|
-
| `thc
|
|
98
|
-
| `thc
|
|
114
|
+
| Command | Description |
|
|
115
|
+
| ------------------- | -------------------------------------------------- |
|
|
116
|
+
| `thc init` | Initialize thoughts for current repository |
|
|
117
|
+
| `thc sync` | Sync thoughts to git repository |
|
|
118
|
+
| `thc status` | Show thoughts repository status |
|
|
119
|
+
| `thc skill install` | Install skills and agents to your AI coding agent |
|
|
120
|
+
| `thc skill update` | Update installed skills from latest package bundle |
|
|
121
|
+
| `thc config` | View or edit configuration |
|
|
99
122
|
|
|
100
123
|
See [docs/CLI.md](docs/CLI.md) for the full command reference with all flags and options.
|
|
101
124
|
|