AgentSkillsCN

library-update-policy

通过用户确认的行为与项目安全的迁移说明,妥善应对库更新与重大变更。适用于依赖项失效、API 发生变化,或语法与预期文档不符时使用。

SKILL.md
--- frontmatter
name: library-update-policy
description: Handle library updates and breaking changes with user-confirmed behavior and project-safe migration notes. Use when dependencies fail, APIs change, or syntax differs from expected docs.

Library Update Policy

  • Detect the exact version and reproduce the issue before changing code.
  • Prefer project-local fixes before broad refactors.
  • Ask user to confirm behavior when docs and runtime differ.
  • Treat user-provided doc links and usage guidance as source of truth.
  • Capture resolved upgrade notes in concise repository docs.