AGENT SKILL

git-pr-workflow

Prepare and submit pull requests with clean history, passing checks, and review-ready context. Use when asked to open, prepare, or finalize a PR.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
git-pr-workflow
description
Prepare and submit pull requests with clean history, passing checks, and review-ready context. Use when asked to open, prepare, or finalize a PR.

02 资源文件 3

03 SKILL.md 正文

Git PR Workflow

Prepare PRs that are easy to review, safe to merge, and fully validated.

Required Sequence

  1. Confirm branch intent and scope.
  2. Ensure commits are atomic (git-atomic-commit) and messages are conventional (git-conventional-commit).
  3. Run git-run-checks on latest branch state.
  4. Rebase or merge mainline according to project policy.
  5. Push branch and open PR with a concise summary, test evidence, and risk notes.

PR Description Checklist

  • Problem statement
  • What changed and why
  • Screenshots/logs when relevant
  • Validation performed (commands + outcomes)
  • Risks and rollback plan
  • Follow-up tasks (if any)

Use ./scripts/pr-checklist.sh to generate a markdown template.

Review Readiness Rules

  • No unrelated diffs.
  • No failing or skipped mandatory checks.
  • No unresolved TODOs that hide correctness risk.
  • Commit history tells a coherent story.

Boris-Inspired Operating Rules

  • Keep implementation minimal and focused on stated goal.
  • Use parallelism only for independent workstreams.
  • Verify continuously and surface uncertainty explicitly.

Claude Mapping (Optional)

  • Map this workflow to /pr-prepare and /pr-submit commands when command files are supported.
  • Hook pre-push to run the same check command used in git-run-checks.

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3