init-project-jpkb
15
总安装量
12
周安装量
#22303
全站排名
安装命令
npx skills add https://github.com/product-on-purpose/pm-skills --skill init-project-jpkb
Agent 安装分布
claude-code
12
opencode
11
replit
10
gemini-cli
10
antigravity
9
codex
9
Skill 文档
JPKB Project Initialization Workflow
Scaffold new projects in the JPKB repository with standardized documentation artifacts.
Execution Steps
1. Gather Requirements
Before creating any files, clarify with user:
| Required | Question | Default |
|---|---|---|
| â | Project name? | None â must ask |
| â | Category/parent folder? | Prompt with existing options |
| Project type? | general |
|
| License preference? | MIT | |
| Brief description? | “A new project” |
Skip questions if context provides answers. If user says “init parametric-hinge in 3d-prints”, don’t re-ask.
2. Confirm Target Path
Before creating files, confirm the full path:
Target: E:\Projects\JP KB\jpkb\projects\<category>\<project-name>\
Wait for user confirmation or correction.
3. Check for Existing Files
Before creating, check what already exists:
| If Exists | Action |
|---|---|
| README.md | Skip â preserve existing |
| CHANGELOG.md | Skip â preserve existing |
| LICENSE | Skip â preserve existing |
| .gitignore | Merge â append missing entries |
| _NOTES/ | Skip â preserve existing |
| AGENTS/ | Create missing parts only |
This allows safe re-runs on existing projects to add agentic structure.
4. Create Directory Structure
<project-name>/
âââ README.md
âââ CHANGELOG.md
âââ LICENSE
âââ .gitignore
âââ _NOTES/
â âââ .gitkeep
âââ AGENTS/
âââ claude-opus-4.5/
âââ CONTEXT.md
âââ TODO.md
âââ DECISIONS.md
âââ SESSION-LOG/
5. Populate Files
Use templates from assets/ folder, substituting:
{{PROJECT_NAME}}â Project name{{DESCRIPTION}}â Project description{{DATE}}â Current date (YYYY-MM-DD){{YEAR}}â Current year{{CATEGORY}}â Project category
See references/project-types.md for type-specific variations.
6. Confirm Completion
Report to user:
- Full path created
- Files generated
- Suggested next steps
Project Types
| Type | Additional Structure | Use When |
|---|---|---|
general |
Base structure only | Default, documentation |
code-python |
+ src/, tests/, pyproject.toml |
Python projects |
code-node |
+ src/, package.json |
Node.js projects |
3d-print |
+ models/, images/ |
3D printing projects |
research |
+ data/, notebooks/ |
Research/data projects |
See references/project-types.md for complete details.
Template Assets
| File | Source |
|---|---|
| README.md | assets/README.template.md |
| CHANGELOG.md | assets/CHANGELOG.template.md |
| LICENSE (MIT) | assets/LICENSE-MIT.txt |
| LICENSE (Apache) | assets/LICENSE-Apache2.txt |
| .gitignore | assets/gitignore-general.txt |
| CONTEXT.md | assets/CONTEXT.template.md |
| TODO.md | assets/TODO.template.md |
| DECISIONS.md | assets/DECISIONS.template.md |
Integration with wrap-session
This skill creates the structure that /wrap-session writes to:
| Init Creates | Wrap-Session Updates |
|---|---|
| README.md (template) | README.md (with progress) |
| CHANGELOG.md ([Unreleased]) | CHANGELOG.md (with changes) |
| CONTEXT.md (initial state) | CONTEXT.md (current state) |
| TODO.md (empty) | TODO.md (with tasks) |
| SESSION-LOG/ (empty) | SESSION-LOG/*.md |