Claude-skill-registry close
Close task in tracker. Use when the user invokes /close or asks to close a tracker issue.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/close" ~/.claude/skills/majiayu000-claude-skill-registry-close && rm -rf "$T"
manifest:
skills/data/close/SKILL.mdsource content
Close Command
Follow
CLAUDE.md, conventions.md, and ARCHITECTURE.md.
Task
Close a task in tracker.
Interaction Contract
| Phase | Action | STOP until | Steps |
|---|---|---|---|
| 1. Find task | Locate task | - | 1-2 |
| 2. Confirm | Show what will be closed | User says "da" / "ok" / "yes" | 3 |
| 3. Execute | Close in tracker | - | 4-5 |
Closing without phase 2 confirmation is a critical violation.
Algorithm
-
Check arguments:
- If empty: ask "Which task to close? Provide task ID."
- Otherwise: use as task ID
-
Normalize task ID:
- If ID does not contain prefix "DCATgBot-": add prefix
- Store normalized ID as
<full_id> - Store short ID (without prefix) as
<short_id>
-
Confirm with user:
- Show task ID to close
- Wait for confirmation
-
Close task in tracker:
- Use
to close task with reason "Completed"beads - If not found/already closed: report and stop
- Use
-
Report result:
Task closed: <full_id>
Error Handling
- Task not found: report and stop
- Task already closed: report and stop