From workbranch
Create a Linear document, optionally attached to the current work ticket
How this skill is triggered — by the user, by Claude, or both
Slash command
/workbranch:work-docThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When this skill is invoked, follow these steps:
When this skill is invoked, follow these steps:
Get the current branch and extract ticket ID by matching TEAM-\d+ in the branch name (read team prefix from .workbranch.json, default ENGG).
If the user provided a title and/or content, use those directly.
If the user has been discussing design, architecture, or scope earlier in the conversation, offer to generate a document from that context. Present for confirmation.
If no context, ask for:
For short content:
linear doc create --title "TITLE" --content "CONTENT"
For longer content, write to a temp file:
cat > /tmp/workbranch-doc.md << 'DOCEOF'
CONTENT_HERE
DOCEOF
linear doc create --title "TITLE" --content-file /tmp/workbranch-doc.md
If on a work branch with a ticket ID, attach the document to the current issue:
linear doc create --title "TITLE" --content-file /tmp/workbranch-doc.md --issue TICKET_ID
Show:
npx claudepluginhub pdodds/workbranch --plugin workbranchGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.