Skip to content

Instantly share code, notes, and snippets.

@EconoBen
Created January 12, 2026 08:17
Show Gist options
  • Select an option

  • Save EconoBen/c7d13109d1f7208c310abc8d647330d5 to your computer and use it in GitHub Desktop.

Select an option

Save EconoBen/c7d13109d1f7208c310abc8d647330d5 to your computer and use it in GitHub Desktop.
[workshop] category:tools tags:beads,task-tracking,tdd,spec-driven,git,productivity,agents - Spec-Driven Development with Beads
# Installation
brew install beads
bd init
echo ".beads/*.db" >> .gitignore
# Create tasks
bd create "T1: Project Structure" -t task -p 0 \
-l "project:myapp,phase:1,tdd" \
-d "Set up package structure" --json
bd create "T2: Core Client" -t task -p 1 \
-l "project:myapp,phase:1,tdd" \
-d "Implement client class" --json
# Model dependencies
bd dep add <T2-id> <T1-id> --type blocks
# Find ready work
bd ready
bd show <id>
bd dep tree <id>
# Claim and link to GitHub
bd update <id> --status in_progress
gh issue create --title "T1: Project Structure" \
--body "See tasks.md#T1" \
--label "project:myapp" --label "tdd"
# TDD loop
git switch -c feat/1-project-structure
uv run pytest -k test_project_structure -v
git add -A && git commit -m "feat: implement T1"
gh pr create --title "feat(1): Project Structure" --body "Closes #1"
# Close and sync
bd close <id> --reason implemented
bd sync -m "Close T1: Project Structure"
git pull
bd ready
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment