Review Architecture

Architecture pattern compliance review. Evaluates Type-State, Channel-Based, Iterator Pipelines, Actor Model, and Minimal Testing patterns.

nwiizo 0611b20 970 B Updated

File contents

When subagents are enabled in Codex, prefer delegating this workflow to the architecture-reviewer custom agent.

Review ccswarm architecture pattern compliance based on CLAUDE.md and docs/ARCHITECTURE.md.

Evaluate these 5 patterns:

Pattern Search For Avoid
Type-State PhantomData, impl<S: State> Runtime state enums
Channel-Based mpsc::channel, broadcast::channel Arc<Mutex<...>>
Iterator Pipelines .iter().filter().map().collect() Manual for loops
Actor Model Receiver<Message>, recv().await Shared mutable state
Minimal Testing ~8-10 focused tests 300+ fragile tests

Output a JSON report with per-pattern { status, usage_count, score }, overall_score, and recommendations.

nwiizo/ccswarm/tree/main/.agents/skills/review-architecture commit 0611b203c5

Frequently asked questions

npx skillmds@latest add nwiizo/review-architecture