AgentSkillsCN

beans

使用beans CLI进行问题追踪。当您:(1) 创建或更新beans;(2) 设置父级/阻塞关系;(3) 通过GraphQL查询beans;(4) 调试关系相关问题时,可使用此技能。

SKILL.md
--- frontmatter
name: beans
description: Issue tracking with beans CLI. Use when (1) creating/updating beans, (2) setting parent/blocking relationships, (3) querying beans with GraphQL, (4) debugging relationship issues.

Beans Issue Tracker

Agentic-first issue tracker for managing tasks, features, bugs, and milestones.

Critical: Use Full IDs for Relationships

ALWAYS use full IDs (with prefix) when setting parent or blocking relationships:

bash
# CORRECT - use full ID
beans update rxjc --parent go-bigq-z1nd --blocking go-bigq-z1nd

# WRONG - short ID breaks relationship lookups
beans update rxjc --parent z1nd --blocking z1nd

Bean Types

TypeDescription
milestoneTarget release or checkpoint
epicThematic container for related work
featureUser-facing capability or enhancement
bugSomething broken that needs fixing
taskConcrete piece of work to complete

Statuses

StatusDescription
draftNeeds refinement before work can begin
todoReady to be worked on
in-progressCurrently being worked on
completedFinished successfully
scrappedWill not be done

Common Commands

Create a bean

bash
beans create "Title" -t feature -s todo -d "Description..."

Update status

bash
beans update abc123 --status in-progress

Set relationships

bash
beans update abc123 --parent go-bigq-xyz789
beans update abc123 --blocking go-bigq-xyz789
beans update abc123 --remove-parent

GraphQL Queries

Get bean with relationships

bash
beans query '{ bean(id: "abc123") {
  title status body
  parent { id title }
  children { id title status }
  blockedBy { id title }
  blocking { id title }
} }'

Find actionable beans

bash
beans query '{ beans(filter: {
  excludeStatus: ["completed", "scrapped", "draft"],
  isBlocked: false
}) { id title status type priority } }'

Tips

  • Use beans list to see current workflow context
  • Use --json flag for machine-readable output
  • Bean IDs have format go-bigq-xxxx (4 character nanoid)
  • Files stored in .beans/ directory
  • Always commit bean files with related code changes