mirror of
https://github.com/mattpocock/skills.git
synced 2026-11-06 05:17:24 +00:00
code-review: search the disk for standards files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a496f5513d
commit
cbbd654cca
2 files changed
+6
No files matched your search
@@ -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.
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user