From d23da7f2dcd8d89e763c74cac7cc4d8864b3e8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murat=20=C3=87elik?= Date: Sat, 2 May 2026 10:59:18 +0300 Subject: [PATCH] fix(skills): add explicit references to templates and scripts in code-review SKILL.md (#62) The code-review skill had templates/ and scripts/ directories alongside SKILL.md, but SKILL.md never referenced them. Since Claude Code only loads SKILL.md when a skill is invoked, the supporting files were effectively invisible. This adds a Reference Files section that instructs Claude to read and use each supporting file. Closes #43 Co-authored-by: Paperclip --- 03-skills/code-review/SKILL.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/03-skills/code-review/SKILL.md b/03-skills/code-review/SKILL.md index 6a7df84..1b21ac9 100644 --- a/03-skills/code-review/SKILL.md +++ b/03-skills/code-review/SKILL.md @@ -35,6 +35,15 @@ This skill provides comprehensive code review capabilities focusing on: - Dependency management - Type safety +## Reference Files + +This skill includes supporting files that you should read when performing reviews: + +- **`templates/review-checklist.md`** — Structured checklist covering security, performance, quality, and testing. Read this file and use it as a guide to ensure no category is missed during review. +- **`templates/finding-template.md`** — Standard template for documenting individual findings with severity, location, code examples, and impact analysis. Read this file and use its format when reporting issues. +- **`scripts/analyze-metrics.py`** — Python script that calculates code metrics (function count, class count, average line length, complexity score). Run this on the file under review to gather quantitative data. +- **`scripts/compare-complexity.py`** — Python script that compares cyclomatic and cognitive complexity between two versions of a file. Run this with the before and after versions when reviewing refactoring changes. + ## Review Template For each piece of code reviewed, provide: