Git workflow with worktrees and conventional commits.
Provides Git workflow management with worktrees and conventional commits. Triggers when creating branches, committing changes, or managing PRs.
/plugin marketplace add barnent1/quetrex-claude/plugin install quetrex-claude@quetrexThis skill inherits all available tools. When active, it can use any tool Claude has access to.
feature/{issue}-{slug} # New features
fix/{issue}-{slug} # Bug fixes
refactor/{issue}-{slug} # Code refactoring
docs/{issue}-{slug} # Documentation
test/{issue}-{slug} # Test additions
Examples:
feature/42-user-authenticationfix/57-login-redirect-looprefactor/63-extract-api-clientfeat: add user authentication
fix: resolve login redirect loop
refactor: extract API client
docs: update README with setup instructions
test: add unit tests for auth service
chore: update dependencies
With scope:
feat(auth): add OAuth2 support
fix(api): handle rate limit errors
refactor(ui): extract button component
Breaking changes:
feat!: change authentication API
feat(auth)!: remove password login
# Create worktree for feature
git worktree add ../worktrees/feature-42-auth -b feature/42-auth
# List worktrees
git worktree list
# Remove worktree when done
git worktree remove ../worktrees/feature-42-auth
# Prune stale worktrees
git worktree prune
gh issue create --title "Add user authentication" --body "..."
# Note the issue number (e.g., #42)
git worktree add ../worktrees/feature-42-auth -b feature/42-auth
cd ../worktrees/feature-42-auth
# Make changes...
git add .
git commit -m "feat(auth): add login form component"
git commit -m "feat(auth): add authentication API"
git commit -m "test(auth): add unit tests for auth"
git push -u origin feature/42-auth
gh pr create --title "feat: add user authentication" --body "Closes #42"
cd .. # Back to main repo
git worktree remove ../worktrees/feature-42-auth
git branch -d feature/42-auth
# Keep branch up to date with main
git fetch origin
git rebase origin/main
# Interactive rebase to clean up commits
git rebase -i origin/main
# Stash changes
git stash push -m "WIP: auth feature"
# List stashes
git stash list
# Apply and drop
git stash pop
# Apply specific stash
git stash apply stash@{1}
# .gitconfig
[alias]
co = checkout
br = branch
ci = commit
st = status
wt = worktree
lg = log --oneline --graph --decorate
last = log -1 HEAD
unstage = reset HEAD --
Main branch should have:
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.