Agent skill · Documentation

prompting

PROACTIVE: This skill SHOULD BE USED AUTOMATICALLY when writing prompts, system prompts, crafting instructions for LLMs, or optimizing AI interactions. Triggers on: write prompt, system prompt, prompt engineering, optimize prompt, better prompt, prompt template, instruction design, context engineering, SKILL.md description, agent instructions. Use for CRAFTING LLM PROMPTS. Model-agnostic best practices for coding agents.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill prompting-hongbietcode-synthetic-claude --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/ai-llm/prompting-hongbietcode-synthetic-claude/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Prompting - Model-Agnostic Best Practices (Late 2025) Optimal prompt standards for coding agents. Applies to all models (Claude, GPT, Gemini, Grok). **Paradigm**: Context Engineering > Prompt Engineering. Focus on designing information systems, not "perfect wording". API-level configs (effort, reasoning_effort, thinking_level) are separate from prompt text. ## Quick Reference (Use First) Before writing/reviewing any prompt, verify: ``` [ ] Structure: Clear XML/Markdown sections (context → task → constraints → output) [ ] Order: Long context BEFORE query (+30% quality) [ ] Task: ONE atomic, explicit action [ ] Output: Format defined (JSON schema, structure) [ ] Positive: "Do X" instead of "Don't Y" [ ] Reasoning: Zero-shot for reasoning models (no manual CoT) [ ] Examples: Few-shot ONLY for format, not logic [ ] Caching: Static content first, dynamic last [ ] Simplicity: Start simple, add complexity only if needed (Stanford 8-word) ``` ## Decision Flow ``` Task Type? │ ├─ Simple (1 step) ────────────► Direct instruction, no CoT │ ├─ Complex reasoning │ ├─ Reasoning model (o3/o4/GPT-5/Claude thinking) │ │ └─► Zero-shot + explicit goal only │ └─ Standard model │ └─► Structured promp

What's inside
Steps it walks through
  1. Quick Reference (Use First)
  2. Decision Flow
  3. Core Structure Template
  4. Key Principles
  5. Technique Selection
  6. Context Stack (Priority Order)
  7. Security
  8. References
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the prompting skill do?

PROACTIVE: This skill SHOULD BE USED AUTOMATICALLY when writing prompts, system prompts, crafting instructions for LLMs, or optimizing AI interactions. Triggers on: write prompt, system prompt, prompt engineering, optimize prompt, better prompt, prompt template, instruction design, context engineering, SKILL.md description, agent instructions. Use for CRAFTING LLM PROMPTS. Model-agnostic best practices for coding agents.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill prompting-hongbietcode-synthetic-claude --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going