git-workflows▌
autumnsgrove/groveengine · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
All git and GitHub operations go through gw — never use raw git or gh commands directly.
- ›Grove Wrap adds safety tiers, Conventional Commits enforcement, protected branch guards, and agent-safe defaults.
Git & GitHub Workflows (via Grove Wrap)
All git and GitHub operations go through gw — never use raw git or gh commands directly.
Grove Wrap adds safety tiers, Conventional Commits enforcement, protected branch guards, and agent-safe defaults.
When to Activate
Activate this skill when:
- Making git commits, pushing, pulling, branching, or stashing
- Creating, reviewing, or merging pull requests
- Creating, viewing, or closing GitHub issues
- Checking CI/workflow run status
- Reviewing git history, diffs, or blame
- Resolving merge conflicts
- Any version control operation
Safety System
gw enforces a three-tier safety model:
| Tier | Flag Required | Examples |
|---|---|---|
| READ | None | gw git status, gw git log, gw gh pr list |
| WRITE | --write |
gw git commit, gw git push, gw git pull, gw gh pr create |
| DANGEROUS | --write --force |
gw git reset, gw git force-push, gw git rebase |
Protected branches (main, master, production, staging) can NEVER be force-pushed, even with --force.
Agent mode (auto-detected for Claude Code): stricter row limits, force operations blocked, all operations audit-logged.
Dry run any command with --dry-run to preview what would happen.
Conventional Commits Format
gw validates commit messages against Conventional Commits automatically. Format:
<type>(<optional scope>): <brief description>
<optional body>
<optional footer>
Commit Types
| Type | Purpose | Example |
|---|---|---|
feat |
New feature | feat: add user authentication |
fix |
Bug fix | fix: correct validation error |
docs |
Documentation | docs: update README |
style |
Code formatting | style: format with prettier |
refactor |
Code restructure | refactor: extract helper function |
test |
Add/modify tests | test: add auth tests |
chore |
Maintenance | chore: update dependencies |
perf |
Performance | perf: optimize query speed |
ci |
CI/CD changes | ci: fix deploy workflow |
Breaking changes: Add an exclamation mark after the type, e.g. feat!: replace XML config with YAML
Git Commands — Reading (Always Safe)
gw git status # Enhanced git status
gw git log # Formatted commit history
gw git log --limit 20 # Last 20 commits
gw git diff # Show changes
gw git diff --staged # Show staged changes
gw git blame file.ts # Blame with context
gw git show abc123 # Show commit details
Git Commands — Writing (Needs --write)
gw git add --write . # Stage files
gw git add --write src/lib/thing.ts # Stage specific file
gw git commit --write -m "feat: add new feature" # Commit (validates conventional commits!)
gw git push --write # Push to remote
gw git pull --write # Pull from remote
gw git pull --write --rebase # Pull with rebase strategy
gw git branch --write feature/new-thing # Create branch
gw git switch --write feature/new-thing # Switch branches
gw git stash --write # Stash changes
gw git stash --write pop # Pop stash
gw git unstage --write file.ts # Unstage files
Git Commands — Dangerous (Needs --write --force)
gw git push --write --force # Force push (blocked to protected branches!)
gw git reset --write --force HEAD~1 # Hard reset
gw git rebase --write --force main # Rebase onto main
gw git merge --write --force feature # Merge branches
Grove Shortcuts
These combine common multi-step operations into single commands:
# Quick save: stage all + WIP commit
gw git save --write
# Quick sync: fetch + rebase + push
gw git sync --write
# WIP commit that skips hooks
gw git wip --write
# Undo last commit (keeps changes staged)
gw git undo --write
# Amend last commit message
gw git amend --write -m "better message"
# FAST MODE: skip ALL hooks, commit + push in one shot
gw git fast --write -m "fix: emergency hotfix"
Branching Strategy
Branch Naming
feature/feature-name # New features
fix/bug-description # Bug fixes
experiment/new-idea # Experiments
release/v1.0.0 # Releases
Feature Branch Workflow
# Create and switch to feature branch
gw git branch --write feature/user-auth
gw git switch --write feature/user-auth
# Work and commit
gw git add --write .
gw git commit --write -m "feat: add JWT authentication"
# Push and create PR
gw git push --write
gw gh pr create --write --title "feat: add JWT authentication"
GitHub — Pull Requests
# Reading (always safe)
gw gh pr list # List open PRs
gw gh pr view 123 # View PR details
gw gh pr status # PR status (CI, reviews, etc.)
# Writing (needs --write)
gw gh pr create --write --title "feat: new thing" --body "Description"
gw gh pr comment --write 123 "LGTM!"
gw gh pr merge --write 123 # Merge PR (prompts for confirmation)
GitHub — Issues
# Reading (always safe)
gw gh issue list # List open issues
gw gh issue view 456 # View issue details
# Writing (needs --write)
gw gh issue create --write --title "Bug: thing broke"
gw gh issue close --write 456
GitHub — Workflow Runs (CI)
# Reading (always safe)
gw gh run list # List recent runs
gw gh run view 12345678 # View run details
gw gh run watch 12345678 # Watch a running workflow
# Writing (needs --write)
gw gh run rerun --write 12345678 --failed # Rerun failed jobs
gw gh run cancel --write 12345678 # Cancel a run
GitHub — API & Rate Limits
# GET requests (always safe)
gw gh api repos/AutumnsGrove/Lattice
# POST/PATCH (needs --write)
gw gh api --write repos/{owner}/{repo}/labels -X POST -f name="bug"
# DELETE (needs --write --force)
gw gh api --write --force repos/{owner}/{repo}/labels/old -X DELETE
# Check rate limit status
gw gh rate-limit
GitHub — Project Boards
gw gh project list # List project boards
gw gh project view # View current project
Commit Examples
Feature
gw git commit --write -m "feat: add dark mode toggle
- Implement theme switching logic
- Add localStorage persistence
- Update CSS variables"
Bug Fix with Issue Link
gw git commit --write -m "fix: correct timezone handling bug
Fixes off-by-one error in date calculations.
Closes #123"
Breaking Change
gw git commit --write -m "feat!: replace XML config with YAML
BREAKING CHANGE: XML configuration no longer supported.
See docs/migration.md for upgrade instructions."
Agent-Optimized Commands (NEW)
These commands are specifically designed for agentic workflows:
Session Start (Always run this first!)
gw context # One-shot session snapshot (rich output)
gw --json context # JSON snapshot (branch, changes, packages, issues)
Ship with Auto-Stage
# Stage all + format + check + commit + push in ONE command
gw git ship --write -a -m "feat: implement feature"
# Equivalent to: gw git add --write . && gw git ship --write -m "..."
PR Preparation
gw git pr-prep # Full PR readiness report
gw --json git pr-prep # JSON: commits, files, packages, suggested title
Targeted CI
gw ci --affected # Only check packages with changes
gw ci --affected --fail-fast # Fast feedback: stop on first failure
gw ci --diagnose # Structured error output when steps fail
gw --json ci --affected # JSON with parsed error details
Batch Issue Creation
# Create multiple issues from JSON
gw gh issue batch --write --from-json issues.json
echo '[{"titleHow to use git-workflows on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add git-workflows
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches git-workflows from GitHub repository autumnsgrove/groveengine and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate git-workflows. Access the skill through slash commands (e.g., /git-workflows) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★51 reviews- ★★★★★Lucas Singh· Dec 20, 2024
git-workflows reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Kaira Iyer· Dec 16, 2024
We added git-workflows from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Soo Haddad· Dec 8, 2024
Registry listing for git-workflows matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Ganesh Mohane· Dec 4, 2024
Keeps context tight: git-workflows is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Omar Perez· Nov 27, 2024
git-workflows fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Sakshi Patil· Nov 23, 2024
git-workflows has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Yash Thakker· Nov 19, 2024
I recommend git-workflows for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Kaira Mensah· Nov 11, 2024
We added git-workflows from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Arya Flores· Nov 7, 2024
git-workflows reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Omar Gonzalez· Oct 26, 2024
Registry listing for git-workflows matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 51