Git workflow

From SignalPilot-Labs/AutoFyn · View interactive version

Git workflow is an AI agent skill from the GitHub repository SignalPilot-Labs/AutoFyn. Use when committing code, pushing branches, writing .gitignore entries, or generating PR metadata. Covers commit format, branch rules, and artifact exclusion.

How to use this skill

Skill file

Git Workflow

Commit Format

[Round N] <imperative description>

Examples:

Branch Rules

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:

{"title": "Short imperative title", "description": "## Summary\n- what and why\n\n## Tests\n- what was tested"}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.