Apply the full prompt engineering standards from @rules/prompt-engineering.mdc
Writing For Llms
Use when writing prompts, agent instructions, SKILL.md, commands, system prompts, Task tool prompts, prompt engineering, or LLM-to-LLM content
Writing For Llms by majiayu000 · 47ad8f2
npx skillmds@latest add majiayu000/writing-for-llms File contents
---name: writing-for-llmsdescription: Use when writing prompts, agent instructions, SKILL.md, commands, system prompts, Task tool prompts, prompt engineering, or LLM-to-LLM content---
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>
majiayu000/claude-skill-registry-data/tree/main/data/writing-for-llms commit 47ad8f204a
Frequently asked questions
Run npx skillmds@latest add majiayu000/writing-for-llms in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Use when writing prompts, agent instructions, SKILL.md, commands, system prompts, Task tool prompts, prompt engineering, or LLM-to-LLM content It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.