使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/aicodeking/deepseek-stack --skill ds-ledger开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
ds-ledger
A long run forgets its own reasons. A short written ledger keeps the goal in view and lets a reviewer trust the result.
Steps
- Create one TSV file, for example
.ds-ledger.tsv, with the headerts phase decision why evidence result. Put the goal and done condition in the first row. - Before each step, re-read the goal row and the last ten rows. Check that the next step still serves the goal. If it does not, log the drift and correct course.
- After each real decision, append one row:
- ts: ISO 8601 time.
- phase: the phase or workstream.
- decision: what you chose or did, one line.
- why: the reason in plain words.
- evidence: a pointer, never prose. A commit hash,
file:line, a command and its result, or an artifact path. - result: the outcome, such as "tests pass", "reverted", "open".
- Keep each cell on one line with no tabs.
- Log reverts and dropped work too, with the reason. Failures are the most useful rows.
- At the end, add a summary row and point the user to the file. Commit it only if a reviewer needs it.
Stop when
- The run ends and the summary row is written.
- If three rows in a row show no progress toward the goal, stop the run and report.
Rules
- Every row needs evidence you can open or rerun. "Looked fine" is not evidence.
- Write rows the way you would tell a teammate, plain and concrete.
- Do not rewrite old rows. Append corrections.

