skills/git-workflow/SKILL.md
Git workflow for parallel agent development. Use when: multiple agents working on same repo, creating PRs, managing worktrees. Don't use when: single-file edits in workspace.
npx skillsauth add roviq-ai/agency-ops-center 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.
This skill defines the Git workflow for coordinating multiple subagents working on the same repository simultaneously. It enforces isolation via git worktrees to prevent conflicts and accidental overwrites.
Agents MUST NOT share the same working directory. Use git worktrees so each lane gets its own isolated checkout.
/data/workspace/projects/[project]/src/ ← main (COO only)
/tmp/[project]-[lane]/ ← agent-lane (e.g., backend-skeleton)
When spawning a subagent for a parallel task:
git branch [task-branch] main
/tmp/:
git worktree add /tmp/[project]-[lane] [task-branch]
sessions_spawn({
task: "Work in /tmp/[project]-[lane]. Implement [feature].",
...
})
After the agent finishes and changes are pushed/merged:
git worktree remove /tmp/[project]-[lane]
git branch -d [task-branch] # if merged
feat/[feature-name]fix/[bug-description]chore/[maintenance-task]refactor/[module-name]docs/[topic]Examples:
feat/user-authfix/login-redirect-loopchore/update-depsFollow the Conventional Commits specification:
<type>(<scope>): <subject>
[optional body]
Types:
feat: New featurefix: Bug fixdocs: Documentation onlystyle: Formatting, missing semi-colons, etc.refactor: Code change that neither fixes a bug nor adds a featureperf: Code change that improves performancetest: Adding missing testschore: Build process, auxiliary toolsExample:
feat(auth): implement Google OAuth login
Added Passport strategy for Google. Updated user schema to store provider ID.
git push.gh pr create.Agents DO NOT push directly. This ensures the COO maintains the "gatekeeper" role and validates all outgoing code.
The COO is the Release Manager.
git status and diffs before pushing.Rule: If an agent needs to push, it must ask the COO. The COO executes the push.
tools
Fetches current top trending topics on X (Twitter) for any country using public aggregators.
development
Use when: user needs UX flows, information architecture, design critique, or design-system tokens. Don't use when: building a full static site (use frontend-design-ultimate) or redesigning an existing app (use human-optimized-frontend). Routing tree: "Building new site from scratch?" → frontend-design-ultimate; "Need UX critique or design tokens?" → ui-ux-pro-max; "Redesigning existing frontend with quantified eval?" → human-optimized-frontend; "Need design workflow (wireframe → theme → code)?" → frontend-design (superdesign); "Extracting design from existing codebase?" → frontend-design-extractor
development
Use when: generating a design system from brand colors. Don't use when: need full site build (use frontend-design-ultimate).
development
Use when: building new UI from scratch and need design workflow (layout → theme → animation → code). Don't use when: extracting design from existing code (use frontend-design-extractor) or need full production site (use frontend-design-ultimate). Routing tree: "Building new site from scratch?" → frontend-design-ultimate; "Need UX critique or design tokens?" → ui-ux-pro-max; "Redesigning existing frontend with quantified eval?" → human-optimized-frontend; "Need design workflow (wireframe → theme → code)?" → frontend-design (superdesign); "Extracting design from existing codebase?" → frontend-design-extractor