Agent Skillsszw321127/repowise › pk-govern

pk-govern

GitHub

用于对项目知识进行可逆治理,支持预览和正式应用模式。通过执行脚本分析节点状态(提升、降级、拒绝等),在不删除文件的前提下调整知识分类,并输出中文报告,确保操作安全可控。

plugins/pk/skills/pk-govern/SKILL.md szw321127/repowise

Trigger Scenarios

用户需要对项目知识库进行自动化治理 用户希望预览或应用可逆的知识结构变更

Install

npx skills add szw321127/repowise --skill pk-govern -g -y
More Options

Non-standard path

npx skills add https://github.com/szw321127/repowise/tree/main/plugins/pk/skills/pk-govern -g -y

Use without installing

npx skills use szw321127/repowise@pk-govern

指定 Agent (Claude Code)

npx skills add szw321127/repowise --skill pk-govern -a claude-code -g -y

安装 repo 全部 skill

npx skills add szw321127/repowise --all -g -y

预览 repo 内 skill

npx skills add szw321127/repowise --list

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.mjs relative to this SKILL.md file.
  • The wrapper delegates to govern-project-knowledge.mjs.
  • Default behavior is dry-run preview; pass --apply to 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_at if non-volatile source_evidence paths 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

Same Skill Collection

plugins/pk/skills/pk-auto-crystallize/SKILL.md
plugins/pk/skills/pk-crystallize/SKILL.md
plugins/pk/skills/pk-graph/SKILL.md
plugins/pk/skills/pk-init/SKILL.md
plugins/pk/skills/pk-lint/SKILL.md
plugins/pk/skills/pk-preflight/SKILL.md
plugins/pk/skills/pk-serve/SKILL.md
plugins/pk/skills/pk-status/SKILL.md

Metadata

Files
0
Version
fa4164e
Hash
9c08d463
Indexed
2026-07-24 16:07

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-19 21:15
浙ICP备14020137号-1 $Гость$