Agent skill
system-review
deeply review a system/architecture area and propose a simplification plan (Elon’s Algorithm).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/system-review
SKILL.md
Perform a deep system/structure review with the explicit goal of drastically simplifying.
Method: Elon’s 5-Step Algorithm (in order)
- Make the requirements less dumb
- Challenge assumptions; list what’s unclear; ask the minimum questions to proceed.
- Delete
- Identify code, layers, features, and processes that should not exist.
- Prefer removal over “refactor”.
- Simplify
- Propose the smallest design that satisfies the real requirements.
- Reduce indirection and config surface area.
- Accelerate
- Find the current bottleneck and optimize only that.
- Automate
- Only once the process is simple and stable.
Tools
- Use repo tooling (
scc,knip,jscpd,rg) to find hotspots and duplication. - If appropriate, use
oraclefor independent critique. - Provide it all relevant context (key files, diagrams, constraints).
Recurring Things To Check (If Relevant)
- Under-leveraging Convex (especially Components /
convex-helpers) leading to excess boilerplate - Re-inventing the wheel instead of using mature npm libraries
- React complexity driven by unnecessary effects
- See
~/.config/docs/React/ReactEffectsGuide.md
- See
Output Format
- Current state (what exists, in 5–10 bullets)
- Proposed target state (what it should become)
- Deletions (explicit list)
- Migration plan (smallest safe steps)
- Risks / open questions
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?