Skip to main content

wrdn-package-boundaries

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

来源信息

仓库
UsefulSoftwareCo/executor
最近来源活动
2026年5月5日 23:06
检测到的 SKILL.md 语言
英语
星标
4,264
分支
384

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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 ```ts import { createExecutor } from "@executor-js/sdk"; ``` ## Bad ```ts import { createExecutor } from "../../../core/sdk/src"; ```
在 GitHub 查看