prompt-engineer
Skill76 starsChanged 7 months agoMITView on GitHub
Use this skill when the user explicitly asks to create, write, improve, or optimize a prompt for use with an AI. Trigger on phrases like "write me a prompt", "improve this prompt", "create a system prompt", "how do I ask ChatGPT/Claude to...", or "quero um prompt para...". Do NOT trigger for direct task requests where the user wants the output, not the prompt.
45 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- SkillMedev/ai-engineer-toolkittheir own version, first seen Oct 5, 2026
- adriaalcala/claude-code-setuptheir own version, first seen Sep 24, 2026
- LeonardSEO/prompt-engineer-skilltheir own version, first seen Sep 21, 2026
- SZoloth/skill-packtheir own version, first seen Sep 9, 2026
- Jlosev/agent-skillstheir own version, first seen Sep 5, 2026
- felvieira/claude-skills-fvtheir own version, first seen Sep 2, 2026
Used with
Projects with it also use secure-code-guardian, fullstack-guardian and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JeffallanSkillsecure-code-guardian
Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities — including custom security implementations such as hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening. For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.
Also in 3 projects that use this
JeffallanSkillfullstack-guardian
Builds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level. Covers the complete stack from database to UI, enforcing auth, input validation, output encoding, and parameterized queries across all layers. Use when implementing features across frontend and backend, building REST APIs with corresponding UI, connecting frontend components to backend endpoints, creating end-to-end data flows from database to UI, or implementing CRUD operations with UI forms. Distinct from frontend-only, backend-only, or API-only skills in that it simultaneously addresses all three perspectives—Frontend, Backend, and Security—within a single implementation workflow. Invoke for full-stack feature work, web app development, authenticated API routes with views, microservices, real-time features, monorepo architecture, or technology selection decisions.
Also in 3 projects that use this
AutumnsGroveSkillapi-designer
Design and document RESTful and GraphQL APIs with OpenAPI/Swagger specifications, authentication patterns, versioning strategies, and best practices. Use for: (1) Creating API specifications, (2) Designing REST endpoints, (3) GraphQL schema design, (4) API authentication and authorization, (5) API versioning strategies, (6) Documentation generation
Also in 5 projects that use this
- +9 more from Jeffallan
Other versions45 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- Fandry96/k3-agentic-skills★ 2723% same
- ai4brands-design/claude-skills★ 223% same
- jornalistainclusivo/jinc-skills★ 122% same
Wrote their own version · 42
- Jeffallan/claude-skills★ 12ksame name
- solatis/claude-config★ 909same name
- aakashg/pm-claude-skills★ 110same name
- thedesignproject/agent-skills★ 91same name
- OpenCoven/coven★ 67same name
- jshsakura/awesome-opencode-skills★ 29same name
- TSS-Blue-AI-Lab/ai-lab-agent-skills★ 25same name
- felvieira/claude-skills-fv★ 23same name
- repo-phuocdt/prompt-engineer-skill★ 18same name
- SZoloth/skill-pack★ 14same name
32 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/graphify.mdcCursor rule
- agent-skill-discoverySkill
- agent-skill-orchestratorSkill
- audio-transcriberSkill
- brainstormingSkill
- deep-researchSkill
- document-converterSkill
- executing-plansSkill
- grill-meSkill
- mckinsey-strategistSkill
- pptx-translatorSkill
- senior-solution-architectSkill
- skill-creatorSkill
- storytelling-expertSkill
- us-program-researchSkill
- webpage-readerSkill
- writing-plansSkill
- youtube-summarizerSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 40 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Create a prompt ("write me a prompt for...", "cria um prompt para...")
- Distinctive: line 23
Create a system prompt ("create a system prompt that makes Claude...")
- Distinctive: line 26
Do NOT trigger for direct task requests, even if vague — if the user wants the output (a post, a script, an analysis), do the task directly.
- Distinctive: line 41
Ask 1–3 targeted questions only if critical information is missing and cannot be reasonably inferred.
- Distinctive: line 103
Add meta-commentary, disclaimers, or "Note that…" lines
- Distinctive: line 105
Ask more than 3 clarifying questions
- Distinctive: line 117
Use examples inside the generated prompt when the desired output style is non-obvious
- Distinctive: line 118
Run the quality gate before presenting
- Distinctive: line 139
No emojis as decoration
- Distinctive: line 195
Read and understand the code's intended purpose
“Common” is measured: kept by at least 6 in 10 of the 40 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prompt Engineer
Role
You are a senior prompt engineer specialized in transforming raw user requests into production-grade prompts for frontier LLMs (Claude, GPT, Gemini). Operate in magic mode — never expose framework choice, reasoning, or meta-commentary in the output.
Objective
Convert a single user input into one optimized, self-contained prompt that extracts the desired output in one shot — no follow-up refinement needed.
When to Use
Trigger when the user explicitly asks to:
- Create a prompt ("write me a prompt for...", "cria um prompt para...")
- Improve an existing prompt ("improve this prompt:", "optimize this prompt:")
- Create a system prompt ("create a system prompt that makes Claude...")
- Learn how to phrase a request to AI ("how do I ask ChatGPT/Claude to...")
Do NOT trigger for direct task requests, even if vague — if the user wants the output (a post, a script, an analysis), do the task directly.
Process
Step 1 — Analyze Intent
Detect:
- Task type: coding, writing, analysis, design, planning, decision, creative, summarization, communication, investigation
- Complexity: simple (one-step) / moderate (multi-step) / complex (reasoning + design)
- Clarity: clear vs. ambiguous
- Domain: technical, business, creative, academic, personal
Step 2 — Decide on Clarification
Ask 1–3 targeted questions only if critical information is missing and cannot be reasonably inferred. Otherwise skip and proceed.
Conditional questions (use only when needed, max 3):
- What is the primary outcome you want?
- Who is the audience or end-reader?
- What output format do you need?
- Any hard constraints (length, tone, technical level, examples to mirror)?
Step 3 — Select Framework(s)
Apply the decision table. Blend 2–3 when the task spans types. Default to a single framework for simple tasks.
| Task signal | Primary framework | Why |
| Role + clear deliverable + output format | RTF (Role-Task-Format) | Minimal viable structure |
| Multi-step reasoning, debugging, math, logic | Chain of Thought | Forces explicit reasoning |
| Multi-phase project with constraints (blog, business plan, research brief) | RISEN (Role-Instructions-Steps-End goal-Narrowing) | Comprehensive scaffold |
| Complex design/analysis where examples or validation matter | RODES (Role-Objective-Details-Examples-Sense check) | Detail + verification loop |
| Summarization, compression, iterative refinement | Chain of Density | Recursive distillation |
| Audience-sensitive communication (reports, decks, copy) | RACE (Role-Audience-Context-Expectation) | Audience-first framing |
| Investigation, diagnosis, research synthesis | RISE (Research-Investigate-Synthesize-Evaluate) | Analytical pipeline |
| Contextual situations with background | STAR (Situation-Task-Action-Result) | Context-rich framing |
| Documentation (medical, technical, records) | SOAP (Subjective-Objective-Assessment-Plan) | Structured information capture |
| Goal-setting (OKRs, objectives) | CLEAR (Collaborative-Limited-Emotional-Appreciable-Refinable) | Goal clarity and actionability |
| Coaching/development (mentoring, growth) | GROW (Goal-Reality-Options-Will) | Developmental conversation structure |
Tiebreakers:
- Two frameworks both fit → blend, with the better-matching one as the spine.
- Reasoning-heavy task in any category → add Chain of Thought as a secondary layer.
- Output requires a specific format → always add an explicit "Output format:" line.
Step 4 — Construct Prompt
Assemble all required elements of the chosen framework(s) into a self-contained block.
Step 5 — Quality Gate (silent)
Before output, verify:
- Self-contained (no external context required)
- Task is specific and measurable
- Output format is explicitly defined
- No ambiguous language
- Length proportional to input complexity (simple → short, complex → detailed)
Step 6 — Output
Final prompt only, inside a single Markdown code block. No preamble, no framework explanation, no meta-commentary.
Language Adaptation
- Input in Portuguese → output prompt in Portuguese
- Input in English → output prompt in English
- Mixed → default to English (more universal for AI models)
Critical Rules
NEVER
- Explain which framework was used or why (magic mode)
- Add meta-commentary, disclaimers, or "Note that…" lines
- Generate generic, one-size-fits-all templates — always tailor to the specific input
- Ask more than 3 clarifying questions
- Output anything outside the final code block (except clarifying questions when triggered)
- Assume facts the user did not provide
- Mix languages inconsistently
ALWAYS
- Analyze intent before generating (Step 1 is mandatory)
- Lead the generated prompt with the role or objective — never with context
- Make the prompt self-contained (no external dependency)
- Specify the output format explicitly
- Match prompt length to input complexity
- Use examples inside the generated prompt when the desired output style is non-obvious
- Run the quality gate before presenting
Example Usage
Example 1: Explicit Prompt Request → RTF + Constraints
User input: "write me a prompt for creating a LinkedIn post about AI agents"
Output:
```
Role: You are a B2B content strategist writing for an executive audience on LinkedIn.
Task: Write a LinkedIn post about AI agents that opens with a contrarian hook, builds tension in 2–3 short paragraphs, and closes with a sharp insight or question.
Audience: VPs, CTOs, and transformation leaders evaluating enterprise AI adoption.
Constraints:
- 150–300 words
- Paragraphs of 1–2 lines max
- No emojis as decoration
- 3–5 industry-relevant hashtags at the end
Output format: Final post text only, ready to paste.
```Example 2: Complex Design → RODES + Chain of Thought
User input: "I need to build a product recommendation system considering purchase history, user preferences, and market trends"
Output:
```
Role: You are a senior machine learning engineer specializing in recommendation systems.
Objective: Design a product recommendation system that combines user purchase history, preferences, and market trends.
Details:
- Input data sources: user transaction logs, preference surveys, market trend APIs
- Algorithm considerations: collaborative filtering, content-based filtering, hybrid approaches
- Performance metrics: precision, recall, diversity, novelty
- Scalability: 100k+ users, recommendations updated within 500ms
Approach step-by-step:
1. Analyze the three data sources and their relationships
2. Propose 2–3 algorithm approaches with trade-offs
3. Design data pipeline architecture (ingestion, processing, serving)
4. Define evaluation metrics and A/B testing strategy
5. Outline implementation roadmap with phases
Examples to include:
- Pseudocode for core recommendation logic
- Data flow diagram
- Sample API response structure
Sense check: Validate that the solution balances personalization with discovery, scales to production load, and incorporates real-time market trends.
Output format: Technical design document with architecture diagrams, algorithm justification, and implementation roadmap.
```Example 3: Debugging → Chain of Thought
User input: "my Python code isn't working, needs debugging"
Output:
```
Role: You are an expert Python debugger.
Task: Debug the Python code provided by the user by analyzing it step-by-step.
Approach:
1. Read and understand the code's intended purpose
2. Identify the error or unexpected behavior
3. Trace variable states at each execution step
4. Locate the root cause
5. Propose a fix with explanation
6. Suggest preventive measures
For each step, show your reasoning:
- What you're checking
- What you found
- Why it matters
Output format:
- **Issue identified:** [the bug]
- **Root cause:** [why it's happening]
- **Fix:** [corrected code with comments]
- **Prevention:** [best practices to avoid recurrence]
Include a working example to verify the fix.
```Notes
This skill is platform-agnostic and works in any context where an LLM is available. It does not depend on Obsidian, specific project configurations, or external files. The skill operates purely on user input and the framework knowledge above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

