2.1 KiB
2.1 KiB
The Complete Guide to Building Pi Extensions
Split into individual files for easier consumption.
Table of Contents
- 01. What Are Extensions?
- 02. Architecture & Mental Model
- 03. Getting Started
- 04. Extension Locations & Discovery
- 05. Extension Structure & Styles
- 06. The Extension Lifecycle
- 07. Events — The Nervous System
- 08. ExtensionContext — What You Can Access
- 09. ExtensionAPI — What You Can Do
- 10. Custom Tools — Giving the LLM New Abilities
- 11. Custom Commands — User-Facing Actions
- 12. Custom UI — Visual Components
- 13. State Management & Persistence
- 14. Custom Rendering — Controlling What the User Sees
- 15. System Prompt Modification
- 16. Compaction & Session Control
- 17. Model & Provider Management
- 18. Remote Execution & Tool Overrides
- 19. Packaging & Distribution
- 20. Mode Behavior
- 21. Error Handling
- 22. Key Rules & Gotchas
- 23. File Reference — Documentation
- 24. File Reference — Example Extensions
- 25. Slash Command Subcommand Patterns
- 26. Extension Development Template
Split into per-section files for surgical context loading.