[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CGEZ6GEYPMKXWJ1AH8189M":3,"skill-same:01M7CGEZ6GEYPMKXWJ1AH8189M":102},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7CGEZ6GEYPMKXWJ1AH8189M","local-site-preview",null,"Start a local web server for a local website or static HTML site so it can be previewed in a browser. Use when the user wants to preview, host, serve, or open a local site on localhost.","JFeimster\u002Fpowershell-ops-toolkit","JFeimster","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10345242?v=4","01M7CGCRZ06AKKRPN3FC2D37MA","Jason Feimster","01M7CGCRZM7WRVECG326J45W4T",0,"MIT","https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: local-site-preview\ndescription: Start a local web server for a local website or static HTML site so it can be previewed in a browser. Use when the user wants to preview, host, serve, or open a local site on localhost.\n---\n\n# Local Site Preview\n\nUse this skill when a local website needs to be served through localhost.\n\n## Primary use: static HTML\n\nFor a static HTML site, use the included PowerShell script:\n\n`.\u002Fscripts\u002FStart-LocalSite.ps1`\n\nThe script accepts:\n\n- a folder containing `index.html`\n- a direct path to `index.html`\n- an optional port\n\nDefault port: `8000`.\n\n### Start a site\n\n```powershell\n.\\scripts\\Start-LocalSite.ps1 -Path \"C:\\path\\to\\site\"\n```\n\n### Use a custom port\n\n```powershell\n.\\scripts\\Start-LocalSite.ps1 -Path \"C:\\path\\to\\site\" -Port 8001\n```\n\n## Required behavior\n\nThe script must:\n\n1. Resolve the supplied path.\n2. If the path points to a file such as `index.html`, use its parent directory.\n3. Confirm that the target directory exists.\n4. Change to the website directory.\n5. Print the localhost URL.\n6. Never automatically open a browser.\n7. Start Python's local HTTP server.\n8. Leave the server running until the user presses `Ctrl+C`.\n9. Do not deploy the site or modify any external service.\n\nExpected output:\n\n```text\nServing: C:\\path\\to\\site\nOpen: http:\u002F\u002Flocalhost:8000\nStop: Ctrl+C\n```\n\n## Usage from PowerShell or VS Code Terminal\n\nRun the script directly:\n\n```powershell\n& \"C:\\path\\to\\local-site-preview\\scripts\\Start-LocalSite.ps1\" -Path \"C:\\path\\to\\website\"\n```\n\nOr add a wrapper function to the user's PowerShell profile:\n\n```powershell\nfunction Start-LocalSite {\n    param(\n        [Parameter(Mandatory = $true, Position = 0)]\n        [string]$Path,\n\n        [Parameter(Position = 1)]\n        [int]$Port = 8000\n    )\n\n    & \"C:\\path\\to\\local-site-preview\\scripts\\Start-LocalSite.ps1\" `\n        -Path $Path `\n        -Port $Port\n}\n```\n\nThen use:\n\n```powershell\nStart-LocalSite \"C:\\path\\to\\website\"\n```\n\nor:\n\n```powershell\nStart-LocalSite \"C:\\path\\to\\website\" 8003\n```\n\n## Agent behavior\n\nWhen this skill is invoked by an AI coding agent:\n\n- Do not deploy anything.\n- Do not push or commit code.\n- Do not modify hosted services.\n- Do not open the browser automatically.\n- Prefer the bundled script for static HTML.\n- If Python is unavailable, report that clearly instead of silently installing software.\n- If the selected port is already occupied, tell the user and suggest another port.\n","# Local Site Preview\n\nUse this skill when a local website needs to be served through localhost.\n\n## Primary use: static HTML\n\nFor a static HTML site, use the included PowerShell script:\n\n`.\u002Fscripts\u002FStart-LocalSite.ps1`\n\nThe script accepts:\n\n- a folder containing `index.html`\n- a direct path to `index.html`\n- an optional port\n\nDefault port: `8000`.\n\n### Start a site\n\n```powershell\n.\\scripts\\Start-LocalSite.ps1 -Path \"C:\\path\\to\\site\"\n```\n\n### Use a custom port\n\n```powershell\n.\\scripts\\Start-LocalSite.ps1 -Path \"C:\\path\\to\\site\" -Port 8001\n```\n\n## Required behavior\n\nThe script must:\n\n1. Resolve the supplied path.\n2. If the path points to a file such as `index.html`, use its parent directory.\n3. Confirm that the target directory exists.\n4. Change to the website directory.\n5. Print the localhost URL.\n6. Never automatically open a browser.\n7. Start Python's local HTTP server.\n8. Leave the server running until the user presses `Ctrl+C`.\n9. Do not deploy the site or modify any external service.\n\nExpected output:\n\n```text\nServing: C:\\path\\to\\site\nOpen: http:\u002F\u002Flocalhost:8000\nStop: Ctrl+C\n```\n\n## Usage from PowerShell or VS Code Terminal\n\nRun the script directly:\n\n```powershell\n& \"C:\\path\\to\\local-site-preview\\scripts\\Start-LocalSite.ps1\" -Path \"C:\\path\\to\\website\"\n```\n\nOr add a wrapper function to the user's PowerShell profile:\n\n```powershell\nfunction Start-LocalSite {\n    param(\n        [Parameter(Mandatory = $true, Position = 0)]\n        [string]$Path,\n\n        [Parameter(Position = 1)]\n        [int]$Port = 8000\n    )\n\n    & \"C:\\path\\to\\local-site-preview\\scripts\\Start-LocalSite.ps1\" `\n        -Path $Path `\n        -Port $Port\n}\n```\n\nThen use:\n\n```powershell\nStart-LocalSite \"C:\\path\\to\\website\"\n```\n\nor:\n\n```powershell\nStart-LocalSite \"C:\\path\\to\\website\" 8003\n```\n\n## Agent behavior\n\nWhen this skill is invoked by an AI coding agent:\n\n- Do not deploy anything.\n- Do not push or commit code.\n- Do not modify hosted services.\n- Do not open the browser automatically.\n- Prefer the bundled script for static HTML.\n- If Python is unavailable, report that clearly instead of silently installing software.\n- If the selected port is already occupied, tell the user and suggest another port.\n",{"name":5,"description":7},"main","b4e7bf2fe0b8760e57fa1b8ceab9f47979cda9f1","tools\u002FStart-LocalSite","https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit","https:\u002F\u002Fgithub.com\u002FJFeimster","2026-09-11 18:38:31",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add JFeimster\u002Fpowershell-ops-toolkit --skill local-site-preview",{"tool":36,"command":37},"bunx","bunx skills add JFeimster\u002Fpowershell-ops-toolkit --skill local-site-preview",{"tool":39,"command":40},"pnpm","pnpm dlx skills add JFeimster\u002Fpowershell-ops-toolkit --skill local-site-preview","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002FSKILL.md",true,[44,50,54,60,64,68,72,76,80,84,88,92,96],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"docs\u002FDETECTION-RULES.md","REFERENCE","参考文档",544,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fdocs\u002FDETECTION-RULES.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"docs\u002FUPGRADE-FROM-V1.md",386,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fdocs\u002FUPGRADE-FROM-V1.md",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"profile\u002FPowerShell-Profile-Snippet.ps1","SCRIPT","脚本",659,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fprofile\u002FPowerShell-Profile-Snippet.ps1",{"path":61,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":62,"sourceHtmlUrl":63},"README.md",1789,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002FREADME.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fstart_local_site.py",1575,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fscripts\u002Fstart_local_site.py",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fstart-local-site.cmd",294,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fscripts\u002Fstart-local-site.cmd",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fstart-local-site.sh",739,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fscripts\u002Fstart-local-site.sh",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002FStart-LocalSite.ps1",12372,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fscripts\u002FStart-LocalSite.ps1",{"path":81,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002FStart-LocalSite.ps1.backup-20260906-025129",9767,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fscripts\u002FStart-LocalSite.ps1.backup-20260906-025129",{"path":85,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002FStart-LocalSite.ps1.backup-before-direct-node-20260906-025941",11551,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fscripts\u002FStart-LocalSite.ps1.backup-before-direct-node-20260906-025941",{"path":89,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002FStart-LocalSite.ps1.backup-node25-webstorage-20260910-235221",11460,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fscripts\u002FStart-LocalSite.ps1.backup-node25-webstorage-20260910-235221",{"path":93,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002FStart-LocalSite.ps1.backup-static-port-20260906-154603",11424,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002Fscripts\u002FStart-LocalSite.ps1.backup-static-port-20260906-154603",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"VERSION","OTHER","其他",6,"https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-LocalSite\u002FVERSION",[103,109,115,121,127,133],{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7CGF6NFHKMV9C81PKD1EYVZ","Test-SiteRoutes","https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FTest-SiteRoutes\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M7CGF5GWJ0TVNNK5S55P4RRP","Test-Project","https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FTest-Project\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7CGF346VC3BMTMR95J6KT1K","Start-Project","https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FStart-Project\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M7CGEWQBVCGMNVS83DF5E1FN","Search-MyStack","https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FSearch-MyStack\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M7CGERH06RK9X0CQNYCECGVZ","Open-VercelProject","https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FOpen-VercelProject\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":19},"01M7CGENXEYWQ7ZSSFYD28S591","Open-ProjectStack","https:\u002F\u002Fgithub.com\u002FJFeimster\u002Fpowershell-ops-toolkit\u002Fblob\u002Fmain\u002Ftools\u002FOpen-ProjectStack\u002FSKILL.md",[],[]]