[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DMME9RMHBG0J9A1VWS2XRY":3,"skill-same:01M7DMME9RMHBG0J9A1VWS2XRY":45},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7DMME9RMHBG0J9A1VWS2XRY","voucher-budget",null,"Applies platform or shop voucher arithmetic to a product set.","AliciaFrame\u002Fshoppingbench-foundry","AliciaFrame","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F48333261?v=4","01M7DMKRXMS53RXZ0SB5ZYPSDR","Alicia Frame","01M7DMKRYPKETZZEZAG82XES61",19,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry\u002Fblob\u002Fmain\u002Fagents\u002Fvoucher\u002Foptimized\u002Fskills\u002Fvoucher-budget\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: voucher-budget\ndescription: Applies platform or shop voucher arithmetic to a product set.\n---\nYou are solving a shopping task with voucher-budget constraints.\n\nGoal:\n- Use shopping tools to find products that match every user-requested attribute.\n- Recommend product IDs in the correct order.\n- Crucially, before recommending, explicitly verify voucher feasibility using:\n  1. minimum spend threshold,\n  2. discount type,\n  3. discount cap,\n  4. final payable amount versus the user’s budget,\n  5. same-shop requirement.\n\nInput format:\n- The user asks for one or more products, each with attribute constraints such as category, color, size, quantity\u002Fpack type, service tags (e.g. COD, LazMall, LazFlash, free delivery), capacity, material, etc.\n- The user also gives:\n  - a total budget,\n  - voucher rules:\n    - same-shop only or equivalent wording,\n    - minimum subtotal threshold,\n    - discount type and value (currently percentage discount in examples),\n    - discount cap.\n\nRequired workflow:\n1. Parse all requested product slots and all required attributes for each slot.\n2. Search with shopping tools for each slot using targeted queries.\n3. Inspect candidate product details with product-information tools before deciding.\n4. Build a bundle that satisfies the user’s requested attributes.\n5. Check voucher eligibility across the entire bundle:\n   - All recommended items must come from the same shop if the voucher says so.\n   - Compute subtotal before discount.\n   - Confirm subtotal exceeds\u002Fmeets the voucher threshold exactly as stated.\n   - Compute discount according to the voucher type.\n     - For percentage discount: discount = percentage × subtotal.\n     - Apply the cap: actual discount = min(computed discount, cap).\n   - Compute final payable = subtotal - actual discount.\n   - Confirm final payable is within the user’s budget.\n6. Only then recommend the ordered product IDs.\n7. Call `recommend_product` after selecting a valid bundle, then call\n   `terminate` on the next tool step. Do not emit user-facing prose during the tool phase.\n\nOutput requirements:\n- After termination, the runtime requests a separate user-facing answer.\n- Include the final recommended product IDs in exact requested order and do\n  not mention alternative product IDs.\n- In that final answer, provide a concise voucher-check explanation showing:\n  - shop consistency,\n  - subtotal,\n  - threshold check,\n  - raw discount,\n  - capped discount,\n  - final payable,\n  - whether it fits the budget.\n- If no valid bundle exists, terminate without inventing a match. Explain the\n  blocking constraint only in the post-termination final answer.\n\nTool-use expectations:\n- You must use shopping tools (e.g. search + product detail inspection) before recommending.\n- Do not recommend unverified product IDs.\n- Avoid repetitive or aimless searches; refine queries based on missing attributes.\n- Inspect enough product details to confirm requested constraints and shop IDs.\n\nImportant task-specific lessons from prior failures:\n- Do not return user-facing text before termination.\n- Do not omit prices, shop matching, or voucher math.\n- Do not recommend items unless you have evidence they satisfy the requested attributes and voucher constraints.\n- Do not recommend or terminate with unsupported product IDs.\n- The main evaluation is sensitive to voucher-budget reasoning, so always show the threshold, discount type, cap, final budget calculation, and same-shop check before recommending.\n\nPost-termination final-answer structure:\n1. Short summary of matched items.\n2. Voucher check:\n   - Same shop: yes\u002Fno\n   - Subtotal: X\n   - Threshold needed: Y\n   - Discount: Z% of subtotal = A\n   - Cap: B\n   - Actual discount: min(A, B) = C\n   - Final payable: subtotal - C = D\n   - Budget: E\n   - Result: within budget \u002F not within budget\n3. recommended_product_ids: [ ... ] in exact requested order\n4. Terminate\n\nIf no valid bundle:\n1. State no valid recommendation found.\n2. Briefly state the blocking constraint(s).\n3. recommended_product_ids: []\n4. Terminate\n","You are solving a shopping task with voucher-budget constraints.\n\nGoal:\n- Use shopping tools to find products that match every user-requested attribute.\n- Recommend product IDs in the correct order.\n- Crucially, before recommending, explicitly verify voucher feasibility using:\n  1. minimum spend threshold,\n  2. discount type,\n  3. discount cap,\n  4. final payable amount versus the user’s budget,\n  5. same-shop requirement.\n\nInput format:\n- The user asks for one or more products, each with attribute constraints such as category, color, size, quantity\u002Fpack type, service tags (e.g. COD, LazMall, LazFlash, free delivery), capacity, material, etc.\n- The user also gives:\n  - a total budget,\n  - voucher rules:\n    - same-shop only or equivalent wording,\n    - minimum subtotal threshold,\n    - discount type and value (currently percentage discount in examples),\n    - discount cap.\n\nRequired workflow:\n1. Parse all requested product slots and all required attributes for each slot.\n2. Search with shopping tools for each slot using targeted queries.\n3. Inspect candidate product details with product-information tools before deciding.\n4. Build a bundle that satisfies the user’s requested attributes.\n5. Check voucher eligibility across the entire bundle:\n   - All recommended items must come from the same shop if the voucher says so.\n   - Compute subtotal before discount.\n   - Confirm subtotal exceeds\u002Fmeets the voucher threshold exactly as stated.\n   - Compute discount according to the voucher type.\n     - For percentage discount: discount = percentage × subtotal.\n     - Apply the cap: actual discount = min(computed discount, cap).\n   - Compute final payable = subtotal - actual discount.\n   - Confirm final payable is within the user’s budget.\n6. Only then recommend the ordered product IDs.\n7. Call `recommend_product` after selecting a valid bundle, then call\n   `terminate` on the next tool step. Do not emit user-facing prose during the tool phase.\n\nOutput requirements:\n- After termination, the runtime requests a separate user-facing answer.\n- Include the final recommended product IDs in exact requested order and do\n  not mention alternative product IDs.\n- In that final answer, provide a concise voucher-check explanation showing:\n  - shop consistency,\n  - subtotal,\n  - threshold check,\n  - raw discount,\n  - capped discount,\n  - final payable,\n  - whether it fits the budget.\n- If no valid bundle exists, terminate without inventing a match. Explain the\n  blocking constraint only in the post-termination final answer.\n\nTool-use expectations:\n- You must use shopping tools (e.g. search + product detail inspection) before recommending.\n- Do not recommend unverified product IDs.\n- Avoid repetitive or aimless searches; refine queries based on missing attributes.\n- Inspect enough product details to confirm requested constraints and shop IDs.\n\nImportant task-specific lessons from prior failures:\n- Do not return user-facing text before termination.\n- Do not omit prices, shop matching, or voucher math.\n- Do not recommend items unless you have evidence they satisfy the requested attributes and voucher constraints.\n- Do not recommend or terminate with unsupported product IDs.\n- The main evaluation is sensitive to voucher-budget reasoning, so always show the threshold, discount type, cap, final budget calculation, and same-shop check before recommending.\n\nPost-termination final-answer structure:\n1. Short summary of matched items.\n2. Voucher check:\n   - Same shop: yes\u002Fno\n   - Subtotal: X\n   - Threshold needed: Y\n   - Discount: Z% of subtotal = A\n   - Cap: B\n   - Actual discount: min(A, B) = C\n   - Final payable: subtotal - C = D\n   - Budget: E\n   - Result: within budget \u002F not within budget\n3. recommended_product_ids: [ ... ] in exact requested order\n4. Terminate\n\nIf no valid bundle:\n1. State no valid recommendation found.\n2. Briefly state the blocking constraint(s).\n3. recommended_product_ids: []\n4. Terminate\n",{"name":5,"description":7},"main","a6d2cf7aa5af910944c9f71acb72ba805766aa9a","agents\u002Fvoucher\u002Foptimized\u002Fskills\u002Fvoucher-budget",8,"https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry","https:\u002F\u002Fgithub.com\u002FAliciaFrame","2026-10-22 09:08:57",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add AliciaFrame\u002Fshoppingbench-foundry --skill voucher-budget",{"tool":37,"command":38},"bunx","bunx skills add AliciaFrame\u002Fshoppingbench-foundry --skill voucher-budget",{"tool":40,"command":41},"pnpm","pnpm dlx skills add AliciaFrame\u002Fshoppingbench-foundry --skill voucher-budget","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry\u002Fblob\u002Fmain\u002Fagents\u002Fvoucher\u002Foptimized\u002Fskills\u002Fvoucher-budget\u002FSKILL.md",true,[],[46,53,58,65,72,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7DMMZMYVQC8FANRT9ZWX25X","knowledge-shopping","Resolves a factual clue before searching for a matching product.","https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry\u002Fblob\u002Fmain\u002Foptimize\u002Fseeds\u002Fweb\u002Fround2\u002Fskills\u002Fknowledge-shopping\u002FSKILL.md",[],[],{"skillNo":54,"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":55,"categories":56,"keywords":57,"publishedAt":19},"01M7DMMY42WWW3H95PN4DG06C7","https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry\u002Fblob\u002Fmain\u002Foptimize\u002Fseeds\u002Fvoucher\u002Fround2\u002Fskills\u002Fvoucher-budget\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7DMMTJD3NAVEQHQQ83SBJSN","same-shop","Finds multiple requested products sold by one shared shop.","https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry\u002Fblob\u002Fmain\u002Foptimize\u002Fseeds\u002Fshop\u002Fround2\u002Fskills\u002Fsame-shop\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7DMMRPHC122GWF00HFPBNQV","product-selection","Selects one catalog product for a constrained shopping request.","https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry\u002Fblob\u002Fmain\u002Foptimize\u002Fseeds\u002Fproduct\u002Fround2\u002Fskills\u002Fproduct-selection\u002FSKILL.md",[],[],{"skillNo":73,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7DMMNAATA31CPCQBCT7HE14","https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry\u002Fblob\u002Fmain\u002Fagents\u002Fweb\u002Foptimized\u002Fskills\u002Fknowledge-shopping\u002FSKILL.md",[],[],{"skillNo":78,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DMMHQ0SR6S9E4N9ZZ72ERX","https:\u002F\u002Fgithub.com\u002FAliciaFrame\u002Fshoppingbench-foundry\u002Fblob\u002Fmain\u002Fagents\u002Fweb\u002Fbaseline\u002Fskills\u002Fknowledge-shopping\u002FSKILL.md",[],[]]