外部依赖管理
dependency-management
添加新的外部依赖的流程与要求。
- License 许可
- CC-BY-4.0
- 最近更新
- 2026-10-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- dependency-management
- description
- Procedures and requirements for adding new external dependencies.
03 SKILL.md 正文
Dependency Management
When adding any new external dependencies to the project — whether Maven/Gradle dependencies or plugins, or NPM/Bun packages — you MUST:
- Find and visit the originating Git repository for the project
- Check the maintenance status:
- Last commit date (should be recent, ideally within the last 6 months)
- Issue response time and activity
- Number of open issues and PRs
- Find and use the latest available version of the dependency:
- Check Maven Central, npm registry, or the GitHub releases page for the newest release
- Always prefer recent versions over older ones (unless there's a specific reason to pin to an older version)
- If the project appears abandoned or minimally maintained:
- DO NOT add it without explicit approval
- Inform the user about the maintenance concerns
- Search for and suggest a more actively maintained alternative
This prevents the project from accumulating stale, unmaintained dependencies that could become security risks or cause compatibility issues, and keeps us on recent stable versions with bug fixes and security patches.
Handling Failing Dependency Update PRs
When automated dependency update PRs (e.g. from Dependabot or Renovate) fail due to upstream compatibility issues or ecosystem lag (for example, a new major language/compiler version not yet supported by linters or plugins):
- Investigate the Root Cause: Determine if the failure is due to a temporary ecosystem incompatibility (such as an upstream tool waiting on a stable API or upcoming release).
- Find the Upstream Tracking Issue: Search the relevant upstream project's issue tracker (e.g., GitHub Issues) to find the tracking issue or milestone for supporting the new version.
- Do NOT Hardcode Workarounds: Avoid adding temporary ignores or exclusions to configuration files (e.g.,
.github/dependabot.yamlorpackage.jsonoverrides) to suppress PRs, as this creates technical debt and obscures when upstream support arrives. - Document on the PR: Leave a comment linking the upstream tracking issue (e.g.,
Pending <upstream-issue-url>) so the PR status is clearly understood and can be merged or updated once the upstream fix lands.
04 同仓库更多 Skills
Michael Vorburger 个人资料
vorburger-profile
提供关于 Michael Vorburger 的个人及职业信息。
TypeScript 编码规范
typescript-conventions
强制执行 TypeScript 及项目特定的编码标准,包括 Bun 的使用和零警告策略。在创建或修改任何 TypeScript 或配置文件时使用此技能。
项目测试方案制定
testing
根据项目内容确定如何进行测试的指南。
Agent Skills 文件规范
skills
Agent Skills 文件的编写规则。
脚本编写与执行规范
scripting
编写和执行脚本(TS、Bash 等)的约定规范。
常用任务首选工具
preferred-tools
代码检查(linting)、链接检查等常见任务的首选工具。