Skip to content
Back to skills

Bb List Issues

ASecurity

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.

  • 42 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 5, 2026
toolsbash

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add amoslee2026/Babel --skill bb-list-issues --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bb List Issues?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bb List Issues
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/amoslee2026-bb-list-issues/badge)](https://www.skillsdirectory.com/skills/amoslee2026-bb-list-issues)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bb-list-issues
description: "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."
---

# bb-list-issues

## 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}]` |
| `count` | int |
| `valid` | bool |

## 4-Phase 执行

### Phase 1 — scan_fs

调 `Bash`:
```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)

```bash
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")
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.