/thebous-os:new-branchfrom thebous-os
Creates a git branch from a Jira or Notion task, moves the task to in_progress, and notifies Slack. Accepts task URLs, IDs, or free-form branch names.
Ships in thebous-os. 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.
Create a git branch linked to a Jira or Notion task, move it to in_progress,
notify Slack, and log the activity when configured.
Ask the user: "Branch name or Jira/Notion task URL or ID?"
Accept:
https://company.atlassian.net/browse/T-200)T-200 or t-200)notion:<page-id>jira:T-200 or notion:<page-id>)feat/my-thing) — in this case skip task stepsLoad the credentials:
source "scripts/helpers.sh"
load_env
If the file doesn't exist, tell the user to run /thebous-os:setup first.
Follow references/task-context.md with:
<SOURCES> = the user's URL or task input<REQUIRED> = required<DETAILS> = basicThe context step resolves the single reference with:
REF_JSON=$(resolve_work_item_ref "<SOURCES>")
Set TASK_REF, PROVIDER, EXTERNAL_ID, TASK_URL and TASK_SUMMARY from
the normalized output.
Build the branch name from the selected provider:
feat/<key-lowercase>-<slugified-title>.feat/ntn-<page-id-without-hyphens>-<slugified-title>.Use the shared slugify helper; keep the slug at 50 characters after the
provider prefix. Examples:
T-200 + "Implement OAuth login" → feat/t-200-implement-oauth-login.6f3b2c1a-1234-4567-89ab-0123456789ab + "Implement OAuth login" → feat/ntn-6f3b2c1a1234456789ab0123456789ab-implement-oauth-login.Show the proposed name and ask for confirmation. The user can edit it.
If PROVIDER=jira and CONFLUENCE_PARENT_URL is configured in .env:
Extract 3-5 meaningful keywords from the task's title and description (exclude
articles, common verbs and noise words). Extract PARENT_PAGE_ID from
CONFLUENCE_PARENT_URL with:
source "scripts/helpers.sh"
PARENT_PAGE_ID=$(confluence_page_id "$CONFLUENCE_PARENT_URL")
Use the MCP tool searchConfluenceUsingCql with:
ancestor = <PARENT_PAGE_ID> AND (title ~ "<keyword1>" OR title ~ "<keyword2>" OR text ~ "<keyword1>").
Show found titles and URLs before starting; if nothing is found, proceed silently.
git checkout -b <branch-name>
git push -u origin <branch-name>
If the branch already exists, warn the user and run git checkout <branch-name>
followed by git push -u origin <branch-name>.
in_progress and commentFor PROVIDER=jira, follow references/jira-transition.md with:
<TRANSITION_ID> = $JIRA_IN_PROGRESS_ID<COMMENT_TEXT> = "🌿 Branch \` created."`For PROVIDER=notion, source scripts/notion.sh and run both operations:
notion_set_status "<EXTERNAL_ID>" "in_progress"
notion_add_comment "<EXTERNAL_ID>" "🌿 Branch \`<branch-name>\` created."
Record each result separately. If one fails, report the semantic error and do not claim that both operations succeeded.
For Jira, preserve the existing message format:
source "scripts/helpers.sh"
load_env
slack_notify "🌿 New branch: \`<branch-name>\`\n🎫 <$JIRA_BASE_URL/browse/<EXTERNAL_ID>|<EXTERNAL_ID>> → *In Progress*"
For Notion, use TASK_URL from the task reference:
slack_notify "🌿 New branch: \`<branch-name>\`\n🎫 <$TASK_URL|notion:<EXTERNAL_ID>> → *In Progress*"
If the task URL is unavailable, omit the task link and send only the branch line plus the provider/external ID. A free-form branch sends only the branch line.
If a task reference was found and Obsidian is configured, follow
references/obsidian-log.md; in short:
obsidian_log_task "${OBSIDIAN_VAULT_PATH:-}" "<TASK_REF>" "plan.md" "" \
"<PROVIDER>:<EXTERNAL_ID> — branch \`<branch-name>\` created"
Only if OBSIDIAN_VAULT_PATH is set and a task reference was found. Follow
references/obsidian-log.md's Granola section. On a user-selected call:
CALLS_FILE=$(obsidian_ensure_task_file "${OBSIDIAN_VAULT_PATH}" "<TASK_REF>" "calls.md")
echo "- [[Granola/<chosen-filename-without-.md>]] — linked $(date +%Y-%m-%d)" >> "$CALLS_FILE"
Never auto-pick a note. If the list is empty or the user declines, skip silently.
Show the user:
<branch-name><PROVIDER>:<EXTERNAL_ID> → in_progress (if applicable)<note> (if applicable)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thebous/thebous-os --plugin thebous-os13 skills in this plugin
/address-reviewAssess code review comments against code evidence, fix confirmed issues on your PR after user approval, reply to every comment on GitHub, and update documentation for a linked Jira or Notion task/architecture-first-developmentUse when implementing or refactoring features, bug fixes, handlers, integrations, or domain logic where architecture, maintainability, validation, errors, complexity, I/O, or over-engineering matter/create-jira-taskCreate a Jira task from a user request using the repository's fixed description format with the sections "Descrizione" and "Acceptance Criteria". Use when the user asks to create, open, or draft a new Jira task.Other plugins' skills for the same job