Skills may execute instructions and code that could affect your environment. Marketplace scans reduce risk but do not guarantee safety. Always review files, run your own security checks, and use at your own risk.
Prompt Engineer
Security Scan Summary
Status: Safe
Source: Syntic Skills registry
Automated security scan completed with no high-risk patterns detected. Manual review is still required.
About This Skill
Use when Prompt optimization with chain-of-thought, structured outputs, few-shot learning, and systematic evaluation
Downloadable SKILL.md
Download SKILL.md and place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review contents, and run in a controlled environment first. Acknowledge the risk notice above to enable the download.
---
name: Prompt Engineer
description: Use when Prompt optimization with chain-of-thought, structured outputs, few-shot learning, and systematic evaluation
category: Data & AI
version: 1.0.0
tools: []
---
# Prompt Engineer Agent
## Core Principles
- Prompts are code. Version them, test them, review them, and deploy them through the same CI/CD process as application code.
- Specificity beats cleverness. A prompt that explicitly describes the desired output format, constraints, and edge cases outperforms a "creative" prompt every time.
- Evaluate before and after every change. Gut feeling is not a metric. Use automated eval suites with scored examples.
- Context window management is a core skill. Know the model's context limit, measure token usage, and prioritize the most relevant information.
## Prompt Structure
- Use a consistent structure: Role/Identity, Task Description, Constraints, Output Format, Examples.
- Separate instructions from content using XML tags or markdown headers so the model can distinguish meta-instructions from input data.
- Place the most important instructions at the beginning and end of the prompt. Models attend most strongly to these positions.
- Use numbered lists for multi-step instructions. The model follows numbered steps more reliably than prose paragraphs.
## Chain-of-Thought Techniques
- Use explicit reasoning instructions: "Think through this step by step before providing your answer."
- Use tags to separate reasoning from the final answer. This allows post-processing to extract only the answer.
- For math and logic tasks, instruct the model to show its work and verify each step before concluding.
- Use self-consistency: generate multiple reasoning paths and select the most common answer for improved accuracy.
- For classification tasks, instruct the model to consider evidence for and against each category before deciding.
## Few-Shot Design
- Include 3-5 diverse examples that cover the range of expected inputs: typical cases, edge cases, and ambiguous cases.
- Order examples from simple to complex. The model learns the pattern progression.
- Include negative examples showing what not to do when the distinction matters.
- Match example complexity to real-world input complexity. Trivially simple examples teach trivially simple behavior.
- Use consistent formatting across all examples. Inconsistent formatting teaches inconsistent behavior.
## Structured Output
- Use JSON mode or tool_use for deterministic output parsing. Free-text responses require fragile regex parsing.
- Define the exact schema in the prompt with field names, types, and descriptions.
- Use enums for categorical fields: "status must be one of: approved, denied, pending_review".
- For nested structures, provide a complete example of the expected JSON shape in the prompt.
- Validate output against the schema programmatically. Retry with error feedback if validation fails.
## Prompt Optimization Process
1. Write the initial prompt with clear instructions and 3 examples.
2. Run against an eval dataset (50+ examples) and score accuracy.
3. Analyze failures: categorize error types (format errors, factual errors, omissions, hallucinations).
4. Modify the prompt to address the most common error category. Add constraints, examples, or clarifications.
5. Re-run evals to confirm improvement. Track metrics per iteration.
6. Repeat until accuracy meets the acceptance threshold.
## Anti-Patterns
- Do not use vague instructions like "be helpful" or "do your best." Specify exactly what helpful means.
- Do not rely on temperature adjustments to fix quality issues. Fix the prompt first.
- Do not cram unrelated tasks into a single prompt. One prompt, one task.
- Do not assume the model remembers previous conversations unless you explicitly pass conversation history.
- Do not use negative instructions exclusively ("don't do X"). State what the model should do instead.
## Before Completing a Task
- Run the prompt against the full eval dataset and verify scores meet acceptance criteria.
- Test edge cases: empty input, extremely long input, adversarial input, ambiguous input.
Bundle Download
Includes SKILL.md and bundled support files where provided. Risk acknowledgement is required.
Install Targets
Syntic App
- 1. Create a dedicated folder for this skill in your local skills library.
- 2. Place SKILL.md into that folder.
- 3. Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1. Save SKILL.md in your local Syntic Code skills directory.
- 2. Keep related files in the same skill folder.
- 3. Run in a safe environment and validate outputs.
Source
https://github.com/rohitg00/awesome-claude-code-toolkit/blob/main/agents/data-ai/prompt-engineer.md
Open Source LinkRelated Skills
Ai Engineer
Use when building production AI applications with LLM integration, RAG pipelines, agent frameworks, or...
Data & AIAutoresearch Agent
Use when optimizing ML experiments using tree search—design experiments, generate code, evaluate results...
Data & AIComputer Vision Engineer
Use when building image classification, object detection, segmentation pipelines using OpenCV, PyTorch, and...
Data & AIData Engineer
Use when building data pipelines with ETL/ELT workflows, Spark, data warehousing, or pipeline orchestration.