Update documentation and scripts to reflect the plugin move from root level to claude-plugin/ subdirectory: - Fix command links in docs/DAEMON.md, docs/SYNC.md, examples/ - Update plugin.json path references in RELEASING.md, AGENT_INSTRUCTIONS.md - Update scripts/bump-version.sh and scripts/check-versions.sh - Update skill documentation paths in claude-plugin/skills/beads/ The marketplace.json correctly stays at .claude-plugin/ (root level) while plugin.json moved to claude-plugin/.claude-plugin/. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2.6 KiB
2.6 KiB
Beads Skill Maintenance Guide
Architecture Decisions
ADRs in adr/ document key decisions. These are NOT loaded during skill invocation—they're reference material for maintainers making changes.
| ADR | Decision |
|---|---|
| ADR-0001 | Use bd prime as CLI reference source of truth |
Key Principle: DRY via bd prime
NEVER duplicate CLI documentation in SKILL.md or resources.
bd primeoutputs AI-optimized workflow contextbd <command> --helpprovides specific usage- Both auto-update with bd releases
SKILL.md should only contain:
- Decision frameworks (bd vs TodoWrite)
- Prerequisites (install verification)
- Resource index (progressive disclosure)
- Pointers to
bd primeand--help
Keeping the Skill Updated
When bd releases new version:
- Check for new features:
bd --helpfor new commands - Update SKILL.md frontmatter:
version: "X.Y.Z" - Add resources for conceptual features (agents, gates, chemistry patterns)
- Don't add CLI reference — that's
bd prime's job
What belongs in resources:
| Content Type | Belongs in Resources? | Why |
|---|---|---|
| Conceptual frameworks | ✅ Yes | bd prime doesn't explain "when to use" |
| Decision trees | ✅ Yes | Cognitive guidance, not CLI reference |
| Advanced patterns | ✅ Yes | Depth beyond --help |
| CLI command syntax | ❌ No | Use bd <cmd> --help |
| Workflow checklists | ❌ No | bd prime covers this |
Resource update checklist:
[ ] Check if bd prime now covers this content
[ ] If yes, remove from resources (avoid duplication)
[ ] If no, update resource for new bd version
[ ] Update version compatibility in README.md
File Roles
| File | Purpose | When to Update |
|---|---|---|
| SKILL.md | Entry point, resource index | New features, version bumps |
| README.md | Human docs, installation | Structure changes |
| CLAUDE.md | This file, maintenance guide | Architecture changes |
| adr/*.md | Decision records | When making architectural decisions |
| resources/*.md | Deep-dive guides | New conceptual content |
Testing Changes
After skill updates:
# Verify SKILL.md is within token budget
wc -w claude-plugin/skills/beads/SKILL.md # Target: 400-600 words
# Verify links resolve
# (Manual check: ensure all resource links in SKILL.md exist)
# Verify bd prime still works
bd prime | head -20
Attribution
Resources adapted from other sources should include attribution header:
# Resource Title
> Adapted from [source]