Sign in
Explore
Prompts · RulesEveryday codingReviewed

no-inline-imports

Keeps imports at the top of the module, with no inline imports unless there is a specific reason.

Kind
Rules
Works with
Cursor
Source
cursor/plugins @ 9580c23696ac
Path
cursor-team-kit/rules/no-inline-imports.mdc
Jobs
Guardrails

Credit

Made by
cursor
Original
github.com/cursor/plugins/blob/9580c23696ac8d7abed0c166f2f991…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • Text to merge into your CLAUDE.md or AGENTS.md (no new files)
Runs scripts
None found
Uses the network
None found
Needs secrets
None found
Source revision
9580c23696ac
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# No inline imports

Always place imports at the top of the module. Avoid inline imports in function bodies, type annotations, or interface fields unless there is a strict circular-dependency reason and it is documented.