pk-init

GitHub

用于初始化项目的 .project-knowledge/ 目录,生成 Obsidian 入口文件并报告结果。

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

Trigger Scenarios

用户需要初始化项目知识库 首次进入新项目需建立知识索引

Install

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

Non-standard path

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

Use without installing

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.

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-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

Metadata

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

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-19 18:04
浙ICP备14020137号-1 $mapa de visitantes$