SKILL-PROJECT: Skill for OpenCode

.opencode/skills/code-change-plan/SKILL.md

code-change-plan is a skill for OpenCode from BeWaterMyFriend7/SKILL-PROJECT. It costs 28 tokens per session (874 once invoked), scanned A, original, Apache-2.0.

A planning skill that turns a software request into a written code-change plan. It analyzes the current project, proposes a design, lists affected files, describes verification, and waits for approval before code changes.

In plain words
What is it for?
Use it to plan features, fixes, or refactors and produce an approval-ready document with a file allowlist, validation commands, risk assessment, and rollback notes.
Why use it?
It separates planning from implementation so the intended scope, risks, and acceptance checks can be reviewed first.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is BeWaterMyFriend7/SKILL-PROJECT's own configuration. It tells OpenCode how to work on SKILL-PROJECT itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SKILL-PROJECT configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BeWaterMyFriend7/SKILL-PROJECT. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/BeWaterMyFriend7/SKILL-PROJECT/main/.opencode/skills/code-change-plan/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BeWaterMyFriend7/SKILL-PROJECT

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-change-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/bewatermyfriend7/skill-project/code-change-plan/github.svg)](https://agentmods.dev/skills/bewatermyfriend7/skill-project/code-change-plan)
Your own site
<a href="https://agentmods.dev/skills/bewatermyfriend7/skill-project/code-change-plan"><img src="https://agentmods.dev/badge/skills/bewatermyfriend7/skill-project/code-change-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-change-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/bewatermyfriend7/skill-project/code-change-plan"><img src="https://agentmods.dev/badge/skills/bewatermyfriend7/skill-project/code-change-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 874 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00874
Opus 5.5 $0.00011 $0.00350
Sonnet 5.5 $0.00006 $0.00175
Haiku 4.5 $0.00003 $0.00087

Measured 2mo ago against content hash 9bbba6418288, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-change-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check_utf8.py, scripts/validate_change_plan.py, scripts/write_utf8.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/code-change-plan/SKILL.md · 110 lines

What it actually says

Code Change Plan

将需求转换为可执行的代码变更方案。

原则: 先分析 → 再设计 → 产出方案 → 等待审批

核心流程

1. 理解需求
   - 业务目标是什么?
   - 要实现哪些功能?
   - 如何验收?

2. 分析现状
   - 当前如何实现的?
   - 与目标的差距在哪?

3. 设计方案
   - 如何实现目标?
   - 为什么这样设计?
   - 会影响哪些地方?

4. 制定计划
   - 改哪些文件?
   - 如何验证?
   - 有什么风险?

5. 输出方案
   - 文件:.code/change-plans/<需求描述>-YYYYMMDD-HHMMSS.md
   - 状态:等待审批

输出报告(简洁版 - 4 章)

报告包含 4 个核心部分:

部分 内容 为什么需要
1️⃣ 要做什么 需求、验收标准、待决策问题 确保理解正确
2️⃣ 怎么做 技术方案、关键决策、流程对比 明确实现思路
3️⃣ 改哪些 文件清单(白名单)、影响范围 控制变更范围
4️⃣ 如何验证 验证步骤、风险与回滚 质量保证

报告语义化

输出文件名示例:

.code/change-plans/新增用户登录功能-20260704-143052.md
.code/change-plans/优化数据库查询性能-20260704-150230.md
.code/change-plans/修复订单计算错误-20260704-161520.md

控制台输出示例:

✓ 代码变更方案已生成

【需求】新增用户登录功能
【方案】添加 AuthService + JWT 认证
【影响】6 个文件(新增 3,修改 3)
【风险】中等
【状态】等待审批

文件:.code/change-plans/新增用户登录功能-20260704-143052.md

请审核方案后执行。

调用方式

/code-change-plan

需求:实现用户登录功能
- 支持用户名密码登录
- 返回 JWT token

执行规则

生成方案时遵守以下规则:

  1. 只分析不改代码 - 生成方案文档,不修改业务代码
  2. 使用简洁模板 - 使用 4 章结构(assets/change-plan-template.md)
  3. 初始状态 - 审批状态必须为 WAITING_FOR_APPROVAL
  4. 文件清单是白名单 - 明确列出允许修改的文件
  5. 验证步骤可执行 - 提供具体的验证命令
  6. 风险评估 - 明确标注高/中/低风险项
  7. 提供回滚方案 - 给出具体的回滚步骤
  8. 使用直观格式 - Emoji + Checkbox + 代码块
  9. 避免过度设计 - 不使用复杂的 ID 体系和追踪矩阵
  10. 人类友好 - 用人话描述,避免技术黑话

工具

  • 写入工具: scripts/write_utf8.py(确保 UTF-8 编码)
  • 验证工具: scripts/validate_change_plan.py(检查方案完整性)

详细文档

  • assets/change-plan-template.md - 简洁方案模板
  • references/workflow-detail.md - 详细工作流程
  • references/report-structure.md - 报告结构说明
  • references/quality-checklist.md - 质量检查清单
Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 110 lines · 28 tokens per session scan A 9bbba6418288

Subscribe to this mod's changes

code-change-plan is a skill published in the GitHub repository BeWaterMyFriend7/SKILL-PROJECT (56 stars, last pushed 15d ago), licensed Apache-2.0. It adds 28 tokens to every session and 874 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

code-change-plan compared with skills from other repositories

code-change-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-change-planBeWaterMyFriend7/SKILL-PROJECTSkill5615d agoApache-2.0A28OpenCode
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code