Skip to content

docs: require /code-review --fix before pushing to main - #416

Merged
fcakyon merged 2 commits into
mainfrom
docs/code-review-before-main
Nov 21, 2026
Merged

fcakyon merged 2 commits into
mainfrom
docs/code-review-before-main

Conversation

@fcakyon

@fcakyon fcakyon commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Unreviewed commits were reaching main because the guidance only asked for /simplify per commit, which checks cleanup and not correctness.

  • Run /code-review --fix on every commit not yet on main (git diff origin/main...HEAD) before pushing or merging there
  • Local and branch commits skip it, so the cost lands once per push instead of once per commit
  • Merged into the existing /simplify bullet rather than added as a new rule
-- Run the `/simplify` skill on the staged diff before every commit, docs-only commits included, as four parallel review agents, never inline.
+- Run the `/simplify` skill on the staged diff before every commit, docs-only commits included, as four parallel review agents, never inline. Before pushing to or merging into `main`, also run `/code-review --fix` on all commits not yet on `main` (`git diff origin/main...HEAD`). Local and branch commits don't need it.

@fcakyon fcakyon self-assigned this Nov 21, 2026
@fcakyon
fcakyon merged commit 94d5ecb into main Nov 21, 2026
2 checks passed
@fcakyon
fcakyon deleted the docs/code-review-before-main branch November 21, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant