lidge-jun/codexclaw / plugins/codexclaw/skills/dev-code-reviewer
cxc-dev-code-reviewer
VerifiedUse for code/PR/diff review and refactor audits. Triggers: review this, before merge, antipattern, 리뷰, 코드 리뷰, 머지 전에 확인.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.0 KB |
| agents/openai.yaml | config | 144 B |
| references/ai-assisted-review.md | markdown | 5.8 KB |
| references/common-antipatterns.md | markdown | 2.1 KB |
| references/external-review-evidence.md | markdown | 416 B |
| references/finding-verification.md | markdown | 1.9 KB |
| references/quality-thresholds.md | markdown | 1.2 KB |
| references/review-feedback.md | markdown | 2.0 KB |
| references/review-process.md | markdown | 2.8 KB |
| references/security-performance-review.md | markdown | 2.9 KB |
| references/subagent-and-slop-review.md | markdown | 3.3 KB |
| references/tech-debt.md | markdown | 5.1 KB |
references/security-performance-review.md
View on GitHub## 3.5 Security Review Quick-Check
For every review, scan these OWASP-aligned red flags.
### Must-Check Every PR
| Check | Red Flag | Severity |
|-------|----------|----------|
| Hardcoded secrets | API keys, passwords, tokens, or DB URLs in source | **Critical** |
| Injection | User-controlled strings composed into SQL, NoSQL, shell, or templates | **Critical** |
| Missing validation | Untrusted input reaches logic without schema/content checks | **High** |
| Missing auth/authz | Endpoint lacks authentication or permission enforcement | **High** |
| BOLA / ownership | Object access does not verify caller ownership | **High** |
| Sensitive logging | Tokens, passwords, credentials, or private payloads enter logs | **High** |
### Conditional Checks
| Check | Trigger | Red Flag |
|-------|---------|----------|
| SSRF | User controls an outbound URL | No allowlist or host/protocol validation |
| Path traversal | User controls a file path | No canonicalization or containment check |
| Mass assignment | Request object populates a model | No explicit field allowlist |
| Dependency audit | Dependencies are added or updated | No repo-native vulnerability audit |
| Lockfile | Lockfile changes | Unexpected or unexplained resolution changes |
Load `dev-security` for deep analysis. Security routing is required when the diff
touches auth, credentials, untrusted input, sensitive data, dependencies, agent
tools, or trust boundaries.
---
## 3.6 Performance Review Quick-Check
Scan every PR for these common performance pitfalls:
### Database & API
| Check | Red Flag | Fix |
|-------|----------|-----|
| N+1 queries | Loop containing DB call or API fetch | Batch with `WHERE IN (...)` or DataLoader |
| Missing pagination | `.findAll()` or `SELECT *` without LIMIT | Add cursor-based or offset pagination |
| Missing index | New WHERE/JOIN column without index | `CREATE INDEX` on filtered/joined columns |
| Unbounded query | No LIMIT on user-facing list endpoints | Always set max page size |
### Frontend-Specific
| Check | Red Flag | Fix |
|-------|----------|-----|
| Measured expensive re-renders | Profiler identifies repeat work | Check Compiler activation and state ownership first; use manual memoization only where still useful |
| Bundle size impact | New large dependency (>50KB gzipped) | Check `bundlephobia.com`, consider alternatives or lazy loading |
| Missing `key` prop | List rendering without stable keys | Use unique ID, never array index for dynamic lists |
| Unoptimized images | Large images without `next/image`, `loading="lazy"`, or srcset | Use framework image optimization |
### General
| Check | Red Flag | Fix |
|-------|----------|-----|
| Missing timeout | External HTTP call without timeout | Set timeout on all network requests |
| Sync blocking | CPU-intensive work on main thread/event loop | Offload to worker/queue |
| Memory leak | Event listeners/subscriptions without cleanup | Add cleanup in `useEffect` return / `finally` block |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 468k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 468k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 468k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |