architecture-review

Installation
SKILL.md

Python Architecture Review with pyscn

Run the pyscn CLI to understand module structure and coupling. No install needed: uvx pyscn@latest <command>.

Commands

User Request Command
"Check class coupling" uvx pyscn@latest analyze --select cbo <path>
"Find circular dependencies" uvx pyscn@latest analyze --select deps <path>
"Check class cohesion" uvx pyscn@latest analyze --select lcom <path>
"Which files should I review together?" uvx pyscn@latest analyze --select communities --json <path>
"Map the module architecture" uvx pyscn@latest analyze --select communities --json <path>

Useful flags: --min-cbo <n> (minimum CBO to report), --json (detailed report file). Report files are NOT written to stdout; they go to .pyscn/reports/ and the path is printed on completion.

Module Communities (context map for agents)

Module community detection is opt-in: run with --select communities --json and read the report file.

Installs
5
GitHub Stars
1.1K
First Seen
Jul 16, 2026