shared/git-workflow/SKILL.md
The git-workflow skill defines branching conventions, commit message formats, and pull request standards that all agents must follow for consistent version control.
npx skillsauth add 7a336e6e/skills git-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Ensure every code change is traceable, reviewable, and cleanly integrated through consistent branching, commit messages, and pull request practices.
Branch from an up-to-date main. Use the naming convention:
{agent}/{task-id}-short-description
Examples:
git checkout main && git pull origin main
git checkout -b backend/TASK-042-password-reset
git checkout -b frontend/TASK-051-login-form
git checkout -b infra/TASK-019-ci-pipeline
Each commit should represent one logical change. Use conventional commit prefixes with an optional scope in parentheses:
| Prefix | Use For |
|------------|--------------------------------------|
| feat: | New feature or capability |
| fix: | Bug fix |
| refactor:| Code restructuring, no behavior change|
| test: | Adding or updating tests |
| docs: | Documentation changes |
| chore: | Build config, dependencies, tooling |
Format: prefix(scope): short imperative description
git commit -m "feat(auth): implement password reset endpoint"
git commit -m "fix(api): handle null user in profile lookup"
git commit -m "test(auth): add reset token expiry edge cases"
git commit -m "refactor(db): extract query builder into utility"
Keep the subject line under 72 characters. Add a body separated by a blank line for complex changes:
git commit -m "fix(auth): prevent timing attack on token comparison
Use constant-time comparison for reset tokens to avoid
leaking token validity through response timing."
Pull the latest main before pushing to catch conflicts early:
git pull origin main --rebase
git push -u origin backend/TASK-042-password-reset
Open a PR with this structure in the description:
## Summary
Brief description of what this PR does and why.
Closes TASK-042.
## Changes
- Added POST /api/auth/reset-password endpoint
- Added token validation middleware
- Added bcrypt hashing for new passwords
## Testing
- [ ] Unit tests pass locally
- [ ] Manual test with valid and expired tokens
- [ ] Verified 400 response for invalid tokens
## Checklist
- [ ] Code follows project style guidelines
- [ ] Tests cover happy path and edge cases
- [ ] No secrets or credentials in the diff
- [ ] Task status updated to In Review
Push new commits for review feedback rather than force-pushing amended commits. This preserves review context. Squash on merge if the repository is configured for it.
Branches, commits, and PRs created in the project's git repository following the conventions above.
../task-tracking/SKILL.md — task IDs referenced in branch names and PR descriptionsdevelopment
Implement features using the Red-Green-Refactor cycle to ensure testability and correctness from the start.
data-ai
Manage the `tasks.md` ledger with strict locking and collision avoidance protocols to allow multiple agents to work in parallel safely.
development
The environment-config skill standardizes how agents manage environment variables, secrets, and application configuration across local development and deployed environments.
development
Create clear, maintainable documentation for APIs, codebases, and end-users. Treat documentation as code.