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


