Agent Skills
› szw321127/repowise
› pk-crystallize
pk-crystallize
GitHub用于持久化会话或更新项目知识的技能。通过执行脚本记录关键决策、受影响文件及知识节点状态,并刷新日志和视图,以沉淀项目经验。
Trigger Scenarios
用户希望保存当前会话信息
需要更新项目知识库中的稳定或孵化节点
Install
npx skills add szw321127/repowise --skill pk-crystallize -g -y
SKILL.md
Frontmatter
{
"name": "pk-crystallize",
"description": "Use when the user wants to persist a session or update project knowledge."
}
PK Crystallize
Treat this skill as the primary plugin entrypoint for manual crystallization.
Required Behavior
- Determine the target project root from an explicit path; otherwise use the current working directory.
- Resolve
../../scripts/pk-crystallize.mjsrelative to thisSKILL.mdfile. - The wrapper delegates to
crystallize-session.mjs. - Prefer passing a JSON input file after the project path when adopted nodes, incubating nodes, touched files, or stable updates need to be recorded.
- Expect
log.mdand Obsidian_views/to be refreshed after crystallization. - Report the result in Chinese and include whether this run only wrote a session or also updated incubating or stable knowledge.
JSON Input Shape
{
"sessionId": "session-YYYY-MM-DD-topic",
"title": "本轮任务标题",
"topic": "本轮任务主题",
"decisionSummary": "一句话总结本轮关键决策。",
"touchedFiles": [],
"adoptedNodeIds": [],
"incubatingNodes": [],
"stableUpdates": []
}
Version History
- fa4164e Current 2026-07-24 16:07


