AgentSkillsCN

Bean Status

豆类状态

SKILL.md

Skill: Bean Status

Description

Reads the beans backlog and produces a formatted summary of all beans grouped by status. Optionally includes task-level detail for active beans. This is the Team Lead's dashboard command for understanding what work is new, in progress, or complete.

Trigger

  • Invoked by the /bean-status slash command.
  • Called by the Team Lead during planning, standups, or retrospectives.
  • Can be invoked by any persona who wants to see the current backlog state.

Inputs

InputTypeRequiredDescription
filterEnum: unapproved, approved, in-progress, done, deferredNoShow only beans with this status. Default: show all.
verboseBooleanNoInclude task breakdown for active beans. Default: false.

Process

  1. Read backlog index -- Parse ai/beans/_index.md to extract the Backlog table. For each row, capture: Bean ID, Title, Priority, Status, Owner.

  2. Enrich with task data (if --verbose) -- For each bean that is In Progress:

    • Read the bean's bean.md
    • Parse the Tasks table to count: total tasks, pending, in progress, done
    • Note any blocked tasks
    • Parse the Telemetry section to extract duration totals and token totals
  3. Apply filter -- If a status filter is provided, include only beans matching that status.

  4. Group by status -- Organize beans into groups:

    • In Progress (most important — active work)
    • Approved (ready for execution)
    • Unapproved (awaiting review)
    • Deferred (parked)
    • Done (completed)
  5. Format output -- Produce a readable summary:

    code
    ## Bean Backlog Summary
    
    **Totals:** 3 Done | 1 In Progress | 2 Approved | 1 Unapproved
    
    ### In Progress
    | Bean ID | Title | Priority | Owner | Tasks | Duration | Tokens |
    |---------|-------|----------|-------|-------|----------|--------|
    | BEAN-003 | Bean Commands | Medium | team-lead | 1/2 done | 45m | 23k tokens |
    
    ### Approved
    | Bean ID | Title | Priority |
    |---------|-------|----------|
    | BEAN-001 | Backlog Seeding | Medium |
    
  6. Highlight actionable items -- At the bottom, add a "Next Actions" section:

    • Beans with status Approved that are ready to pick
    • Beans with status Unapproved that need human review
    • Beans In Progress with all tasks Done that are ready to close
    • Beans In Progress with blocked tasks

Outputs

OutputTypeDescription
status_summaryTextFormatted backlog summary displayed in the conversation

Quality Criteria

  • All beans in _index.md are represented in the output.
  • Status counts are accurate.
  • Task counts (in verbose mode) match the actual task files.
  • The output is scannable — a Team Lead can understand the backlog state in 10 seconds.
  • Actionable items are highlighted so the Team Lead knows what to do next.

Error Conditions

ErrorCauseResolution
IndexNotFoundai/beans/_index.md does not existNo beans backlog — create it with /new-bean
EmptyBacklogIndex has no bean rowsCreate beans with /new-bean

Dependencies

  • Backlog index at ai/beans/_index.md
  • Individual bean files at ai/beans/BEAN-{NNN}-{slug}/bean.md (for verbose mode)