Agent Skills
› szw321127/repowise
› pk-govern
pk-govern
GitHub用于对项目知识进行治理预览或应用可逆操作,支持提升、降级、拒绝及重复节点处理,默认干跑模式,不物理删除文件。
触发场景
用户希望自动应用项目知识治理操作
需要预览或执行项目知识的可逆调整
安装
npx skills add szw321127/repowise --skill pk-govern -g -y
SKILL.md
Frontmatter
{
"name": "pk-govern",
"description": "Use when the user wants to automatically apply reversible project knowledge governance actions."
}
PK Govern
Treat this skill as the governance preview step after pk-lint; use apply mode only when the user explicitly wants the planned reversible actions written.
Required Behavior
- Accept either a project root or a
.project-knowledge/directory. - Resolve
../../scripts/pk-govern.mjsrelative to thisSKILL.mdfile. - The wrapper delegates to
govern-project-knowledge.mjs. - Default behavior is dry-run preview; pass
--applyto write reversible governance changes. - Report the result in Chinese, including planned or applied promoted, demoted, rejected, and duplicate-rejected nodes.
- Do not physically delete project knowledge files.
- When verifying a node, preserve the default guard that refuses to refresh
last_verified_atif non-volatilesource_evidencepaths are missing. - Explain that actions are reversible because stable nodes are moved back to incubation or marked rejected.
版本历史
- fa4164e 当前 2026-07-24 16:07


