/bellosoft-default-skills:bellosoft-githubfrom bellosoft-default-skills
Creates git branches, conventional commits, and pull requests following bellosoft conventions. Supports Jira ticket IDs, or works without any tracker. Triggers: "create branch", "branch for story [id]", "commit", "create PR", "open PR", "github branch", "github commit", "github pr", "pull request".
Ships in bellosoft-default-skills. 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.
Git workflow layer for the bellosoft ecosystem. Handles branching, committing, and PR creation with automatic tracker linking.
/bellosoft-github branch ← create branch for current story/ticket
/bellosoft-github commit ← stage and commit with conventional message
/bellosoft-github pr ← open a pull request with tracker automation
Every command needs a {ticket_id}. Resolve in this order:
/bellosoft-github branch PROJ-42{type}/{ticket_id}/{slug} patterndocs/planning-artifacts/status.md for tracker: then:
tracker: jira → /bellosoft-jira get [key]"Enter ticket ID or press Enter to skip"Ticket ID formats:
PROJ-42Infer from story title or issue type, or ask:
| Work type | Branch prefix |
|---|---|
| New feature | feature |
| Bug fix | fix |
| Refactor / cleanup | chore |
| Documentation | docs |
| Security / infra | feature |
{type}/{ticket_id}/{slug}
e.g. feature/PROJ-42/user-auth-jwt
bug/PROJ-7/login-redirect-loop
chore/refactor-payment-service ← no tracker
Slug rules: lowercase story title → replace spaces/special chars with - → collapse -- → truncate to 40 chars → strip trailing -.
git status
If dirty → warn and offer: stash (git stash) or abort.
If not on main or develop → warn and ask whether to switch first.
git checkout -b {branch_name}
If branch exists → suggest {branch_name}-2, retry once, then halt.
✅ Branch created: {branch_name}
Ticket: {ticket_id}
Next: implement, then /bellosoft-github commit
git branch --show-current
Parse {ticket_id} from {type}/{ticket_id}/*. If no match → resolve via tracker (see top).
git status --short
If clean → output Nothing to commit. and halt. Otherwise show changed files.
Infer from changed files or ask:
| Type | When |
|---|---|
feature | New feature |
bug | Bug fix |
chore | Config, tooling, dependencies |
docs | Documentation only |
refactor | Structural change, no new feature |
test | Tests only |
With ticket: #{ticket_id}: {description}
Without ticket: {type}: {description}
Validate: total length ≤ 72 characters.
git add -A
git commit -m "{message}"
If pre-commit hook fails → show error, halt. Never use --no-verify.
Push to remote? [y/n]
If yes:
git push --set-upstream origin {branch_name}
✅ Committed: {message}
{pushed / "Not pushed yet — run 'git push' when ready"}
Always read token file first. Run this exact command:
# On Windows (PowerShell):
if (Test-Path ".secrets/github-token.txt") { Get-Content ".secrets/github-token.txt" -Raw }
# On Mac/Linux (bash):
cat .secrets/github-token.txt 2>/dev/null
Resolution order (stop at first success):
.secrets/github-token.txt — run the command above; if non-empty, authenticate:
$env:GH_TOKEN = (Get-Content ".secrets/github-token.txt" -Raw).Trim() # PowerShell
export GH_TOKEN=$(cat .secrets/github-token.txt) # bash
Then verify: gh auth statusGH_TOKEN or GITHUB_TOKEN env vars — if set, gh will use them automaticallygh auth status — if already authenticated, proceed silently⚠️ GitHub CLI not authenticated.
Options:
1. Run: gh auth login
2. Save a personal access token to .secrets/github-token.txt
(create at github.com → Settings → Developer settings → Personal access tokens)
Once authenticated, save token to .secrets/github-token.txt for future sessions.Ensure .secrets/ is gitignored:
grep -qxF '.secrets/' .gitignore || echo '.secrets/' >> .gitignore
Extract from branch name. Fetch story title from tracker if needed (delegate to /bellosoft-jira get).
git push --set-upstream origin {branch_name}
With tracker:
#{ticket_id}: {story_title}
e.g. #PROJ-42: User authentication with JWT
#PROJ-7: Fix login redirect loop
The #{ticket_id} format activates automatic tracker state transitions:
Without tracker:
feat: {description}
## Summary
{one-line description of what this PR does}
## Tracker
[{ticket_id}]({tracker_url}) — {story_title}
## Acceptance Criteria
- [ ] {AC 1}
- [ ] {AC 2}
## Testing
- [ ] Build passes
- [ ] Existing tests pass
- [ ] Acceptance criteria verified
Show draft and ask: Open PR with this description? [y/n/edit]
gh pr create \
--title "{pr_title}" \
--body "{pr_body}" \
--base {base_branch}
Detect base branch:
git remote show origin | grep "HEAD branch"
✅ PR created: {pr_url}
Title: {pr_title}
Tracker automation: ACTIVE (merging will update ticket state)
Next: /bellosoft-sync to update tracker to "In Review"
--no-verify).env or appsettings.*.json appears in git status#{ticket_id} prefix in PR titles when a tracker is configuredWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
29 skills in this plugin
/ckm:banner-designDesign banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills./bellosoft-audit-codebaseUse this skill to analyse an existing codebase before planning. Triggers: /bellosoft-audit-codebase, "read the project", "understand what's built", "what already exists", "analyse the code", "what's implemented", "map the codebase". Produces a structured inventory of what is already built, what is partial, what is missing, and what technical patterns are in use. Saves the result to docs/planning-artifacts/codebase-audit.md so bellosoft-plan-epics and bellosoft-plan-epic can use it. Run this before /bellosoft-plan-epics on any existing project. Safe to re-run — detects changes since last audit.
/bellosoft-dev-executeExecutes a plan approved and saved by /bellosoft-dev-plan (docs/planning-artifacts/dev-plans/*.md). Use this skill when the user types /bellosoft-dev-execute [plan path], ideally in a new context window. Follows strict TDD: writes ALL test cases first, confirms they fail, then implements the code to make them pass, one step at a time. Never skip the red-phase. Do NOT invoke on general coding tasks or without an approved plan.
npx claudepluginhub bellosoft-limited/bellosoft-default-skills --plugin bellosoft-default-skills