This commit is contained in:
2026-03-01 12:24:11 -08:00
parent 628e688ab9
commit 63656d339d
33 changed files with 1018 additions and 539 deletions
+28
View File
@@ -293,6 +293,16 @@ const LOCAL_DESTINATIONS = [
'---'
].join('\n')
},
{
name: 'Pi Prompts',
dir: '.pi/prompts',
filePattern: (prompt) => generateFilename(prompt, '.md'),
header: (prompt) => [
'---',
`description: "Plan2Code ${prompt.stepNumber === 'init' ? 'Init' : `Step ${prompt.stepNumber}`}: ${prompt.displayName} - ${prompt.description}"`,
'---'
].join('\n')
},
{
name: 'Claude Code Skills',
dir: '.claude/skills',
@@ -379,6 +389,16 @@ const GLOBAL_DESTINATIONS = [
'---'
].join('\n')
},
{
name: 'Pi (Global)',
dir: '.pi/agent/prompts',
filePattern: (prompt) => generateFilename(prompt, '.md'),
header: (prompt) => [
'---',
`description: "Plan2Code ${prompt.stepNumber === 'init' ? 'Init' : `Step ${prompt.stepNumber}`}: ${prompt.displayName} - ${prompt.description}"`,
'---'
].join('\n')
},
{
name: 'Claude Code Skills',
dir: '.claude/skills',
@@ -565,6 +585,13 @@ const INSTALL_TARGETS = [
type: 'toml',
filePattern: /^plan2code-.*\.toml$/,
icon: '◉ '
},
{
name: 'Pi',
id: 'pi',
dir: '.pi/agent/prompts',
filePattern: /^plan2code-.*\.md$/,
icon: '◉ '
}
];
@@ -1299,6 +1326,7 @@ function displayLocalInstructions() {
{ name: 'Continue', dir: '.continue/prompts/', desc: 'Prompts for Continue extension' },
{ name: 'Windsurf', dir: '.windsurf/workflows/', desc: 'Workflows for Windsurf' },
{ name: 'Codeium (IntelliJ)', dir: '.codeium/global_workflows/', desc: 'Codeium global workflows' },
{ name: 'Pi', dir: '.pi/prompts/', desc: 'Prompt templates for pi.dev coding agent' },
];
localDirs.forEach((item, i) => {