360 Secure SkillHub
360 安全技能中心

Minimalist Gain

该 Skill 按用户请求在仓库内运行 Node 脚本,读取跨会话持久化的拒绝范围记录,原样或摘要报告累计节省情况;仅在本次会话确实可计数时,对比已提交改动与被否方案的行数,并在脚本缺失或记录为空时如实说明,不做成本或百分比外推。

divyeshjayswal
divyeshjayswal
热度 11.26
最近更新 2026-07-04 00:26:56
分类:数据依赖:代码执行 / 读写文件应用场景:报告撰写 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add minimalist-gain
Metadata
name
minimalist-gain
description
Report what minimalist actually measured in this session or project — LOC avoided, scope rejected, dependencies declined. Use when the user says "minimalist gain", "what did you save", or asks for the savings report.
license
MIT

Minimalist Gain

Run node scripts/log-rejection.js --report from the repo root and report its output verbatim (or summarized, not altered) — this is the persisted ledger of every rejected-scope line logged across sessions, not just this one. Its "lines avoided" total, when present, is the agent's estimate at logging time, not a measurement — keep that label attached, don't restate it as a hard number. If the script is missing or the ledger is empty, say so plainly instead of falling back to memory.

Also report, only if actually countable this session:

  • LOC of the shipped diff vs. the LOC of the approach you rejected, when both were actually drafted.

Never extrapolate to cost or percentages you did not compute. Point to benchmarks/ for reproducible aggregate numbers.