claude.symlink/skills/prompt-engineer/SKILL.md
Optimize prompts for LLMs and AI systems. Use when building AI features, improving agent performance, or crafting system prompts.
npx skillsauth add htlin222/dotfiles prompt-engineerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Craft effective prompts for LLM applications.
You are an expert [role] with [X] years of experience in [domain].
Your task is to [specific goal].
Think through this step by step:
1. First, analyze [aspect 1]
2. Then, consider [aspect 2]
3. Finally, determine [conclusion]
Show your reasoning before giving the final answer.
Here are examples of the expected format:
Input: [example 1 input]
Output: [example 1 output]
Input: [example 2 input]
Output: [example 2 output]
Now process this input:
Input: {user_input}
Output:
Respond in the following JSON format:
{
"analysis": "your analysis here",
"confidence": 0.0-1.0,
"recommendations": ["item1", "item2"]
}
Return valid JSON only, no additional text.
You are a senior code reviewer. Review the code for:
1. Security vulnerabilities
2. Performance issues
3. Code quality and readability
4. Best practices violations
For each issue:
- Severity: Critical/High/Medium/Low
- Location: file:line
- Issue: description
- Fix: suggested solution
Code to review:
{code}
Extract the following information from the text:
- Name: person's full name
- Email: email address
- Company: organization name
- Role: job title
If information is not found, use "NOT_FOUND".
Return as JSON.
Text:
{text}
Classify the following text into one of these categories:
- POSITIVE
- NEGATIVE
- NEUTRAL
Consider tone, sentiment, and overall message.
Respond with only the category name.
Text: {text}
Category:
| Practice | Do | Don't | | ------------ | ------------------------ | --------------------- | | Instructions | Be specific and explicit | Be vague | | Format | Specify output format | Assume format | | Examples | Include 2-3 examples | Zero-shot for complex | | Constraints | Set clear boundaries | Leave open-ended | | Length | Set max length if needed | Allow unlimited |
Input: "Create a prompt for summarization" Action: Design prompt with length constraint, key points extraction, format spec
Input: "Improve this prompt's output" Action: Add examples, clarify instructions, specify format, test iterations
testing
Converts narrative medical text into Pocket Medicine bullet-style notes with proper abbreviations, then modularizes sections exceeding 20 lines into linked standalone files.
devops
Use when deploying Docker services on the local VM (hostname: vm, Pop!_OS) with Traefik reverse proxy and Homepage dashboard. Covers crane image workflow, Traefik file-provider registration, Homepage services.yaml entries, and compose templates on the traefik-proxy network.
development
Use when reviewing a data visualization or figure for clarity, checking if a graph communicates its message without additional context, or iterating on R/Python plot scripts until a naive reader can fully understand the figure.
development
Runs Vale prose linter on markdown/text files and auto-fixes issues. Use when the user asks to lint, proofread, or improve writing quality of markdown or text files.