balaji-dutt/dotfiles/prompt-engineer

Claude Code and agent skill by balaji-dutt/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Author, rewrite, and improve AI agent prompts using structured

Install

npx vskill@latest install balaji-dutt/dotfiles/prompt-engineer

SKILL.md

prompt-engineer

Craft high-quality AI agent prompts following proven authoring patterns and structured methodology. Covers role definition, task specification, constraint setting, output formatting, and model-specific optimization.

Use this skill when

  • Writing a new agent prompt from scratch.
  • Rewriting or improving an existing prompt that underperforms.
  • Adapting a prompt for a different model (Claude, GPT, Gemini, etc.).
  • Reviewing a prompt for completeness against a quality checklist.

Do not use this skill when

  • You need to refine vague requirements into structured specs (use

prompt-optimizer instead).

  • You need adversarial evaluation of a prompt (use prompt-evaluator instead).
  • You are packaging a prompt into a reusable skill (use skill-creator instead).

Prompt authoring workflow

  1. Define the role: State who the agent is, its expertise, and its persona.

Use imperative form. Be specific about domain knowledge.

  1. Specify the task: Describe exactly what the agent must accomplish. Break

complex tasks into numbered steps. State success criteria.

  1. Set constraints: Define boundaries, forbidden actions, required formats,

and guardrails. Use explicit negative instructions ("Do NOT...").

  1. Structure the output: Specify the expected output format (markdown, JSON,

XML, etc.). Provide a template or example when possible.

  1. Add examples: Include 2-3 few-shot examples for non-trivial tasks.

Examples should cover typical cases and at least one edge case.

  1. Enable reasoning: For complex tasks, instruct the agent to think

step-by-step before answering. Use chain-of-thought or structured reasoning sections.

  1. Provide context: Include relevant background, definitions, or reference

material the agent needs. Use progressive disclosure for large context.

  1. Review against checklist: Run through the improvement checklist (see

bundled reference) before finalizing.

Key principles

  • Clarity over cleverness: Simple, direct language beats elegant ambiguity.
  • Context then task: Provide background before instructions.
  • Examples demonstrate intent: Show, don't just tell.
  • Structure for scannability: Use headings, lists, and sections the model

can parse quickly.

  • Feedback loops: Build in self-check steps where the agent verifies its

own output.

Model-specific guidance

See references/model-specific.md for detailed model-specific patterns:

  • Claude: XML tags for structure, thinking blocks, artifact patterns.
  • GPT: System/user/assistant role separation, function calling patterns.
  • General: Temperature, top-p, and sampling guidance per task type.

Output

Deliver the prompt as a markdown document with clear sections. Include inline comments (as HTML comments) explaining non-obvious design choices.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/balaji-dutt/dotfiles/prompt-engineer/badge)](https://verified-skill.com/skills/balaji-dutt/dotfiles/prompt-engineer)

Something wrong with this skill or its page? Tell us.