diff options
| author | Arpit Chakladar <arpit@chakladar.me> | 2026-09-29 23:45:25 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpit@chakladar.me> | 2026-09-29 23:45:25 +0530 |
| commit | 33519df0fff478526d217d04190577b33c5bf7d0 (patch) | |
| tree | 18f6ee9bb8101381212038d16099e59d250b7080 /modules/development/pi-coding-agent/skills/git | |
| parent | 7975de6d03289bcc143137d5458486def5adc672 (diff) | |
| parent | 871a29efd370088f669c4f2b9e20b8992406a444 (diff) | |
| download | home-manager-config-33519df0fff478526d217d04190577b33c5bf7d0.tar.gz home-manager-config-33519df0fff478526d217d04190577b33c5bf7d0.zip | |
Merge branch 'adding-pi-harness'
Diffstat (limited to 'modules/development/pi-coding-agent/skills/git')
| -rw-r--r-- | modules/development/pi-coding-agent/skills/git/SKILL.md | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/development/pi-coding-agent/skills/git/SKILL.md b/modules/development/pi-coding-agent/skills/git/SKILL.md new file mode 100644 index 0000000..df60f8f --- /dev/null +++ b/modules/development/pi-coding-agent/skills/git/SKILL.md @@ -0,0 +1,38 @@ +--- +name: git +description: "Inspect status/diff/history, preserve user work, create focused commits when requested, help with merges/rebases/conflicts." +--- + +# Git Skill + +Inspect status/diff/history, preserve user work, create focused commits when requested, help with merges/rebases/conflicts. + +## Subagents +When you need to delegate sub‑tasks, use the `pi-subagents` skill. + +**Example:** When preparing a complex merge, spawn a **scout** to analyze the commit history of the `feature` branch, another **scout** to inspect the conflicting files in `core`, and a **reviewer** to verify the merged result passes all tests before pushing. + +*You may adapt the delegation pattern to fit the exact requirements of the codebase.* + +## Operations + +### Inspect +- `git status` - working tree state +- `git diff` - unstaged changes +- `git diff --cached` - staged changes +- `git log --oneline -20` - recent history + +### Preserve +- Never discard user changes +- Stash before risky operations +- Backup before rewrites + +### Commit +- One logical change per commit +- Clear, imperative messages +- Reference issues when applicable +- Use strict commit message formats + +### Merge +- Prefer merge with commits +- Resolve conflicts incrementally |
