원클릭으로
import-specifiers-tiered
Tier A NodeNext .js specifiers vs Tier B Next.js src — follow repo boundaries when editing imports.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Tier A NodeNext .js specifiers vs Tier B Next.js src — follow repo boundaries when editing imports.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Canonical linear DB migrations under infra/k8s/base/ops/source/database/linear-migrations, ops bundles, env keys, and runners. Use when adding or changing SQL migrations, K8s DB bootstrap, or scripts/database in this repo.
When an E2E test verifies a specific element, pass it to the capture helper so the step screenshot is taken with that element vertically centered.
Create and use Metaboost git worktrees in sibling directories named metaboost_<branch_slug> (underscores). Use when starting feature work, moving WIP off the main checkout, or opening the correct worktree path for a branch.
Distributed tracing and OTLP export patterns. Use when adding trace context, log correlation, or Observability env — after Metaboost adopts a shared observability package.
When you finish a plan file in active/, automatically move it to completed/. If it's the last plan in its set, move the whole set. Use when completing any plan under .llm/plans/active/.
User vocabulary abcmemory and abcremember — where Cursor guidance lives and how to persist new instructions. Use when the user says abcmemory or abcremember.
| name | import-specifiers-tiered |
| description | Tier A NodeNext .js specifiers vs Tier B Next.js src — follow repo boundaries when editing imports. |
| Tier | Locations | Relative imports |
|---|---|---|
| A | packages/** except packages/ui, apps/api, apps/management-api, apps/*/sidecar, tools/**, scripts/**/*.ts | Use .js specifiers for TS modules (./foo.js, ./dir/index.js for barrels). ESLint nodeNextRelativeImports/require-relative-js-extension is on. |
| C | packages/ui/** | Extensionless relatives (same as Tier B). ESLint rule is off. Do not use .js suffix — Next bundles sources as .tsx. |
| B | apps/web/src/**, apps/management-web/src/**, those apps’ e2e/** | Prefer extensionless relative imports; ESLint rule is off. Do not bulk-add .js without verifying next build / Turbopack. |
.cursor/rules/import-specifiers-tiered.mdc