[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73B9FGYB3FXVH21E07DAVTY":3,"skill-same:01M73B9FGYB3FXVH21E07DAVTY":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M73B9FGYB3FXVH21E07DAVTY","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.","roohe\u002Fagentic-super-skills","roohe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99054084?v=4","01M734WCDFP6RZVT5CNM00QR26","01M734WCE4BD0T4NZS5PCV9V5F",10,"MIT","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fprompt-engineer\u002FSKILL.md",[],[],"2026-11-11 15:11:14",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.2.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, context management, lost-in-the-middle, context degradation, token optimization, attention budget\n  role: expert\n  scope: design\n  output-format: document\n  related-skills: test-master, rag-architect, debugging-wizard\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, injection defense |\n| Context Management | `references\u002Fcontext-management.md` | Attention budget, degradation patterns, context optimization |\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), context management (attention budgets, degradation mitigation, optimization), and model-specific guidance for GPT-4, Claude, and Gemini families. Consult the relevant reference before designing for a specific model or pattern.\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fdata-ml\u002Fprompt-engineer\u002F)\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, injection defense |\n| Context Management | `references\u002Fcontext-management.md` | Attention budget, degradation patterns, context optimization |\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), context management (attention budgets, degradation mitigation, optimization), and model-specific guidance for GPT-4, Claude, and Gemini families. Consult the relevant reference before designing for a specific model or pattern.\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fdata-ml\u002Fprompt-engineer\u002F)\n",{"name":5,"license":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"expert","design","https:\u002F\u002Fgithub.com\u002FJeffallan","data-ml","1.2.0","prompt engineering, prompt optimization, chain-of-thought, few-shot learning, prompt testing, LLM prompts, prompt evaluation, system prompts, structured outputs, prompt design, context management, lost-in-the-middle, context degradation, token optimization, attention budget","document","test-master, rag-architect, debugging-wizard","master","f483e54f3ad5f202a77d45f2e57f8d970b71195f","skills_library\u002Fprompt-engineer",2,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills","https:\u002F\u002Fgithub.com\u002Froohe","yoou.link","2026-05-19 15:56:07",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add roohe\u002Fagentic-super-skills --skill prompt-engineer",{"tool":46,"command":47},"bunx","bunx skills add roohe\u002Fagentic-super-skills --skill prompt-engineer",{"tool":49,"command":50},"pnpm","pnpm dlx skills add roohe\u002Fagentic-super-skills --skill prompt-engineer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fprompt-engineer\u002FSKILL.md",true,[54,60,64,68,72,76],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcontext-management.md","REFERENCE","参考文档",7570,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fprompt-engineer\u002Freferences\u002Fcontext-management.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fevaluation-frameworks.md",23737,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fprompt-engineer\u002Freferences\u002Fevaluation-frameworks.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fprompt-optimization.md",17619,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fprompt-engineer\u002Freferences\u002Fprompt-optimization.md",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fprompt-patterns.md",16180,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fprompt-engineer\u002Freferences\u002Fprompt-patterns.md",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fstructured-outputs.md",19093,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fprompt-engineer\u002Freferences\u002Fstructured-outputs.md",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fsystem-prompts.md",18970,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fprompt-engineer\u002Freferences\u002Fsystem-prompts.md",[81,88,95,102,109,116],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M73D865CZME2FCMKA4PQM348","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M73D7Z64J4ABWZJD7P44XBBF","youtube-downloader","Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M73D7K8778TGZV3GJFR3703D","yc-pitch-deck","Create a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founders funded. Use when: **Fundraising** to create investor pitch decks; **YC application** to structure your narrative; **Demo Day prep** to craft your 2-minute pitch; **Angel investors** to communicate your opportunity; **Partnership pitches** to structure compelling asks","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyc-pitch-deck\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":18},"01M73D70KJSE0E8Z28YMNNRT04","x-twitter-scraper","Use when the user needs X (Twitter) data or confirmation-gated X actions through Xquik: tweet search, user lookup, follower extraction, media download, monitoring, webhooks, MCP, SDKs, posting, likes, DMs, and profile updates. Requires a Xquik API key. Never ask for X login material.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fx-twitter-scraper\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":18},"01M73D6ED01GV077R7K4NZNFZJ","write-vignette","Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-vignette\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":18},"01M73D69YJR0BK3NFHE0CYG3EF","write-validation-documentation","Write IQ\u002FOQ\u002FPQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-validation-documentation\u002FSKILL.md",[],[]]