openspec-beads-implement
3
总安装量
3
周安装量
#60591
全站排名
安装命令
npx skills add https://github.com/ricbermo/openspec-beads-implement --skill openspec-beads-implement
Agent 安装分布
opencode
3
github-copilot
3
codex
3
kimi-cli
3
gemini-cli
3
amp
3
Skill 文档
OpenSpec + Beads Implementation Skill
This skill integrates both systems during implementation: uses Beads for work tracking and updates OpenSpec automatically.
When to Activate
- User runs
openspec apply <change>AND beads is initialized - User says “implement this with beads”, “work on “
- User asks how to work with both systems
Main Flow
1. Select Change
openspec status --change "<name>" --json
Same as openspec-apply-change.
2. Link with Beads
bd list --labels "spec:<change>" --json
If no issues exist:
- Run openspec-to-beads first:
Skill: openspec-to-beads - Or warn user that there are no beads for this change
3. Implementation Loop
For each OpenSpec task:
-
Find equivalent bead
- Search by title containing the task text
- Use label
spec:<change>to filter
-
Update status in Beads
bd update <bead-id> --status in_progress -
Implement the change
-
Close bead
bd close <bead-id> --reason "Completed: <task-text>" -
Update OpenSpec
- In tasks.md:
- [ ]â- [x]
- In tasks.md:
4. Show Progress
## Implementing: <change>
Beads: <in_progress>/<total> | OpenSpec: <complete>/<total>
Key Commands
Search Issues by Spec
bd list --labels "spec:<change>" --json
View Issue Details
bd show <id> --json
Update Status
bd update <id> --status in_progress
bd update <id> --status open
Close Issue
bd close <id> --reason "Completed: <desc>"
Common Errors
No beads for this change:
â ï¸ No beads found with label spec:<change>
Run first: Skill openspec-to-beads
Beads not initialized:
â ï¸ Beads is not initialized
Run: bd init --prefix <project>
Issue blocked:
â ï¸ Issue <id> is blocked by: <blocking-id>
Use: bd show <id> for details
Synchronization
When all tasks are complete:
- Beads issues should be “closed”
- OpenSpec tasks.md should have
- [x]in all
Recommend to user:
bd sync # Sync beads with git
Integration with Other Skills
- openspec-to-beads: Creates beads from specs (pre-implementation)
- openspec-apply-change: Flow without beads (fallback)
- openspec-archive-change: Archive completed change
Output Example
## Implementing: add-auth
Beads: 2/5 | OpenSpec: 2/5
â¶ Working on: bead-123 "add-auth: Implement login API"
â Completed
â¶ Working on: bead-124 "add-auth: Create Login component"
â Completed
3 tasks remaining...