Skip to content
Back to skills

prompt-engineer

ASecurity

Transform rough prompts/ideas into production-ready LLM prompts. Use when crafting, refining, or optimizing prompts for any AI model (Claude, GPT, Llama, etc.) with advanced techniques like CoT, constitutional AI, RAG optimization.

  • 17 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added February 11, 2026
ai-agentsrailstesting

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add repo-phuocdt/prompt-engineer-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of prompt-engineer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for prompt-engineer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/repo-phuocdt-prompt-engineer/badge)](https://www.skillsdirectory.com/skills/repo-phuocdt-prompt-engineer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prompt-engineer
description: Transform rough prompts/ideas into production-ready LLM prompts. Use when crafting, refining, or optimizing prompts for any AI model (Claude, GPT, Llama, etc.) with advanced techniques like CoT, constitutional AI, RAG optimization.
---

# Prompt Engineer

Expert prompt engineering skill that transforms rough ideas into well-structured, production-ready prompts optimized for LLMs.

## When to Activate

- User provides a rough prompt/idea and wants it refined
- User asks to create/design/optimize a prompt for any LLM
- User needs prompt architecture for agents, RAG, or multi-step workflows
- User asks about prompting techniques or best practices

## Workflow

### 1. Analyze Input

Identify from user's request:
- **Target model** (Claude, GPT, Llama, etc.) — default: Claude
- **Use case** (agent system prompt, task prompt, RAG, chat, etc.)
- **Domain** (technical, creative, business, etc.)
- **Constraints** (token limits, output format, safety requirements)

### 2. Apply Techniques

Select appropriate techniques from `references/techniques.md` based on use case:
- Complex reasoning → Chain-of-Thought, Tree-of-Thoughts
- Safety-critical → Constitutional AI patterns
- Data extraction → Structured output, JSON mode
- Multi-step tasks → Prompt chaining, agent patterns
- Knowledge-heavy → RAG optimization

### 3. Craft the Prompt

Follow model-specific guidelines from `references/model-optimization.md`:
- Structure with clear sections (role, context, instructions, output format)
- Include examples where beneficial (few-shot)
- Add constraints and guardrails
- Optimize for token efficiency

### 4. Deliver Output

**MANDATORY format** — always include ALL sections:

#### The Prompt
Display complete prompt in a single copyable code block.

#### Implementation Notes
- Techniques used and rationale
- Model-specific optimizations
- Parameter recommendations (temperature, max_tokens)
- Expected behavior and output format

#### Testing & Evaluation
- 3-5 test cases to validate
- Edge cases and failure modes
- Optimization suggestions

#### Usage Guidelines
- When/how to use effectively
- Customization options
- Integration considerations

## Key Principles

- **Always show the complete prompt** — never just describe it
- **Token efficiency** — concise but comprehensive
- **Production-ready** — reliable, safe, optimized
- **Model-aware** — tailor to target model's strengths
- Refer to `references/techniques.md` for advanced technique details
- Refer to `references/model-specific-optimization-guide.md` for model-specific guidance
- Refer to `references/production-patterns-and-enterprise-templates.md` for enterprise patterns

Files in this skill

  • SKILL.md2.7 KB
  • cli.js1.3 KB
  • package.json971 B
  • references/model-specific-optimization-guide.md2 KB
  • references/production-patterns-and-enterprise-templates.md2.1 KB
  • references/techniques.md3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…