github-workflow
Phase 9 - Provides the process for raising git commits, checking branches, and creating PRs using the gh CLI.
Skill by sapientcoffee
Chalk Labs
Need help deploying github-workflow?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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
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: not checked yet.
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-to-cup, Apache-2.0.
More from sapientcoffee/bean-to-cup
- 0.521score
assess
sapientcoffee
Exposes the app modernization assessment skill, performing agentic codebase scans, GCP credential verification, cost estimation checks, and executing the…
SkillBFreshness: BClaude Code +9 - 0.521score
rewrite
sapientcoffee
Stage 1/2 - Orchestrate a legacy application rewrite workflow by analyzing modernization assessments and coordinating specialized skills.
SkillBFreshness: BClaude Code +9 - 0.512score
kanban
sapientcoffee
Stage 7 - Generates an interactive Kanban board (Markdown & HTML) and Mermaid flow to visualize and track the status of implementation slices.
SkillBFreshness: BClaude Code +9 - 0.469score
chaos-mitigation
sapientcoffee
Phase 7 - Detects, analyzes, and mitigates active chaos events in the `press-service` using logs and runbooks.
SkillCFreshness: CClaude Code +9 - 0.469score
dev
sapientcoffee
Start the local development environment (backend and frontend)
SkillCFreshness: CClaude Code +9 - 0.467score
deploy-app
sapientcoffee
Phase 7 - Acts as DevOps to automatically detect the application stack, install necessary dependencies, and host the application locally.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 11
- Last commit (this folder)
- Jun 19, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/sapientcoffee/bean-to-cup
- 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.524score
github-workflow
sapientcoffee
Phase 9 - Provides the process for raising git commits, checking branches, and creating PRs using the gh CLI.
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
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get github-workflow running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
github-workflow skill. Agent Mart. https://agentmart.dev/skills/sapientcoffee-github-workflow (last updated 2026-10-24)