get-tbd 0.1.10 → 0.1.12
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 +39 -24
- package/dist/bin.mjs +485 -143
- package/dist/bin.mjs.map +1 -1
- package/dist/cli.mjs +485 -143
- package/dist/cli.mjs.map +1 -1
- package/dist/docs/README.md +39 -24
- package/dist/docs/SKILL.md +92 -168
- package/dist/docs/guidelines/error-handling-rules.md +497 -0
- package/dist/docs/guidelines/general-comment-rules.md +54 -4
- package/dist/docs/guidelines/general-tdd-guidelines.md +96 -2
- package/dist/docs/guidelines/golden-testing-guidelines.md +607 -22
- package/dist/docs/guidelines/python-modern-guidelines.md +184 -0
- package/dist/docs/guidelines/python-rules.md +239 -40
- package/dist/docs/guidelines/typescript-cli-tool-rules.md +75 -0
- package/dist/docs/guidelines/typescript-rules.md +368 -34
- package/dist/docs/shortcuts/standard/agent-handoff.md +58 -0
- package/dist/docs/shortcuts/standard/commit-code.md +8 -7
- package/dist/docs/shortcuts/standard/create-or-update-pr-simple.md +29 -14
- package/dist/docs/shortcuts/standard/create-or-update-pr-with-validation-plan.md +28 -14
- package/dist/docs/shortcuts/standard/implement-beads.md +10 -13
- package/dist/docs/shortcuts/standard/new-architecture-doc.md +1 -3
- package/dist/docs/shortcuts/standard/new-guideline.md +0 -2
- package/dist/docs/shortcuts/standard/new-plan-spec.md +4 -6
- package/dist/docs/shortcuts/standard/new-research-brief.md +1 -3
- package/dist/docs/shortcuts/standard/new-shortcut.md +53 -0
- package/dist/docs/shortcuts/standard/new-validation-plan.md +1 -3
- package/dist/docs/shortcuts/standard/plan-implementation-with-beads.md +54 -0
- package/dist/docs/shortcuts/standard/precommit-process.md +8 -7
- package/dist/docs/shortcuts/standard/review-code-python.md +1 -3
- package/dist/docs/shortcuts/standard/review-code-typescript.md +1 -3
- package/dist/docs/shortcuts/standard/welcome-user.md +1 -3
- package/dist/docs/shortcuts/system/shortcut-explanation.md +2 -2
- package/dist/docs/shortcuts/system/skill-brief.md +12 -10
- package/dist/docs/shortcuts/system/skill.md +92 -168
- package/dist/docs/skill-brief.md +12 -10
- package/dist/index.mjs +1 -1
- package/dist/{src-DJY6bekI.mjs → src-Dm8ZhhIV.mjs} +2 -2
- package/dist/{src-DJY6bekI.mjs.map → src-Dm8ZhhIV.mjs.map} +1 -1
- package/dist/tbd +485 -143
- package/package.json +3 -1
- package/dist/docs/shortcuts/standard/new-implementation-beads-from-spec.md +0 -29
package/README.md
CHANGED
|
@@ -20,34 +20,45 @@ things that are each powerful on their own but unreasonably effective together:
|
|
|
20
20
|
These are essentially “self-injected context” for an agent to get smarter when it
|
|
21
21
|
needs it.
|
|
22
22
|
|
|
23
|
-
tbd comes pre-installed with guideline docs on
|
|
24
|
-
|
|
25
|
-
compatibility
|
|
26
|
-
But you can use your own if you prefer.
|
|
23
|
+
`tbd` comes pre-installed with guideline docs on dozens of topics, notably TypeScript
|
|
24
|
+
and Python best practices and common agent pitfalls, red-green TDD, golden testing,
|
|
25
|
+
Convex, monorepo project setup, error handling practices, and backward compatibility
|
|
26
|
+
rules. But you can use your own if you prefer.
|
|
27
27
|
|
|
28
|
-
I use tbd most frequently in Claude Code, where it self-installs as a skill, but it
|
|
29
|
-
work in Cursor, Codex, or any agent environment that can use the `tbd` CLI.
|
|
28
|
+
I use `tbd` most frequently in Claude Code, where it self-installs as a skill, but it
|
|
29
|
+
will work in Cursor, Codex, or any agent environment that can use the `tbd` CLI.
|
|
30
30
|
|
|
31
|
-
## Should You Use tbd
|
|
31
|
+
## Should You Use `tbd`?
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
It’s largely compatible with `bd` at the CLI level for core issue tracking
|
|
33
|
+
Firstly, you can use `tbd` simply as a Beads replacement.
|
|
34
|
+
It’s largely compatible with the original `bd` at the CLI level for core issue tracking
|
|
35
35
|
functionality.
|
|
36
|
-
Its design, such as using only one sync branch and separate Markdown files
|
|
37
|
-
for every bead to avoid conflicts, carefully avoids some key pracctical frustrations
|
|
38
|
-
I’ve had with Beads (like frequent merge/sync confusions, fighting with the daemon, and
|
|
39
|
-
SQLite not working in Claude Code Cloud—see the [FAQ](#how-does-tbd-compare-to-beads)).
|
|
40
36
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
Unfortunately, inspite of the power of the beads ideas, there are quite a few
|
|
38
|
+
[practical frustrations](#how-does-tbd-compare-to-beads) with the original
|
|
39
|
+
implementation—notably the daemon modifying files, merge conflicts, sync confusions
|
|
40
|
+
across branches and database, and SQLite not working in Claude Code Cloud.
|
|
41
|
+
|
|
42
|
+
`tbd` is *very* new but aims to be a fully functional option for those who want an
|
|
43
|
+
alternative to `bd` for agent issue tracking.
|
|
44
|
+
I now use it instead of `bd` now.
|
|
45
|
+
|
|
46
|
+
But what excites me now is that `tbd` is more than just task management: the CLI is a
|
|
47
|
+
way to **inject engineering rules and best practices** and **streamline reproducible
|
|
48
|
+
workflows with shortcuts**.
|
|
49
|
+
|
|
50
|
+
By combining task management, knowledge injection, and shortcuts, I find my agents ship
|
|
51
|
+
code with speed, quality, and discipline.
|
|
52
|
+
I can now ship entire large features just with voice prompts like “use the shortcut to
|
|
53
|
+
create a new plan spec that …” and “now use the shortcut to file a PR with a validation
|
|
54
|
+
plan.”
|
|
44
55
|
|
|
45
56
|
These workflows arose from several months of
|
|
46
57
|
[heavy spec-driven agentic coding](https://github.com/jlevy/speculate/blob/main/about/lessons_in_spec_coding.md).
|
|
47
58
|
Basically 100% of the code I now write is agent-written, planned and tracked through
|
|
48
59
|
specs and beads and streamlined with shortcuts.
|
|
49
60
|
|
|
50
|
-
tbd focuses on the *durable layer* of agent development: issue tracking, planning, and
|
|
61
|
+
`tbd` focuses on the *durable layer* of agent development: issue tracking, planning, and
|
|
51
62
|
knowledge that persist in git across sessions.
|
|
52
63
|
It does not (yet) try to solve real-time multi-agent coordination features of Beads or
|
|
53
64
|
[Gas Town](https://github.com/steveyegge/gastown) or
|
|
@@ -70,9 +81,13 @@ design, but it gives higher quality results.
|
|
|
70
81
|
|
|
71
82
|
> [!TIP]
|
|
72
83
|
>
|
|
73
|
-
> *
|
|
84
|
+
> *Install `tbd` globally for convenience:*
|
|
85
|
+
>
|
|
86
|
+
> **`npm install -g get-tbd@latest`**
|
|
87
|
+
>
|
|
88
|
+
> Then tell your agent:
|
|
74
89
|
>
|
|
75
|
-
> ***“
|
|
90
|
+
> ***“run tbd for instructions to set up this project”***
|
|
76
91
|
|
|
77
92
|
That’s it. Running `tbd` with no arguments gives your agent what it needs as well as
|
|
78
93
|
information on how to help you.
|
|
@@ -94,7 +109,7 @@ status or context or knowledge and know what to do next:
|
|
|
94
109
|
| What you say | What happens | What runs |
|
|
95
110
|
| --- | --- | --- |
|
|
96
111
|
| "Let's plan a new feature that …" | Agent creates a spec from a template | `tbd shortcut new-plan-spec` |
|
|
97
|
-
| "Break this spec into beads" | Agent creates implementation beads from the spec | `tbd shortcut
|
|
112
|
+
| "Break this spec into beads" | Agent creates implementation beads from the spec | `tbd shortcut plan-implementation-with-beads` |
|
|
98
113
|
| "Implement these beads" | Agent works through beads systematically | `tbd shortcut implement-beads` |
|
|
99
114
|
| "Create a bead for the bug where …" | Agent creates and tracks a bead | `tbd create "..." --type=bug` |
|
|
100
115
|
| "Let's work on current beads" | Agent finds ready beads and starts working | `tbd ready` |
|
|
@@ -153,7 +168,7 @@ But task tracking alone doesn’t help with *planning* or *quality*. You still n
|
|
|
153
168
|
to think through what you’re building before you start, and a way to make sure the agent
|
|
154
169
|
follows good engineering practices while it works.
|
|
155
170
|
|
|
156
|
-
tbd combines all three: beads for task management, spec-driven workflows for planning,
|
|
171
|
+
`tbd` combines all three: beads for task management, spec-driven workflows for planning,
|
|
157
172
|
and curated engineering guidelines for quality.
|
|
158
173
|
Together, they let you hand an agent a well-defined spec with clear beads and expert
|
|
159
174
|
knowledge, and get back careful, well-structured code—even overnight, even across
|
|
@@ -340,7 +355,7 @@ tbd template --add=<url> --name=<name>
|
|
|
340
355
|
| `new-research-brief` | Create a research document |
|
|
341
356
|
| `new-architecture-doc` | Create an architecture document |
|
|
342
357
|
| `new-validation-plan` | Create a test/validation plan |
|
|
343
|
-
| `
|
|
358
|
+
| `plan-implementation-with-beads` | Break a spec into implementation beads |
|
|
344
359
|
| `implement-beads` | Implement beads from a spec |
|
|
345
360
|
| `precommit-process` | Pre-commit review and testing |
|
|
346
361
|
| `commit-code` | Commit with pre-commit checks |
|
|
@@ -382,11 +397,11 @@ tbd template --add=<url> --name=<name>
|
|
|
382
397
|
|
|
383
398
|
### Spec-Driven Development
|
|
384
399
|
|
|
385
|
-
For non-trivial features, tbd supports a full spec-driven workflow:
|
|
400
|
+
For non-trivial features, `tbd` supports a full spec-driven workflow:
|
|
386
401
|
|
|
387
402
|
1. **Plan**: Create a planning spec (`tbd shortcut new-plan-spec`)
|
|
388
403
|
2. **Break down**: Convert spec into implementation beads
|
|
389
|
-
(`tbd shortcut
|
|
404
|
+
(`tbd shortcut plan-implementation-with-beads`)
|
|
390
405
|
3. **Implement**: Work through beads systematically (`tbd shortcut implement-beads`)
|
|
391
406
|
4. **Validate**: Create validation plan, run tests (`tbd shortcut new-validation-plan`)
|
|
392
407
|
5. **Ship**: Commit, create PR (`tbd shortcut create-or-update-pr-with-validation-plan`)
|