--- 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 --- --- title: tbd Workflow description: Full tbd workflow guide for agents --- **`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