get-tbd 0.1.13 → 0.1.14
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 +37 -24
- package/dist/bin.mjs +410 -170
- package/dist/bin.mjs.map +1 -1
- package/dist/cli.mjs +202 -94
- package/dist/cli.mjs.map +1 -1
- package/dist/docs/README.md +37 -24
- package/dist/docs/SKILL.md +61 -18
- package/dist/docs/guidelines/cli-agent-skill-patterns.md +77 -4
- package/dist/docs/guidelines/error-handling-rules.md +66 -0
- package/dist/docs/guidelines/release-notes-guidelines.md +140 -0
- package/dist/docs/guidelines/typescript-yaml-handling-rules.md +195 -0
- package/dist/docs/install/claude-header.md +13 -6
- package/dist/docs/shortcuts/standard/agent-handoff.md +1 -0
- package/dist/docs/shortcuts/standard/checkout-third-party-repo.md +50 -0
- package/dist/docs/shortcuts/standard/{cleanup-all.md → code-cleanup-all.md} +3 -2
- package/dist/docs/shortcuts/standard/{cleanup-update-docstrings.md → code-cleanup-docstrings.md} +1 -0
- package/dist/docs/shortcuts/standard/{cleanup-remove-trivial-tests.md → code-cleanup-tests.md} +1 -0
- package/dist/docs/shortcuts/standard/{commit-code.md → code-review-and-commit.md} +1 -0
- package/dist/docs/shortcuts/standard/create-or-update-pr-simple.md +1 -0
- package/dist/docs/shortcuts/standard/create-or-update-pr-with-validation-plan.md +1 -0
- package/dist/docs/shortcuts/standard/implement-beads.md +1 -0
- package/dist/docs/shortcuts/standard/merge-upstream.md +1 -0
- package/dist/docs/shortcuts/standard/new-architecture-doc.md +1 -0
- package/dist/docs/shortcuts/standard/new-guideline.md +8 -0
- package/dist/docs/shortcuts/standard/new-plan-spec.md +1 -0
- package/dist/docs/shortcuts/standard/new-research-brief.md +1 -0
- package/dist/docs/shortcuts/standard/new-shortcut.md +27 -1
- package/dist/docs/shortcuts/standard/new-validation-plan.md +1 -0
- package/dist/docs/shortcuts/standard/plan-implementation-with-beads.md +1 -0
- package/dist/docs/shortcuts/standard/precommit-process.md +1 -0
- package/dist/docs/shortcuts/standard/review-code-python.md +1 -0
- package/dist/docs/shortcuts/standard/review-code-typescript.md +1 -0
- package/dist/docs/shortcuts/standard/review-code.md +1 -0
- package/dist/docs/shortcuts/standard/review-github-pr.md +1 -0
- package/dist/docs/shortcuts/standard/revise-all-architecture-docs.md +1 -0
- package/dist/docs/shortcuts/standard/revise-architecture-doc.md +1 -0
- package/dist/docs/shortcuts/standard/setup-github-cli.md +1 -0
- package/dist/docs/shortcuts/standard/sync-failure-recovery.md +6 -53
- package/dist/docs/shortcuts/standard/update-specs-status.md +1 -0
- package/dist/docs/shortcuts/standard/welcome-user.md +2 -1
- package/dist/docs/shortcuts/system/skill-brief.md +1 -1
- package/dist/docs/shortcuts/system/skill.md +48 -12
- package/dist/docs/skill-brief.md +1 -1
- package/dist/docs/tbd-design.md +13 -1
- package/dist/index.d.mts +20 -6
- package/dist/index.mjs +2 -2
- package/dist/{src-BfhjLZXE.mjs → src-DdSZ1dgK.mjs} +154 -22
- package/dist/src-DdSZ1dgK.mjs.map +1 -0
- package/dist/tbd +410 -170
- package/package.json +1 -1
- package/dist/src-BfhjLZXE.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# tbd
|
|
2
2
|
|
|
3
|
-
**Task
|
|
4
|
-
agents.**
|
|
3
|
+
**Task tracking, spec-driven planning, and knowledge injection for AI coding agents.**
|
|
5
4
|
|
|
6
5
|
**tbd** (short for “To Be Done,” or “TypeScript beads” if you prefer) combines four
|
|
7
6
|
things that are each powerful on their own but work even better together:
|
|
@@ -138,7 +137,7 @@ status or context or knowledge and know what to do next:
|
|
|
138
137
|
| "Let's work on current beads" | Agent finds ready beads and starts working | `tbd ready` |
|
|
139
138
|
| "Review this code" | Agent performs comprehensive code review with all guidelines | [`tbd shortcut review-code`](packages/tbd/docs/shortcuts/standard/review-code.md) |
|
|
140
139
|
| "Review this PR" | Agent reviews a GitHub pull request and can comment/fix | [`tbd shortcut review-github-pr`](packages/tbd/docs/shortcuts/standard/review-github-pr.md) |
|
|
141
|
-
| "Use the shortcut to commit" | Agent runs full pre-commit checks, code review, and commits | [`tbd shortcut commit
|
|
140
|
+
| "Use the shortcut to commit" | Agent runs full pre-commit checks, code review, and commits | [`tbd shortcut code-review-and-commit`](packages/tbd/docs/shortcuts/standard/code-review-and-commit.md) |
|
|
142
141
|
| "Create a PR" | Agent creates or updates the pull request | [`tbd shortcut create-or-update-pr-simple`](packages/tbd/docs/shortcuts/standard/create-or-update-pr-simple.md) |
|
|
143
142
|
| "Let's create a research brief on …" | Agent creates a research document using a template | [`tbd shortcut new-research-brief`](packages/tbd/docs/shortcuts/standard/new-research-brief.md) |
|
|
144
143
|
| "How could we test this better?" | Agent loads TDD and testing guidelines | [`tbd guidelines general-tdd-guidelines`](packages/tbd/docs/guidelines/general-tdd-guidelines.md) |
|
|
@@ -168,7 +167,7 @@ You just talk naturally.
|
|
|
168
167
|
[FAQ: How does `tbd` compare to Beads?](#how-does-tbd-compare-to-beads)).
|
|
169
168
|
- **Shortcuts:** Over a dozen reusable workflow documents—plan specs, code reviews,
|
|
170
169
|
commit processes, PR creation, research briefs, and more.
|
|
171
|
-
- **Guidelines:** [
|
|
170
|
+
- **Guidelines:** [20+ guideline docs](packages/tbd/docs/guidelines/) of coding rules
|
|
172
171
|
and best practices (see
|
|
173
172
|
[Built-in Engineering Knowledge](#built-in-engineering-knowledge)).
|
|
174
173
|
- **Templates:** Document templates for planning specs, research briefs, architecture
|
|
@@ -213,7 +212,7 @@ And yes, all the code *and* all the specs of `tbd` are agent written—see
|
|
|
213
212
|
## Built-in Engineering Knowledge
|
|
214
213
|
|
|
215
214
|
When you run `tbd setup`, your agent gets instant access to
|
|
216
|
-
[
|
|
215
|
+
[20+ guideline documents](packages/tbd/docs/guidelines/) covering real-world engineering
|
|
217
216
|
practices. These aren’t generic tips; they’re mostly my own detailed and sometimes
|
|
218
217
|
opinionated rules with concrete examples, built from months of heavy agentic coding.
|
|
219
218
|
|
|
@@ -237,6 +236,7 @@ opinionated rules with concrete examples, built from months of heavy agentic cod
|
|
|
237
236
|
| [typescript-rules](packages/tbd/docs/guidelines/typescript-rules.md) | Strict type safety, no `any`, type guards, null safety, async patterns |
|
|
238
237
|
| [typescript-monorepo-patterns](packages/tbd/docs/guidelines/typescript-monorepo-patterns.md) | pnpm workspaces, package setup, tsdown, Changesets, publint, dual ESM/CJS |
|
|
239
238
|
| [typescript-cli-tool-rules](packages/tbd/docs/guidelines/typescript-cli-tool-rules.md) | Commander.js patterns, picocolors, terminal formatting |
|
|
239
|
+
| [typescript-yaml-handling-rules](packages/tbd/docs/guidelines/typescript-yaml-handling-rules.md) | YAML parsing/serialization with the `yaml` package, Zod validation, consistent formatting |
|
|
240
240
|
| [python-rules](packages/tbd/docs/guidelines/python-rules.md) | Type hints, docstrings, exception handling, resource management |
|
|
241
241
|
| [python-cli-patterns](packages/tbd/docs/guidelines/python-cli-patterns.md) | Modern Python CLI stack: uv, Typer, Rich, Ruff, BasedPyright |
|
|
242
242
|
| [backward-compatibility-rules](packages/tbd/docs/guidelines/backward-compatibility-rules.md) | Compatibility across code, APIs, file formats, and database schemas |
|
|
@@ -267,7 +267,7 @@ npm install -g get-tbd@latest
|
|
|
267
267
|
### Setup
|
|
268
268
|
|
|
269
269
|
```bash
|
|
270
|
-
# Fresh project (--prefix is REQUIRED—
|
|
270
|
+
# Fresh project (--prefix is REQUIRED—2-8 alphabetic chars, e.g. myapp-a1b2)
|
|
271
271
|
tbd setup --auto --prefix=myapp
|
|
272
272
|
|
|
273
273
|
# Joining an existing tbd project (no prefix needed—reads existing config)
|
|
@@ -388,26 +388,39 @@ tbd template --add=<url> --name=<name>
|
|
|
388
388
|
|
|
389
389
|
**Available shortcuts:**
|
|
390
390
|
|
|
391
|
-
| Shortcut | Purpose |
|
|
392
|
-
| --- | --- |
|
|
393
|
-
| `new-plan-spec` | Create a feature planning spec |
|
|
394
|
-
| `
|
|
395
|
-
| `
|
|
396
|
-
| `new-validation-plan` | Create a test/validation plan |
|
|
397
|
-
| `
|
|
398
|
-
| `
|
|
399
|
-
| `
|
|
400
|
-
| `
|
|
401
|
-
| `
|
|
402
|
-
| `review-code
|
|
403
|
-
| `
|
|
404
|
-
| `
|
|
405
|
-
| `
|
|
406
|
-
| `
|
|
391
|
+
| Category | Shortcut | Purpose |
|
|
392
|
+
| --- | --- | --- |
|
|
393
|
+
| **Planning** | `new-plan-spec` | Create a feature planning spec |
|
|
394
|
+
| | `plan-implementation-with-beads` | Break a spec into implementation beads |
|
|
395
|
+
| | `implement-beads` | Implement beads from a spec |
|
|
396
|
+
| | `new-validation-plan` | Create a test/validation plan |
|
|
397
|
+
| | `update-specs-status` | Review active specs and sync with tbd issues |
|
|
398
|
+
| **Documentation** | `new-research-brief` | Create a research document |
|
|
399
|
+
| | `new-architecture-doc` | Create an architecture document |
|
|
400
|
+
| | `revise-architecture-doc` | Update an architecture doc to match current code |
|
|
401
|
+
| | `revise-all-architecture-docs` | Revise all current architecture documents |
|
|
402
|
+
| **Review** | `review-code` | Comprehensive code review (uncommitted, branch, or PR) |
|
|
403
|
+
| | `review-github-pr` | Review a GitHub PR with commenting and CI checks |
|
|
404
|
+
| | `review-code-typescript` | TypeScript-focused code review |
|
|
405
|
+
| | `review-code-python` | Python-focused code review |
|
|
406
|
+
| **Git** | `precommit-process` | Pre-commit review and testing |
|
|
407
|
+
| | `code-review-and-commit` | Commit with pre-commit checks |
|
|
408
|
+
| | `create-or-update-pr-simple` | Basic PR creation |
|
|
409
|
+
| | `create-or-update-pr-with-validation-plan` | PR with a validation plan |
|
|
410
|
+
| | `merge-upstream` | Merge origin/main with conflict resolution |
|
|
411
|
+
| **Cleanup** | `code-cleanup-all` | Full code cleanup (duplicates, dead code, quality) |
|
|
412
|
+
| | `code-cleanup-tests` | Remove trivial/low-value tests |
|
|
413
|
+
| | `code-cleanup-docstrings` | Add docstrings to major functions |
|
|
414
|
+
| **Session** | `agent-handoff` | Generate handoff prompt for another agent |
|
|
415
|
+
| | `welcome-user` | Welcome message after tbd installation |
|
|
416
|
+
| | `setup-github-cli` | Ensure GitHub CLI is installed and working |
|
|
417
|
+
| | `sync-failure-recovery` | Handle tbd sync failures |
|
|
418
|
+
| **Meta** | `new-guideline` | Create a new coding guideline for tbd |
|
|
419
|
+
| | `new-shortcut` | Create a new shortcut for tbd |
|
|
407
420
|
|
|
408
421
|
**Available guidelines:** See
|
|
409
422
|
[Built-in Engineering Knowledge](#built-in-engineering-knowledge) for the full list of
|
|
410
|
-
|
|
423
|
+
20+ guidelines covering TypeScript, Python, testing, TDD, and more.
|
|
411
424
|
|
|
412
425
|
**Available templates:**
|
|
413
426
|
|
|
@@ -564,7 +577,7 @@ $
|
|
|
564
577
|
|
|
565
578
|
### Can I add my own guidelines?
|
|
566
579
|
|
|
567
|
-
Yes. `tbd` comes with
|
|
580
|
+
Yes. `tbd` comes with 20+ bundled guidelines, but you can add your own team’s docs from
|
|
568
581
|
any URL:
|
|
569
582
|
|
|
570
583
|
```bash
|