[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M799R2CY8MJ3FJVKXKN4A8NM":3,"skill-same:01M799R2CY8MJ3FJVKXKN4A8NM":79},{"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":33,"commitSha":34,"skillDirectory":35,"forksCount":14,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M799R2CY8MJ3FJVKXKN4A8NM","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.","Elogic360\u002Fsoftware-factory","Elogic360","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F156535519?v=4","01M74NH3F0RB13PWB7JZDE2V80","elogic360","01M74NH3FPC65082MDZVMFHDM3",0,"MIT","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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":15,"metadata":24,"description":7},{"role":25,"scope":26,"author":27,"domain":28,"version":29,"triggers":30,"output-format":31,"related-skills":32},"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","main","c475fc64e94e803b50d14a791dfee8853fbb2c5c","integrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory","https:\u002F\u002Fgithub.com\u002FElogic360","2026-11-08 22:21:22",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add Elogic360\u002Fsoftware-factory --skill prompt-engineer",{"tool":45,"command":46},"bunx","bunx skills add Elogic360\u002Fsoftware-factory --skill prompt-engineer",{"tool":48,"command":49},"pnpm","pnpm dlx skills add Elogic360\u002Fsoftware-factory --skill prompt-engineer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer\u002FSKILL.md",true,[53,59,63,67,71,75],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fcontext-management.md","REFERENCE","参考文档",7570,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer\u002Freferences\u002Fcontext-management.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fevaluation-frameworks.md",23737,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer\u002Freferences\u002Fevaluation-frameworks.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fprompt-optimization.md",17619,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer\u002Freferences\u002Fprompt-optimization.md",{"path":68,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fprompt-patterns.md",16180,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer\u002Freferences\u002Fprompt-patterns.md",{"path":72,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fstructured-outputs.md",19093,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer\u002Freferences\u002Fstructured-outputs.md",{"path":76,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fsystem-prompts.md",18970,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-jeffallan\u002Fskills\u002Fprompt-engineer\u002Freferences\u002Fsystem-prompts.md",[80,88,95,102,109,116],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79G206MT3J6S0GY3C45P2KV","vss-summarize-video","Use to summarize a recorded video via the LVS summarization microservice (HITL-gated) with a VLM fallback. Not for report generation or live RTSP captioning.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-summarize-video\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M79G1WN63PGRE8CKD47WEBQ5","vss-setup-video-analytics-api","Use to deploy the vss-video-analytics-api REST service standalone (config-source, data-log bind, Elasticsearch, optional Kafka). Not for full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-video-analytics-api\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M79G1S9F7VY3EF6H53PRP5AN","vss-setup-behavior-analytics","Use to deploy the vss-behavior-analytics service standalone (entrypoint, config-source, optional calibration). Not for the full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-behavior-analytics\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M79G1N1S1Y27PFZPYMNK1MTQ","vss-search-archive","Use this skill to run top-level VSS fusion search on archived video, or to ingest video files \u002F RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-search-archive\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M79G1H6WN0Q6C0VCAXCZX6B7","vss-query-analytics","Use this skill when reading video-analytics metrics, incidents, alerts, and sensor data via the VA-MCP server (port 9901). Not for live VLM or incident-range narrative reports.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-query-analytics\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M79G1DYPNXQS7QHZ0AAF5FX5","vss-manage-video-io-storage","Use to call the VIOS REST API (sensor list, timelines, clip extraction, snapshots, add\u002Fdelete sensors and streams). Not for VLM inference or search.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-manage-video-io-storage\u002FSKILL.md",[],[]]