ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Advanced Git: rebase, bisect, reflog, cherry-pick, worktrees, LFS. Triggers: rebase, bisect, cherry-pick, reflog, force push, merge conflict, worktree.
Claude Code
$ npx -y skills add softspark/ai-toolkit --skill git-mastery --agent claude-code
Codex
$ npx skills add softspark/ai-toolkit --skill git-mastery -a codex -y
Cursor
$ npx skills add softspark/ai-toolkit --skill git-mastery -a cursor -y
Gemini CLI
$ npx skills add softspark/ai-toolkit --skill git-mastery -a gemini-cli -y
GitHub Copilot
$ npx skills add softspark/ai-toolkit --skill git-mastery -a github-copilot -y
OpenCode
$ npx skills add softspark/ai-toolkit --skill git-mastery -a opencode -y
Windsurf
$ npx skills add softspark/ai-toolkit --skill git-mastery -a windsurf -y
name: git-mastery description: "Advanced Git: rebase, bisect, reflog, cherry-pick, worktrees, LFS. Triggers: rebase, bisect, cherry-pick, reflog, force push, merge conflict, worktree." effort: medium user-invocable: false allowed-tools: Read, Grep, Glob
`git branch backup/feature-xyz-pre-rebase`
Find the specific commit that introduced a bug.
# Start git bisect start git bisect bad # Current version is broken git bisect good <commit-sha> # Version that worked # Automate with test script git bisect run pytest tests/test_failing_feature.py
Clean up commit history before merge.
git rebase -i HEAD~n
Visualize branch topology.
git log --graph --oneline --decorate --all
Recover "lost" commits after a bad reset/rebase.
git reflog
git reset --hard HEAD@{n}Pick specific commits from other branches.
git cherry-pick <commit-sha> # If valid conflict git add . git cherry-pick --continue
| Excuse | Why It's Wrong | |--------|----------------| | "I'll clean up commits later" | Later means never — write clean commits as you go | | "Force push is fine on my branch" | Others may have fetched your branch — use --force-with-lease | | "One big commit is simpler" | Big commits are impossible to review, bisect, or revert — keep them atomic | | "Merge conflicts mean someone else's problem" | Conflicts mean you diverged too long — rebase frequently to stay aligned | | "Commit messages don't matter" | Messages are documentation — future you needs to understand why, not just what |
AI coding toolkit with machine-enforced safety, 116 skills, 44 agents, lifecycle hooks, persona presets, opt-in plugin packs, and benchmark tooling.
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Searches past coding sessions for observations, decisions, context. Triggers: mem-search, recall session, past work, prior…
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen…
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent, create agent, agent scaffold,…
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture…
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe retries. Triggers: API design, REST,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.