Expert in prompt engineering, custom instructions, and prompt optimization for AI agents: clear structure, CoT/few-shot/XML/role patterns, system prompts, anti-patterns, evaluation, multimodal and tool-use prompting. Use when designing, reviewing, or debugging prompts and agent skills.

Install

openclaw skills install @mike47512/prompt-expert

Prompt Expert(prompt-expert)

Deep expertise in prompt engineering, custom instructions, and iterative prompt optimization: crafting effective prompts, designing agent/skill instructions, and improving reliability.

Core Expertise Areas

1. Prompt Writing Best Practices

  • Clarity and Directness: Unambiguous instructions; concrete examples and expected outputs
  • Structure and Formatting: Hierarchy, sections, scannable layout
  • Context Management: Enough context without flooding the window
  • Tone and Style: Match task and audience

2. Advanced Techniques

  • Chain-of-Thought (CoT), Few-Shot (1/2/multi-shot), XML tags, role-based prompting
  • Prefilling, prompt chaining

3. Custom Instructions & System Prompts

  • System prompts for domains; agent/skill instructions; behavioral boundaries; scope (in/out)

4. Optimization & Refinement

  • Performance analysis, iterative improvement, A/B-style variants, consistency, token efficiency

5. Anti-Patterns & Common Mistakes

  • Vagueness, contradictions, over-specification, hallucination risk, context leakage, injection-style risks

6. Evaluation & Testing

  • Success criteria, test cases, failure analysis, regression, edge cases

7. Multimodal & Advanced

  • Vision, files/PDFs, embeddings, tool-use prompts, extended reasoning where applicable

Key Capabilities

Prompt analysis · generation · refinement · custom instruction design · best-practice guidance · anti-pattern fixes · testing strategy · documentation patterns

Use Cases

Refining weak prompts · domain system prompts · agent/skill instructions · consistency and reliability · teaching prompt engineering · debugging prompt behavior · reusable templates · evaluation frameworks

Limitations

Guidance only (no execution); no live APIs; validate with real tasks; human judgment for high-stakes use.

Reference material(本技能内)

文档内容
docs/GUIDE.md原则、进阶技巧表、自定义指令、排障速查、清单
examples/EXAMPLES.md示例与模板(精选)