Pm-skills init-project
Initialize projects with agentic coding structure. Use when setting up a new project, adding AI agent support to existing project, or when user says "init", "initialize", "setup project", or "scaffold". Creates AGENTS folder, documentation templates, and _NOTES scratch space.
install
source · Clone the upstream repo
git clone https://github.com/product-on-purpose/pm-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/product-on-purpose/pm-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/init-project" ~/.claude/skills/product-on-purpose-pm-skills-init-project && rm -rf "$T"
manifest:
.claude/skills/init-project/SKILL.mdsource content
Project Initialization Workflow
Scaffold projects with agentic coding structure for AI-assisted development.
Execution Steps
1. Determine Target Directory
- Default: Current working directory
- If user specifies a path, use that instead
- If directory doesn't exist, offer to create it
2. Gather Requirements
| Required | Question | Default |
|---|---|---|
| Project name? | Directory name | |
| Project type? | | |
| License preference? | MIT | |
| Brief description? | "A new project" |
Skip questions if context provides answers.
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. Confirm Before Creating
Show user:
- Target path
- Files to be created (noting any skipped)
- Project type selected
Wait for confirmation.
5. Create Directory Structure
<project-root>/ ├── README.md ├── CHANGELOG.md ├── LICENSE ├── .gitignore ├── _NOTES/ │ └── .gitkeep └── AGENTS/ └── claude/ ├── CONTEXT.md ├── TODO.md ├── DECISIONS.md └── SESSION-LOG/
6. Populate Files
Use templates from
assets/ folder, substituting:
— Project name{{PROJECT_NAME}}
— Project description{{DESCRIPTION}}
— Current date (YYYY-MM-DD){{DATE}}
— Current year{{YEAR}}
7. Add Type-Specific Files
| Type | Additional Structure |
|---|---|
| Base structure only |
| + , , |
| + , |
See
references/project-types.md for details.
8. Confirm Completion
Report:
- Full path created
- Files generated
- Suggested next steps
Template Assets
| File | Source |
|---|---|
| README.md | |
| CHANGELOG.md | |
| LICENSE (MIT) | |
| LICENSE (Apache) | |
| .gitignore | |
| CONTEXT.md | |
| TODO.md | |
| DECISIONS.md | |
Integration
This skill creates structure compatible with
/wrap-session:
| Init Creates | Wrap-Session Updates |
|---|---|
| README.md | README.md (with progress) |
| CHANGELOG.md | CHANGELOG.md (with changes) |
| CONTEXT.md | CONTEXT.md (current state) |
| TODO.md | TODO.md (with tasks) |
| SESSION-LOG/ | SESSION-LOG/*.md |