Skill71 repo starsupdated 2d ago
git-workflow
Use when committing code, pushing branches, writing .gitignore entries, or generating PR metadata. Covers commit format, branch rules, and artifact exclusion.
Install in Claude Code
Copygit clone --depth 1 https://github.com/SignalPilot-Labs/AutoFyn /tmp/git-workflow && cp -r /tmp/git-workflow/autofyn/skills/git-workflow ~/.claude/skills/git-workflowThen start a new Claude Code session; the skill loads automatically.
Definition
SKILL.md
# Git Workflow
## Commit Format
```
[Round N] <imperative description>
```
Examples:
- `[Round 1] Add user authentication API`
- `[Round 2] Fix N+1 query in dashboard endpoint`
- `[Round 3] Refactor session manager into separate modules`
## Branch Rules
- You are already on the correct working branch. Never create or switch branches.
- Only the orchestrator commits and pushes. Subagents must not run git write commands.
- Push after every commit: `git push origin HEAD`.
- Do NOT create the actual PR — it is created automatically.
## Before Committing
Run `git status` and check for build artifacts. These must NOT be committed:
```
node_modules/ .next/ __pycache__/ *.pyc
dist/ .cache/ build/ *.log
.env .env.local *.sqlite coverage/
```
If `.gitignore` doesn't cover them, add the entries before committing.
## PR Metadata
When the session is ending, generate `/tmp/pr.json` from `git log --oneline` and `git diff --stat`:
```json
{"title": "Short imperative title", "description": "## Summary\n- what and why\n\n## Tests\n- what was tested"}
```More from this repository
env-setupSkill
Use when setting up a project environment — installing dependencies, verifying builds, detecting the tech stack. Covers Phase 0 of a new session.
self-improvementSkill
Use when updating project documentation, saving learnings, or running retrospectives. Covers CLAUDE.md updates, memory persistence, and cross-session learning.