Agent Skills › krl-gr/upcomputer › package-development

package-development

GitHub

用于处理工作区包的注册、发布、重命名及路径移动。涵盖依赖分类、注册表面更新、代码生成验证、测试构建及变更集路由,确保包状态正确。

.repos/effect-smol/.agents/skills/package-development/SKILL.md krl-gr/upcomputer

触发场景

添加工作区包 私有包发布配置 包重命名或移动

安装

npx skills add krl-gr/upcomputer --skill package-development -g -y
更多选项

非标准路径

npx skills add https://github.com/krl-gr/upcomputer/tree/main/.repos/effect-smol/.agents/skills/package-development -g -y

不安装直接使用

npx skills use krl-gr/upcomputer@package-development

指定 Agent (Claude Code)

npx skills add krl-gr/upcomputer --skill package-development -a claude-code -g -y

安装 repo 全部 skill

npx skills add krl-gr/upcomputer --all -g -y

预览 repo 内 skill

npx skills add krl-gr/upcomputer --list

SKILL.md

Frontmatter
{
    "name": "package-development",
    "description": "Package registration. Use when adding a workspace package, making a private package publishable, renaming a package, or moving its workspace path."
}

Treat package work as a registration change, not a directory copy.

Workflow

  1. Inspect the closest package in the same family. Classify publication status, runtime, test environment, platform support, barrels, and dependency shape. Justify each proposed file by precedent or an explicit repository need. Continue when every proposed file is justified.
  2. Create or move only required source, test, TypeScript, and manifest files. When manifest dependencies change, read dependencies.md and classify every entry by role. Continue when pnpm discovers the intended name and manifests reference no absent file.
  3. Read registration.md. Classify every registration surface as applicable or not applicable and update every applicable surface. Continue when every surface is classified and old references are explained.
  4. For a published package, read publishing.md and verify its development and packed surfaces.
  5. Run codegen when the package owns generated barrels, then inspect generated sections rather than editing them manually. Continue when generated sections match source modules without manual edits.
  6. Run focused package tests and scripts plus applicable root checks. Include public API type tests when applicable. For published packages, build and dry pack the package as described in publishing.md. Continue when focused and root checks pass and the packed surface is intended.
  7. Apply root changeset, generated-file, documentation, and workflow routing.

The task is complete when package discovery, registration, generated output, validation, packed output, and changeset routing are all verified or reported as not applicable.

版本历史

  • 87ba963 当前 2026-10-18 23:19

同 Skill 集合

.agents/skills/contribution-triage/SKILL.md
.agents/skills/test-t3-app/SKILL.md
.agents/skills/test-t3-mobile/SKILL.md
.repos/effect-smol/.agents/skills/ai-docs/SKILL.md
.repos/effect-smol/.agents/skills/bundle-analysis/SKILL.md
.repos/effect-smol/.agents/skills/changesets/SKILL.md
.repos/effect-smol/.agents/skills/ci-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/dependency-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/effect-development/SKILL.md
.repos/effect-smol/.agents/skills/jsdocs/SKILL.md
.repos/effect-smol/.agents/skills/migration-guidance/SKILL.md
.repos/effect-smol/.agents/skills/performance-analysis/SKILL.md
.repos/effect-smol/.agents/skills/test-development/SKILL.md
.repos/effect-smol/.agents/skills/vendored-assets/SKILL.md

元信息

文件数
0
版本
87ba963
Hash
0778f74b
收录时间
2026-10-18 23:19

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 16:42
浙ICP备14020137号-1