godmode:pr-author
Skill1 starsChanged 56 days agoMITView on GitHub
Compose PR descriptions from branch diffs, task context, and commit history. Produces structured descriptions ready for `gh pr create`. Uses conventional commit style and links godmode tasks.
- Commits and pushes
In this repository76 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:code-reviewSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-hook-testingSkill
- godmode:crs-installSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:dep-bumpSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-syncSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rustqual-workspaceSkill
- rust-release-workflow-authorSkill
- godmode:self-reflectSkill
- session-wrap-commit-pushSkill
- godmode:systematic-debuggingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Write structured PR descriptions directly from branch diffs and task context.
- Distinctive: line 17
After completing a feature or fix on a branch
- Distinctive: line 19
When you need a consistent PR structure with summary, changes, test plan, and linked issues
- Distinctive: line 71
Always include at least one testing bullet point.
- Very specific: line 75
If the branch addresses GitHub issues or godmode tasks:
- Very specific: line 97
Search for linked issue numbers in commit bodies via --format=%B
- Distinctive: line 101
After the user approves the draft, the agent executes:
- Distinctive: line 114
All titles follow conventional-commit format (required for changelog integration)
- Distinctive: line 116
All changes are grouped by crate for readability
- Distinctive: line 117
All PRs include a test plan
- Distinctive: line 118
All linked issues are verified by reading git log or task YAML
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
PR Author
Write structured PR descriptions directly from branch diffs and task context.
When to Use
- After completing a feature or fix on a branch
- Before running
gh pr create - When you need a consistent PR structure with summary, changes, test plan, and linked issues
PR Structure
Title
Format: <type>(<scope>): <description>
- Type:
feat,fix,refactor,test,docs,chore - Scope (optional): crate or component name
- Description: concise one-liner, under 70 characters total
- No period at the end
Examples:
feat(godmode-core): add task dependency validationfix: correct task status persistence on reloadrefactor: simplify session trait bounds
Summary
2-3 sentences describing what changed and why. Lead with the user-facing impact or the problem solved:
- "Adds support for..."
- "Fixes incorrect behavior..."
- "Refactors... to improve..."
Changes
Grouped by crate, with bullet points per area:
### Crate: godmode-core
- model: add `depends_on` field to Task struct
- graph: implement dependency resolution in `runnable()`
- session: track blocked task metadata
### Crate: godmode-cli
- cli: add `--depends-on` flag to `task add`Test Plan
Describe what was tested:
- "All existing tests continue to pass"
- "Ran
taskit test run" - "Added new tests in
tests/unit/for dependency resolution" - "Verified behavior with manual test:
<steps>"
Always include at least one testing bullet point.
Linked Issues
If the branch addresses GitHub issues or godmode tasks:
Closes #42 (fix: task list not updating on status change)
Relates to #38 (design: task dependency syntax)
Completes godmode tasks: t1, t3, t5Include the issue title or task description if helpful.
Task Graph Integration
The PR author reads .ctx/godmode/tasks.yaml to identify which tasks are marked
done on this branch. These are listed in the "Linked Issues" section as
task IDs from the graph (e.g., t1, t3).
Commit History
The PR author reads git log main..HEAD --oneline to:
- Count commits by conventional-commit type
- Identify scopes (crate names) from commit messages
- Search for linked issue numbers in commit bodies via
--format=%B
gh pr create Integration
After the user approves the draft, the agent executes:
gh pr create --title "<title>" --body "<body>"The title and body are shown in the draft step, so the user can verify before creation.
The agent never creates a PR without explicit user approval of the draft.
Conventions
- All titles follow conventional-commit format (required for changelog integration)
- All changes are grouped by crate for readability
- All PRs include a test plan
- All linked issues are verified by reading git log or task YAML
See also
gm-code-review-agent— run a code review BEFORE running this agentgm-changelog-agent— generates changelog from commit history- GitHub CLI:
gh pr create --help
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.

