bb-list-issues

SkillAI & models

Babel internal issue protocol — list open handoffs by label. Scans designs/*/.handoff/*.md (filtered by label) and best-effort merge with gh issue list. Used by all guru/architect agents at startup to pick up work.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the bb-list-issues skill

What this skill tells your AI

The instructions your AI receives, as published by amoslee2026/babel in .claude/skills/bb-list-issues/SKILL.md and read by ahel’s review.

Inputs

  • --label <label> (optional) — filter; absent = all
  • --design-name <name> (optional) — filter; absent = all designs
  • --limit <int> (optional, default 20) — max returned
  • --include-fixed (flag) — include closed handoffs from .handoff/closed/

Output Contract

field
issues[{design_name, label, artifact, correlation_id, file, ts}]
countint
validbool

4-Phase 执行

Phase 1 — scan_fs

Bash

PATTERN="designs/*/.handoff/*.md"
[ -n "<label>" ] && PATTERN="designs/*/.handoff/<label>.md"
[ -n "<design-name>" ] && PATTERN="designs/<design-name>/.handoff/*.md"
find . -path "./$PATTERN" -type f 2>/dev/null | sort -r | head -n "<limit>"

Phase 2 — parse_md_frontmatter

Read 工具读每个匹配 md,按 - timestamp: / - artifact: / - correlation_id: 提字段。filename basename 即 label。

Phase 3 — gh_merge (best-effort)

if command -v gh >/dev/null 2>&1 && [ -n "<label>" ]; then
  gh issue list --label "<label>" --limit "<limit>" --json number,title,url 2>/dev/null
fi

合并 fs + gh 结果,按 ts 倒序。

Phase 4 — return

返回 JSON。count == 0 时返回 {issues:[], count:0, valid:true}

用法示例

Skill(bb-list-issues, args="--label ready-for-rtl --limit 5")
Skill(bb-list-issues, args="--design-name uart")

Signals

GitHub stars
42
Forks
10
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
bb-list-issues
Source
github.com/amoslee2026/babel