macalbert/envilder/code-review-perspectives
Claude Code and agent skill by macalbert/envilder
- community
Checking that the SKILL.md file is still in the repository.
Five independent analysis perspectives for code review: correctness, architecture, security, conventions, and complexity. Use when reviewing PRs, commits, or local changes. Includes severity model and output format.
Install
npx vskill@latest install macalbert/envilder/code-review-perspectivesSKILL.md
Code Review Perspectives
Five parallel analysis perspectives for comprehensive code review. Run independently, then synthesize into a deduplicated prioritised report.
When to Use
- Reviewing PRs or commit ranges
- Auditing code quality before release
- Post-implementation review
- Any read-only code analysis task
Perspectives
1. Correctness
- Runtime errors, logic bugs, off-by-one mistakes
- Unhandled promises, null/undefined risks
- Missing error propagation
- Regressions from changed behavior
2. Architecture
- Hexagonal architecture boundary violations (domain importing infrastructure)
- Port/adapter misuse, DI wiring gaps
- Command/Handler pattern violations
- Layer dependency direction (domain → application → infrastructure)
3. Security
- OWASP Top 10 adapted to this stack (injection, secrets exposure, SSRF)
- Raw secret logging (must use
EnvironmentVariable.maskedValue) - Unsafe
process.envaccess patterns - Dependency-related CVE signals
4. Conventions
- Biome style (single quotes, semicolons, 2-space indent, trailing commas)
- Test naming:
Should_<Expected>_When_<Condition> - AAA markers:
// Arrange,// Act,// Assert: each at most once per test - InversifyJS decorator usage:
@injectable(),@inject(TYPES.X) - Conventional commits in PR title
5. Complexity (CRAP)
See code-quality-crap skill for formula and thresholds.
- Flag methods with cyclomatic complexity ≥ 4 lacking proportional coverage
- Flag methods with complexity ≥ 6: recommend extraction
Severity Model
| Severity | Criteria | |
|---|---|---|
| Critical | Security, data loss, broken release, major regression | |
| High | Likely runtime failure, incorrect business behavior | |
| Medium | Correctness risk with limited blast radius, test gaps | |
| Low | Maintainability concern worth addressing soon |
Anti-Inflation Rules
- Not Critical unless the exact production failure is objectively demonstrable.
- Not High unless a concrete input or state produces incorrect behavior.
- Convention violations are Low unless they change runtime behavior.
- Missing guards for values guaranteed by the type system are not defects.
Synthesis Procedure
- Run all 5 perspectives (can be parallel)
- Merge findings, deduplicate overlaps
- Assign severity per the model above
- Order by severity descending
- For each finding: severity, why it matters, file:line evidence, fix direction
Output Format
Use this standalone format when the caller does not define a workflow envelope:
When the caller requires the canonical ReviewResult envelope from common-verification-first, place these findings under Prioritized findings, preserve the same severity and anti-inflation rules, and map the remaining sections to the corresponding envelope fields. The envelope may add orchestration routing or contract assessment; it does not redefine review semantics.
Verification
After analysis, verify findings before reporting:
pnpm test: confirm test suite passesbiome check && tsc --noEmit: lint compliance (no modifications)pnpm format:check: formatting (no modifications)- Browser checks for website/UI changes (Playwright)
- Stack-specific:
dotnet build/dotnet test,make check-sdk-python
Only report confirmed findings. Downgrade unverified suspicions.
Constraints
- Only report findings for code introduced or modified in the requested diff
- Do not report style-only nits unless they block quality gates
- State assumptions explicitly
- Never modify files during review: read-only analysis only
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/code-review-perspectives/SKILL.md
Popularity
- Repository stars
- 135
- Repository forks
- 4
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/macalbert/envilder/code-review-perspectives)