skills/code-review/SKILL.md
Structured pull-request review checklist (imports, module headers, domain-neutral compliance language, naming). Use after opening a PR or when reviewing merged changes for lessons learned.
npx skillsauth add pkuppens/pkuppens code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for human or AI-assisted review of a pull request before merge, or for a post-merge retrospective to capture recurring gaps.
main after merge).Reason: CI catches many issues, but conventions below are easy to miss in large security or compliance PRs.
import with no context when the module is non-trivial (services, middleware, API entrypoints).See code-quality-docs for docstring and comment standards.
from backend.some_package.module import ...).from backend..., from src.backend..., and deep relative imports (from ..x import y) in the same file unless the repo explicitly allows an exception..cursor/rules or CLAUDE.md (example: on-prem RAG uses backend.* from src/ layout).Reason: mixed roots confuse reviewers and break refactors.
Reason: the same controls often apply to healthcare, finance, and public sector; sector-specific wording belongs in sector-specific docs or ADRs.
logger vs _logger: Prefer logger = logging.getLogger(__name__) at module level for readability unless the repo mandates a private prefix.logger does not clash with the logging module).import foo as _foo: Often used to avoid re-export or to mark optional/heavy imports; do not mix unrelated underscore styles in one file without reason.Document team choice in the repo if reviewers repeatedly disagree.
The following came from a real security/compliance hardening PR; they are now part of this checklist:
app.py-style entrypoints._logger / logger with project readability goals, not only PEP 8 “internal” habits.SKILL.md): https://agentskills.io/specificationtesting
Syncs remote default branch locally (checkout, fetch --prune, pull) and returns to the previous branch when it still exists. Reports stashes and worktrees not yet handled. Use when the user asks to sync main, update default branch, fetch/pull origin, or run /sync-branch.
tools
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
tools
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.