From 19c40920fadaf506581910a079776fe7913bf079 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Jun 2026 04:34:17 +0000 Subject: [PATCH 01/18] chore: upgrade tbd to v0.2.2 Run `tbd setup --auto` with get-tbd@0.2.2 to refresh the project's tbd integration: - Migrate .tbd/config.yml format f03 -> f04 (adds sync.storage: git-common-dir-v1, refreshes docs_cache entries) - Add .tbd/.gitattributes to protect ID mappings from merge deletion - Refresh portable Agent Skill (.agents/skills/tbd/SKILL.md) - Refresh AGENTS.md tbd integration block (format=f04) - Install Codex surface hooks (.codex/) https://claude.ai/code/session_01RbwU9HuU5Ys84HVm94UdUz --- .agents/skills/tbd/SKILL.md | 255 +++++++++++++++++++++++++++++++++ .codex/ensure-gh-cli.sh | 123 ++++++++++++++++ .codex/hooks.json | 47 ++++++ .codex/tbd-closing-reminder.sh | 15 ++ .codex/tbd-session.sh | 27 ++++ .tbd/.gitattributes | 2 + .tbd/config.yml | 7 +- AGENTS.md | 16 +++ 8 files changed, 489 insertions(+), 3 deletions(-) create mode 100644 .agents/skills/tbd/SKILL.md create mode 100755 .codex/ensure-gh-cli.sh create mode 100644 .codex/hooks.json create mode 100755 .codex/tbd-closing-reminder.sh create mode 100755 .codex/tbd-session.sh create mode 100644 .tbd/.gitattributes diff --git a/.agents/skills/tbd/SKILL.md b/.agents/skills/tbd/SKILL.md new file mode 100644 index 0000000..07a1672 --- /dev/null +++ b/.agents/skills/tbd/SKILL.md @@ -0,0 +1,255 @@ +--- +allowed-tools: Bash(tbd:*), Read, Write +description: |- + Git-native issue tracking (beads), coding guidelines, knowledge injection, and spec-driven planning for AI agents. Drop-in replacement for bd/Beads with simpler architecture. + Use for: tracking issues/beads with dependencies, creating bugs/features/tasks, planning specs, implementing features from specs, code reviews, committing code, creating PRs, loading coding guidelines (TypeScript, Python, TDD, golden testing, Convex, monorepo patterns), code cleanup, research briefs, architecture docs, agent handoffs, and checking out third-party library source code. + Invoke when user mentions: tbd, beads, bd, shortcuts, issues, bugs, tasks, features, epics, todo, tracking, specs, planning, implementation, validation, guidelines, templates, commit, PR, pull request, code review, testing, TDD, test-driven, golden testing, snapshot testing, TypeScript, Python, Convex, monorepo, cleanup, dead code, refactor, handoff, research, architecture, labels, search, checkout library, source code review, or any workflow shortcut. +name: tbd +--- + + +**`tbd` helps humans and agents ship code with greater speed, quality, and discipline.** + +1. **Beads**: Git-native issue tracking (tasks, bugs, features). + Never lose work across sessions. + Drop-in replacement for `bd`. +2. **Spec-Driven Workflows**: Plan features → break into beads → implement + systematically. +3. **Knowledge Injection**: 17+ engineering guidelines (TypeScript, Python, TDD, + testing, Convex, monorepos) available on demand. +4. **Shortcuts**: Reusable instruction templates for common workflows (code review, + commits, PRs, cleanup, handoffs). + +## Installation + +```bash +npm install -g get-tbd@latest +tbd setup --auto --prefix= # Fresh project (--prefix is REQUIRED: 2-8 alphabetic chars recommended. ALWAYS ASK THE USER FOR THE PREFIX; do not guess it) +tbd setup --auto # Existing tbd project (prefix already set) +tbd setup --from-beads # Migration from .beads/ if `bd` has been used +``` + +## Routine Commands + +```bash +tbd --help # Command reference +tbd status # Status +tbd doctor # If there are problems + +tbd setup --auto # Run any time to refresh setup +tbd prime # Restore full context on tbd after compaction +``` + +## CRITICAL: You Operate tbd — The User Doesn’t + +**You are the tbd operator:** Users talk naturally; you translate their requests to tbd +actions. DO NOT tell users to run tbd commands. +That’s your job. + +- **WRONG**: “Run `tbd create` to track this bug” + +- **RIGHT**: *(you run `tbd create` yourself and tell the user it’s tracked)* + +**Welcoming a user:** When users ask “what is tbd?” +or want help → run `tbd shortcut welcome-user` + +## User Request → Agent Action + +| User Says | You (the Agent) Run | +| --- | --- | +| **Issues/Beads** | | +| “There’s a bug where …” | `tbd create "..." --type=bug` | +| “Create a task/feature for …” | `tbd create "..." --type=task` or `--type=feature` | +| “Let’s work on issues/beads” | `tbd ready` | +| “Show me issue X” | `tbd show ` | +| “Close this issue” | `tbd close ` | +| “Search issues for X” | `tbd search "X"` | +| “Add label X to issue” | `tbd label add