home / skills / technickai / ai-coding-config / writing-for-llms
This skill applies comprehensive prompt engineering standards to craft effective LLM prompts, instructions, and Task tool prompts with clear goals.
npx playbooks add skill technickai/ai-coding-config --skill writing-for-llmsReview the files below or copy the command above to add this skill to your agents.
---
name: writing-for-llms
# prettier-ignore
description: Use when writing prompts, agent instructions, SKILL.md, commands, system prompts, Task tool prompts, prompt engineering, or LLM-to-LLM content
version: 1.0.0
category: meta
triggers:
- "prompt"
- "write prompt"
- "system prompt"
- "agent instructions"
- "SKILL.md"
- "prompt engineering"
- "Task tool"
---
Apply the full prompt engineering standards from @rules/prompt-engineering.mdc
<key-principles>
- Show correct patterns only - never show anti-patterns, even labeled "wrong"
- State goals, not process - trust the executing model's capabilities
- Use XML tags for structure in complex prompts
- Clarity over brevity - every word that adds clarity is worth including
- Few-shot examples must follow identical structure
- Front-load critical information
- Consistent terminology throughout
</key-principles>
<quality-check>
Before finalizing:
- No anti-patterns shown anywhere
- All examples structurally consistent
- Goals clear, process not over-prescribed
- Terminology consistent
- Critical info front-loaded
</quality-check>
This skill helps you craft high-quality prompts, agent instructions, system prompts, Task tool prompts, and LLM-to-LLM content for reliable execution. It encodes strict prompt-engineering standards so outputs are clear, consistent, and safe for downstream models. Use it to standardize prompt assets across agents and tooling.
The skill inspects prompt drafts and enforces core principles: front-loading critical info, stating goals instead of prescribing process, and keeping terminology consistent. It restructures prompts into clear, machine-friendly formats, applies XML tagging for complex sections, and validates that few-shot examples are structurally identical. A final quality check confirms no anti-patterns, consistent examples, and preserved goals.
What counts as an anti-pattern?
Any example or instruction that demonstrates incorrect behavior, prescribes internal chain-of-thought, or encourages shortcuts that reduce reliability.
Why use XML tags?
XML-like tags make complex prompts machine-readable and reduce ambiguity in section boundaries and expected output fields.