Skip to content
S

static-import

Teaches static ES2015 import syntax for module dependencies

by patternsdevFree

#10114in AI Skills
0In stores

Description

Static Import is an agent skill that teaches the static ES2015 import syntax for module dependencies. A static import, written as import mod…

Highlights

  • Explains static ES2015 import syntax
  • Shows how static imports land in the initial bundle
  • Guidance on when to switch to dynamic imports
  • Worked example from a simple chat app

Ratings & Reviews

No ratings yet

Be the first to rate static-import.

People also visit

D

detect-static-dependencies

ACTIVATION PREREQUISITE: the request or discovered target must explicitly

AI Skills
Get
C

codegraph-ast-grep

Set up, update, or diagnose CodeGraph and ast-grep

AI Skills
Get
J

javascript-pro

Writes, debugs, and refactors JavaScript code

AI Skills
Get
L

learn

Provides autonomous project pattern learning by analyzing the codebase

AI Skills
Get
G

graphify

Exploring unfamiliar codebases, before searching for code

AI Skills
Get
E

extract

Turn a proven pattern or debugging solution into a standalone reusable skill

AI Skills
Get

static-import FAQ

What does the Static Import skill cover?

The ES2015 import syntax and what it means for the initial bundle, with guidance on keeping static imports for code needed on page load.

When should I use a dynamic import instead?

The skill suggests dynamic imports for modules that are not needed on the initial render, so they are not part of the first bundle.

How do I install it?

Run: npx skills add https://github.com/patternsdev/skills --skill static-import

Is it free?

Yes. The listing shows the skill as free.

What do the security audits show?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best static-import alternatives?

Popular alternatives to static-import include detect-static-dependencies, codegraph-ast-grep and javascript-pro. See all static-import alternatives

Developer Stuff

Badges