Metapowers

Code Coaching

Senior engineer mentorship — feedback on patterns, security, performance, and clean code.

Purpose

Get feedback from a senior software engineer's perspective. The Code coaching skill evaluates your code against engineering best practices, security, and performance patterns.

Usage

/coaching:code <target>

Example:

/coaching:code src/auth/

What It Evaluates

PrincipleWhat It Checks
SOLIDSingle responsibility, open/closed, Liskov, ISP, DIP
Clean CodeNaming, function size, abstraction levels
DRY/YAGNI/KISSAppropriate abstraction, no premature optimization
SecurityInput validation, injection prevention, secrets, auth
PerformanceN+1 queries, data structures, caching, lazy loading
DatabaseNormalization, indexing, query patterns, transactions
TestingCoverage, behavior testing, test quality
Error HandlingError types, no swallowed errors, graceful degradation

Output

Creates .metapowers/coaching/<target>/code-review.md with score, strengths, issues, suggestions, and references to engineering principles.

On this page