pr-checklist
Provides a comprehensive pre-PR checklist to ensure code quality and CI readiness.
Install
mkdir -p .claude/skills/pr-checklist && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17786" && unzip -o skill.zip -d .claude/skills/pr-checklist && rm skill.zipInstalls to .claude/skills/pr-checklist
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Checklist to run before submitting a PRKey capabilities
- →Run formatting and checks using `./task fmt` and `./task checks`
- →Execute linting with `./task lint`
- →Run tests with `./task test`
- →Generate schema and direct engine code if bundle config structs changed
- →Perform Python-specific tasks like `pydabs-codegen` and `pydabs-test`
- →Scan for debug prints and commented-out code in the diff
How it works
The skill outlines a series of commands to run before submitting a pull request, mirroring CI checks. It includes steps for formatting, linting, testing, and generating code, followed by a manual diff scan for common issues.
Inputs & outputs
When to use pr-checklist
- →Pre-PR validation
- →Verifying CI requirements
- →Finalizing code before commit
About this skill
Before submitting a PR, run these commands to match what CI checks. CI uses the full variants (not the -q diff-only wrappers), so ./task lint-q alone is insufficient.
# 1. Formatting and checks (CI runs fmt, not fmt-q)
./task fmt
./task checks
# 2. Linting (CI runs full golangci-lint across all modules, not the diff-only wrapper)
./task lint
# 3. Tests (CI runs with both deployment engines)
./task test
# 4. If you changed bundle config structs, schema, or direct-engine resource code:
./task generate-schema
./task generate-direct
# 5. If you changed files in python/:
./task pydabs-codegen pydabs-test pydabs-lint pydabs-docs
# 6. If you changed cmd/aitools/, libs/aitools/, experimental/aitools/, or experimental/ssh/:
./task test-exp-aitools # only if aitools code changed (top-level or experimental)
./task test-exp-ssh # only if ssh code changed
Final cleanup scan
After the commands above pass, scrub the diff before pushing. The quick version: run git diff @{u} and read through what you added. Specifically:
-
Debug prints: look for newly added
fmt.Print,fmt.Printf,fmt.Println,log.Print,log.Printf,log.Println, or bareprintln(...)calls. A regex that scans only added lines against your upstream branch:git diff @{u} -- '*.go' | rg '^\+.*\b(fmt|log)\.(Print|Printf|Println)\b|^\+.*\bprintln\('If you have no upstream yet, substitute the intended base (e.g.
origin/main) for@{u}. -
Commented-out code: delete it. If it's needed for reference, it lives in git history.
-
TODOs without a ticket: either add a ticket reference (e.g.
// TODO(DECO-1234): ...) or remove the TODO. Un-tracked TODOs rot. -
Unintended files: review
git statusandgit diff --statto confirm only the files you meant to change are staged.
PR description
Follow .github/PULL_REQUEST_TEMPLATE.md exactly. Use its section headings (## Changes, ## Why, ## Tests) in the same order, and fill each one in. Do not invent new sections (## Summary, ## Test plan, etc.), do not drop sections, and do not leave the HTML comment placeholders in the final body — replace them with real content. If a section genuinely does not apply (e.g. a docs-only change has no test steps), say so explicitly under that heading rather than removing it.
RULE: Be concise in the PR summary. Overly verbose descriptions tend to be ignored by reviewers. Let the diff speak for itself and only describe at a high level what you have implemented/what components were touched.
When using gh pr create, read .github/PULL_REQUEST_TEMPLATE.md first and base --body on it.
If an agent (you) authored or substantially helped author the PR, disclose it on the last line of the body, e.g. _This PR was written by Claude Code._ or _PR description drafted with Claude Code._. Be honest about the level of involvement — "written by" vs. "drafted with" vs. "reviewed by" — and keep it to a single italicized line so it doesn't crowd the template sections.
Changelog entry
Add a changelog fragment under .nextchanges/ when your change is user-visible. Each PR adds its own file, so entries never conflict between PRs. The release renders these fragments into the real CHANGELOG.md, so never hand-edit CHANGELOG.md directly.
When to add an entry:
- New or changed CLI command, flag, or subcommand behavior
- New or changed bundle config field, schema, or engine behavior
- New direct dependency (annotate under
Dependency updates) - Bug fix that users will notice
When to skip:
- Experimental commands (under
experimental/): no entry until the feature graduates out of experimental - Pure refactors, internal renames, test-only changes, and doc-only changes
- Auto-generated output changes without a corresponding user-facing change
How to add:
- Create
.nextchanges/<section>/<name>.md, picking the section folder that fits:cli,bundles,dependency-updates,notable-changes, orapi-changes.<name>is arbitrary (a feature name or your PR number) — just keep it unique. - Write one or two sentences in user-facing language, no Jira links. The leading
*is optional. Match the voice and tense of existing changelog entries. - A PR link is optional: write
(#NNNN)(with NNNN being the PR number) in the text and it's expanded to a full link automatically. - See
.nextchanges/README.mdfor details.
When not to use it
- →When the task is not related to pre-PR validation or CI checks
- →When the changes are not intended for a pull request
- →When the project does not use `./task` commands for CI
Limitations
- →The checklist is specific to the project's `./task` commands
- →The skill requires manual review of the diff for final cleanup
How it compares
This skill provides a specific checklist of commands and manual checks intended to align with CI processes for PR submission, focusing on preventing CI failures rather than general code review or development.
Compared to similar skills
pr-checklist side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pr-checklist (this skill) | 0 | 17d | Review | Intermediate |
| verify | 6 | 6mo | No flags | Beginner |
| code-change-verification | 4 | 4mo | Review | Beginner |
| springboot-verification | 4 | 4mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
code-change-verification
openai
Run the mandatory verification stack when changes affect runtime code, tests, or build/test behavior in the OpenAI Agents Python repository.
springboot-verification
affaan-m
Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.
moai-workflow-testing
modu-ai
Comprehensive development workflow specialist combining DDD testing, debugging, performance optimization, code review, PR review, and quality assurance into unified development workflows
resolve-checks
flowglad
Resolve all failing CI checks and address PR review feedback on the current branch's PR. Runs tests locally, fixes failures, incorporates valid review comments, and resolves addressed feedback. Use when CI is red, after receiving PR feedback, or before merging.
verification-quality-assurance
ruvnet
Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.