pk-init

GitHub

用于初始化本地项目的知识目录结构,生成 Obsidian 入口文件及日志,并建议后续技能。

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

触发场景

用户希望初始化项目知识体系 需要创建 .project-knowledge/ 目录

安装

npx skills add szw321127/repowise --skill pk-init -g -y
更多选项

非标准路径

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

不安装直接使用

npx skills use szw321127/repowise@pk-init

指定 Agent (Claude Code)

npx skills add szw321127/repowise --skill pk-init -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-init",
    "description": "Use when the user wants to initialize `.project-knowledge\/` for the current local project."
}

PK Init

Treat this skill as the primary plugin entrypoint for project knowledge initialization.

Required Behavior

  • Determine the target project root from an explicit user path; otherwise use the current working directory.
  • Read only local code and local docs.
  • Do not modify business code while initializing knowledge.
  • Resolve ../../scripts/pk-init.mjs relative to this SKILL.md file, not relative to the target project.
  • The wrapper delegates to init-project-knowledge.mjs.
  • Report the result in Chinese and include the project root, the .project-knowledge/ path, Obsidian entry files (index.md, log.md, _views/), and suggested next skills pk-status and pk-graph.

版本历史

  • fa4164e 当前 2026-07-24 16:07

同 Skill 集合

plugins/pk/skills/pk-auto-crystallize/SKILL.md
plugins/pk/skills/pk-crystallize/SKILL.md
plugins/pk/skills/pk-govern/SKILL.md
plugins/pk/skills/pk-graph/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

元信息

文件数
0
版本
fa4164e
Hash
e9d48d34
收录时间
2026-07-24 16:07

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 05:52
浙ICP备14020137号-1 $访客地图$