Agent Skills
› szw321127/repowise
› pk-init
pk-init
GitHub用于初始化当前本地项目的 .project-knowledge/ 目录。该 Skill 作为项目知识初始化的主要入口,读取本地代码和文档但不修改业务代码,生成 Obsidian 索引文件并提示后续操作。
Trigger Scenarios
用户需要为当前项目建立知识库结构
用户显式指定路径以初始化项目知识
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


