get-tbd 0.2.3 → 0.3.0
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 -6
- package/dist/bin.mjs +3494 -949
- package/dist/bin.mjs.map +1 -1
- package/dist/cli.mjs +1827 -1312
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-1ouUTKQr.mjs → config-B1w3pAkY.mjs} +142 -290
- package/dist/config-B1w3pAkY.mjs.map +1 -0
- package/dist/config-DXhifxOw.mjs +3 -0
- package/dist/doc-cache-CamtXfi4.mjs +1035 -0
- package/dist/doc-cache-CamtXfi4.mjs.map +1 -0
- package/dist/doc-cache-CiBwpDTf.mjs +3 -0
- package/dist/doc-fork-BMjqzfAs.mjs +3 -0
- package/dist/doc-fork-CoPi1G1N.mjs +304 -0
- package/dist/doc-fork-CoPi1G1N.mjs.map +1 -0
- package/dist/docref-C7g0sjvL.mjs +167 -0
- package/dist/docref-C7g0sjvL.mjs.map +1 -0
- package/dist/docs/README.md +38 -6
- package/dist/docs/SKILL.md +13 -4
- package/dist/docs/guidelines/backward-compatibility-rules.md +1 -0
- package/dist/docs/guidelines/bun-monorepo-patterns.md +1 -0
- package/dist/docs/guidelines/cli-agent-skill-patterns.md +124 -38
- package/dist/docs/guidelines/commit-conventions.md +1 -0
- package/dist/docs/guidelines/common-doc-guidelines.md +1 -0
- package/dist/docs/guidelines/convex-limits-best-practices.md +1 -0
- package/dist/docs/guidelines/convex-rules.md +1 -0
- package/dist/docs/guidelines/electron-app-development-patterns.md +1 -0
- package/dist/docs/guidelines/error-handling-rules.md +1 -0
- package/dist/docs/guidelines/general-coding-rules.md +1 -0
- package/dist/docs/guidelines/general-comment-rules.md +1 -0
- package/dist/docs/guidelines/general-eng-agent-principles.md +1 -0
- package/dist/docs/guidelines/general-tdd-guidelines.md +1 -0
- package/dist/docs/guidelines/general-testing-rules.md +1 -0
- package/dist/docs/guidelines/golden-testing-guidelines.md +1 -0
- package/dist/docs/guidelines/pnpm-monorepo-patterns.md +1 -0
- package/dist/docs/guidelines/python-cli-patterns.md +1 -0
- package/dist/docs/guidelines/python-modern-guidelines.md +1 -0
- package/dist/docs/guidelines/python-rules.md +1 -0
- package/dist/docs/guidelines/release-notes-guidelines.md +1 -0
- package/dist/docs/guidelines/supply-chain-hardening.md +3 -2
- package/dist/docs/guidelines/tbd-sync-troubleshooting.md +1 -0
- package/dist/docs/guidelines/typescript-cli-tool-rules.md +1 -0
- package/dist/docs/guidelines/typescript-code-coverage.md +1 -0
- package/dist/docs/guidelines/typescript-rules.md +1 -0
- package/dist/docs/guidelines/typescript-sorting-patterns.md +1 -0
- package/dist/docs/guidelines/typescript-yaml-handling-rules.md +1 -0
- package/dist/docs/references/docmap-format.md +64 -0
- package/dist/docs/references/docref-format.md +71 -0
- package/dist/docs/shortcuts/standard/checkout-third-party-repo.md +17 -4
- package/dist/docs/shortcuts/standard/new-shortcut.md +5 -5
- package/dist/docs/shortcuts/standard/plan-implementation-with-beads.md +1 -1
- package/dist/docs/shortcuts/standard/suggest-upstream-improvements.md +69 -0
- package/dist/docs/shortcuts/standard/sync-failure-recovery.md +1 -1
- package/dist/docs/shortcuts/standard/welcome-user.md +28 -0
- package/dist/docs/shortcuts/system/skill-baseline.md +13 -4
- package/dist/docs/tbd-design.md +141 -0
- package/dist/docs/tbd-docs.md +169 -5
- package/dist/docs/tbd-prime.md +0 -1
- package/dist/docs/templates/qa-playbook.md +3 -1
- package/dist/docs/templates/research-brief.md +2 -2
- package/dist/fork-manifest-ByU7U2do.mjs +253 -0
- package/dist/fork-manifest-ByU7U2do.mjs.map +1 -0
- package/dist/fork-manifest-C7lGRq-6.mjs +3 -0
- package/dist/{id-mapping-mtoSP9Qt.mjs → id-mapping-D0iitY-F.mjs} +1 -1
- package/dist/{id-mapping-687_UEsy.mjs → id-mapping-DAIeLKzm.mjs} +8 -200
- package/dist/id-mapping-DAIeLKzm.mjs.map +1 -0
- package/dist/index.d.mts +90 -13
- package/dist/index.mjs +3 -3
- package/dist/lockfile-BR0laSDy.mjs +198 -0
- package/dist/lockfile-BR0laSDy.mjs.map +1 -0
- package/dist/paths-C1DpnZJW.mjs +405 -0
- package/dist/paths-C1DpnZJW.mjs.map +1 -0
- package/dist/{schemas-f0EcuAVu.mjs → schemas-lCwRk30L.mjs} +19 -6
- package/dist/schemas-lCwRk30L.mjs.map +1 -0
- package/dist/{src-DTyyuaG_.mjs → src-CxKOynr1.mjs} +3 -3
- package/dist/src-CxKOynr1.mjs.map +1 -0
- package/dist/tbd +3494 -949
- package/dist/yaml-utils-BPy991by.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/config-1ouUTKQr.mjs.map +0 -1
- package/dist/config-YRRW9l89.mjs +0 -3
- package/dist/id-mapping-687_UEsy.mjs.map +0 -1
- package/dist/schemas-f0EcuAVu.mjs.map +0 -1
- package/dist/src-DTyyuaG_.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -37,7 +37,6 @@ will work in Cursor, Codex, or any agent environment that can use the `tbd` CLI.
|
|
|
37
37
|
## Quick Start
|
|
38
38
|
|
|
39
39
|
> [!TIP]
|
|
40
|
-
>
|
|
41
40
|
> If running on your own machine, install the `tbd` CLI yourself:
|
|
42
41
|
>
|
|
43
42
|
> **`npm install -g get-tbd@latest`**
|
|
@@ -50,6 +49,11 @@ will work in Cursor, Codex, or any agent environment that can use the `tbd` CLI.
|
|
|
50
49
|
>
|
|
51
50
|
> ***“install tbd (npm install -g get-tbd@latest) and run tbd prime for instructions to
|
|
52
51
|
> set up this project”***
|
|
52
|
+
>
|
|
53
|
+
> If tbd is already set up in the repo and you want the latest version, tell the agent:
|
|
54
|
+
>
|
|
55
|
+
> ***“upgrade tbd (npm install -g get-tbd@latest), run tbd setup --auto, and commit the
|
|
56
|
+
> changes”***
|
|
53
57
|
|
|
54
58
|
That’s it.
|
|
55
59
|
Running `tbd prime` gives agents full workflow context on how to use `tbd` and
|
|
@@ -122,7 +126,6 @@ agents handling different aspects that I manage) is slower, because it forces yo
|
|
|
122
126
|
design, but it gives higher quality results.
|
|
123
127
|
|
|
124
128
|
> [!NOTE]
|
|
125
|
-
>
|
|
126
129
|
> We use *Beads* (capitalized) to refer to Steve Yegge’s original
|
|
127
130
|
> [`bd` tool](https://github.com/steveyegge/beads).
|
|
128
131
|
> Lowercase “beads” refers generically to the issues stored in `tbd` or `bd`.
|
|
@@ -160,8 +163,8 @@ You just talk naturally.
|
|
|
160
163
|
|
|
161
164
|
> [!NOTE]
|
|
162
165
|
> For full technical details, see the [reference docs](packages/tbd/docs/tbd-docs.md)
|
|
163
|
-
> (run `tbd docs`) or the full
|
|
164
|
-
> (`tbd design`).
|
|
166
|
+
> (run `tbd docs show tbd-docs`) or the full
|
|
167
|
+
> [design doc](packages/tbd/docs/tbd-design.md) (`tbd design`).
|
|
165
168
|
|
|
166
169
|
- **Git-native:** Beads live in your repo, synced to a separate, dedicated `tbd-sync`
|
|
167
170
|
branch. Your code history stays clean—no bead churn polluting your logs.
|
|
@@ -225,7 +228,6 @@ practices. These aren’t generic tips; they’re mostly my own detailed and som
|
|
|
225
228
|
opinionated rules with concrete examples, built from months of heavy agentic coding.
|
|
226
229
|
|
|
227
230
|
> [!TIP]
|
|
228
|
-
>
|
|
229
231
|
> An example: I *strongly* believe there are much better ways to do testing
|
|
230
232
|
> proliferating hundreds of unit and integration tests.
|
|
231
233
|
> So (with help from some Opus 4.5 and GPT-5 Pro) I wrote a multi-page brief about
|
|
@@ -292,6 +294,25 @@ tbd setup --from-beads
|
|
|
292
294
|
> **Tip:** Run `tbd setup --auto` anytime to refresh skill files, hooks, and configs
|
|
293
295
|
> with the latest shortcuts, guidelines, and templates.
|
|
294
296
|
|
|
297
|
+
### Upgrading
|
|
298
|
+
|
|
299
|
+
Upgrading an existing installation is the same two commands, run by you or your agent:
|
|
300
|
+
|
|
301
|
+
```bash
|
|
302
|
+
npm install -g get-tbd@latest # Upgrade the CLI
|
|
303
|
+
tbd setup --auto # Refresh skills/hooks and apply any format migration
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
If the new version bumps the repository format (`tbd_format` in `.tbd/config.yml`),
|
|
307
|
+
setup migrates it automatically and prints a notice; **commit the resulting diff** to
|
|
308
|
+
publish the upgrade to your team.
|
|
309
|
+
Teammates still on an older tbd then see “This repository requires a newer version of
|
|
310
|
+
tbd” until they run the same two commands.
|
|
311
|
+
Issue data is never touched by an upgrade, and the migration is revertible: see
|
|
312
|
+
“Aborting a Format Upgrade” under Troubleshooting in the CLI manual (`tbd docs manual`).
|
|
313
|
+
If you have forked docs in `docs/tbd/`, `tbd sync` prints a notice when their upstream
|
|
314
|
+
versions moved; run `tbd docs update` to merge the changes in.
|
|
315
|
+
|
|
295
316
|
### Team Setup
|
|
296
317
|
|
|
297
318
|
`tbd` is designed for teams where one person sets up the project and others join later.
|
|
@@ -394,11 +415,21 @@ tbd template --list # List all templates
|
|
|
394
415
|
tbd template plan-spec # Get a plan spec template
|
|
395
416
|
|
|
396
417
|
# Add your own from any URL
|
|
418
|
+
# (per-kind aliases for `tbd docs add <docref>`)
|
|
397
419
|
tbd guidelines --add=<url> --name=<name>
|
|
398
420
|
tbd shortcut --add=<url> --name=<name>
|
|
399
421
|
tbd template --add=<url> --name=<name>
|
|
400
422
|
```
|
|
401
423
|
|
|
424
|
+
**Forkable: see them in your repo.** By default these docs are served from a hidden,
|
|
425
|
+
gitignored cache. Fork any of them into `docs/tbd/` and they become visible on GitHub,
|
|
426
|
+
reviewable in PRs, and editable in place—tbd serves your copy instead, and
|
|
427
|
+
`tbd docs update` merges upstream improvements into it after an upgrade:
|
|
428
|
+
|
|
429
|
+
```bash
|
|
430
|
+
tbd docs fork --all # Or fork by name: tbd docs fork <name> [<name>...]
|
|
431
|
+
```
|
|
432
|
+
|
|
402
433
|
**Available shortcuts:**
|
|
403
434
|
|
|
404
435
|
| Category | Shortcut | Purpose |
|
|
@@ -480,7 +511,8 @@ Every command supports these flags for automation:
|
|
|
480
511
|
```bash
|
|
481
512
|
tbd # Full orientation and workflow guidance
|
|
482
513
|
tbd readme # This file
|
|
483
|
-
tbd docs #
|
|
514
|
+
tbd docs # Managed-docs overview (cached, forked, and local docs)
|
|
515
|
+
tbd docs show tbd-docs # Full CLI reference (the manual; alias: tbd docs manual)
|
|
484
516
|
```
|
|
485
517
|
|
|
486
518
|
Or read online:
|