Agent Skills
› szw321127/repowise
› pk-init
pk-init
GitHub用于初始化当前项目的 .project-knowledge/ 目录,自动创建 Obsidian 入口文件并推荐后续技能。
Trigger Scenarios
用户需要初始化项目知识库
首次使用 PK 工具集
Install
npx skills add szw321127/repowise --skill pk-init -g -y
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.mjsrelative to thisSKILL.mdfile, 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 skillspk-statusandpk-graph.
Version History
- fa4164e Current 2026-07-24 16:07


