- Home
- Skills
- Prompt & Skill Engineering
- Prompt Generator & Optimizer (PT-BR + EN)
Works with the AI Agents you already use
Prompt Generator & Optimizer (PT-BR + EN)
Turns a one-line request into a compact and a full copy-ready prompt, or diagnoses and rewrites the prompt you paste.
Free
Prompt Generator & Optimizer (PT-BR + EN)
Example session with this skill installed
write a prompt to review a pull request in our Python API before merge
- Read your context and instructions
- Compiled the prompt generator
Category: Code / Technical · Assumptions: Python 3.11+, FastAPI; output = prioritized review comments
Compact prompt
You are a senior Python engineer reviewing a pull request for a production API.
Review {{DIFF}} for bugs, security issues, missing tests and unclear naming.
List findings by severity (blocker / major / minor). For each: file:line, the problem, a concrete fix.
End with one line: merge / merge after fixes / do not merge.
Full prompt
<role>Senior Python engineer, expert in FastAPI, async code and API security.</role>
<context>Pull request to {{BRANCH}} in a production API. The reviewer must catch issues before merge, not restyle the code.</context>
<task>Review the pull request in {{DIFF}} and decide whether it can be merged.</task>
<rules>
- Check correctness, input validation, authentication/authorization, error handling, test coverage and naming.
- Think step by step through each changed file before concluding.
- Report only real issues; skip pure style preferences unless they hurt readability.
- Mark anything you cannot verify from the diff as "needs context".
</rules>
<format>
Findings grouped by severity (blocker / major / minor).
For each: file:line · problem · suggested fix (code if short).
Final line: merge / merge after fixes / do not merge, with one-sentence reason.
</format>
Why it works: severity order and a concrete fix per finding turn the review into an action list instead of a list of opinions.
To refine: add your team's checklist (e.g., logging, migrations); or ask for a summary comment ready to paste on the PR.
Connects securely to your tools. The creator never sees your data.
About this skill
Turn a one-line request into a strong, copy-ready prompt — without wasting tokens.
What it does
- Classifies your request and applies a domain module: Brazilian law, civil-service exams (Cebraspe, FGV, FCC), management, finance, study, code, content, fitness, research and creative.
- Asks at most 2 questions, only when something critical is missing. Otherwise it states its assumptions as
{{VARIABLES}}. - Delivers two versions: a compact prompt (≤60% of the tokens) and a full one with role, context, task, rules and output format.
- Optimizes existing prompts: paste yours and get a 3-point diagnosis (missing / excess / ambiguity) plus a rewritten version.
Output format
Category and assumptions → compact prompt → full prompt → one line on why it works → up to 2 refinement ideas.
Languages
Portuguese (Brazil) first; writes the prompt in the same language as your request.
Triggers
"gera um prompt", "melhora este prompt", "/prompt", "write a prompt", "improve this prompt".
Generates prompts only; it does not execute them unless asked. Asks at most two clarifying questions. Image prompts skip XML syntax. Primary focus is PT-BR and Brazilian exam boards (Cebraspe, FGV, FCC). Legal citations produced by the generated prompts must be checked against current law and case law.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
This skill has been used 2 times.
Trust & safety
Security scan
Security scan passed 13 days ago
- Free with an Agensi account
Permissions
No special permissions declared or detected