pi-create

Opinionated project scaffolder for pi.dev extensions with full pipeline integration

Packages

Package details

extension

Install pi-create from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-create
Package
pi-create
Version
1.0.0
Published
Jun 26, 2026
Downloads
not available
Author
realvendex
License
MIT
Types
extension
Size
54.9 KB
Dependencies
0 dependencies · 5 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-create

Opinionated project scaffolder for pi.dev extensions with full pipeline integration.

Installation

pi install npm:pi-create

What It Does

pi-create scaffolds new pi.dev extension projects with pipeline tools pre-wired. It fills the gap where pi-extension-toolkit provides bare structural scaffolding only — pi-create adds pipeline integration (commit-lint, changelog, CI, release, readme, env-guard) out of the box.

Template Variants

Variant Description ~LOC
tool Single-tool extension (minimal) 150
command Command-only extension (no tools) 100
skill Full skill package (tools + commands) 300
full Complete package with all pipeline tools pre-wired 450

Tools

scaffold_project

Create a new pi.dev extension project from a template variant.

Parameters:

  • name (string, required) — Project name (e.g. "pi-my-tool")
  • description (string, required) — Short description
  • variant (enum: tool|command|skill|full, required) — Template variant
  • features (string[], optional) — Features to include

Example:

Use scaffold_project with name="pi-greet", description="A greeting extension", variant="tool"

scaffold_add

Add components to an existing scaffolded project.

Parameters:

  • component (enum: tool|command|skill|test|ci|readme, required) — Component type
  • name (string, required) — Name for the new component

Example:

Use scaffold_add with component="tool", name="fetch_data"

scaffold_validate

Validate a scaffolded pi.dev project.

Parameters:

  • projectPath (string, optional) — Path to project (defaults to cwd)

Example:

Use scaffold_validate to check if the project is correctly scaffolded

Pipeline Tools Pre-wired (full variant)

  • pi-commit-lint — Conventional commit enforcement
  • pi-changelog — Changelog generation
  • pi-ci — GitHub Actions workflow
  • pi-release — Release automation
  • pi-readme — README template
  • pi-env-guard — Environment validation

Resources

License

MIT