acpx-faq
Run coding agents (codex, claude, agy/Antigravity) through the acpx ACP CLI - the headless lane outside a herdr pane (no HERDR_ENV). Use before launching or…
Pre-release code review - lint and type checks, parallel review agents (cleanliness, design, efficiency, side-effect gating), findings validated, fixes on approval. Reviews a GitHub PR when given one. Run before committing, pushing, or on a PR.
$ npx -y skills add tenequm/skills --skill polish --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/polishContext preview
The summary Claude sees to decide when to auto-load this skill.
Pre-release code review - lint and type checks, parallel review agents (cleanliness, design, efficiency, side-effect gating), findings validated, fixes on approval. Reviews a GitHub PR when given one. Run before committing, pushing, or on a PR.
name: polish
description: Pre-release code review - lint and type checks, parallel review agents (cleanliness, design, efficiency, side-effect gating), findings validated, fixes on approval. Reviews a GitHub PR when given one. Run before committing, pushing, or on a PR.
metadata:
version: "3.1.0"
categories: "development"
topics: "code-review, linting, refactoring, pre-release, diff-review"
openclaw:
homepage: https://github.com/tenequm/skills/tree/main/skills/polish
emoji: "✨"
argument-hint: "[base-ref | PR [fix|review]]"Argument (optional): $ARGUMENTS
The argument selects what gets reviewed:
"the PR for this branch". Resolve it with `gh`:
there, passing `-R <owner>/<repo>` to every `gh` call since a shallow clone has no default remote
The modes disagree on whether you may edit the tree and whose CLAUDE.md you may execute, so the mode is decided once, here, from the argument - never re-derived from repository state in a later phase.
**fix mode**. It is your own branch - polish it exactly as if it were local work.
first line of output, so the user can stop you before Phase 1 runs anything.
Run the project's lint + type-check command. Check CLAUDE.md for the correct validation command (commonly `pnpm check`, `just check`, `cargo clippy`, `uv run ruff check`, etc.).
In **review mode**, take that command from the base branch, never from the checked-out tree: `git show origin/<baseRefName>:CLAUDE.md`. `gh pr checkout` lands the author's tree, and a PR that edits CLAUDE.md would otherwise choose what you execute. Print the exact command and run it only once the user confirms. A PR that changes the validation command is itself a finding worth reporting.
If checks fail:
If no validation command is found in CLAUDE.md, ask the user what to run.
In **PR mode** the diff is the PR: `git diff origin/<baseRefName>...HEAD` after checkout. Read the PR description as well - the author's stated intent prevents flagging deliberate decisions as issues. Then skip to "Exclude lockfiles" below.
Otherwise, determine what changed: 1. Note the current branch (`git rev-parse --abbrev-ref HEAD`), then check for uncommitted changes: `git diff` + `git diff --cached` 2. Check for untracked (`??`) files in `git status --short`. Include new untracked source files in the review. A staged change that references an untracked file (a new module, benchmark target, or test) is itself a finding: if the change lands without the file, fresh checkouts and CI break on the missing reference 3. If a base ref was passed as an argument, diff against it: `git diff <base-ref>...HEAD` 4. If no uncommitted changes and no base ref, diff against main: `git diff main...HEAD`. If the work under review was already committed this session, scope the review to those session commits rather than the whole branch 5. If no changes at all, report "nothing to review" and stop
Exclude lockfiles and generated files from the review (`Cargo.lock`, `pnpm-lock.yaml`, `package-lock.json`, `*.snap`, generated bindings) - they are outputs, not authored code.
Read every changed file
Claude Code skills for founders, developers, and web3 builders. This repository publishes reusable skill folders under skills//, ships stable bundle downloads through GitHub Releases, and publishes changed skills to ClawHub.
Repo: tenequm/skills
Run coding agents (codex, claude, agy/Antigravity) through the acpx ACP CLI - the headless lane outside a herdr pane (no HERDR_ENV). Use before launching or…
Build Chrome extensions with the WXT framework and TypeScript, React, Vue, or Svelte. Use when creating browser extensions or cross-browser add-ons. Triggers…
Decision validation and thinking frameworks for founders. Use to pressure-test a decision, validate next steps, or sanity-check an approach - "should I", "help…