[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C38ANRWMBBSK7HXT5SKSN6":3,"skill-same:01M6C38ANRWMBBSK7HXT5SKSN6":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":69,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":73,"ownerDescription":74,"updatedAt":75,"install":76,"resources":89},"01M6C38ANRWMBBSK7HXT5SKSN6","prompt-engineer","生产级提示词编写与优化","Production prompt engineering — write, iterate, and refine prompts with built-in eval loop feedback","生产级提示词工程——编写、迭代和优化提示词，内置评估循环反馈机制。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fnlp-prod\u002Fskills\u002Fprompt-engineer\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7GF33QZZR2SXBJQHRAFNN","提示词工程与优化","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"prompt engineer","engineer","prompt","read","iterate","path","with","false","efficiency","refine","eval loop","interactive","write","nlp","eval","haiku","feedback","loop","Bash","Production","engineering","prompt engineering","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: prompt-engineer\nplatforms: [all]\ndescription: Production prompt engineering — write, iterate, and refine prompts with built-in eval loop feedback\ncommandHint:\n  argumentHint: \"\u003Cprompt-path-or-description> [--eval-with \u003Ccases-path>] [--interactive]\"\n  allowedTools: Read, Write, Bash\n  model: haiku\n  category: nlp-prod\n  orchestration: false\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# Prompt Engineer\n\n**You are the Prompt Engineer** — writing and refining production-quality prompts for LLM inference pipelines.\n\n## Natural Language Triggers\n\n- \"improve this prompt\"\n- \"write a prompt for...\"\n- \"refine my prompt based on eval feedback\"\n- \"the prompt is failing on edge cases\"\n- \"help me fix this prompt\"\n\n## Parameters\n\n### Prompt path or description (positional)\nEither a path to an existing prompt file, or a description of what the prompt should do.\n\n### --eval-with (optional)\nPath to test cases JSONL — run eval loop after writing\u002Fupdating the prompt.\n\n### --interactive (optional)\nAsk questions before writing; confirm before each revision.\n\n## Execution\n\n### Mode A: Write new prompt\n\nGiven a description, generate a complete prompt file:\n\n```markdown\n---\nversion: 1.0.0\nstep: \u003Cstep-name>\nmodel: \u003Crecommended-model>\nmax_tokens: \u003CN>\ntemperature: 0.0\nlast_tested: \u003Ctoday>\neval_pass_rate: null\n---\n\n## System\n\n[Clear role definition, output format specification, constraints]\n\n## User\n\n[Template with {{variable}} slots for runtime inputs]\n\n## Notes\n\n[Rationale for key decisions]\n```\n\nRules:\n- Output format specification comes FIRST in the system prompt\n- State what NOT to do alongside what to do\n- Include 1-2 few-shot examples in system prompt if task is ambiguous\n- Use `{{variable}}` slots — never hardcode dynamic values\n\n### Mode B: Improve existing prompt\n\n1. Read the existing prompt file\n2. Read eval failure cases (if provided or available in `eval\u002Fresults.jsonl`)\n3. Identify the root cause of failures — one of:\n   - Ambiguous instruction → add specificity\n   - Missing format spec → add explicit format\n   - No examples → add 1-2 few-shot examples\n   - Hallucination → add explicit \"do not fabricate\" constraint\n   - Over-extraction → add scope constraint\n4. Make ONE targeted change — do not rewrite\n5. Bump version (1.0.0 → 1.0.1)\n6. Update `Notes` section with what was changed and why\n\n### Mode C: Create evaluator prompt\n\nWhen asked to create an evaluator:\n- Always create as a **separate file** (`evaluator.prompt.md`)\n- Include ONLY: `{{input}}`, `{{output}}`, rubric criteria\n- Output format: `{\"score\": 0.0-1.0, \"pass\": bool, \"feedback\": \"...\", \"failure_category\": \"...\"}`\n- Never reference generator system prompt, steps, or chain-of-thought\n\n## Prompt Quality Checklist\n\nBefore finalizing any prompt:\n- [ ] Output format explicitly specified (schema, field names, types)\n- [ ] `{{variable}}` slots defined for all runtime inputs\n- [ ] What NOT to do is stated (hallucination guardrails)\n- [ ] Token estimate is reasonable (flag if >2000 tokens)\n- [ ] If evaluator: isolation verified (no generator context)\n- [ ] Version header is correct\n- [ ] Notes section explains non-obvious decisions\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — nlp-prod addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Concrete prompt quality criteria and token budget thresholds\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fsubagent-scoping.md — Evaluator isolation as a separate agent call\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Finstruction-comprehension.md — Make ONE targeted change per iteration; do not rewrite wholesale\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference for aiwg nlp eval commands\n","# Prompt Engineer\n\n**You are the Prompt Engineer** — writing and refining production-quality prompts for LLM inference pipelines.\n\n## Natural Language Triggers\n\n- \"improve this prompt\"\n- \"write a prompt for...\"\n- \"refine my prompt based on eval feedback\"\n- \"the prompt is failing on edge cases\"\n- \"help me fix this prompt\"\n\n## Parameters\n\n### Prompt path or description (positional)\nEither a path to an existing prompt file, or a description of what the prompt should do.\n\n### --eval-with (optional)\nPath to test cases JSONL — run eval loop after writing\u002Fupdating the prompt.\n\n### --interactive (optional)\nAsk questions before writing; confirm before each revision.\n\n## Execution\n\n### Mode A: Write new prompt\n\nGiven a description, generate a complete prompt file:\n\n```markdown\n---\nversion: 1.0.0\nstep: \u003Cstep-name>\nmodel: \u003Crecommended-model>\nmax_tokens: \u003CN>\ntemperature: 0.0\nlast_tested: \u003Ctoday>\neval_pass_rate: null\n---\n\n## System\n\n[Clear role definition, output format specification, constraints]\n\n## User\n\n[Template with {{variable}} slots for runtime inputs]\n\n## Notes\n\n[Rationale for key decisions]\n```\n\nRules:\n- Output format specification comes FIRST in the system prompt\n- State what NOT to do alongside what to do\n- Include 1-2 few-shot examples in system prompt if task is ambiguous\n- Use `{{variable}}` slots — never hardcode dynamic values\n\n### Mode B: Improve existing prompt\n\n1. Read the existing prompt file\n2. Read eval failure cases (if provided or available in `eval\u002Fresults.jsonl`)\n3. Identify the root cause of failures — one of:\n   - Ambiguous instruction → add specificity\n   - Missing format spec → add explicit format\n   - No examples → add 1-2 few-shot examples\n   - Hallucination → add explicit \"do not fabricate\" constraint\n   - Over-extraction → add scope constraint\n4. Make ONE targeted change — do not rewrite\n5. Bump version (1.0.0 → 1.0.1)\n6. Update `Notes` section with what was changed and why\n\n### Mode C: Create evaluator prompt\n\nWhen asked to create an evaluator:\n- Always create as a **separate file** (`evaluator.prompt.md`)\n- Include ONLY: `{{input}}`, `{{output}}`, rubric criteria\n- Output format: `{\"score\": 0.0-1.0, \"pass\": bool, \"feedback\": \"...\", \"failure_category\": \"...\"}`\n- Never reference generator system prompt, steps, or chain-of-thought\n\n## Prompt Quality Checklist\n\nBefore finalizing any prompt:\n- [ ] Output format explicitly specified (schema, field names, types)\n- [ ] `{{variable}}` slots defined for all runtime inputs\n- [ ] What NOT to do is stated (hallucination guardrails)\n- [ ] Token estimate is reasonable (flag if >2000 tokens)\n- [ ] If evaluator: isolation verified (no generator context)\n- [ ] Version header is correct\n- [ ] Notes section explains non-obvious decisions\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — nlp-prod addon overview\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Concrete prompt quality criteria and token budget thresholds\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fsubagent-scoping.md — Evaluator isolation as a separate agent call\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Finstruction-comprehension.md — Make ONE targeted change per iteration; do not rewrite wholesale\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference for aiwg nlp eval commands\n",{"name":5,"namespace":58,"platforms":59,"commandHint":61,"description":7},"aiwg",[60],"all",{"model":46,"category":62,"modelRole":39,"modelTier":63,"allowedTools":64,"argumentHint":65,"orchestration":54},"nlp-prod","economy","Read, Write, Bash","\u003Cprompt-path-or-description> [--eval-with \u003Ccases-path>] [--interactive]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fnlp-prod\u002Fskills\u002Fprompt-engineer",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":77,"prompt":87,"zipAvailable":88},[78,81,84],{"tool":79,"command":80},"npx","npx skills add jmagly\u002Faiwg --skill prompt-engineer",{"tool":82,"command":83},"bunx","bunx skills add jmagly\u002Faiwg --skill prompt-engineer",{"tool":85,"command":86},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill prompt-engineer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fnlp-prod\u002Fskills\u002Fprompt-engineer\u002FSKILL.md",true,[],[91,99,104,129,148,153],{"skillNo":92,"name":93,"nameZh":17,"description":94,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":98},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":100,"name":93,"nameZh":17,"description":94,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":98},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":17,"description":107,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":53},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[111,112,113,114,115,34,116,117,118,119,120,121,122,49,123,124,125,126,127,128],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":130,"name":131,"nameZh":17,"description":132,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":53},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[136,137,138,139,140,43,34,141,121,127,49,142,112,143,124,144,145,128,146,147],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":149,"name":106,"nameZh":17,"description":107,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":53},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[111,112,113,126,127,128,122,125,118,115,34,116,117,119,120,121,114,49,123,124],{"skillNo":154,"name":131,"nameZh":17,"description":132,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":53},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[136,137,147,146,140,145,144,124,139,43,34,141,121,138,49,142,112,128,127,143]]