Agent Skills
› szw321127/repowise
› pk-govern
pk-govern
GitHub用于对项目知识进行可逆治理,支持预览和正式应用模式。通过执行脚本分析节点状态(提升、降级、拒绝等),在不删除文件的前提下调整知识分类,并输出中文报告,确保操作安全可控。
Trigger Scenarios
用户需要对项目知识库进行自动化治理
用户希望预览或应用可逆的知识结构变更
Install
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.
Version History
- fa4164e Current 2026-07-24 16:07


