From cbbd654cca85ecf0d2c272a7fb62789ffb5100ab Mon Sep 17 00:00:00 2001 From: Matt Pocock Date: Fri, 30 Oct 2026 14:00:17 +0000 Subject: [PATCH] code-review: search the disk for standards files Co-Authored-By: Claude Opus 5.5 --- .changeset/code-review-standards-on-disk.md | 5 +++++ skills/engineering/code-review/SKILL.md | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/code-review-standards-on-disk.md diff --git a/.changeset/code-review-standards-on-disk.md b/.changeset/code-review-standards-on-disk.md new file mode 100644 index 0000000..e4a8727 --- /dev/null +++ b/.changeset/code-review-standards-on-disk.md @@ -0,0 +1,5 @@ +--- +"mattpocock-skills": patch +--- + +`code-review` now searches the disk for standards files, so a gitignored or symlinked `CODING_STANDARDS.md` is no longer missed. diff --git a/skills/engineering/code-review/SKILL.md b/skills/engineering/code-review/SKILL.md index 83183e0..295c298 100644 --- a/skills/engineering/code-review/SKILL.md +++ b/skills/engineering/code-review/SKILL.md @@ -34,6 +34,7 @@ Look for the originating spec, in this order: ### 3. Identify the standards sources Search the repo for every file that documents how code should be written. When `CODING_STANDARDS.md` or `CONTRIBUTING.md` exists, it must be on the list. +Search the disk, not just git's tracked files: a standards file may be gitignored or a symlink. On top of whatever the repo documents, the Standards axis always carries the **smell baseline** below: a fixed set of Fowler code smells (_Refactoring_, ch.3) that applies even when a repo documents nothing. Two rules bind it: