summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/code-review-standards-on-disk.md5
-rw-r--r--skills/engineering/code-review/SKILL.md1
2 files changed, 6 insertions, 0 deletions
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: