## Lesson — Static top-level imports from heavy internal packages delay

**Tags:** performance, curated
**Pattern:** ^import\s+(?!type\s)(?!\s*\{[^}]*Error).*from\s+['"](?:\.\.\/|@[\w-]+\/)
**Engine:** regex
**Scope:** packages/cli/src/commands/**/*.ts, !**/*.test.ts
**Severity:** warning

Static top-level imports from heavy internal packages delay.
