ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules.…
Advanced Git: rebase, bisect, reflog, cherry-pick, worktrees, LFS. Triggers: rebase, bisect, cherry-pick, reflog, force push, merge conflict, worktree.
$ npx -y skills add softspark/ai-toolkit --skill git-mastery --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/git-masteryContext preview
The summary Claude sees to decide when to auto-load this skill.
Advanced Git: rebase, bisect, reflog, cherry-pick, worktrees, LFS. Triggers: rebase, bisect, cherry-pick, reflog, force push, merge conflict, worktree.
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.
Repo: softspark/ai-toolkit
Mandatory engineering, security, testing, git, performance, quality, and response rules.…
Searches past coding sessions for observations, decisions, context. Triggers: mem-search,…
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG,…
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent,…
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report,…
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe…