一键导入
kmg-update-profile
Detect when the user asks to update their profile and route changes to all three profile files
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect when the user asks to update their profile and route changes to all three profile files
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Provide orientation to the Knowledge Graph system architecture and guidance for knowledge capture
Fires on pre-ship signals to check issue/enhancement status accuracy and session-summary currency before push
Enforce zero-deviation plan execution when user invokes plan implementation
Auto-surface ADR creation when user makes architectural decisions or chooses between technical approaches
Auto-invoke knowledge graph search when user asks about project history, past decisions, or previously solved problems
Ensure the knowledge graph is consulted before any recommendation is made
| name | kmg-update-profile |
| description | Detect when the user asks to update their profile and route changes to all three profile files |
Purpose: Detect when the user asks to update their profile and route changes to all three profile files (me.md + rules.md + triggers.md) as a unit — not rules.md alone.
A profile is a three-file bundle. A change to one file is often incomplete without reviewing the others:
| File | Contains |
|---|---|
me.md | Identity, working style, communication preferences, platform config |
rules.md | Enforcement rules, always/never behaviors, project conventions |
triggers.md | When each rule fires — workflow phase conditions, event gates |
Rule without trigger = incomplete. A rule in rules.md with no corresponding entry in triggers.md will not fire at the right moment.
doc-update-routerCheck for explicit signal in the user's message:
| Signal | Level |
|---|---|
| "user profile" / "personal profile" / "my profile" (no project qualifier) | User level: ~/.kmgraph/ |
| "project profile" / "for this project" / "in this project" | Project level: knowledge/ |
| Ambiguous | Ask: "User-level (~/.kmgraph/) or project-level (knowledge/) profile?" |
From context, determine which of the three files need updating:
If a new rule is being added to rules.md, always check whether a trigger entry is also needed in triggers.md. Surface this check even if the user only mentioned rules.md.
For each file that needs updating, draft the proposed content inline for user review before writing.
Before marking the profile update complete:
me.md — reviewed; updated if needed or confirmed no change neededrules.md — reviewed; updated if needed or confirmed no change neededtriggers.md — reviewed; updated if needed or confirmed no change neededDo not mark done until all three are explicitly checked.
Write to the correct level (~/.kmgraph/ or knowledge/) using the Write or Edit tool. Commit changes in the project KG (knowledge/) if applicable.
| Level | File | Path |
|---|---|---|
| User | me.md | ~/.kmgraph/me.md |
| User | rules.md | ~/.kmgraph/rules.md |
| User | triggers.md | ~/.kmgraph/triggers.md |
| Project | me.md | knowledge/me.md |
| Project | rules.md | knowledge/rules.md |
| Project | triggers.md | knowledge/triggers.md |