Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.46 KB

File metadata and controls

50 lines (33 loc) · 1.46 KB

Using this with pi (and hosting in a pi “extension base” repo)

This repo is primarily a skill (not a TypeScript extension). pi can load it via Pi Packages.

Install (recommended)

Install directly from GitHub:

pi install git:github.com/VIP-IOIO/codebase-to-skill

pi will discover the skill via package.json (pi.skills: ["./"]).

Use

Once installed, invoke it as a skill command (exact command name depends on your pi config/UI):

  • Find it via command autocomplete: type / then search for codebase-to-skill
  • Or run the skill directly if your setup supports it.

Typical usage inside the skill:

/codebase-to-skill /path/to/repo [skill-slug]

Host it from an “extension base” repo

If you maintain a central repo that pins pi packages for your team (often by committing a .pi/settings.json), add this repo under packages.

Example .pi/settings.json:

{
  "packages": [
    "git:github.com/VIP-IOIO/codebase-to-skill"
  ]
}

Then anyone who opens that repo with pi will have the package installed/loaded automatically (subject to their security posture).

Notes

  • This package contains no Node dependencies; pi’s install step is effectively a clone + resource discovery.
  • The skill tries both common install locations for its helper script:
    • ~/.claude/skills/... (Claude Code)
    • ~/.agents/skills/... (common pi setups) If your pi skills live elsewhere, adjust the paths in SKILL.md accordingly.