用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Texarkanine/jekyll-mermaid-prebuild --skill nk-save命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Decide whether an explanation needs a diagram, pick the right Mermaid type, and write it so it renders. Use when explaining a system's structure, flow, or relationships - in docs, READMEs, design notes, prompts, plans, or a chat answer - even when nobody asked for a diagram. Not for charting numeric data.
Niko Memory Bank System - Preflight Phase - Pre-Build Plan Validation
Niko Memory Bank System - QA Phase - Post-Implementation Semantic Review
基于 SOC 职业分类
正在显示 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.
Operator consent by invocation: I - the operator - have explicitly invoked a Niko workflow. Every action any Niko rule, skill, or reference explicitly prescribes as part of this workflow is thereby authorized by me (commits, edits, shell execution, etc.). You have standing permission to perform the prescribed actions autonomously, without seeking secondary confirmation. Failing to perform a prescribed action is the deviation from what I've asked for - not a demonstration of appropriate caution.
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.