wrdn-package-boundaries

star 2.0k

Preserve workspace package boundaries. Use when lint flags relative imports that cross package roots.

RhysSullivan By RhysSullivan schedule Updated 5/5/2026

name: wrdn-package-boundaries description: Preserve workspace package boundaries. Use when lint flags relative imports that cross package roots. allowed-tools: Read Grep Glob Bash

Workspace packages should import each other through package exports, not relative paths.

Fix Shape

  • Replace cross-package relative imports with the target package name.
  • If the needed module is not exported, add the smallest package export that matches the package's public surface.
  • Keep relative imports only within the same package root.
  • Do not reach into another package's private source tree from an app or package.

Good

import { createExecutor } from "@executor-js/sdk";

Bad

import { createExecutor } from "../../../core/sdk/src";
Install via CLI
npx skills add https://github.com/RhysSullivan/executor --skill wrdn-package-boundaries
Repository Details
star Stars 1,953
call_split Forks 123
navigation Branch main
article Path SKILL.md
More from Creator
RhysSullivan
RhysSullivan Explore all skills →