用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Texarkanine/inquirerjs-checkbox-search --skill niko命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Niko Memory Bank System - Preflight Phase - Pre-Build Plan Validation
Guidelines for using Mermaid diagrams to increase comprehension of complex processes. Apply when planning non-trivial work involving multiple components, interactions, data models, or process flows, or when describing a system with complex interactions where prose alone becomes unwieldy.
Niko Memory Bank System - QA Phase - Post-Implementation Semantic Review
基于 SOC 职业分类
正在显示 SKILL.md
| name | niko |
| description | Niko Memory Bank System - Niko Phase - Initialization & Entry Point |
/niko is the single entry point for the Niko system. It initializes the memory bank, detects current state, and routes to the appropriate workflow.
Before entering the state machine, ensure the memory bank exists.
Load: .cursor/rules/shared/niko/core/memory-bank-paths.mdc
If any persistent file (productContext.md, systemPatterns.md, techContext.md) does not exist, initialize immediately by loading .cursor/skills/shared/niko/references/core/memory-bank-init.md and following its instructions.
If the user's only input was to initialize the memory bank, you are done — exit and do nothing else. Otherwise, read the following files:
memory-bank/productContext.mdmemory-bank/systemPatterns.mdmemory-bank/techContext.mdThen, proceed to the state machine.
flowchart TD
S0(("Step 0:<br>Ensure Memory Bank"))
S1{"Step 1:<br>Detect Active<br>State"}
S4{"Step 4:<br>Check for<br>User Input"}
S0 --> S1
S1 -->|"L4"| S2
S1 -->|"Standalone"| S3
S1 -->|"Fresh"| S4
subgraph L4["L4 Re-entry"]
S2{"Step 2:<br>Assess L4<br>Sub-run"}
S2a["Step 2a:<br>Advance L4<br>Milestone"]
S2 -->|"Complete"| S2a
end
subgraph Standalone["Standalone Re-entry"]
S3{"Step 3:<br>Assess Standalone<br>Task"}
S3a{"Step 3a:<br>Determine<br>Disposition"}
S3b["Step 3b:<br>Clear Stale<br>State"]
S3c{"Step 3c:<br>Check for<br>Conflicting Input"}
S3 -->|"Incomplete"| S3c
S3 -->|"Complete"| S3a
S3a -.->|"Rework"| S3b
end
S2a -.->|"All done"| Archive
S3a -.->|"Archive"| Archive
S2 -->|"Not started"| Classify
S2a -->|"Milestones remain"| Classify
S3b --> Classify
S4 -->|"Has input"| S5
S5["Step 5:<br>Clarify Intent"] --> Classify
S2 -->|"In-progress"| Resume
S3c -->|"No input"| Resume
S3c -->|"Has input"| Warn
S4 -->|"No input"| Done
subgraph "End States"
Archive[/"🧑💻 /niko-archive"/]
Warn("⚠️ STOP:<br>Work in-progress")
Resume("Step 6:<br>Resume Workflow")
Classify("Step 7:<br>Classify Complexity")
Done("Done")
end
Legend:
- Solid edge = Transition does not require operator input
- Dashed edge = Transition requires operator input
The flowchart above and the step definitions below form a single contract. The flowchart is the authoritative routing map — it shows every legal path through the state machine. The step definitions explain how to evaluate conditions and execute procedures at each node.
To execute /niko:
Done, ⚠️ STOP, 🧑💻 /niko-archive) mean stop — do not continue.Lettered sub-steps (2a, 3a, 3b, 3c) belong to their parent step's subgraph. While inside a subgraph, your next step is either another sub-step in the same group or a top-level step — the edges make this explicit.
List the files in memory-bank/active/. Exactly one of three states applies:
milestones.md exists → L4 → Step 2projectbrief.md, activeContext.md, tasks.md, progress.md) but no milestones.md → Standalone → Step 3Read
memory-bank/active/milestones.mdmemory-bank/active/activeContext.mdmemory-bank/active/progress.md (if present)memory-bank/active/.qa-validation-status (if present)Determine which state applies:
activeContext.md shows REFLECT COMPLETE, or the sub-run's complexity (from progress.md) is Level 1 and .qa-validation-status shows PASS. → Step 2aprogress.md does not exist, or the **Complexity:** field in progress.md is Level 4 (L4 plan exists but no sub-run has been classified yet). → Step 7- [x] in milestones.md.memory-bank/active/:
tasks.md, activeContext.md, progress.md, creative/, troubleshooting/, .qa-validation-status, .preflight-statusmilestones.md, projectbrief.md, reflection/milestones.md:
- [x] → All done. Direct the operator to run /niko-archive for the capstone archive. STOP and wait.Read
memory-bank/active/activeContext.mdmemory-bank/active/progress.md (if present)memory-bank/active/.qa-validation-status (if present)Determine which state applies:
activeContext.md shows REFLECT COMPLETE, or the task's complexity (from progress.md) is Level 1 and .qa-validation-status shows PASS. → Step 3aThe previous task is complete but not yet archived. Ask the operator: rework or archive? STOP and wait for their response.
/niko-archive.progress.md.projectbrief.md (preserve the original brief above).memory-bank/active/ all of the following that exist: tasks.md, activeContext.md, troubleshooting/, .qa-validation-status, .preflight-status.chore: initiating rework on [task-id]→ Step 7
A standalone task is incomplete. Evaluate whether the user provided new task input alongside the /niko invocation:
No work is in-flight. Evaluate whether the user provided task input alongside the /niko invocation:
Load: .cursor/skills/shared/niko/references/core/intent-clarification.md
Follow the instructions to validate the user's intent. Once the user approves the restatement, proceed to Step 7.
Read progress.md for the **Complexity:** field and activeContext.md for the **Phase:** field. Load the appropriate level-specific workflow and resume execution from the current phase.
.cursor/skills/shared/niko/references/level1/level1-workflow.md.cursor/skills/shared/niko/references/level2/level2-workflow.md.cursor/skills/shared/niko/references/level3/level3-workflow.md.cursor/skills/shared/niko/references/level4/level4-workflow.mdLoad: .cursor/skills/shared/niko/references/core/complexity-analysis.md
Follow the instructions to determine the complexity level. Complexity analysis will populate the memory bank's ephemeral files and guide you to the next step.