[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NQQFC6KJD969J0XX6YXNW3":3,"skill-same:01M6NQQFC6KJD969J0XX6YXNW3":195},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6NQQFC6KJD969J0XX6YXNW3","pi-extensions",null,"Pi extension development master reference.\nUse when: building pi extensions, debugging extension behavior, or choosing the right pattern.","zhongjis\u002Fpi-config","zhongjis","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F23202735?v=4","01M6NQP28PX4M0N9NK6FRVGJVA","zshen","01M6NQP2D6T7BPR4T9BB3HT8GS",3,"MIT","https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002FSKILL.md",[],[20,21,22,23,24,25,26,27,28,29,30,31],"pi","pi extensions","extensions","debugging","development","behavior","use","reference","master","pattern","pi extension","extension","2026-11-11 15:11:14",false,"---\nname: pi-extensions\ndescription: |\n  Pi extension development master reference.\n  Use when: building pi extensions, debugging extension behavior, or choosing the right pattern.\n---\n\n# Pi Extensions — LLM Master Reference\n\n## Start Here (Read Order)\n\n| Priority | Document | Read When |\n|----------|----------|-----------|\n| **1** | [`ARCHITECTURE.md`](ARCHITECTURE.md) | Before writing ANY extension code |\n| **2** | [`PATTERNS.md`](PATTERNS.md) | When you need copy-paste code for a specific task |\n| **3** | [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) | When reviewing or debugging extension code |\n\nThe `guides\u002F` and `references\u002F` directories contain deeper narratives and examples. Use them after scanning the three master docs above.\n\n---\n\n## One-Line Directives\n\n- **Writing a new extension?** → Read [`ARCHITECTURE.md`](ARCHITECTURE.md) §1–§5, then copy the matching pattern from [`PATTERNS.md`](PATTERNS.md).\n- **Extension is broken?** → Check [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) first.\n- **Extension is slow to start?** → [`references\u002Fstartup-optimization.md`](references\u002Fstartup-optimization.md) — jiti bottleneck, .js vs .ts, discovery cost.\n- **Need TUI component?** → [`PATTERNS.md`](PATTERNS.md) §P12–§P14, then [`guides\u002F02-paradigms.md`](guides\u002F02-paradigms.md) for narrative.\n- **Need beautiful TUI rendering?** → [`references\u002Ftui-beautiful-rendering.md`](references\u002Ftui-beautiful-rendering.md) — box drawing, overlays, badges, SVG widgets.\n- **Need multi-agent patterns?** → [`references\u002Fextension-patterns-from-source.md`](references\u002Fextension-patterns-from-source.md) — agent coordination, tasks, feeds.\n- **Need custom provider\u002FOAuth?** → [`PATTERNS.md`](PATTERNS.md) §P19–§P20, then [`guides\u002F07-advanced-patterns.md`](guides\u002F07-advanced-patterns.md).\n- **Need RPC safety?** → [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) §A2, then [`guides\u002F05-rpc-mode.md`](guides\u002F05-rpc-mode.md).\n\n---\n\n## Master Decision Trees\n\n### Which document do I need?\n\n```\nI need to understand how extensions work\n  └─► ARCHITECTURE.md\n\nI need working code to copy\n  └─► PATTERNS.md\n\nI need to know what NOT to do\n  └─► ANTI-PATTERNS.md\n\nI need a step-by-step first tutorial\n  └─► guides\u002F01-quickstart.md\n\nI need deep narrative on tools\u002Fevents\u002FUI\n  └─► guides\u002F02-paradigms.md\n\nI need state persistence strategies\n  └─► guides\u002F03-state.md\n\nI need production architecture (workflows, memory)\n  └─► guides\u002F04-production.md\n\nI need RPC mode specifics\n  └─► guides\u002F05-rpc-mode.md\n\nI need pi internals (loader, runner, binding)\n  └─► guides\u002F06-internals.md\n\nI need startup optimization, speed up extension loading\n  └─► references\u002Fstartup-optimization.md\n\nI need provider plugins, OAuth, overrides\n  └─► guides\u002F07-advanced-patterns.md\n```\n\n### Which paradigm should I use?\n\n```\nNeed LLM to perform action? ───────────────► Tool (PATTERNS P2–P5)\nNeed user to type \u002Fcommand? ───────────────► Command (PATTERNS P6–P7)\nNeed keyboard shortcut? ───────────────────► Shortcut (guides\u002F02-paradigms.md)\nNeed to react to system events? ───────────► Event handler (PATTERNS P8–P11)\nNeed interactive TUI? ─────────────────────► Custom UI (PATTERNS P12–P14)\nNeed to inject a model provider? ──────────► registerProvider (PATTERNS P19–P20)\nNeed to override a built-in tool? ─────────► Tool override (PATTERNS P4)\n```\n\n### Which state persistence mechanism?\n\n```\nState should go to LLM context? ───────────► sendMessage({ customType, ... })\nState is extension-private? ───────────────► appendEntry(\"customType\", data)\nState is user preference (cross-project)? ─► File in ~\u002F.pi\u002Fagent\u002F\nState is project-local? ───────────────────► File in .pi\u002F\nState is temporary cache? ─────────────────► Local variable (reconstructed on reload)\n```\n\n---\n\n## Document Map\n\n### Master References (Read First)\n\n| File | Purpose | Length |\n|------|---------|--------|\n| [`ARCHITECTURE.md`](ARCHITECTURE.md) | Mental model, execution flow, exact event semantics | ~9KB |\n| [`PATTERNS.md`](PATTERNS.md) | 38 copy-paste patterns with exact imports | ~17KB |\n| [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) | 15 common mistakes with corrections | ~9KB |\n\n### Progressive Guides (Read as Needed)\n\n| File | Level | Topic |\n|------|-------|-------|\n| [`guides\u002F01-quickstart.md`](guides\u002F01-quickstart.md) | ? Beginner | First extension in 5 minutes |\n| [`guides\u002F02-paradigms.md`](guides\u002F02-paradigms.md) | ? Intermediate | Tools, commands, events, UI deep dive |\n| [`guides\u002F03-state.md`](guides\u002F03-state.md) | ? Advanced | Persistent and branch-resilient state |\n| [`guides\u002F04-production.md`](guides\u002F04-production.md) | ?️ Expert | Multi-mode, workflows, memory systems |\n| [`guides\u002F05-rpc-mode.md`](guides\u002F05-rpc-mode.md) | ? RPC | RPC mode compatibility and degradation |\n| [`guides\u002F06-internals.md`](guides\u002F06-internals.md) | ⚙️ Internals | Loader, runner, event dispatch, binding |\n| [`guides\u002F07-advanced-patterns.md`](guides\u002F07-advanced-patterns.md) | ? Advanced | Provider plugins, OAuth, tool overrides, file mutation queues |\n\n### Reference Docs\n\n| File | Purpose |\n|------|---------|\n| [`references\u002Fapi.md`](references\u002Fapi.md) | Complete API documentation |\n| [`references\u002Fapi-quickref.md`](references\u002Fapi-quickref.md) | Quick reference card |\n| [`references\u002Fevents.md`](references\u002Fevents.md) | Full event reference |\n| [`references\u002Fexamples.md`](references\u002Fexamples.md) | Additional code examples |\n| [`references\u002Fui-components.md`](references\u002Fui-components.md) | TUI component catalog |\n| [`references\u002Fextension-patterns-from-source.md`](references\u002Fextension-patterns-from-source.md) | Multi-agent, diff rendering, config patterns from 10+ extensions |\n| [`references\u002Ftui-beautiful-rendering.md`](references\u002Ftui-beautiful-rendering.md) | Beautiful TUI: box drawing, transcript, overlays, badges, SVG\u002FHTML widgets |\n| [`references\u002Fstartup-optimization.md`](references\u002Fstartup-optimization.md) | Startup perf: jiti transpilation, .js vs .ts, measuring bottlenecks |\n\n### Tutorials\n\n| File | Topic |\n|------|-------|\n| [`tutorials\u002Ftool-browser.md`](tutorials\u002Ftool-browser.md) | Build a searchable tool list with fuzzy filtering |\n\n### Examples\n\n| File | Purpose |\n|------|---------|\n| [`examples\u002Fgallery.md`](examples\u002Fgallery.md) | Annotated real-world extensions |\n\n---\n\n## 5-Minute Quick Test\n\n> **Prerequisite**: This skill is installed (cloned to `skills\u002Fpi-extensions`).\n> Below creates a **sample Extension**, placed in `~\u002F.pi\u002Fagent\u002Fextensions\u002F` — separate from the skill directory.\n\n```bash\n# 1. Create the sample extension file\nmkdir -p ~\u002F.pi\u002Fagent\u002Fextensions\ncat > ~\u002F.pi\u002Fagent\u002Fextensions\u002Fhello.ts \u003C\u003C 'EOF'\nimport type { ExtensionAPI } from \"@earendil-works\u002Fpi-coding-agent\";\n\nexport default function (pi: ExtensionAPI) {\n  pi.registerCommand(\"hello\", {\n    description: \"Say hello\",\n    handler: async (_args, ctx) => {\n      ctx.ui.notify(\"Hello from Pi Extensions!\", \"success\");\n    },\n  });\n}\nEOF\n\n# 2. Test with -e flag (temporary load)\npi -e ~\u002F.pi\u002Fagent\u002Fextensions\u002Fhello.ts\n# Then type: \u002Fhello\n#\n# Tip: Extensions in ~\u002F.pi\u002Fagent\u002Fextensions\u002F are auto-discovered.\n#      The -e flag is only needed for temporary testing.\n```\n\n---\n\n## Quick Import Cheat Sheet\n\n```typescript\n\u002F\u002F Core types\nimport type { ExtensionAPI, ExtensionContext } from \"@earendil-works\u002Fpi-coding-agent\";\n\n\u002F\u002F Schema\nimport { Type } from \"@sinclair\u002Ftypebox\";\nimport { StringEnum } from \"@earendil-works\u002Fpi-ai\";\n\n\u002F\u002F TUI\nimport { Container, Text, SelectList } from \"@earendil-works\u002Fpi-tui\";\n\n\u002F\u002F Utilities\nimport { withFileMutationQueue } from \"@earendil-works\u002Fpi-coding-agent\";\nimport { isToolCallEventType, isBashToolResult } from \"@earendil-works\u002Fpi-coding-agent\";\n```\n\n---\n\n## Hot Topics\n\n### Dynamic Model Injection\nUse `pi.registerProvider()` for proxies, custom endpoints, or team-wide model configs. See [`PATTERNS.md`](PATTERNS.md) §P19–P20 and [`guides\u002F07-advanced-patterns.md`](guides\u002F07-advanced-patterns.md).\n\n### Tool Override\nRegister a tool with the same name as a built-in (`read`, `bash`, `edit`, `write`) to wrap or replace it. See [`PATTERNS.md`](PATTERNS.md) §P4.\n\n### Parallel Execution Safety\nCustom tools that mutate files must use `withFileMutationQueue()` to avoid race conditions with built-in `edit`\u002F`write`. See [`PATTERNS.md`](PATTERNS.md) §P5 and [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) §A4.\n\n### RPC Safety\n`ctx.hasUI` is `true` in RPC, but `custom()` returns `undefined`. Use `select`\u002F`confirm`\u002F`input`\u002F`editor` for blocking dialogs that work in both modes. See [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) §A2 and [`guides\u002F05-rpc-mode.md`](guides\u002F05-rpc-mode.md).\n\n---\n\n*Master references: [ARCHITECTURE](ARCHITECTURE.md) · [PATTERNS](PATTERNS.md) · [ANTI-PATTERNS](ANTI-PATTERNS.md)*\n","# Pi Extensions — LLM Master Reference\n\n## Start Here (Read Order)\n\n| Priority | Document | Read When |\n|----------|----------|-----------|\n| **1** | [`ARCHITECTURE.md`](ARCHITECTURE.md) | Before writing ANY extension code |\n| **2** | [`PATTERNS.md`](PATTERNS.md) | When you need copy-paste code for a specific task |\n| **3** | [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) | When reviewing or debugging extension code |\n\nThe `guides\u002F` and `references\u002F` directories contain deeper narratives and examples. Use them after scanning the three master docs above.\n\n---\n\n## One-Line Directives\n\n- **Writing a new extension?** → Read [`ARCHITECTURE.md`](ARCHITECTURE.md) §1–§5, then copy the matching pattern from [`PATTERNS.md`](PATTERNS.md).\n- **Extension is broken?** → Check [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) first.\n- **Extension is slow to start?** → [`references\u002Fstartup-optimization.md`](references\u002Fstartup-optimization.md) — jiti bottleneck, .js vs .ts, discovery cost.\n- **Need TUI component?** → [`PATTERNS.md`](PATTERNS.md) §P12–§P14, then [`guides\u002F02-paradigms.md`](guides\u002F02-paradigms.md) for narrative.\n- **Need beautiful TUI rendering?** → [`references\u002Ftui-beautiful-rendering.md`](references\u002Ftui-beautiful-rendering.md) — box drawing, overlays, badges, SVG widgets.\n- **Need multi-agent patterns?** → [`references\u002Fextension-patterns-from-source.md`](references\u002Fextension-patterns-from-source.md) — agent coordination, tasks, feeds.\n- **Need custom provider\u002FOAuth?** → [`PATTERNS.md`](PATTERNS.md) §P19–§P20, then [`guides\u002F07-advanced-patterns.md`](guides\u002F07-advanced-patterns.md).\n- **Need RPC safety?** → [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) §A2, then [`guides\u002F05-rpc-mode.md`](guides\u002F05-rpc-mode.md).\n\n---\n\n## Master Decision Trees\n\n### Which document do I need?\n\n```\nI need to understand how extensions work\n  └─► ARCHITECTURE.md\n\nI need working code to copy\n  └─► PATTERNS.md\n\nI need to know what NOT to do\n  └─► ANTI-PATTERNS.md\n\nI need a step-by-step first tutorial\n  └─► guides\u002F01-quickstart.md\n\nI need deep narrative on tools\u002Fevents\u002FUI\n  └─► guides\u002F02-paradigms.md\n\nI need state persistence strategies\n  └─► guides\u002F03-state.md\n\nI need production architecture (workflows, memory)\n  └─► guides\u002F04-production.md\n\nI need RPC mode specifics\n  └─► guides\u002F05-rpc-mode.md\n\nI need pi internals (loader, runner, binding)\n  └─► guides\u002F06-internals.md\n\nI need startup optimization, speed up extension loading\n  └─► references\u002Fstartup-optimization.md\n\nI need provider plugins, OAuth, overrides\n  └─► guides\u002F07-advanced-patterns.md\n```\n\n### Which paradigm should I use?\n\n```\nNeed LLM to perform action? ───────────────► Tool (PATTERNS P2–P5)\nNeed user to type \u002Fcommand? ───────────────► Command (PATTERNS P6–P7)\nNeed keyboard shortcut? ───────────────────► Shortcut (guides\u002F02-paradigms.md)\nNeed to react to system events? ───────────► Event handler (PATTERNS P8–P11)\nNeed interactive TUI? ─────────────────────► Custom UI (PATTERNS P12–P14)\nNeed to inject a model provider? ──────────► registerProvider (PATTERNS P19–P20)\nNeed to override a built-in tool? ─────────► Tool override (PATTERNS P4)\n```\n\n### Which state persistence mechanism?\n\n```\nState should go to LLM context? ───────────► sendMessage({ customType, ... })\nState is extension-private? ───────────────► appendEntry(\"customType\", data)\nState is user preference (cross-project)? ─► File in ~\u002F.pi\u002Fagent\u002F\nState is project-local? ───────────────────► File in .pi\u002F\nState is temporary cache? ─────────────────► Local variable (reconstructed on reload)\n```\n\n---\n\n## Document Map\n\n### Master References (Read First)\n\n| File | Purpose | Length |\n|------|---------|--------|\n| [`ARCHITECTURE.md`](ARCHITECTURE.md) | Mental model, execution flow, exact event semantics | ~9KB |\n| [`PATTERNS.md`](PATTERNS.md) | 38 copy-paste patterns with exact imports | ~17KB |\n| [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) | 15 common mistakes with corrections | ~9KB |\n\n### Progressive Guides (Read as Needed)\n\n| File | Level | Topic |\n|------|-------|-------|\n| [`guides\u002F01-quickstart.md`](guides\u002F01-quickstart.md) | ? Beginner | First extension in 5 minutes |\n| [`guides\u002F02-paradigms.md`](guides\u002F02-paradigms.md) | ? Intermediate | Tools, commands, events, UI deep dive |\n| [`guides\u002F03-state.md`](guides\u002F03-state.md) | ? Advanced | Persistent and branch-resilient state |\n| [`guides\u002F04-production.md`](guides\u002F04-production.md) | ?️ Expert | Multi-mode, workflows, memory systems |\n| [`guides\u002F05-rpc-mode.md`](guides\u002F05-rpc-mode.md) | ? RPC | RPC mode compatibility and degradation |\n| [`guides\u002F06-internals.md`](guides\u002F06-internals.md) | ⚙️ Internals | Loader, runner, event dispatch, binding |\n| [`guides\u002F07-advanced-patterns.md`](guides\u002F07-advanced-patterns.md) | ? Advanced | Provider plugins, OAuth, tool overrides, file mutation queues |\n\n### Reference Docs\n\n| File | Purpose |\n|------|---------|\n| [`references\u002Fapi.md`](references\u002Fapi.md) | Complete API documentation |\n| [`references\u002Fapi-quickref.md`](references\u002Fapi-quickref.md) | Quick reference card |\n| [`references\u002Fevents.md`](references\u002Fevents.md) | Full event reference |\n| [`references\u002Fexamples.md`](references\u002Fexamples.md) | Additional code examples |\n| [`references\u002Fui-components.md`](references\u002Fui-components.md) | TUI component catalog |\n| [`references\u002Fextension-patterns-from-source.md`](references\u002Fextension-patterns-from-source.md) | Multi-agent, diff rendering, config patterns from 10+ extensions |\n| [`references\u002Ftui-beautiful-rendering.md`](references\u002Ftui-beautiful-rendering.md) | Beautiful TUI: box drawing, transcript, overlays, badges, SVG\u002FHTML widgets |\n| [`references\u002Fstartup-optimization.md`](references\u002Fstartup-optimization.md) | Startup perf: jiti transpilation, .js vs .ts, measuring bottlenecks |\n\n### Tutorials\n\n| File | Topic |\n|------|-------|\n| [`tutorials\u002Ftool-browser.md`](tutorials\u002Ftool-browser.md) | Build a searchable tool list with fuzzy filtering |\n\n### Examples\n\n| File | Purpose |\n|------|---------|\n| [`examples\u002Fgallery.md`](examples\u002Fgallery.md) | Annotated real-world extensions |\n\n---\n\n## 5-Minute Quick Test\n\n> **Prerequisite**: This skill is installed (cloned to `skills\u002Fpi-extensions`).\n> Below creates a **sample Extension**, placed in `~\u002F.pi\u002Fagent\u002Fextensions\u002F` — separate from the skill directory.\n\n```bash\n# 1. Create the sample extension file\nmkdir -p ~\u002F.pi\u002Fagent\u002Fextensions\ncat > ~\u002F.pi\u002Fagent\u002Fextensions\u002Fhello.ts \u003C\u003C 'EOF'\nimport type { ExtensionAPI } from \"@earendil-works\u002Fpi-coding-agent\";\n\nexport default function (pi: ExtensionAPI) {\n  pi.registerCommand(\"hello\", {\n    description: \"Say hello\",\n    handler: async (_args, ctx) => {\n      ctx.ui.notify(\"Hello from Pi Extensions!\", \"success\");\n    },\n  });\n}\nEOF\n\n# 2. Test with -e flag (temporary load)\npi -e ~\u002F.pi\u002Fagent\u002Fextensions\u002Fhello.ts\n# Then type: \u002Fhello\n#\n# Tip: Extensions in ~\u002F.pi\u002Fagent\u002Fextensions\u002F are auto-discovered.\n#      The -e flag is only needed for temporary testing.\n```\n\n---\n\n## Quick Import Cheat Sheet\n\n```typescript\n\u002F\u002F Core types\nimport type { ExtensionAPI, ExtensionContext } from \"@earendil-works\u002Fpi-coding-agent\";\n\n\u002F\u002F Schema\nimport { Type } from \"@sinclair\u002Ftypebox\";\nimport { StringEnum } from \"@earendil-works\u002Fpi-ai\";\n\n\u002F\u002F TUI\nimport { Container, Text, SelectList } from \"@earendil-works\u002Fpi-tui\";\n\n\u002F\u002F Utilities\nimport { withFileMutationQueue } from \"@earendil-works\u002Fpi-coding-agent\";\nimport { isToolCallEventType, isBashToolResult } from \"@earendil-works\u002Fpi-coding-agent\";\n```\n\n---\n\n## Hot Topics\n\n### Dynamic Model Injection\nUse `pi.registerProvider()` for proxies, custom endpoints, or team-wide model configs. See [`PATTERNS.md`](PATTERNS.md) §P19–P20 and [`guides\u002F07-advanced-patterns.md`](guides\u002F07-advanced-patterns.md).\n\n### Tool Override\nRegister a tool with the same name as a built-in (`read`, `bash`, `edit`, `write`) to wrap or replace it. See [`PATTERNS.md`](PATTERNS.md) §P4.\n\n### Parallel Execution Safety\nCustom tools that mutate files must use `withFileMutationQueue()` to avoid race conditions with built-in `edit`\u002F`write`. See [`PATTERNS.md`](PATTERNS.md) §P5 and [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) §A4.\n\n### RPC Safety\n`ctx.hasUI` is `true` in RPC, but `custom()` returns `undefined`. Use `select`\u002F`confirm`\u002F`input`\u002F`editor` for blocking dialogs that work in both modes. See [`ANTI-PATTERNS.md`](ANTI-PATTERNS.md) §A2 and [`guides\u002F05-rpc-mode.md`](guides\u002F05-rpc-mode.md).\n\n---\n\n*Master references: [ARCHITECTURE](ARCHITECTURE.md) · [PATTERNS](PATTERNS.md) · [ANTI-PATTERNS](ANTI-PATTERNS.md)*\n",{"name":5,"description":7},"main","09aa5acbbca84acac0695dca849f71cf0dcd1648",".agents\u002Fskills\u002Fpi-extensions",0,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config","https:\u002F\u002Fgithub.com\u002Fzhongjis","A person who loves engineering and art.","2026-11-14 06:29:15",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add zhongjis\u002Fpi-config --skill pi-extensions",{"tool":51,"command":52},"bunx","bunx skills add zhongjis\u002Fpi-config --skill pi-extensions",{"tool":54,"command":55},"pnpm","pnpm dlx skills add zhongjis\u002Fpi-config --skill pi-extensions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002FSKILL.md",true,[59,65,69,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"ANTI-PATTERNS.md","REFERENCE","参考文档",9470,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002FANTI-PATTERNS.md",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"ARCHITECTURE.md",10051,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002FARCHITECTURE.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"assets\u002Fexamples\u002Fpermission-gate.ts","SCRIPT","脚本",2062,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fassets\u002Fexamples\u002Fpermission-gate.ts",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"assets\u002Fexamples\u002Fsession-stats.ts",2692,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fassets\u002Fexamples\u002Fsession-stats.ts",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"assets\u002Ftemplates\u002Fcommand.ts",1638,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fassets\u002Ftemplates\u002Fcommand.ts",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"assets\u002Ftemplates\u002Fcustom-ui.ts",3500,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fassets\u002Ftemplates\u002Fcustom-ui.ts",{"path":88,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":89,"sourceHtmlUrl":90},"assets\u002Ftemplates\u002Fevent-handler.ts",3592,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fassets\u002Ftemplates\u002Fevent-handler.ts",{"path":92,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":93,"sourceHtmlUrl":94},"assets\u002Ftemplates\u002Ffull-extension.ts",6365,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fassets\u002Ftemplates\u002Ffull-extension.ts",{"path":96,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":97,"sourceHtmlUrl":98},"assets\u002Ftemplates\u002Ftool.ts",2388,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fassets\u002Ftemplates\u002Ftool.ts",{"path":100,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":101,"sourceHtmlUrl":102},"examples\u002Fgallery.md",10927,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fexamples\u002Fgallery.md",{"path":104,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":105,"sourceHtmlUrl":106},"guides\u002F01-quickstart.md",2730,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fguides\u002F01-quickstart.md",{"path":108,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":109,"sourceHtmlUrl":110},"guides\u002F02-paradigms.md",7979,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fguides\u002F02-paradigms.md",{"path":112,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":113,"sourceHtmlUrl":114},"guides\u002F03-state.md",3609,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fguides\u002F03-state.md",{"path":116,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":117,"sourceHtmlUrl":118},"guides\u002F04-production.md",3152,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fguides\u002F04-production.md",{"path":120,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":121,"sourceHtmlUrl":122},"guides\u002F05-rpc-mode.md",8039,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fguides\u002F05-rpc-mode.md",{"path":124,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":125,"sourceHtmlUrl":126},"guides\u002F06-internals.md",14273,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fguides\u002F06-internals.md",{"path":128,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":129,"sourceHtmlUrl":130},"guides\u002F07-advanced-patterns.md",10026,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fguides\u002F07-advanced-patterns.md",{"path":132,"resourceType":132,"resourceTypeDesc":133,"sizeBytes":134,"sourceHtmlUrl":16},"LICENSE","许可证",1061,{"path":136,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":137,"sourceHtmlUrl":138},"package.json",234,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fpackage.json",{"path":140,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":141,"sourceHtmlUrl":142},"PATTERNS-GUIDE.md",8950,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002FPATTERNS-GUIDE.md",{"path":144,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":145,"sourceHtmlUrl":146},"PATTERNS.md",69936,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002FPATTERNS.md",{"path":148,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":149,"sourceHtmlUrl":150},"README.md",4976,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002FREADME.md",{"path":152,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":153,"sourceHtmlUrl":154},"references\u002Fapi-quickref.md",4606,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Freferences\u002Fapi-quickref.md",{"path":156,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":157,"sourceHtmlUrl":158},"references\u002Fapi.md",6498,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Freferences\u002Fapi.md",{"path":160,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":161,"sourceHtmlUrl":162},"references\u002Fevents.md",7201,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Freferences\u002Fevents.md",{"path":164,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":165,"sourceHtmlUrl":166},"references\u002Fexamples.md",12534,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Freferences\u002Fexamples.md",{"path":168,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":169,"sourceHtmlUrl":170},"references\u002Fextension-patterns-from-source.md",15072,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Freferences\u002Fextension-patterns-from-source.md",{"path":172,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":173,"sourceHtmlUrl":174},"references\u002Fstartup-optimization.md",4512,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Freferences\u002Fstartup-optimization.md",{"path":176,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":177,"sourceHtmlUrl":178},"references\u002Ftui-beautiful-rendering.md",26645,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Freferences\u002Ftui-beautiful-rendering.md",{"path":180,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":181,"sourceHtmlUrl":182},"references\u002Fui-components.md",5551,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Freferences\u002Fui-components.md",{"path":184,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":185,"sourceHtmlUrl":186},"scripts\u002Fpi-skill-registry.ts",18595,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fscripts\u002Fpi-skill-registry.ts",{"path":188,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":189,"sourceHtmlUrl":190},"scripts\u002Fsearch-packages.ts",5164,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Fscripts\u002Fsearch-packages.ts",{"path":192,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":193,"sourceHtmlUrl":194},"tutorials\u002Ftool-browser.md",5252,"https:\u002F\u002Fgithub.com\u002Fzhongjis\u002Fpi-config\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-extensions\u002Ftutorials\u002Ftool-browser.md",[]]