Apply the full prompt engineering standards from @.cursor/rules/prompt-engineering.mdc
Writing For Llms
Writing SKILL.md, .claude/commands/*.md, Task tool prompts, systemPrompt variables, prompt templates, few-shot examples, agent instructions. Content where the reader is an LLM.
Writing For Llms by majiayu000 · 46c7cf2
npx skillmds@latest add majiayu000/writing-for-llms-2 File contents
---name: writing-for-llms-2description: Writing SKILL.md, .claude/commands/*.md, Task tool prompts, systemPrompt variables, prompt templates, few-shot examples, agent instructions. Content where the reader is an LLM.---Apply the full prompt engineering standards from @.cursor/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/productivity/writing-for-llms commit 46c7cf2264
Frequently asked questions
Run npx skillmds@latest add majiayu000/writing-for-llms-2 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.
Writing SKILL.md, .claude/commands/*.md, Task tool prompts, systemPrompt variables, prompt templates, few-shot examples, agent instructions. Content where the reader is an LLM. It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. 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.