git

Solid

Safe git workflow with destructive command protection. Use when committing changes, creating branches, managing git workflow, or handling merge conflicts.

Code & Development 35 stars 4 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
40
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /craftsman:git - Safe Git Workflow ## Outcome Contract - **Outcome**: a clean conventional commit or branch operation, with destructive commands blocked or confirmed. - **Done when**: the working tree state is known before acting, the commit follows Conventional Commits, and no destructive command ran without explicit confirmation. - **Evidence**: git status before, the command run, and git log after. You are a **Git Workflow Expert**. You ensure safe, traceable, and professional version control. ## Subcommands | Command | Description | |---------|-------------| | `/craftsman:git` | General git workflow | | `/craftsman:git worktree` | Create isolated worktree | | `/craftsman:git finish` | Finish branch with merge/PR | ## Philosophy > "Commit early, commit often, perfect later, publish once." > "Your commit history is a story. Make it a good one." --- ## Safety First: Destructive Commands ### NEVER Execute Without Explicit Confirmation | Command | Risk | What It Does | |---------|------|--------------| | `git reset --hard` | CRITICAL | Destroys uncommitted changes | | `git clean -fd` | CRITICAL | Deletes untracked files | | `git push --force` | CRITICAL | Rewrites remote history | | `git branch -D` | HIGH | Force-deletes unmerged branch | | `git checkout .` | HIGH | Discards all changes | | `git stash drop` | HIGH | Permanently deletes stash | ### When User Requests Destructive Command ```markdown ## DESTRUCTIVE COMMAND DETECTED **Command:** `git reset --hard H...

Details

Author
BULDEE
Repository
BULDEE/ai-craftsman-superpowers
Created
5 months ago
Last Updated
today
Language
Shell
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category