gh-workflow
Skill4 starsChanged 9 months agoApache-2.0Archived repositoryView on GitHub
GitHub workflow using the gh CLI for PRs, issues, CI checks, and code review. Use this instead of the GitHub MCP — covers creating PRs with spec references, monitoring CI runs, and reviewing PR comments.
- Commits and pushes
In this repository62 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentforge-a2aSkill
- agentforge-browser-toolingSkill
- agentforge-channel-adaptersSkill
- agentforge-cliSkill
- agentforge-convexSkill
- agentforge-dashboardSkill
- agentforge-mcp-integrationSkill
- agentforge-research-orchestratorSkill
- agentforge-runtime-daemonSkill
- agentforge-sandbox-executionSkill
- agentforgeSkill
- agentforge-skills-marketplaceSkill
- agentforge-template-syncSkill
- agentforge-testingSkill
- convex-advisorSkill
- convex-auth-setupSkill
- convex-best-practicesSkill
- convex-component-authoringSkill
- convex-components-guideSkill
- convex-cron-jobsSkill
- convex-file-storageSkill
- convex-function-creatorSkill
- convex-helpers-guideSkill
- convex-http-actionsSkill
- convex-mcp-setupSkill
- convex-migration-helperSkill
- convex-quickstartSkill
- convex-realtimeSkill
- convex-reviewerSkill
- convex-schema-builderSkill
- convex-security-auditSkill
- convex-security-checkSkill
- convexSkill
- mastraSkill
- specsafe-agentforgeSkill
- specsafeSkill
- specSkill
- validateSkill
- working-with-sqliteSkill
- agentforge-convexSkill
- spec-createSkill
- specsafe-agentforgeSkill
- specsafe-doneSkill
- specsafe-exploreSkill
- specsafe-newSkill
- specsafeSkill
- specsafe-specSkill
- specsafe-test-applySkill
- specsafe-test-createSkill
- specsafe-verifySkill
- specSkill
- template-sync-checkSkill
- validateSkill
- working-with-sqliteSkill
- agentforge-convexSkill
- browser-automationSkill
- example-skillSkill
- skill-creatorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 7
Use the gh CLI for all GitHub operations in AgentForge.
- Distinctive: line 123
Never force-push to main
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Use the gh CLI for all GitHub operations in AgentForge.
PR Workflow
List open PRs:
gh pr listView PR details:
gh pr view [number]Check CI status for a PR:
gh pr checks [number]Create a PR (always use a HEREDOC for the body):
gh pr create --title "SPEC-NNN: Short description" --body "$(cat <<'EOF'
## Summary
- What this PR does
## Test plan
- [ ] pnpm test — all green
- [ ] tsc --noEmit — 0 errors
- [ ] pnpm audit — 0 high/critical
- [ ] Manual: agentforge start / chat / status
- [ ] Related spec: SPEC-NNN
🤖 Generated with Claude Code
EOF
)"Merge a PR:
gh pr merge [number] --squash --delete-branchIssue Workflow
List issues:
gh issue list
gh issue list --label "bug"View an issue:
gh issue view [number]Create an issue linked to a spec:
gh issue create --title "SPEC-NNN: Short description" \
--body "Implements specs/active/SPEC-NNN-<title>.md"Close an issue:
gh issue close [number]CI / Actions Workflow
List recent runs:
gh run list --limit 5Watch a run live:
gh run watchView failed run logs:
gh run view [run-id] --log-failedCode Review
View PR with all comments:
gh pr view [number] --commentsAdd a review comment:
gh pr review [number] --comment -b "Your comment here"Approve or request changes:
gh pr review [number] --approve
gh pr review [number] --request-changes -b "Please fix X before merging"AgentForge PR Guidelines
- Title must reference the related spec:
SPEC-NNN: description - Body must include test plan:
pnpm test,tsc --noEmit,pnpm audit, manual CLI test - Link to the spec file in
specs/active/ - Never force-push to
main
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

