github-workflow
Phase 9 - Provides the process for raising git commits, checking branches, and creating PRs using the gh CLI.
Skill by sapientcoffee
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sapientcoffee-github-workflow-bc9864
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/github-workflow
What's inside
- Skill name
github-workflow- Description
- Phase 9 - Provides the process for raising git commits, checking branches, and creating PRs using the gh CLI. Use this when the user needs to commit code or open a pull request.
- License
- Apache-2.0
- Instructions
- 101 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## 1. Branch Management & Context Awareness
Before writing any code, you must ensure you are working in the correct context to avoid merge conflicts or accidental commits to protected branches.
### Verify Your Location
* **Check Current Branch:** `git branch --show-current`
* **Check Working Directory:** `git status` (Ensure no stray files from previous tasks are present).
### The Sync-and-Branch Process
Always start your work by syncing with the remote source of truth.
```bash
# Sync your local main branch with the remote repository
gh repo sync
# Create and switch to a new feature branch
# Format: <type>/<short-description>
git checkout -b feat/add-user-auth
```
**Common Branch Prefixes:**
- `feat/`: New functionality.
- `fix/`: Bug fixes.
- `docs/`: Documentation updates.
- `refactor/`: Code changes that neither fix bugs nor add features.
## 2. Raising Quality Commits
Commits should be "atomic," meaning each commit contains one logical change. We follow the Conventional Commits specification.
### Commit Message Format
`type(scope): description`
- **Type:** `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`.
- **Scope:** (Optional) The specific module affected (e.g., `api`, `middleware`).
- **Description:** Use the imperative mood ("add" instead of "added").
**Example:**
`feat(ui): add loading spinner to login button`
### Staging Changes
Review your changes before committing to ensure no "debug" code (like `console.log`) is included.
```bash
# Review and stage specific hunks of code
git add -p
# Commit with a clear message
git commit -m "feat(api): implement password hashing"
```
## 3. Pre-Flight Checklist (Verification)
**Strict Rule:** Never raise a Pull Request (PR) until your code has passed all local checks. This saves CI/CD resources and reviewer time.
1. **Run Tests:** Execute the project's test suite (e.g., `npm test`, `pytest`, `go test ./...`).
2. **Linting:** Run the linter to ensure code style consistency.
3. **Local Build:** Verify the project still builds/compiles.
4. **Final Rebase:** Pull the latest changes from main and rebase your branch to resolve conflicts locally.
```bash
git fetch origin
git rebase origin/main
```
## 4. Raising a Pull Request with gh CLI
The GitHub CLI allows you to create and manage PRs without leaving your terminal.
### Create the PR
Initiate the interactive PR creation process:
```bash
gh pr create
```
**Recommended Flags:**
- `--web`: Opens the PR in your browser for a final visual review before submitting.
- `--fill`: Automatically populates the title and body based on your commit history.
- `--reviewer "@username"`: Assigns a teammate for review.
### PR Description Standard
A good PR provides context. Use the following structure in the description:
- **Summary:** What does this PR do and why?
- **Changes:** A bulleted list of technical implementation details.
- **Testing:** How did you verify these changes?
- **Issues:** Reference any related tickets (e.g., `Closes #101`).
## 5. Post-Submission Monitoring
After raising the PR, use the CLI to monitor the "health" of your contribution.
| Action | Command |
| --- | --- |
| Check CI Status | `gh pr checks` |
| View PR Status | `gh pr status` |
| Merge (if approved) | `gh pr merge --squash --delete-branch` |
## 6. Git & CLI Cheat Sheet
| Task | Command |
| --- | --- |
| Sync Repo | `gh repo sync` |
| New Branch | `git checkout -b <name>` |
| Stage Changes | `git add -p` |
| Check PRs | `gh pr list` |
| Review a PR | `gh pr checkout <number>` |From sapientcoffee/bean-brewer, Apache-2.0.
More from sapientcoffee/bean-brewer
- 0.526score
harness-immunizer
sapientcoffee
Velocity Harness Patch self-healing mechanism.
SkillBFreshness: BClaude Code +9 - 0.526score
code-hygiene
sapientcoffee
Deterministic local code hygiene runner.
SkillBFreshness: BClaude Code +9 - 0.526score
cycle-telemetry
sapientcoffee
Velocity Chess Clock telemetry tracker.
SkillBFreshness: BClaude Code +9 - 0.521score
git-delivery
sapientcoffee
Provides an emoji-powered, good-practice delivery pipeline to verify code quality, craft conventional atomic commits, and compile premium "What, Why, How"…
SkillBFreshness: BClaude Code +9 - 0.521score
record
sapientcoffee
Record terminal interactions and compile them to animated GIFs.
SkillBFreshness: BClaude Code +9 - 0.518score
worktree
sapientcoffee
Manage Git Worktrees and Isolate Branches for parallel agent execution.
SkillBFreshness: BClaude Code +9 - 0.518score
archive
sapientcoffee
Clears away the 'spent grounds' (completed plans) into ./plans/archive and updates .geminiignore.
SkillBFreshness: BClaude Code +9 - 0.516score
motivate
sapientcoffee
Provides an encouraging, motivational message with coffee themes and puns to lighten the mood after a complex coding session.
SkillBFreshness: BClaude Code +9 - 0.516score
audit-code
sapientcoffee
Phase 7 - Acts as a QA Engineer to assess code alignment with technical specifications, find and fix bugs, and commit polished revisions in the app_build/…
SkillBFreshness: BClaude Code +9 - 0.516score
generate-code
sapientcoffee
Phase 7 - Acts as a Full-Stack Engineer to generate all core backend and frontend application files based on the approved technical specification.
SkillBFreshness: BClaude Code +9 - 0.514score
research
sapientcoffee
Phase 3 - Document codebase as-is without evaluation or recommendations
SkillBFreshness: BClaude Code +9 - 0.511score
sync
sapientcoffee
Parse 05_PLAN.md and synchronize tasks to GitHub issues
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 8, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/sapientcoffee/bean-brewer
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from sapientcoffee
- 0.526score
harness-immunizer
sapientcoffee
Velocity Harness Patch self-healing mechanism.
SkillBFreshness: BClaude Code +9 - 0.526score
cycle-telemetry
sapientcoffee
Velocity Chess Clock telemetry tracker.
SkillBFreshness: BClaude Code +9 - 0.526score
code-hygiene
sapientcoffee
Deterministic local code hygiene runner.
SkillBFreshness: BClaude Code +9 - 0.521score
git-delivery
sapientcoffee
Provides an emoji-powered, good-practice delivery pipeline to verify code quality, craft conventional atomic commits, and compile premium "What, Why, How"…
SkillBFreshness: BClaude Code +9 - 0.521score
record
sapientcoffee
Record terminal interactions and compile them to animated GIFs.
SkillBFreshness: BClaude Code +9 - 0.521score
grill
sapientcoffee
Stage 1 - A relentless Socratic interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
SkillBFreshness: BClaude Code +9
Cite this page
github-workflow skill. Agent Mart. https://agentmart.dev/skills/sapientcoffee-github-workflow-bc9864 (last updated 2026-10-24)