/octomux:implementfrom octomux
Implements a Jira ticket by fetching ticket details, checking for existing plans, creating a worktree branch, implementing with verification, and committing. Useful for structured ticket-driven development.
Ships in octomux. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetch a Jira ticket, check for an existing plan, set up a branch, and implement with lint+test verification before committing.
Announce at start: "Implementing : "
/plan first?make lint && make test (or project equivalent)Before any Jira call, test connectivity by calling getAccessibleAtlassianResources(). If it fails or returns an auth error, stop and prompt the user:
"Jira is not authenticated. Please run
/pluginand authenticate the Atlassian plugin, then try again."
Do not proceed with Jira operations until auth is confirmed.
Extract the ticket key from the argument (e.g., IN-945 from /implement IN-945 or from a URL).
1a. Get Jira details (also serves as auth check):
getAccessibleAtlassianResources() -> cloudId (if this fails, follow Jira Authentication section)
getJiraIssue(cloudId, issueKey, fields=["summary","description","priority","labels","status","parent"], responseContentFormat="markdown")
1b. Check for existing local plan (parallel):
ls docs/plans/<ticket-key>-*.md 2>/dev/null
If a plan file exists, read it — this is the primary implementation guide.
If no plan file exists, use the ticket description's Approach section as the guide.
Check if the ticket has enough detail to implement:
/plan <ticket-key> firstIf unclear, ask the user:
"This ticket doesn't have a detailed approach. Should I:
- Run
/plan <ticket-key>first for a deep-dive- Proceed with my best understanding (I'll ask questions as I go)"
Branch naming: <type>/<ticket-key>-<short-description>
# Check if branch already exists
git branch --list "*<ticket-key>*"
If branch exists, switch to it. If not, create from the appropriate base:
git fetch origin
git checkout -b <branch-name> origin/<base-branch>
Base branch detection:
master (nucleus convention)Before writing any code, read:
CLAUDE.md # Project conventions
internal/hedging/CLAUDE.md # Service-specific (if hedging work)
.claude/rules/learnings.md # Known gotchas
Also read the specific files that will be modified to understand existing patterns.
If a plan file exists, follow it task-by-task. For each task:
make lint && make test after each logical chunkIf no plan file exists, implement from the ticket description:
make lint && make test after each logical chunkImplementation principles:
decimal.Decimal for all monetary/quantity math (never float64)google/go-cmp for test assertions (no testify in hedging)Before considering the work done, run full verification:
make lint && make test
If either fails, fix the issues and re-run until clean.
For hedging-specific work, also check:
go vet ./internal/hedging/...
Use conventional commits referencing the ticket:
git add <specific files>
git commit -m "<type>(<scope>): <description>
Resolves https://ostium.atlassian.net/browse/<ticket-key>"
Commit conventions (from CLAUDE.md):
<type>(<scope>): <description> (description min 10 chars)feat, fix, docs, style, refactor, perf, test, build, ci, chore, revertautomation, hedging, domain, config, ingestion, contracts, formulae, observability, cmd, infraMultiple commits are fine — one per logical chunk is better than one giant commit.
Implementation complete for <ticket-key>: <title>
Changes:
- <N> files changed across <M> commits
- <commit 1 summary>
- <commit 2 summary>
Verification:
- make lint: PASS
- make test: PASS
Next steps:
- `/create-pr` to open a pull request
- Or review the diff: `git diff origin/<base>...HEAD`
If the user says /implement IN-XXX --dispatch or asks to dispatch it as a task, use the /create-task skill instead of implementing inline. This sends the ticket to an octomux agent for autonomous implementation.
make lint && make test before reporting doneWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub shreypaharia/octomux --plugin octomux20 skills in this plugin
/add-agentUse when you need to attach a new Claude Code agent (new tmux window) to an existing running octomux task, sharing the task's worktree and cwd/add-pluginUse when installing, disabling, enabling, or troubleshooting a third-party octomux plugin — the manifest row shape, octomux plugins list/disable/enable, reading octomux doctor output, and recovering a broken boot with --safe-mode./configure-harnessUse when configuring which coding-agent harness octomux launches — per-task --model, harness selection, settings.harnesses.<id>, resolveFlags/validateSettings, and registering an additional harness via a plugin./create-pluginUse when authoring a new octomux plugin package — package layout, the apply(ctx) export, choosing a registrar, shipping kind presets, testing locally, and confirming with octomux doctor./create-prUse when creating a pull request, opening a PR, or pushing and creating a PR for an octomux task/create-taskUse when creating an octomux task to dispatch autonomous Claude Code agents for building features, fixing bugs, or any code changesOther plugins' skills for the same job