|
@@ -32,7 +32,7 @@ Load skill `coding-standard-rules`
|
|
|
- **Mandatory Tool**: MUST use `ripgrep` (`rg`) for all code/string/symbol searches.
|
|
- **Mandatory Tool**: MUST use `ripgrep` (`rg`) for all code/string/symbol searches.
|
|
|
- **Forbidden**: `grep`, `egrep`, `fgrep`, `git grep`, etc. (Fallback to `grep -rn` ONLY if `rg` is unavailable).
|
|
- **Forbidden**: `grep`, `egrep`, `fgrep`, `git grep`, etc. (Fallback to `grep -rn` ONLY if `rg` is unavailable).
|
|
|
- **Scope**: Exclude build/dependency folders (`node_modules`, `vendor`, `dist`, `.git`, `target`, `__pycache__`).
|
|
- **Scope**: Exclude build/dependency folders (`node_modules`, `vendor`, `dist`, `.git`, `target`, `__pycache__`).
|
|
|
-- **Optimization**: If search yields >20 results, narrow by path/extension. Switch to `--files-with-matches` if still too broad.
|
|
|
|
|
|
|
+- **Optimization**: If search yields >20 results, narrow by path/extension. Switch to `--files-with-matches` if still too broad. Check previous tool outputs before re-issuing the same search
|
|
|
|
|
|
|
|
### File Reading Discipline
|
|
### File Reading Discipline
|
|
|
- **Files ≤ 300 lines**: Read entirely if full context is needed.
|
|
- **Files ≤ 300 lines**: Read entirely if full context is needed.
|