This skill should be used when the user asks 'how to structure a prompt', 'optimize prompt results', 'reduce hallucinations', or 'which engineering pattern to use'. Provides prompt design theory (CoT, Trees), decision frameworks (XML vs Markdown), and optimization techniques to improve AI reasoning and output quality. <example> Context: User needs design guidance user: "How should I structure this prompt for better results?" assistant: "I will use the prompt-engineering skill to select the optimal design pattern." </example> <example> Context: User needs optimization help user: "Why is my prompt producing inconsistent results?" assistant: "I will use the prompt-engineering skill to analyze and optimize the prompt using CoT and few-shot patterns." </example> <example> Context: User wants to learn CoT user: "Explain Chain-of-Thought prompting and how to apply it." assistant: "I will use the prompt-engineering skill to explain CoT and structured thinking techniques." </example>
/plugin marketplace add Git-Fg/thecattoolkit/plugin install git-fg-strategist-plugins-strategist@Git-Fg/thecattoolkitThis skill is limited to using the following tools:
assets/examples/few-shot.jsonreferences/anti-patterns.mdreferences/optimization.mdreferences/patterns.mdreferences/techniques.mdMaster the art and science of prompt design through proven techniques and frameworks.
Every token competes with conversation history. Assume Claude is already intelligent.
Match specificity to task fragility:
# Context and # Assignment as the primary structural elements for all prompts.<thinking>) or complex data isolation ONLY when Markdown headers are insufficient due to high data density.Encourage the model to reason before providing an answer.
<thinking> blocks for internal monologue.Demonstrate intent through concrete examples.
<example> tags to prevent example leakage.Instead of the prompt type determining the format, the Density of Context and Logic Non-Negotiability should drive the architecture.
| Feature | Use Markdown (Headers/Lists) | Use XML (Flat Semantic Tags) |
|---|---|---|
| Instructional Flow | Default: Linear, simple, or descriptive. | Complex: Strict, non-negotiable step sequences. |
| Data Isolation | Standard context and injected files. | High-density: Large logs or noisy data sets. |
| Role Definition | Standard: Professional persona. | Specialized: Isolated identity with high constraints. |
| Output Type | Standard: Conversational or Markdown. | Technical: Machine-parseable JSON or strict code. |
| Safety Risk | Standard: Analytic or creative tasks. | Critical: Security audits or data protection. |
For 80% of standalone prompts, Markdown is superior because it consumes fewer tokens and aligns better with Claude's native training for following prose instructions.
Upgrade to a Hybrid XML/Markdown structure only when the prompt hits these "Complexity Triggers":
<context> or <data> to prevent the data from "leaking" into the instructions.<constraints> so the model's attention mechanism anchors to them.<thinking> to force a Chain-of-Thought isolated from the final answer.references/techniques.md: Deep dive into CoT, few-shot, and reasoning patterns.references/patterns.md: Detailed library of prompt structure patterns.references/optimization.md: Systematic refinement and troubleshooting.references/anti-patterns.md: Common pitfalls and how to avoid them.assets/examples/few-shot.json: Curated example datasets for various domains.This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.