[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71T43H0P1MAADJWNSHSH2DY":3,"skill-same:01M71T43H0P1MAADJWNSHSH2DY":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M71T43H0P1MAADJWNSHSH2DY","pi-init",null,"Initialize a pi package project after cloning from pi-package-template. Run once at the start of development to verify the development environment is set up correctly. Use when the user says \"init\", \"setup\", \"initialize\", \"check environment\", \"pi-init\", or asks to verify their pi package development setup. Also use when the user says they just cloned the template or wants to start developing a pi package. Do not use for general pi package development tasks (use pi-package) or for running tests.","S1M0N38\u002Fpi-package-template","S1M0N38","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F22257750?v=4","01M71T423QR9E0532E9AY8VGB4","01M71T424FQ6J25Z3V21MEK6KZ",5,"MIT","https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-init\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"pi init","pi","init","general","running","when","for","development environment","tests","pi package","project","do","up","use","environment","initialize","just","SET","package","development","2026-11-10 13:02:02",false,"---\nname: pi-init\ndescription: >\n  Initialize a pi package project after cloning from pi-package-template. Run\n  once at the start of development to verify the development environment is set up\n  correctly. Use when the user says \"init\", \"setup\", \"initialize\", \"check environment\",\n  \"pi-init\", or asks to verify their pi package development setup. Also use when the\n  user says they just cloned the template or wants to start developing a pi package.\n  Do not use for general pi package development tasks (use pi-package) or for\n  running tests.\n---\n\n# Pi Package Project Initialization\n\nThis skill walks through a checklist to verify that a pi package development\nenvironment is correctly configured. It writes findings to a state file in the\nproject root (`.pi-init.md`) so progress is persisted between sessions.\n\n## Official Pi Documentation\n\nIf you need to look up APIs or verify behavior during initialization, see pi's\ninstalled docs:\n\n```bash\n# Find the docs directory\nnpm root -g  # → \u003Cdir>\u002F@earendil-works\u002Fpi-coding-agent\u002Fdocs\u002F\n```\n\nKey documents: `extensions.md`, `skills.md`, `themes.md`, `packages.md`.\n\n## Overview\n\nThe checklist has a welcome step followed by four execution steps. Each step\ncollects information and records the result in the state file. If the skill is\ninterrupted, it reads the state file on the next invocation and resumes from\nwhere it left off.\n\n0. **Welcome** — Display overview and ask user to confirm readiness\n1. **Metadata** — Extract package name and GitHub username\n2. **Requirements** — Verify required tools are installed\n3. **Rename** — Replace template placeholders with the user's package name and info\n4. **Docs** — Update README and AGENTS.md with the user's package description\n\n## State file\n\nThe state file lives at `.pi-init.md` in the project root. It doubles as the\nprogress tracker and the final report.\n\n- On first run: display the welcome message (step 0). Only create the state file\n  after the user confirms readiness.\n- On resume: read `.pi-init.md`, find the first unchecked step, and **skip** any\n  already-passed steps (don't re-verify them). If the state file exists, skip step 0.\n- After each sub-step: update the file with findings (fill in the sections, check off boxes)\n- Add `.pi-init.md` to `.gitignore` so it doesn't pollute the repo\n\nSteps that have sub-checks use indented checkboxes. When resuming,\nskip to the first unchecked box at any level.\n\n## Step execution\n\nFor each step, read the corresponding reference file and follow its instructions.\nUpdate the state file after completing each step.\n\n| Step | Reference file | What it does |\n|------|---------------|--------------|\n| 0. Welcome | `references\u002F00-INTRO.md` | Display welcome message and overview, ask user to confirm |\n| 1. Metadata | `references\u002F01-METADATA.md` | Extract package name from directory, GitHub username from git remote |\n| 2. Requirements | `references\u002F02-REQUIREMENTS.md` | Check that node, npm, pi, biome, typescript are installed |\n| 3. Rename | `references\u002F03-RENAME.md` | Derive package identifiers, rename files and replace content, verify, commit |\n| 4. Docs | `references\u002F04-DOCS.md` | Collect package description, update README and AGENTS.md |\n\n## Severity levels\n\n- **❌ Failure** — a required check did not pass. The user must fix this.\n- **⚠️ Warning** — an optional\u002Frecommended check did not pass. Suggest the fix\n  but don't block progress.\n- **✅ Pass** — check passed.\n\n## Important notes\n\n- Ask the user before proceeding through each step. Don't run the whole checklist\n  silently — this is meant to be interactive and educational.\n- If something fails, explain why and suggest how to fix it. The user may be new\n  to pi package development.\n- The state file uses markdown checkboxes (`- [ ]` \u002F `- [x]`) to track progress.\n  Keep the format consistent so resume works reliably.\n- Never modify files outside the project without explicit approval.\n\n## Completion message\n\nWhen all 4 steps are complete (all checkboxes checked), display a final message:\n\n---\n\n🎉 **Initialization complete!** Here's what was set up:\n\n- ✅ Package metadata extracted\n- ✅ Development requirements verified\n- ✅ Template renamed from `pi-package-template` → `\u003Cpackage-name>`\n- ✅ Documentation updated with your package description\n\n**Suggested next steps:**\n\n1. **Review and delete `.pi-init.md`** — This file tracked progress during\n   initialization. Review it if you like, then remove it. It's already in\n   `.gitignore` so it won't affect your repo.\n\n2. **Implement your extension** — Edit `extensions\u002Findex.ts` to add your tools,\n   commands, and event handlers. Use the `pi-package` skill for patterns and\n   best practices.\n\n3. **Test your package** — Run `pi -ne -e . --no-session -p \"Call your tool\"`\n   to verify tools work, or `pi -ne -e . --no-session` for interactive testing.\n\n---\n\nFill in `\u003Cpackage-name>` with the actual package name from step 3. Adapt the recap\nnaturally based on what actually happened (e.g., if some steps had warnings).\n","# Pi Package Project Initialization\n\nThis skill walks through a checklist to verify that a pi package development\nenvironment is correctly configured. It writes findings to a state file in the\nproject root (`.pi-init.md`) so progress is persisted between sessions.\n\n## Official Pi Documentation\n\nIf you need to look up APIs or verify behavior during initialization, see pi's\ninstalled docs:\n\n```bash\n# Find the docs directory\nnpm root -g  # → \u003Cdir>\u002F@earendil-works\u002Fpi-coding-agent\u002Fdocs\u002F\n```\n\nKey documents: `extensions.md`, `skills.md`, `themes.md`, `packages.md`.\n\n## Overview\n\nThe checklist has a welcome step followed by four execution steps. Each step\ncollects information and records the result in the state file. If the skill is\ninterrupted, it reads the state file on the next invocation and resumes from\nwhere it left off.\n\n0. **Welcome** — Display overview and ask user to confirm readiness\n1. **Metadata** — Extract package name and GitHub username\n2. **Requirements** — Verify required tools are installed\n3. **Rename** — Replace template placeholders with the user's package name and info\n4. **Docs** — Update README and AGENTS.md with the user's package description\n\n## State file\n\nThe state file lives at `.pi-init.md` in the project root. It doubles as the\nprogress tracker and the final report.\n\n- On first run: display the welcome message (step 0). Only create the state file\n  after the user confirms readiness.\n- On resume: read `.pi-init.md`, find the first unchecked step, and **skip** any\n  already-passed steps (don't re-verify them). If the state file exists, skip step 0.\n- After each sub-step: update the file with findings (fill in the sections, check off boxes)\n- Add `.pi-init.md` to `.gitignore` so it doesn't pollute the repo\n\nSteps that have sub-checks use indented checkboxes. When resuming,\nskip to the first unchecked box at any level.\n\n## Step execution\n\nFor each step, read the corresponding reference file and follow its instructions.\nUpdate the state file after completing each step.\n\n| Step | Reference file | What it does |\n|------|---------------|--------------|\n| 0. Welcome | `references\u002F00-INTRO.md` | Display welcome message and overview, ask user to confirm |\n| 1. Metadata | `references\u002F01-METADATA.md` | Extract package name from directory, GitHub username from git remote |\n| 2. Requirements | `references\u002F02-REQUIREMENTS.md` | Check that node, npm, pi, biome, typescript are installed |\n| 3. Rename | `references\u002F03-RENAME.md` | Derive package identifiers, rename files and replace content, verify, commit |\n| 4. Docs | `references\u002F04-DOCS.md` | Collect package description, update README and AGENTS.md |\n\n## Severity levels\n\n- **❌ Failure** — a required check did not pass. The user must fix this.\n- **⚠️ Warning** — an optional\u002Frecommended check did not pass. Suggest the fix\n  but don't block progress.\n- **✅ Pass** — check passed.\n\n## Important notes\n\n- Ask the user before proceeding through each step. Don't run the whole checklist\n  silently — this is meant to be interactive and educational.\n- If something fails, explain why and suggest how to fix it. The user may be new\n  to pi package development.\n- The state file uses markdown checkboxes (`- [ ]` \u002F `- [x]`) to track progress.\n  Keep the format consistent so resume works reliably.\n- Never modify files outside the project without explicit approval.\n\n## Completion message\n\nWhen all 4 steps are complete (all checkboxes checked), display a final message:\n\n---\n\n🎉 **Initialization complete!** Here's what was set up:\n\n- ✅ Package metadata extracted\n- ✅ Development requirements verified\n- ✅ Template renamed from `pi-package-template` → `\u003Cpackage-name>`\n- ✅ Documentation updated with your package description\n\n**Suggested next steps:**\n\n1. **Review and delete `.pi-init.md`** — This file tracked progress during\n   initialization. Review it if you like, then remove it. It's already in\n   `.gitignore` so it won't affect your repo.\n\n2. **Implement your extension** — Edit `extensions\u002Findex.ts` to add your tools,\n   commands, and event handlers. Use the `pi-package` skill for patterns and\n   best practices.\n\n3. **Test your package** — Run `pi -ne -e . --no-session -p \"Call your tool\"`\n   to verify tools work, or `pi -ne -e . --no-session` for interactive testing.\n\n---\n\nFill in `\u003Cpackage-name>` with the actual package name from step 3. Adapt the recap\nnaturally based on what actually happened (e.g., if some steps had warnings).\n",{"name":5,"description":7},"main","1c72dfcbc0ce688b9782df0daccac475b5172909",".agents\u002Fskills\u002Fpi-init",1,"https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fpi-package-template","https:\u002F\u002Fgithub.com\u002FS1M0N38","2026-05-17 01:15:28",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add S1M0N38\u002Fpi-package-template --skill pi-init",{"tool":57,"command":58},"bunx","bunx skills add S1M0N38\u002Fpi-package-template --skill pi-init",{"tool":60,"command":61},"pnpm","pnpm dlx skills add S1M0N38\u002Fpi-package-template --skill pi-init","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-init\u002FSKILL.md",true,[65,71,77,81,85,89],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"assets\u002Ftemplate.md","ASSET","资产文件",469,"https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-init\u002Fassets\u002Ftemplate.md",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002F00-INTRO.md","REFERENCE","参考文档",1343,"https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-init\u002Freferences\u002F00-INTRO.md",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002F01-METADATA.md",1179,"https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-init\u002Freferences\u002F01-METADATA.md",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002F02-REQUIREMENTS.md",1568,"https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-init\u002Freferences\u002F02-REQUIREMENTS.md",{"path":86,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002F03-RENAME.md",3789,"https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-init\u002Freferences\u002F03-RENAME.md",{"path":90,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002F04-DOCS.md",2137,"https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-init\u002Freferences\u002F04-DOCS.md",[94,100,131],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":38},"01M71T4HTVPG5AD3YG4PNC0X67","hello","https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002Fskills\u002Fhello\u002FSKILL.md",[],[96],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":111,"publishedAt":38},"01M71T4BSCKGFZ12068A05WKM0","pi-test","Test pi package TUI components using pilotty for PTY-based terminal automation. Use when the user wants to test, verify, or validate TUI components built with pi-tui in their pi package — interactive selectors, overlays, dialogs, custom editors, status indicators, or any ctx.ui.custom() output. Also use when the user says \"test the TUI\", \"verify the UI renders\", \"check my component\", \"run pilotty\", \"test my extension's UI\", or asks about TUI testing strategies for pi packages. Do not use for unit testing non-TUI code, linting, type checking, or testing tools that only return text without rendering a TUI.","https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-test\u002FSKILL.md",[106],{"categoryNo":107,"categoryName":108,"taxonomyType":109,"taxonomyTypeDesc":110},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[19,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130],"test","pi test","tui testing","unit","overlays","testing","components","text","strategies","component","run","terminal","read","write","rendering","edit","status","unit testing","ui",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":38},"01M71T47W6WBJ6CHCVXDNN4RAA","pi-package","Pi package development best practices and patterns. Use when planning, editing, implementing, or reviewing pi package code — structuring a new package, writing extensions, registering tools, commands, events, skills, prompt templates, or themes. Also use when the user asks about package architecture, conventions, or \"how should I implement\" a pi package feature. Do not use for general TypeScript development unrelated to pi packages, or for running tests (use pi-test skill if it exists).","https:\u002F\u002Fgithub.com\u002FS1M0N38\u002Fpi-package-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpi-package\u002FSKILL.md",[],[27,19,36,138,139,140,23,141,142,143,144,145,146,147,148,149,150,151,152,153],"how","themes","writing","code","architecture","Test Skill","packages","unrelated","new","typescript","commands","package development","patterns","Tools","implementing","new package"]