Skip to content

Pi Formatter

PromptScript compiles your .prs sources to native Pi configuration. The main output is .pi/rules/project.md. It is not enabled by default, add it to targets to use it.

Enable the Target

targets:
- pi

Pick an output version when you need more than the default:

targets:
- pi:
version: full

At a Glance

PropertyValue
TierTier 3
Main output.pi/rules/project.md
Dot directory.pi/
SkillsYes (.pi/skills/<name>/SKILL.md)
AgentsNo
CommandsNo
Local filesNo

Output Files

FilePathPurpose
Main instructions.pi/rules/project.mdPrimary rule file
Skills.pi/skills/<name>/SKILL.mdReusable skill definitions

Output Versions

VersionOutput
simpleSingle .pi/rules/project.md file
multifileSingle .pi/rules/project.md file (skills via full mode)
full (default).pi/rules/project.md + .pi/skills//SKILL.md

MCP and Hooks

BlockSupport
@mcpServersNot supported
@hooksNot supported

Native hook reference: https://promptscript.dev/docs/guides/hooks/

Supported Features

FeatureSupported
Markdown OutputYes
MDC FormatNo
Code BlocksYes
Mermaid DiagramsNo
Single File OutputYes
Multiple Rule FilesNo
Workflow FilesNo
Nested Directory StructureNo
YAML FrontmatterNo
Description in FrontmatterNo
Globs in FrontmatterNo
Activation TypeNo
Glob Pattern TargetingNo
Always Apply RulesYes
Manual ActivationNo
Auto/Model ActivationNo
Structured ExamplesYes
Character Limit ValidationNo
Content Section SplittingYes
Guard DependenciesYes
Context File InclusionNo
@-MentionsNo
Tool IntegrationNo
Path-Specific RulesNo
Prompt FilesNo
Slash CommandsNo
SkillsYes
Agent InstructionsNo
Local MemoryNo
Nested MemoryNo

See Also