Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions skills/local-issues/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
---
argument-hint: "[path or scope]"
allowed-tools: Read, Grep, Glob, Bash, Write
description: Reviews a codebase for bugs, design issues, and code cleanliness problems with specific file paths and line numbers. Use when auditing code quality, finding bugs, or reviewing a project for issues. Creates issue files in `.issues/` directory.
description: Reviews a codebase for bugs, design issues, and code cleanliness problems with specific file paths and line numbers. Use when auditing code quality, finding bugs, doing a code review, finding problems, or reviewing a project for issues. Creates issue files in `.issues/` directory.
---

Review this codebase for bugs, design issues, and code cleanliness problems. Be specific and cite file paths and line numbers.

Scope the review to `$ARGUMENTS` if provided, otherwise review the entire project.
Scope the review to `$ARGUMENTS` if provided, otherwise review the entire project. Examples: `src/auth/`, `lib/api.ts`, `security`, `tests/`.

## What to look for

Prioritize by severity:

| Severity | Category |
| ------------ | --------------------------------------------------------- |
| **Critical** | Security vulnerabilities, data loss, crashes |
| **High** | Correctness bugs, missing error handling, race conditions |
| **Medium** | Design issues, code smells, missing validation |
| **Low** | Style inconsistencies, naming, minor cleanup |

## Process

For each issue found:

Expand All @@ -19,6 +32,7 @@ Each issue file should follow this format:
```text
# Title

**Severity:** critical | high | medium | low
**Location:** `file:line`

## Description
Expand All @@ -29,3 +43,17 @@ What's wrong and why it matters.

Concrete recommendation.
```

## Summary

After creating all issue files, output a summary:

```text
| # | Severity | File:Line | Issue |
|---|----------|-----------|-------|
| 1 | high | src/a.ts:42 | Missing null check |
| 2 | medium | lib/b.py:17 | Bare except clause |

Total: {N} issues ({critical} critical, {high} high, {medium} medium, {low} low)
Files created in .issues/
```
Loading