一键导入
uni-store-procedure
Store or update a technical procedure (how-to) in Unimatrix. Use during retrospectives when a technique has evolved or been discovered.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Store or update a technical procedure (how-to) in Unimatrix. Use during retrospectives when a technique has evolved or been discovered.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Version bump, changelog generation, tag, and push to trigger the release pipeline.
Manage a goal's capability map in Unimatrix — the behaviorally-proven units that must exist for a goal to be delivered. Decompose goals into capabilities, track delivery status, and report what's left. Status advances to proven ONLY on attached behavioral evidence.
Unimatrix Zero — vision guide mode. Strategic advisor for product evolution, feature ordering, vision alignment, security posture, and codebase health. Conversational. Does not modify application code or run delivery protocols.
Post-merge retrospective — extracts patterns, procedures, and lessons from shipped features into Unimatrix. Use after a feature PR is merged.
Store an architectural decision record in Unimatrix. ADRs live in Unimatrix only — no ADR files. Use after each design decision.
Ad-hoc independent product-lens review via uni-zero-reviewer. Use for re-reviews after rework or reviews outside protocol runs. Advisory only — human makes the call.
| name | uni-store-procedure |
| description | Store or update a technical procedure (how-to) in Unimatrix. Use during retrospectives when a technique has evolved or been discovered. |
Stores a step-by-step technical procedure in Unimatrix. Procedures describe HOW to accomplish specific tasks in this project. They evolve as the project evolves.
Use during retrospectives — not while implementing. Procedures are extracted from evidence, not guessed mid-session.
| Type | What it is | Example |
|---|---|---|
| Procedure | Ordered steps to accomplish a task | "How to add a new MCP tool: step 1, 2, 3..." |
| Convention | A rule or standard | "No .unwrap() in non-test code" |
| Pattern | A reusable solution to a recurring problem | "Fresh context for unbiased review" |
If it has numbered steps, it's a procedure. If it's a rule, it's a convention. If it's a when/why/how solution, it's a pattern.
mcp__unimatrix__context_search({
"query": "{what the procedure covers}",
"category": "procedure",
"k": 3
})
If an existing procedure covers the same task, use Step 2 (Update) instead.
mcp__unimatrix__context_store({
"title": "How to {task description}",
"content": "{step-by-step content}",
"topic": "{crate or area — e.g., 'unimatrix-server'}",
"category": "procedure",
"tags": ["{domain}", "{consuming-roles}"],
"agent_id": "{your role name, e.g. uni-architect}"
})
mcp__unimatrix__context_correct({
"original_id": 1234, // integer — never quote it
"content": "{updated step-by-step content}",
"reason": "Updated: {what changed and why}"
})
This deprecates the old entry and creates a new one with a supersession chain. Agents querying later will get the latest version.
Procedures should be concise and actionable (200-500 chars):
How to add a new MCP tool:
1. Add validate_{tool}_params fn in validation.rs (pure, no I/O)
2. Add format_{tool}_success fn in response.rs (summary + markdown + json)
3. Add handler block in tools.rs match arm
4. Add AuditEvent variant in audit.rs
5. Add tool schema in server registration
6. Add integration test in product/test/infra-001/
NOT:
When you want to add a new MCP tool to the server, you should first consider
the validation requirements. The validation module in validation.rs contains
pure functions that validate input parameters...
| Tag type | Examples |
|---|---|
| Crate/area | server, store, vector, core, embed |
| Consuming roles | rust-dev, pseudocode, architect |
| Domain | mcp-tool, schema, testing, integration |
Always include at least one consuming-role tag so /uni-query-patterns can filter by who needs it.
Store when:
Skip when: