[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CYW335YD7E36KSW0R5N5TH":3,"skill-same:01M6CYW335YD7E36KSW0R5N5TH":97},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6CYW335YD7E36KSW0R5N5TH","prompt-engineer",null,"Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot learning, creating system prompts with personas and guardrails, building JSON\u002Ffunction-calling schemas, or developing prompt evaluation frameworks to measure and improve model performance.","eric861129\u002FSKILLS_All-in-one","eric861129","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F74950944?v=4","01M6CXHDYEYRPFGGV4EFXCSYCF","ChiYu-Huang","01M6CXHE2J5CN1EBTY0FKV3ZKW",52,"MIT","https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FUtility & Automation\u002Fprompt-engineer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"prompt engineer","engineer","prompt","refactoring","token","efficiency","frameworks","personas","expert","master","model","testing","improve","Guardrails","data","Evaluation","Optimization","performance","llms","design","2026-11-10 10:12:30",false,"---\nname: prompt-engineer\ndescription: Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot learning, creating system prompts with personas and guardrails, building JSON\u002Ffunction-calling schemas, or developing prompt evaluation frameworks to measure and improve model performance.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: data-ml\n  triggers: prompt engineering, prompt optimization, chain-of-thought, few-shot learning, prompt testing, LLM prompts, prompt evaluation, system prompts, structured outputs, prompt design\n  role: expert\n  scope: design\n  output-format: document\n  related-skills: test-master\n---\n\n# Prompt Engineer\n\nExpert prompt engineer specializing in designing, optimizing, and evaluating prompts that maximize LLM performance across diverse use cases.\n\n## When to Use This Skill\n\n- Designing prompts for new LLM applications\n- Optimizing existing prompts for better accuracy or efficiency\n- Implementing chain-of-thought or few-shot learning\n- Creating system prompts with personas and guardrails\n- Building structured output schemas (JSON mode, function calling)\n- Developing prompt evaluation and testing frameworks\n- Debugging inconsistent or poor-quality LLM outputs\n- Migrating prompts between different models or providers\n\n## Core Workflow\n\n1. **Understand requirements** — Define task, success criteria, constraints, and edge cases\n2. **Design initial prompt** — Choose pattern (zero-shot, few-shot, CoT), write clear instructions\n3. **Test and evaluate** — Run diverse test cases, measure quality metrics\n   - **Validation checkpoint:** If accuracy \u003C 80% on the test set, identify failure patterns before iterating (e.g., ambiguous instructions, missing examples, edge case gaps)\n4. **Iterate and optimize** — Make one change at a time; refine based on failures, reduce tokens, improve reliability\n5. **Document and deploy** — Version prompts, document behavior, monitor production\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Prompt Patterns | `references\u002Fprompt-patterns.md` | Zero-shot, few-shot, chain-of-thought, ReAct |\n| Optimization | `references\u002Fprompt-optimization.md` | Iterative refinement, A\u002FB testing, token reduction |\n| Evaluation | `references\u002Fevaluation-frameworks.md` | Metrics, test suites, automated evaluation |\n| Structured Outputs | `references\u002Fstructured-outputs.md` | JSON mode, function calling, schema design |\n| System Prompts | `references\u002Fsystem-prompts.md` | Persona design, guardrails, context management |\n\n## Prompt Examples\n\n### Zero-shot vs. Few-shot\n\n**Zero-shot (baseline):**\n```\nClassify the sentiment of the following review as Positive, Negative, or Neutral.\n\nReview: {{review}}\nSentiment:\n```\n\n**Few-shot (improved reliability):**\n```\nClassify the sentiment of the following review as Positive, Negative, or Neutral.\n\nReview: \"The battery life is incredible, lasts all day.\"\nSentiment: Positive\n\nReview: \"Stopped working after two weeks. Very disappointed.\"\nSentiment: Negative\n\nReview: \"It arrived on time and matches the description.\"\nSentiment: Neutral\n\nReview: {{review}}\nSentiment:\n```\n\n### Before\u002FAfter Optimization\n\n**Before (vague, inconsistent outputs):**\n```\nSummarize this document.\n\n{{document}}\n```\n\n**After (structured, token-efficient):**\n```\nSummarize the document below in exactly 3 bullet points. Each bullet must be one sentence and start with an action verb. Do not include opinions or information not present in the document.\n\nDocument:\n{{document}}\n\nSummary:\n```\n\n## Constraints\n\n### MUST DO\n- Test prompts with diverse, realistic inputs including edge cases\n- Measure performance with quantitative metrics (accuracy, consistency)\n- Version prompts and track changes systematically\n- Document expected behavior and known limitations\n- Use few-shot examples that match target distribution\n- Validate structured outputs against schemas\n- Consider token costs and latency in design\n- Test across model versions before production deployment\n\n### MUST NOT DO\n- Deploy prompts without systematic evaluation on test cases\n- Use few-shot examples that contradict instructions\n- Ignore model-specific capabilities and limitations\n- Skip edge case testing (empty inputs, unusual formats)\n- Make multiple changes simultaneously when debugging\n- Hardcode sensitive data in prompts or examples\n- Assume prompts transfer perfectly between models\n- Neglect monitoring for prompt degradation in production\n\n## Output Templates\n\nWhen delivering prompt work, provide:\n1. Final prompt with clear sections (role, task, constraints, format)\n2. Test cases and evaluation results\n3. Usage instructions (temperature, max tokens, model version)\n4. Performance metrics and comparison with baselines\n5. Known limitations and edge cases\n\n## Coverage Note\n\nReference files cover major prompting techniques (zero-shot, few-shot, CoT, ReAct, tree-of-thoughts), structured output patterns (JSON mode, function calling), and model-specific guidance for GPT-4, Claude, and Gemini families. Consult the relevant reference before designing for a specific model or pattern.\n","# Prompt Engineer\n\nExpert prompt engineer specializing in designing, optimizing, and evaluating prompts that maximize LLM performance across diverse use cases.\n\n## When to Use This Skill\n\n- Designing prompts for new LLM applications\n- Optimizing existing prompts for better accuracy or efficiency\n- Implementing chain-of-thought or few-shot learning\n- Creating system prompts with personas and guardrails\n- Building structured output schemas (JSON mode, function calling)\n- Developing prompt evaluation and testing frameworks\n- Debugging inconsistent or poor-quality LLM outputs\n- Migrating prompts between different models or providers\n\n## Core Workflow\n\n1. **Understand requirements** — Define task, success criteria, constraints, and edge cases\n2. **Design initial prompt** — Choose pattern (zero-shot, few-shot, CoT), write clear instructions\n3. **Test and evaluate** — Run diverse test cases, measure quality metrics\n   - **Validation checkpoint:** If accuracy \u003C 80% on the test set, identify failure patterns before iterating (e.g., ambiguous instructions, missing examples, edge case gaps)\n4. **Iterate and optimize** — Make one change at a time; refine based on failures, reduce tokens, improve reliability\n5. **Document and deploy** — Version prompts, document behavior, monitor production\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Prompt Patterns | `references\u002Fprompt-patterns.md` | Zero-shot, few-shot, chain-of-thought, ReAct |\n| Optimization | `references\u002Fprompt-optimization.md` | Iterative refinement, A\u002FB testing, token reduction |\n| Evaluation | `references\u002Fevaluation-frameworks.md` | Metrics, test suites, automated evaluation |\n| Structured Outputs | `references\u002Fstructured-outputs.md` | JSON mode, function calling, schema design |\n| System Prompts | `references\u002Fsystem-prompts.md` | Persona design, guardrails, context management |\n\n## Prompt Examples\n\n### Zero-shot vs. Few-shot\n\n**Zero-shot (baseline):**\n```\nClassify the sentiment of the following review as Positive, Negative, or Neutral.\n\nReview: {{review}}\nSentiment:\n```\n\n**Few-shot (improved reliability):**\n```\nClassify the sentiment of the following review as Positive, Negative, or Neutral.\n\nReview: \"The battery life is incredible, lasts all day.\"\nSentiment: Positive\n\nReview: \"Stopped working after two weeks. Very disappointed.\"\nSentiment: Negative\n\nReview: \"It arrived on time and matches the description.\"\nSentiment: Neutral\n\nReview: {{review}}\nSentiment:\n```\n\n### Before\u002FAfter Optimization\n\n**Before (vague, inconsistent outputs):**\n```\nSummarize this document.\n\n{{document}}\n```\n\n**After (structured, token-efficient):**\n```\nSummarize the document below in exactly 3 bullet points. Each bullet must be one sentence and start with an action verb. Do not include opinions or information not present in the document.\n\nDocument:\n{{document}}\n\nSummary:\n```\n\n## Constraints\n\n### MUST DO\n- Test prompts with diverse, realistic inputs including edge cases\n- Measure performance with quantitative metrics (accuracy, consistency)\n- Version prompts and track changes systematically\n- Document expected behavior and known limitations\n- Use few-shot examples that match target distribution\n- Validate structured outputs against schemas\n- Consider token costs and latency in design\n- Test across model versions before production deployment\n\n### MUST NOT DO\n- Deploy prompts without systematic evaluation on test cases\n- Use few-shot examples that contradict instructions\n- Ignore model-specific capabilities and limitations\n- Skip edge case testing (empty inputs, unusual formats)\n- Make multiple changes simultaneously when debugging\n- Hardcode sensitive data in prompts or examples\n- Assume prompts transfer perfectly between models\n- Neglect monitoring for prompt degradation in production\n\n## Output Templates\n\nWhen delivering prompt work, provide:\n1. Final prompt with clear sections (role, task, constraints, format)\n2. Test cases and evaluation results\n3. Usage instructions (temperature, max tokens, model version)\n4. Performance metrics and comparison with baselines\n5. Known limitations and edge cases\n\n## Coverage Note\n\nReference files cover major prompting techniques (zero-shot, few-shot, CoT, ReAct, tree-of-thoughts), structured output patterns (JSON mode, function calling), and model-specific guidance for GPT-4, Claude, and Gemini families. Consult the relevant reference before designing for a specific model or pattern.\n",{"name":5,"license":15,"metadata":44,"description":7},{"role":27,"scope":38,"author":45,"domain":46,"version":47,"triggers":48,"output-format":49,"related-skills":50},"https:\u002F\u002Fgithub.com\u002FJeffallan","data-ml","1.1.0","prompt engineering, prompt optimization, chain-of-thought, few-shot learning, prompt testing, LLM prompts, prompt evaluation, system prompts, structured outputs, prompt design","document","test-master","main","cbdd44aae21131521c09e42762e36178c790eacf","public\u002FSKILLS\u002FUtility & Automation\u002Fprompt-engineer",13,"https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one","http:\u002F\u002Fhuangchiyu.com\u002FSKILLS_All-in-one\u002F","https:\u002F\u002Fgithub.com\u002Feric861129","https:\u002F\u002Fhuangchiyu.com\u002FChiYu-Blog\u002F","開發工程師，專注於 C#／.NET 系統現代化、AI-assisted engineering、開源工具與技術寫作。","2026-04-16 14:28:14",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add eric861129\u002FSKILLS_All-in-one --skill prompt-engineer",{"tool":67,"command":68},"bunx","bunx skills add eric861129\u002FSKILLS_All-in-one --skill prompt-engineer",{"tool":70,"command":71},"pnpm","pnpm dlx skills add eric861129\u002FSKILLS_All-in-one --skill prompt-engineer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FUtility & Automation\u002Fprompt-engineer\u002FSKILL.md",true,[75,81,85,89,93],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fevaluation-frameworks.md","REFERENCE","参考文档",23737,"https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FUtility & Automation\u002Fprompt-engineer\u002Freferences\u002Fevaluation-frameworks.md",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fprompt-optimization.md",17619,"https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FUtility & Automation\u002Fprompt-engineer\u002Freferences\u002Fprompt-optimization.md",{"path":86,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fprompt-patterns.md",16180,"https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FUtility & Automation\u002Fprompt-engineer\u002Freferences\u002Fprompt-patterns.md",{"path":90,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fstructured-outputs.md",19093,"https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FUtility & Automation\u002Fprompt-engineer\u002Freferences\u002Fstructured-outputs.md",{"path":94,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fsystem-prompts.md",18970,"https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FUtility & Automation\u002Fprompt-engineer\u002Freferences\u002Fsystem-prompts.md",[98,125,146,169,191,209],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":39},"01M6CZ1WR3KNVTKSWH4GNWT646","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FWriting & Research\u002Fwhat-if-oracle\u002FSKILL.md",[],[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124],"oracle","what if oracle","go","run","planning","ux","futures","risk","analysis","explore","decision","branch","question","read","write","idea","exploration","options","stress-test","strategies",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":39},"01M6CZ1QHGJE91A95MSN5EK5Q9","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FWriting & Research\u002Fvenue-templates\u002FSKILL.md",[],[132,133,134,135,136,137,138,139,140,141,118,119,142,143,144,145],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","Bash","access","edit","proposals","Academic","requirements",{"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":39},"01M6CZ1KBQD2E5RTFB3BGVX7CD","the-fool","Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.","https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FWriting & Research\u002Fthe-fool\u002FSKILL.md",[],[153,154,107,155,156,108,157,158,159,160,161,162,163,164,143,165,166,27,167,168],"the fool","review","workflow","architecture","code","audit","forge","devil","team","designer","reviewer","challenge","stress test","evidence","poke","ideas",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":39},"01M6CZ1ES826S7P1X3333E40TA","scientific-writing","Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA\u002FAMA\u002FVancouver), figures\u002Ftables, reporting guidelines (CONSORT\u002FSTROBE\u002FPRISMA), for research papers and journal submissions.","https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FWriting & Research\u002Fscientific-writing\u002FSKILL.md",[],[176,177,135,178,179,180,181,182,140,183,118,119,142,184,185,186,187,188,189,190],"writing","scientific writing","core","reporting","deep research","Citations","Outlines","tool","use","never","structure","deep","full","stage","prisma",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":39},"01M6CZ1B2JGJTB9FRD0TW4RXXE","scientific-brainstorming","Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.","https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FWriting & Research\u002Fscientific-brainstorming\u002FSKILL.md",[],[198,199,134,200,109,33,201,202,184,203,204,205,121,206,207,189,208],"brainstorming","scientific brainstorming","sessions","hypothesis","open","ideation","creative","do","connections","research ideation","generation",{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":39},"01M6CZ16JG8N7A2ZX04BGE8J2Y","research-lookup","Look up current research information using the Parallel Chat API (primary) or Perplexity sonar-pro-search (academic paper searches). Automatically routes queries to the best backend. Use for finding papers, gathering research data, and verifying scientific information.","https:\u002F\u002Fgithub.com\u002Feric861129\u002FSKILLS_All-in-one\u002Fblob\u002Fmain\u002Fpublic\u002FSKILLS\u002FWriting & Research\u002Fresearch-lookup\u002FSKILL.md",[],[134,216,217,218,33,219,220,140,221,222,118,119,142,184,223,224,225,226,227,144],"lookup","research lookup","search","perplexity","api","parallel","openrouter","backend","up","look","queries","chat"]