claude/skills/git-bc/SKILL.md
Post-merge branch cleanup. Switches to the default branch, pulls latest, and deletes the stale local branch. Use after a PR merges.
npx skillsauth add mkitt/dotfiles git-bcInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run these commands in order. Stop and report any error.
STALE=$([ -n "$ARGUMENTS" ] && echo "$ARGUMENTS" || git branch --show-current)
DEFAULT=$(git remote show origin 2>/dev/null | awk '/HEAD branch/ {print $NF}')
DEFAULT=${DEFAULT:-main}
git switch "$DEFAULT" && git pull --ff-only && git branch -D "$STALE" && git remote prune origin
Report one line: Switched to <default>, pulled, deleted <stale>, pruned remote refs.
tools
Prepare context for a new chat session when this one is degraded or hitting token limits. Use when context is above 70% or conversation needs to continue in a fresh session.
testing
Daily situation report. Gathers activity from connected sources (GitHub, Slack, Linear, Calendar, Gmail) to debrief what happened, brief what's ahead, and muster a composed summary. Use when the user wants to review activity, check what's coming up, or prepare a daily update.
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
testing
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).