mcpField
I
init-project

init-project

github.com/product-on-purposeAgent workflows77261 installsUpdated today
Repository

About init-project

init-project is a workflow skill for scaffolding projects with an agent-oriented structure. It gathers project details, checks existing files, and uses templates to create general, Python, or Node.js layouts while preserving existing content.

Key features

  1. 01Project requirement gathering
  2. 02Existing-file-aware scaffolding
  3. 03Template-based documentation files
  4. 04General, Python, and Node.js layouts
  5. 05Confirmation before file creation

Use cases

  1. 01Starting a project with agent-oriented documentation
  2. 02Adding missing structure to an existing project

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/product-on-purpose/pm-skills --skill init-project

After installing, type/init-projectin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/
CHANGELOG.template.md
CONTEXT.template.md
DECISIONS.template.md
LICENSE-Apache2.txt
LICENSE-MIT.txt
README.template.md
TODO.template.md
gitignore-general.txt
references/
project-types.md

Details

From the project README

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
RequiredQuestionDefault
Project name?Directory name
Project type?general
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 ExistsAction
README.mdSkip — preserve existing
CHANGELOG.mdSkip — preserve existing
LICENSESkip — preserve existing
.gitignoreMerge — 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
  • {{DESCRIPTION}} — Project description
  • {{DATE}} — Current date (YYYY-MM-DD)
  • {{YEAR}} — Current year
7. Add Type-Specific Files
TypeAdditional Structure
generalBase structure only
code-python+ src/, tests/, pyproject.toml
code-node+ src/, package.json

See references/project-types.md for details.

8. Confirm Completion

Report:

  • Full path created
  • Files generated
  • Suggested next steps

Template Assets

FileSource
README.mdassets/README.template.md
CHANGELOG.mdassets/CHANGELOG.template.md
LICENSE (MIT)assets/LICENSE-MIT.txt
LICENSE (Apache)assets/LICENSE-Apache2.txt
.gitignoreassets/gitignore-general.txt
CONTEXT.mdassets/CONTEXT.template.md
TODO.mdassets/TODO.template.md
DECISIONS.mdassets/DECISIONS.template.md

Integration

This skill creates structure compatible with /wrap-session:

Init CreatesWrap-Session Updates
README.mdREADME.md (with progress)
CHANGELOG.mdCHANGELOG.md (with changes)
CONTEXT.mdCONTEXT.md (current state)
TODO.mdTODO.md (with tasks)
SESSION-LOG/SESSION-LOG/*.md

Comments

Markdown supported