Agent SkillsUsefulSoftwareCo/executor › wrdn-package-boundaries

wrdn-package-boundaries

GitHub

修复跨包相对导入,将其替换为包名导出。若模块未导出则补充最小公开导出,确保仅在同一包根内使用相对路径,维护工作区包边界规范。

.agents/skills/wrdn-package-boundaries/SKILL.md UsefulSoftwareCo/executor

Trigger Scenarios

lint报错提示跨包根相对导入 代码审查发现引用其他包私有源码

Install

npx skills add UsefulSoftwareCo/executor --skill wrdn-package-boundaries -g -y
More Options

Non-standard path

npx skills add https://github.com/UsefulSoftwareCo/executor/tree/main/.agents/skills/wrdn-package-boundaries -g -y

Use without installing

npx skills use UsefulSoftwareCo/executor@wrdn-package-boundaries

指定 Agent (Claude Code)

npx skills add UsefulSoftwareCo/executor --skill wrdn-package-boundaries -a claude-code -g -y

安装 repo 全部 skill

npx skills add UsefulSoftwareCo/executor --all -g -y

预览 repo 内 skill

npx skills add UsefulSoftwareCo/executor --list

SKILL.md

Frontmatter
{
    "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";

Version History

  • fd4fb02 Current 2026-07-05 10:55

Same Skill Collection

.agents/skills/stack/SKILL.md
.agents/skills/wrdn-effect-atom-optimistic/SKILL.md
.agents/skills/wrdn-effect-atom-reactivity-keys/SKILL.md
.agents/skills/wrdn-effect-promise-exit/SKILL.md
.agents/skills/wrdn-effect-raw-fetch-boundary/SKILL.md
.agents/skills/wrdn-effect-schema-boundaries/SKILL.md
.agents/skills/wrdn-effect-schema-inferred-types/SKILL.md
.agents/skills/wrdn-effect-typed-errors/SKILL.md
.agents/skills/wrdn-effect-value-inferred-types/SKILL.md
.agents/skills/wrdn-effect-vitest-tests/SKILL.md
.agents/skills/wrdn-typescript-type-safety/SKILL.md
.claude/skills/emulate/SKILL.md
.claude/skills/prod-telemetry/SKILL.md
.claude/skills/self-contained-modals/SKILL.md
.skills/cli-release/SKILL.md
.skills/effect-atom-optimistic-updates/SKILL.md
.skills/effect-http-testing/SKILL.md
.skills/effect-use-pattern/SKILL.md
.skills/graphite/SKILL.md
.skills/warden-security-review/SKILL.md

Metadata

Files
0
Version
4fae851
Hash
a8bace6d
Indexed
2026-07-05 10:55

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 11:04
浙ICP备14020137号-1 $Carte des visiteurs$