From vergil
Triage a deprecation warning into a tracked decision. Use whenever a deprecation warning surfaces — the detect-deprecation-warnings PostToolUse hook fires, or the human points at a warning in test/CI/build output and asks how to handle it ("triage this deprecation", "what do we do about this warning"). Searches for an existing issue, decides defer-or-fix, and applies issue-tracking and suppression rules consistently.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vergil:deprecation-triageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Apply the deprecation warning triage policy to prevent warning drift and ensure issues are tracked and resolved in-cycle or deferred explicitly.
The primary trigger is the detect-deprecation-warnings PostToolUse hook
(hooks/scripts/detect-deprecation-warnings.sh). After any test command
(pytest, cargo test, go test, etc.), the hook scans output for
deprecation-warning patterns. When it finds one, it injects context telling the
agent to invoke this skill after completing the current task.
The skill can also be invoked directly via
/vergil-tooling:deprecation-triage when a deprecation warning surfaces
outside the hook's scope (manual testing, log review, dependency changelog
reading, etc.).
Collect or request:
Identity check (step 3). Creating issues requires write access. If the acting identity (USER / AUDIT) cannot create the issue, prepare the title and body and hand them to the human to create — do not fail silently.
Title: Deprecation: <dependency or component> - <short description>
Warning text:
<full warning message>
Location:
- file/module:
- call site:
- environment (dev/test/prod):
Reproduction:
- minimal command or steps:
- notes on reproducibility:
First seen:
- date:
- version:
Impact assessment:
- user-visible: yes/no
- behavior risk:
Attempted fixes:
- code changes tried:
- result:
Upgrade assessment:
- required dependency version:
- upgrade scope:
Decision:
- fix now / defer to next cycle
- rationale:
Suppression (if any):
- suppression method:
- removal criteria:
docs/development/deprecation-warnings.mdnpx claudepluginhub vergil-project/vergil-claude-plugin --plugin vergilCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.