[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CHX4RDME6453Z8EKTC7H91":3,"skill-same:01M6CHX4RDME6453Z8EKTC7H91":73},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6CHX4RDME6453Z8EKTC7H91","prompt-optimizer",null,"Transforms vague or simple user prompts into high-quality, structured, and high-performance AI instructions using systematic optimization techniques like XML tagging, few-shot examples, and Chain-of-Thought. Use this skill when you need to improve the reliability, accuracy, or formatting of an AI's output.","Yukiniro\u002Fskills","Yukiniro","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21242087?v=4","01M6CHWDY0NKQKGFCYMGSCTQ2X","Zhanghao","01M6CHWE1Z4CEH54PB0XJESZ0Z",0,"MIT","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-optimizer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"prompt optimizer","prompt","performance","xml","examples","Optimization","improve","quality","instructions","user","use","reliability","prompts","simple","2026-11-10 10:12:30",false,"---\nname: prompt-optimizer\ndescription: Transforms vague or simple user prompts into high-quality, structured, and high-performance AI instructions using systematic optimization techniques like XML tagging, few-shot examples, and Chain-of-Thought. Use this skill when you need to improve the reliability, accuracy, or formatting of an AI's output.\n---\n\n# Prompt Optimizer\n\nThis skill enables agents to systematically optimize prompts based on the \"AI as a New Employee\" philosophy. It applies structural, contextual, and technical enhancements to ensure AI models perform tasks with maximum clarity and precision.\n\n## Instructions\n\n### 1. Analysis Phase\n\nBefore generating the optimized prompt, analyze the following in a `\u003Cthinking>` block:\n\n- **Core Objective**: What is the primary goal?\n- **Target Audience**: Who will consume the output?\n- **Professional Role**: What persona best fits this task?\n- **Complexity**: Does it require step-by-step reasoning (Chain-of-Thought)?\n- **Structure**: Which XML tags are needed to organize the components?\n\n### 2. Construction Phase\n\nBuild the optimized prompt using these mandatory components:\n\n- **`\u003Crole>`**: Define a specialized persona with relevant expertise.\n- **`\u003Ccontext>`**: Provide background information and the \"why\" behind the task.\n- **`\u003Ctask>`**: State the instructions clearly and concisely.\n- **`\u003Crequirements>`**: List specific success criteria and constraints.\n- **`\u003Coutput_format>`**: Define the expected structure (e.g., JSON, Markdown).\n\n### 3. Enhancement Phase\n\n- **XML Tagging**: Wrap different sections in clear XML tags for structural clarity.\n- **Few-shot Examples**: Include 2-3 high-quality `\u003Cexample>` blocks if the task is pattern-based.\n- **Chain-of-Thought**: For complex logic, instruct the AI to reason inside `\u003Cthinking>` tags.\n- **Response Prefilling**: If a strict format is required, provide the starting characters of the response.\n\n## Examples\n\n### Example 1: Simple to Structured\n\n**Input**: \"Write a product description for a smartwatch.\"\n**Optimized Output**:\n\n```markdown\n\u003Crole>\nSenior Marketing Copywriter specializing in wearable technology.\n\u003C\u002Frole>\n\n\u003Ccontext>\nWe are launching the 'Apex-1' smartwatch targeting fitness enthusiasts who value data accuracy and battery life.\n\u003C\u002Fcontext>\n\n\u003Ctask>\nWrite a compelling 200-word product description for the Apex-1 smartwatch.\n\u003C\u002Ftask>\n\n\u003Crequirements>\n1. Highlight the 14-day battery life and dual-band GPS.\n2. Use an energetic and professional tone.\n3. Include a clear Call to Action (CTA) at the end.\n\u003C\u002Frequirements>\n\n\u003Coutput_format>\nMarkdown with headers for 'Features', 'Benefits', and 'Specifications'.\n\u003C\u002Foutput_format>\n```\n\n## Reference\n\nFor deep dives into the underlying methodology, see [the systematic guide](references\u002FGUIDE.md).\n","# Prompt Optimizer\n\nThis skill enables agents to systematically optimize prompts based on the \"AI as a New Employee\" philosophy. It applies structural, contextual, and technical enhancements to ensure AI models perform tasks with maximum clarity and precision.\n\n## Instructions\n\n### 1. Analysis Phase\n\nBefore generating the optimized prompt, analyze the following in a `\u003Cthinking>` block:\n\n- **Core Objective**: What is the primary goal?\n- **Target Audience**: Who will consume the output?\n- **Professional Role**: What persona best fits this task?\n- **Complexity**: Does it require step-by-step reasoning (Chain-of-Thought)?\n- **Structure**: Which XML tags are needed to organize the components?\n\n### 2. Construction Phase\n\nBuild the optimized prompt using these mandatory components:\n\n- **`\u003Crole>`**: Define a specialized persona with relevant expertise.\n- **`\u003Ccontext>`**: Provide background information and the \"why\" behind the task.\n- **`\u003Ctask>`**: State the instructions clearly and concisely.\n- **`\u003Crequirements>`**: List specific success criteria and constraints.\n- **`\u003Coutput_format>`**: Define the expected structure (e.g., JSON, Markdown).\n\n### 3. Enhancement Phase\n\n- **XML Tagging**: Wrap different sections in clear XML tags for structural clarity.\n- **Few-shot Examples**: Include 2-3 high-quality `\u003Cexample>` blocks if the task is pattern-based.\n- **Chain-of-Thought**: For complex logic, instruct the AI to reason inside `\u003Cthinking>` tags.\n- **Response Prefilling**: If a strict format is required, provide the starting characters of the response.\n\n## Examples\n\n### Example 1: Simple to Structured\n\n**Input**: \"Write a product description for a smartwatch.\"\n**Optimized Output**:\n\n```markdown\n\u003Crole>\nSenior Marketing Copywriter specializing in wearable technology.\n\u003C\u002Frole>\n\n\u003Ccontext>\nWe are launching the 'Apex-1' smartwatch targeting fitness enthusiasts who value data accuracy and battery life.\n\u003C\u002Fcontext>\n\n\u003Ctask>\nWrite a compelling 200-word product description for the Apex-1 smartwatch.\n\u003C\u002Ftask>\n\n\u003Crequirements>\n1. Highlight the 14-day battery life and dual-band GPS.\n2. Use an energetic and professional tone.\n3. Include a clear Call to Action (CTA) at the end.\n\u003C\u002Frequirements>\n\n\u003Coutput_format>\nMarkdown with headers for 'Features', 'Benefits', and 'Specifications'.\n\u003C\u002Foutput_format>\n```\n\n## Reference\n\nFor deep dives into the underlying methodology, see [the systematic guide](references\u002FGUIDE.md).\n",{"name":5,"description":7},"main","bdc113818552fc6973af63a3890b61d9777b677d","skills\u002Fprompt-optimizer","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills","https:\u002F\u002Fskills.sh\u002Fyukiniro\u002Fskills","https:\u002F\u002Fgithub.com\u002FYukiniro","zhanghao.zone","Done is better than perfect.","2026-10-17 22:26:31",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add Yukiniro\u002Fskills --skill prompt-optimizer",{"tool":53,"command":54},"bunx","bunx skills add Yukiniro\u002Fskills --skill prompt-optimizer",{"tool":56,"command":57},"pnpm","pnpm dlx skills add Yukiniro\u002Fskills --skill prompt-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-optimizer\u002FSKILL.md",true,[61,67],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"LICENSE.txt","LICENSE","许可证",1066,"https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-optimizer\u002FLICENSE.txt",{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002FGUIDE.md","REFERENCE","参考文档",573,"https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-optimizer\u002Freferences\u002FGUIDE.md",[74,95,120,146,162,174],{"skillNo":75,"name":76,"nameZh":77,"description":78,"descriptionZh":79,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":92,"publishedAt":33},"01M6CHXN4VA42C1N988S7BWCMG","template-skill","技能开发模板","Replace with description of the skill and when to use it.","替换为该技能的描述及使用时机。","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Ftemplate\u002FSKILL.md",[82,87],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理","SCENARIO","使用场景",{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",[93,94,29],"template skill","template",{"skillNo":96,"name":97,"nameZh":98,"description":99,"descriptionZh":100,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":109,"publishedAt":33},"01M6CHXJMHXG22G9TQPPN498ZV","work-weekly-report","工作周报生成","Generate structured weekly work summaries from daily work logs. Use when: user provides daily work logs\u002Fnotes and asks to create a weekly report\u002Fsummary (周报\u002F周工作总结), or when user pastes fragmented daily entries and wants them consolidated into a categorized summary. Triggers on keywords: 周报, 周工作总结, weekly summary, weekly report, 工作日志整理, 每日日志汇总.","根据每日工作日志生成结构化的每周工作总结。使用时机：用户提供每日工作日志\u002F笔记并要求创建周报\u002F每周总结（周报\u002F周工作总结），或用户粘贴零散的每日记录并希望将其整理为分类汇总。触发关键词：周报、周工作总结、weekly summary、weekly report、工作日志整理、每日日志汇总。","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwork-weekly-report\u002FSKILL.md",[103,106],{"categoryNo":104,"categoryName":105,"taxonomyType":85,"taxonomyTypeDesc":86},"01M8BQGD3WKAZKP84N22M6Q0DM","办公管理与协作",{"categoryNo":107,"categoryName":108,"taxonomyType":90,"taxonomyTypeDesc":91},"01M8BS5011KJDVSRXG1DC4P666","普通用户",[110,111,112,113,114,115,116,117,28,29,118,119],"report","work","Weekly Report","work weekly report","create","notes","generate","logs","daily","summary",{"skillNo":121,"name":122,"nameZh":123,"description":124,"descriptionZh":125,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":134,"publishedAt":33},"01M6CHXFF4NJ91DZ197XD462N8","squash-commits","提交记录压缩合并","Squash all commits on the current branch (relative to the main branch) into a single commit while preserving the branch name. Use when: user wants to squash commits, clean up branch history, compress multiple commits into one, or tidy up before merging. Triggers on: squash commits, 压缩提交, 合并提交, clean up commits, compress commits, squash branch, 整理提交记录, 合并为一个提交. Make sure to use this skill whenever the user mentions squashing, compressing, or cleaning up commit history on a branch, even if they don't use the exact term \"squash\".","将当前分支上的所有提交（相对于主分支）压缩为单个提交，同时保留分支名称。使用时机：用户想要压缩提交、清理分支历史、将多个提交压缩为一个，或在合并前进行整理。触发词：squash commits、压缩提交、合并提交、clean up commits、compress commits、squash branch、整理提交记录、合并为一个提交。当用户提到压缩、合并或清理分支上的提交历史时，务必使用该技能，即使他们没有使用确切的术语“squash”。","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsquash-commits\u002FSKILL.md",[128,131],{"categoryNo":129,"categoryName":130,"taxonomyType":90,"taxonomyTypeDesc":91},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":132,"categoryName":133,"taxonomyType":85,"taxonomyTypeDesc":86},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[135,136,137,138,139,140,141,28,29,142,143,38,144,145],"commits","squash commits","squash","history","branch","compress","压缩","up","clean","tidy","commit",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":33},"01M6CHXCM56VNQFDYXZ8NQT3A9","smart-commit","Automated Git commit with Conventional Commits format. Analyzes staged changes, determines commit type and scope, detects description language from commit history (defaults to English), and generates a complete commit message. Use when the user says \"commit\", \"smart commit\", \"提交代码\", \"帮我提交\", or any variation of requesting a git commit with an auto-generated message.","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsmart-commit\u002FSKILL.md",[],[153,145,154,155,156,157,135,158,138,28,159,29,160,161],"smart commit","auto","git commit","git","commit message","format","generated","conventional commits","language",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":33},"01M6CHXAZNH6HMY4DW6663QJ25","setup-agents-md","创建、初始化或更新 AGENTS.md 通用工程原则文档时使用。触发词包括“创建 AGENTS.md”、“更新 AGENTS.md”、“初始化 AGENTS.md”、“setup AGENTS.md”、“create AGENTS.md”、“update AGENTS.md”。","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-agents-md\u002FSKILL.md",[],[169,170,171,172,114,173],"setup agents md","agents md","setup","文档","update",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":33},"01M6CHX7J863WH94J35ZVN8EMZ","resume-screener","Evaluate and grade resumes against job requirements using a 10-level grading system (C, B-, B, B+, A-, A, A+, S, SS, SSS). Provides multi-dimensional scoring with evidence-based reasoning and hiring recommendations. Use when screening candidates, comparing applicants, assessing resume-job fit, or filtering resumes. Supports Chinese and English resumes in any format (PDF, DOCX, text, image).","https:\u002F\u002Fgithub.com\u002FYukiniro\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fresume-screener\u002FSKILL.md",[],[181,182,183,184,185,186,187,158,188,189,29,190,191,192],"resume screener","resume","PDF","image","reasoning","Hiring","system","text","filtering","evidence","chinese","docx"]