Files added by PR #2008 that were not in main were dropped during the merge. Restore all src/, docs/, and scripts/ files from the pre-merge PR head. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 01-what-are-extensions.md | ||
| 02-architecture-mental-model.md | ||
| 03-getting-started.md | ||
| 04-extension-locations-discovery.md | ||
| 05-extension-structure-styles.md | ||
| 06-the-extension-lifecycle.md | ||
| 07-events-the-nervous-system.md | ||
| 08-extensioncontext-what-you-can-access.md | ||
| 09-extensionapi-what-you-can-do.md | ||
| 10-custom-tools-giving-the-llm-new-abilities.md | ||
| 11-custom-commands-user-facing-actions.md | ||
| 12-custom-ui-visual-components.md | ||
| 13-state-management-persistence.md | ||
| 14-custom-rendering-controlling-what-the-user-sees.md | ||
| 15-system-prompt-modification.md | ||
| 16-compaction-session-control.md | ||
| 17-model-provider-management.md | ||
| 18-remote-execution-tool-overrides.md | ||
| 19-packaging-distribution.md | ||
| 20-mode-behavior.md | ||
| 21-error-handling.md | ||
| 22-key-rules-gotchas.md | ||
| 23-file-reference-documentation.md | ||
| 24-file-reference-example-extensions.md | ||
| 25-slash-command-subcommand-patterns.md | ||
| README.md | ||
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
Split into per-section files for surgical context loading.