[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KDXKAYN8AZTP1YH66J21R1":3,"skill-same:01M6KDXKAYN8AZTP1YH66J21R1":65},{"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":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6KDXKAYN8AZTP1YH66J21R1","resource-budget",null,"核对资源分配、保留量与剩余额度。","nocoo\u002Ffrogie","nocoo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F869475?v=4","01M6KDX3PDH24SCJ9GERAFNJ6Z","Zheng Li","01M6KDX3TDX6WKJ25D1KYXE0WM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Fsquads\u002Fzeppelin\u002Fskills\u002Fresource-budget\u002FSKILL.md",[],[19,20,21,22,23,24],"Budget","resource budget","safe","calculate","node","scripts","2026-11-10 10:12:30",false,"---\nname: resource-budget\ndescription: 核对资源分配、保留量与剩余额度。\nfrogie:\n  scripts:\n    - id: calculate\n      entry: scripts\u002Fcalculate.mjs\n      runtime: node\n      replay: safe\n---\n\n## 适用情形\n工程或补给需要核对候选方案的资源额度。\n\n## 输入与输出\n输入仅包含非空 budgets 数组。每项预算仅包含 id、available、reserve、allocations；每项分配仅包含 id、amount。allocations 允许为空。预算 ID 在请求内唯一，分配 ID 在所属预算内唯一，均使用 `^[a-z][a-z0-9-]*$`。\n\navailable、reserve 和 amount 为有限非负数；需求求和与 remaining 必须有限，remaining 可以为负。一个预算内使用同一单位，由输入资料标明。\n\n输出仅包含 budgets，按输入顺序返回每项的 id、demand、remaining、withinBudget，保留原始计算精度。\n\n## 操作步骤\n读取授权的资源材料，组织预算与分配。通过 run_script 请求 resource-budget\u002Fcalculate，入口为 scripts\u002Fcalculate.mjs。宿主将 JSON 输入写入标准输入，取得标准输出的单份 JSON 结果；成功要求退出码为零和输出有效。\n\n计算需求总和 demand，再计算 remaining = available - reserve - demand，按 remaining >= 0 得到 withinBudget。无效输入以非零退出码和有界标准错误诊断返回。\n\n结合资料判断分配是否合理及需求优先级，预算结果本身不代替资源决策。将结果与依据交给宿主保存为产物。\n","## 适用情形\n工程或补给需要核对候选方案的资源额度。\n\n## 输入与输出\n输入仅包含非空 budgets 数组。每项预算仅包含 id、available、reserve、allocations；每项分配仅包含 id、amount。allocations 允许为空。预算 ID 在请求内唯一，分配 ID 在所属预算内唯一，均使用 `^[a-z][a-z0-9-]*$`。\n\navailable、reserve 和 amount 为有限非负数；需求求和与 remaining 必须有限，remaining 可以为负。一个预算内使用同一单位，由输入资料标明。\n\n输出仅包含 budgets，按输入顺序返回每项的 id、demand、remaining、withinBudget，保留原始计算精度。\n\n## 操作步骤\n读取授权的资源材料，组织预算与分配。通过 run_script 请求 resource-budget\u002Fcalculate，入口为 scripts\u002Fcalculate.mjs。宿主将 JSON 输入写入标准输入，取得标准输出的单份 JSON 结果；成功要求退出码为零和输出有效。\n\n计算需求总和 demand，再计算 remaining = available - reserve - demand，按 remaining >= 0 得到 withinBudget。无效输入以非零退出码和有界标准错误诊断返回。\n\n结合资料判断分配是否合理及需求优先级，预算结果本身不代替资源决策。将结果与依据交给宿主保存为产物。\n",{"name":5,"frogie":30,"description":7},{"scripts":31},[32],{"id":22,"entry":33,"replay":21,"runtime":23},"scripts\u002Fcalculate.mjs","main","614578fb3665cb9ce374118bf5f16230d0493525","squads\u002Fzeppelin\u002Fskills\u002Fresource-budget","https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie","https:\u002F\u002Fgithub.com\u002Fnocoo","https:\u002F\u002Flizheng.me","Principal Software Engineering Manager @ Microsoft","2026-11-10 22:26:26",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add nocoo\u002Ffrogie --skill resource-budget",{"tool":48,"command":49},"bunx","bunx skills add nocoo\u002Ffrogie --skill resource-budget",{"tool":51,"command":52},"pnpm","pnpm dlx skills add nocoo\u002Ffrogie --skill resource-budget","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Fsquads\u002Fzeppelin\u002Fskills\u002Fresource-budget\u002FSKILL.md",true,[56,62],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fcalculate.d.mts","SCRIPT","脚本",274,"https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Fsquads\u002Fzeppelin\u002Fskills\u002Fresource-budget\u002Fscripts\u002Fcalculate.d.mts",{"path":33,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":63,"sourceHtmlUrl":64},1999,"https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Fsquads\u002Fzeppelin\u002Fskills\u002Fresource-budget\u002Fscripts\u002Fcalculate.mjs",[66,78,87,97,106],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":25},"01M6KDXQ27806XNX8ZMAP36H9W","planning","Plan and review work from supplied evidence.","https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fminimal-squad\u002Fskills\u002Fplanning\u002FSKILL.md",[],[68,73,74,75,76,77],"review","plan","work","evidence","review work",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":25},"01M6KDXFVACJ1618JWH6GJP90C","mission-planning","依据路线与威胁资料，形成航程、时机、护航及行动顺序建议。","https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Fsquads\u002Fzeppelin\u002Fskills\u002Fmission-planning\u002FSKILL.md",[],[85,86,68],"mission planning","mission",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":25},"01M6KDXD8BDGVR4HFKADV9HFN2","fleet-command","明确舰队目标，协调角色分工与冲突，汇总可执行方案。","https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Fsquads\u002Fzeppelin\u002Fskills\u002Ffleet-command\u002FSKILL.md",[],[94,95,96],"fleet command","fleet","command",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":25},"01M6KDXAKE0M7P9E8HVGKKRCXC","crew-care","协调人员照护、居住与生活安排，汇总资源保留需求。","https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Fsquads\u002Fzeppelin\u002Fskills\u002Fcrew-care\u002FSKILL.md",[],[104,105],"crew care","crew",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":25},"01M6KDX8CQE8Y294DQHSCJ6Y54","prompt-catalog","his.fm 原始阶段、运行与语音提示词资源。","https:\u002F\u002Fgithub.com\u002Fnocoo\u002Ffrogie\u002Fblob\u002Fmain\u002Fsquads\u002Fhisfm\u002Fskills\u002Fprompt-catalog\u002FSKILL.md",[],[113,114,115],"catalog","prompt catalog","prompt"]