一键导入
pr-readiness-code
[Workflow] Prepare a code change for review — test, lint, commit, PR, issue tracker
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
[Workflow] Prepare a code change for review — test, lint, commit, PR, issue tracker
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
[Workflow] Explore an idea and design a solution before implementing
Use when the what or how of a change has open questions requiring collaborative design dialogue with the user — before committing to an approach
[Agent] Subagent persona for reviewing code changes against a plan and quality standards
Use when approaching complex exploration, research, or synthesis tasks — understanding systems, codebases, domains, or architectures before proposing changes or designs
Use when facing 2+ tasks that can proceed without shared state, sequential dependencies, or mutual file edits
[Workflow] Execute an implementation plan task by task with review checkpoints
| name | pr-readiness-code |
| description | [Workflow] Prepare a code change for review — test, lint, commit, PR, issue tracker |
| source_type | workflow |
| metadata | {"last_updated":"2026-03-11T00:00:00.000Z","owner":"shrug-labs"} |
Run tests
make testgo test ./...npm testpytestRun linter/pre-commit
pre-commit configured (.pre-commit-config.yaml exists): pre-commit run --all-filesmake lintReview diff — git diff --stat + quick scan for:
Generate commit summary — Draft a conventional commit message from the diff
Stage and commit — Specific files only (no git add -A)
Push and create PR — git push -u origin <branch> + PR via CLI
Update issue tracker (if applicable)
Fixes #N in PR bodyVerify — gh pr view --json url,state returns the PR URL with state OPEN.