用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Texarkanine/client-side-mdc-render --skill nk-save命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | nk-save |
| description | Niko Memory Bank System - Mid-Phase Save & Commit |
/nk-save flushes in-context memory bank state to disk and commits all changes atomically. It is not a workflow phase - it does not advance the workflow, trigger phase transitions, or produce deliverables. It is Ctrl+S.
List the files in memory-bank/active/. At least one of the four core ephemeral files must exist: projectbrief.md, activeContext.md, tasks.md, progress.md.
If none exist → nothing to save. Inform the operator and stop.
Read all files in memory-bank/active/ (including subdirectories).
From the files read in Step 2, extract two values for the commit message:
Task ID: field in tasks.md. If tasks.md does not exist or the field is absent, use unknown.**Phase:** field in activeContext.md. If activeContext.md does not exist or the field is absent, use unknown.For each file below, compare what you know from the current context window against what is on disk (read in Step 2). If the disk version is already current, skip it. If you have knowledge from the context window that has not been persisted, update the file.
Do not fabricate state. Only write what you actually know from the current conversation. If you are uncertain whether something has already been persisted, re-read the file from disk and verify before writing.
tasks.md- [x]← in progress)activeContext.mdBUILD - implementing step 3)progress.mdprojectbrief.mdStage and commit everything - code, memory bank, all working-tree changes - in a single atomic commit:
chore: saved work on [task-id] at [phase]
Where [task-id] and [phase] are the values from Step 3. Example:
chore: saved work on new-error-handling at BUILD - implementing step 1
If there are no changes to commit (working tree is clean after the flush), skip the commit and note this in the output.
Print:
✅ **/nk-save complete** - `saved work on [task-id]` saved at `[phase]`
Done. Do not advance the workflow. Do not execute further phases or transitions. The operator will resume with /niko in a new session when ready.
基于 SOC 职业分类