用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Quantum-Serendipity/qsdev --skill write-adr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when adding, bumping, or changing a dependency in package.json, requirements.txt, pyproject.toml, Cargo.toml, or a .csproj. Triggered automatically by version-sentinel's PreToolUse hook — this skill explains how to satisfy the hook.
Add a dependency or package to the project safely. Use when the user asks to install, add, or include a package, library, tool, language, or service.
Detect project ecosystems, languages, package managers, and frameworks.
基于 SOC 职业分类
正在显示 SKILL.md
| name | write-adr |
| description | Generate an Architecture Decision Record (ADR) in MADR format. |
| disable-model-invocation | true |
| allowed-tools | Read Write Edit Grep Glob Bash(ls *) Bash(find *) Bash(git log *) |
| arguments | ["decision-title"] |
| argument-hint | use-postgresql-over-mongodb |
Generate an Architecture Decision Record (ADR) in MADR format.
git log --oneline -20.docs/adr/ for numbering and style conventions.Ask the user about:
Determine the next ADR number by examining existing files in docs/adr/.
Create the ADR at docs/adr/NNNN-{decision-title}.md using MADR format:
# NNNN - {Title}
## Status
Accepted
## Date
{YYYY-MM-DD}
## Context
{Problem description and background}
## Decision
{What was decided and why}
## Consequences
### Positive
- {Benefits}
### Negative
- {Tradeoffs}
### Neutral
- {Other effects}
## Alternatives Considered
### {Alternative 1}
- Pros: ...
- Cons: ...
- Reason rejected: ...
### {Alternative 2}
- Pros: ...
- Cons: ...
- Reason rejected: ...