calcosmic/aether/code-review
Claude Code and agent skill by calcosmic/aether
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Use when changed source files need review for bugs, security, code quality, or maintainability risks
Install
npx vskill@latest install calcosmic/aether/code-reviewSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as calcosmic/aether/code-review.
Code Review
Purpose
Multi-depth code review with severity classification. Scans source files changed during a phase or across specified paths, identifying bugs, security vulnerabilities, style violations, and maintainability concerns. Every finding is classified by severity so maintainers can triage efficiently.
When to Use
- After completing a phase build and before marking it done
- Before merging a branch or creating a pull request
- On an ad-hoc basis when you want a quality gate on changed files
- When the colony or a human requests a review of specific files or directories
Instructions
1. Determine Review Scope
Identify which files to review. Accept any of these inputs:
- A phase number (review all files changed since that phase started)
- A git diff range (e.g.
main..feature-branch) - An explicit list of file paths
- A directory glob pattern
If no scope is given, default to all uncommitted changes (staged + unstaged + untracked).
Remediation Handoff
When findings are fixable, classify them before recommending action:
- Auto-fixable: narrow, mechanical, covered by tests, and low blast radius.
- Needs builder: requires design judgment, cross-file coordination, or new behavior.
- Needs human decision: changes product behavior, public APIs, migrations, or security posture.
Group fixable findings into atomic units so each can be implemented, tested, and reverted independently.
2. Select Review Depth
The caller may specify a depth level. If not specified, use standard.
| Depth | What It Checks | Typical Use | |
|---|---|---|---|
| quick | Syntax errors, obvious bugs, critical security issues | Pre-commit hook, rapid feedback | |
| standard | quick + code smells, naming, missing error handling, test coverage gaps | Phase gate, PR review | |
| deep | standard + performance hotspots, concurrency issues, dependency risks, architectural drift | Release readiness, security-sensitive code |
3. Run the Review
For each file in scope, perform these checks in order:
A. Static analysis layer
- Parse the file's AST (mentally model the structure)
- Flag unreachable code, unused imports/variables, duplicate logic
- Check type consistency (if language is typed)
B. Bug detection layer
- Off-by-one errors, null/undefined dereferences, incorrect conditionals
- Resource leaks (unclosed files, connections, handles)
- Race conditions in concurrent code
- Incorrect error propagation or swallowed exceptions
C. Security layer (quick depth stops here)
- Input validation gaps (injection, XSS, SSRF, path traversal)
- Hardcoded secrets, credentials, or API keys
- Insecure defaults (disabled TLS, weak hashing, permissive CORS)
- Missing authentication or authorization checks on sensitive operations
D. Quality layer (standard depth stops here)
- Function complexity (cyclomatic > 10 is a warning)
- Naming clarity and consistency with project conventions
- Missing or misleading documentation on public APIs
- Dead code or commented-out code blocks
E. Architecture layer (deep only)
- Circular dependencies between modules
- Tight coupling that hinders testability
- Violations of the project's stated architecture patterns
- Performance anti-patterns (N+1 queries, unnecessary allocations, unbounded growth)
4. Classify Every Finding
Assign one of three severities:
| Severity | Meaning | Action Required | |
|---|---|---|---|
| critical | Will cause failures, data loss, or security breach in production | Must fix before merge | |
| warning | Likely to cause problems or degrades maintainability | Should fix soon | |
| info | Style preference, minor improvement, or educational note | Optional |
For each finding include:
- File and line range where the issue lives
- Rule ID (e.g.
SEC-001,BUG-003,QUAL-012) from the pattern catalog below - Severity classification
- Description of the issue in plain language
- Suggested fix -- either a code snippet or a clear remediation step
5. Produce REVIEW.md
Write a structured review document:
Key Patterns
Rule Catalog
| ID | Category | Description | |
|---|---|---|---|
| SEC-001 | Security | Hardcoded secret or credential | |
| SEC-002 | Security | Missing input validation | |
| SEC-003 | Security | Insecure crypto or hashing | |
| SEC-004 | Security | SQL/NoSQL injection vector | |
| SEC-005 | Security | Overly permissive access control | |
| BUG-001 | Bug | Null/undefined dereference risk | |
| BUG-002 | Bug | Off-by-one or boundary error | |
| BUG-003 | Bug | Resource leak | |
| BUG-004 | Bug | Swallowed exception | |
| BUG-005 | Bug | Race condition | |
| QUAL-001 | Quality | High cyclomatic complexity | |
| QUAL-002 | Quality | Unused import or variable | |
| QUAL-003 | Quality | Missing error handling | |
| QUAL-004 | Quality | Dead or commented-out code | |
| QUAL-005 | Quality | Inconsistent naming | |
| PERF-001 | Performance | N+1 query pattern | |
| PERF-002 | Performance | Unbounded collection growth | |
| ARCH-001 | Architecture | Circular dependency | |
| ARCH-002 | Architecture | Layer violation |
Language-Specific Adjustments
- TypeScript/JavaScript: Check for
anytype abuse, missing null checks, unhandled promise rejections - Python: Check for mutable default arguments, bare
except, missing type hints on public functions - Rust: Check for
unwrap()on user-controlled values, unnecessary.clone(), lifetime issues - Go: Check for unhandled errors, goroutine leaks, missing context propagation
- Java: Check for unclosed streams, catch-all exceptions, thread safety issues
Output Format
Produces REVIEW.md in the current working directory or a specified output path.
Examples
Example 1: Review a phase
The skill identifies all files changed since phase 3 began, runs standard-depth checks, and writes REVIEW.md.
Example 2: Review specific files at deep depth
Full security + performance + architecture analysis on the two authentication files.
Example 3: Quick review before commit
Rapid scan for syntax errors, critical bugs, and security showstoppers only. Fast enough for a pre-commit hook.
Example 4: Review output sample
Security
- Security scanPassed, 73 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.aether/skills/colony/code-review/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 May 2026, 6 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/calcosmic/aether/code-review)