Prompt Engineering skill for Claude Code — rewrites and optimizes prompts using proven techniques (Anthropic, OpenAI, Gemini, The Prompt Report).
FAQ
prompt-engineering-skill is a Claude Code plugin with 1 hand-picked skill for development work, indexed on Flowy. Install it with the command on its page. It includes prompt-engineering. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add PhAlves23/prompt-engineering-skill> /plugin install prompt-engineering@prompt-engineering-marketplace
An AI skill that turns a raw draft into a production-grade prompt.
It rewrites and optimizes prompts using proven techniques, then hands you a ready-to-paste result plus a short changelog of what changed and why — calibrated to your task type and target model.
Works with Claude Code · GitHub Copilot · OpenAI Codex · Gemini CLI · OpenCode · Cursor · Windsurf · Cline
Most prompt advice is a handful of generic tips. This skill is different in three ways:
sources.md.It improves the prompt — it does not run it, unless you explicitly ask.
You paste a draft (or describe what you want). The skill runs a five-phase workflow:
classify the sentiment
of this comment:
{{comment}}
You are a sentiment analyst
specialized in customer feedback.
Classify the sentiment of the comment
below into one of these categories:
positive, negative, neutral.
<comment>
{{comment}}
</comment>
Follow these steps:
1. Identify expressions that carry emotion.
2. Weigh the overall tone, accounting
for irony and negation.
3. Choose the predominant sentiment.
Put your reasoning in <analysis>. On the
last line, answer ONLY one word:
positive, negative, or neutral.
What the skill changed, and why: added a role (calibrates interpretation), a strict enum output contract (ONLY one word — parseable), a short chain-of-thought (catches irony/negation, the top error source in sentiment), and XML around the input (robust to comments with line breaks). Every rewrite ships with this changelog.
See six more cases — coding, extraction, research, agentic, long-context, and an already-good prompt — in worked-examples.md.
Pick your tool. Claude Code is the primary target; the rest are fully supported.
One-line installer (copies the skill into ~/.claude/skills/, backs up any existing install, touches nothing else):
curl -fsSL https://raw.githubusercontent.com/PhAlves23/prompt-engineering-skill/main/install.sh | bash
Or as a plugin (versioned, updatable):
/plugin marketplace add PhAlves23/prompt-engineering-skill
/plugin install prompt-engineering
Restart Claude Code after installing.
The plugin marketplace works in Copilot CLI too:
copilot plugin marketplace add PhAlves23/prompt-engineering-skill
copilot plugin install prompt-engineering@prompt-engineering-marketplace
Codex discovers the full skill from ~/.agents/skills/. Full guide: docs/INSTALL.codex.md.
git clone https://github.com/PhAlves23/prompt-engineering-skill.git ~/.codex/prompt-engineering-skill
mkdir -p ~/.agents/skills
ln -s ~/.codex/prompt-engineering-skill/plugins/prompt-engineering/skills/prompt-engineering ~/.agents/skills/prompt-engineering
gemini extensions install https://github.com/PhAlves23/prompt-engineering-skill
Reads AGENTS.md natively. Quickest path (full guide: docs/INSTALL.opencode.md):
curl -fsSL https://raw.githubusercontent.com/PhAlves23/prompt-engineering-skill/main/adapters/codex/AGENTS.md -o AGENTS.md
Copy the rule for your tool from adapters/:
adapters/cursor/.cursor/rules/prompt-engineering.mdc into your project's .cursor/rules/ (invoke with @prompt-engineering). A native Cursor plugin manifest is also provided at .cursor-plugin/plugin.json.adapters/windsurf/.windsurf/rules/prompt-engineering.md into .windsurf/rules/ (activates by intent).adapters/cline/.clinerules/prompt-engineering.md into .clinerules/prompt-engineering.md (workspace rule; ask explicitly).See adapters/README.md for details and other tools (Roo, Continue, Zed).
Start a new session and ask for something that should trigger the skill — for example, paste a draft with "improve this prompt", or run /prompt-engineering in Claude Code. You should get an optimized prompt + a changelog.
# Claude Code / curl install:
test -f ~/.claude/skills/prompt-engineering/SKILL.md && echo "installed" || echo "not found"
Type /prompt-engineering (Claude Code / Copilot), or simply say:
The skill activates automatically (where the tool supports intent-based activation) and returns the rewritten prompt plus a changelog.
| Component | What it gives you |
|---|---|
| Canonical structure | Role, context+motivation, sequential instructions, XML, few-shot, CoT, output contract, success criteria |
| Technique selection | By task type (classification, extraction, generation, coding, reasoning, research, agentic, summarization) and model |
| Technique index | All 58 techniques from The Prompt Report plus vendor/post-2024 extras |
| Worked examples | 7 full draft → optimized → changelog cases |
| Quality checklist | Pre-delivery self-review |
| Evaluation guide | How to A/B test that the rewrite is actually better |
| Prompt security | Defenses against injection/jailbreak |
| Auto-optimization | APE, OPRO, DSPy, MIPRO references for when you have an eval set |
| Install method | Update command |
|---|---|
| curl installer | re-run the installer |
| Claude / Copilot plugin | /plugin update prompt-engineering |
| Codex symlink | cd ~/.codex/prompt-engineering-skill && git pull |
| Gemini extension | gemini extensions update prompt-engineering |
rm -rf ~/.claude/skills/prompt-engineering/plugin uninstall prompt-engineeringrm ~/.agents/skills/prompt-engineeringIssues and pull requests are welcome. Start with CONTRIBUTING.md — it covers the dev setup, how the adapters are generated from a single source, and the review process. Please also read the Code of Conduct. Security reports go through SECURITY.md.
The skill stays grounded in cited sources: if you change a technique claim, cite it.
prompt-engineering-skill/
├── plugins/prompt-engineering/ # the Claude Code plugin
│ └── skills/prompt-engineering/ # the skill itself (source of truth)
│ ├── SKILL.md # entry point + workflow
│ ├── references/ # technique catalog, model profiles, examples, etc.
│ └── assets/ # canonical XML template
├── adapters/ # other-tool versions (generated from _core.md)
│ ├── _core.md # single source for the lean adapter body
│ ├── cursor/ windsurf/ copilot/ codex/
│ └── README.md
├── scripts/build-adapters.sh # regenerate adapters from _core.md
├── docs/ # per-platform install guides + website snippets
├── .github/ # CI, issue/PR templates, funding
├── .claude-plugin/marketplace.json # Claude Code / Copilot marketplace
├── .cursor-plugin/plugin.json # native Cursor plugin manifest
├── gemini-extension.json + GEMINI.md # Gemini CLI extension
├── install.sh # one-line curl installer
├── CHANGELOG.md CONTRIBUTING.md CODE_OF_CONDUCT.md SECURITY.md LICENSE
MIT — free to use, modify, and redistribute with attribution.
.claude-plugin/
marketplace.json
.cursor-plugin/
plugin.json
.github/
CODEOWNERS
FUNDING.yml
ISSUE_TEMPLATE/
bug_report.yml
config.yml
feature_request.yml
platform_support.yml
PULL_REQUEST_TEMPLATE.md
workflows/
commitlint.yml
validate.yml
.gitignore
adapters/
_core.md
cline/
.clinerules/
prompt-engineering.md
codex/
AGENTS.md
copilot/
.github/
prompts/
prompt-engineering.prompt.md
cursor/
.cursor/
rules/
prompt-engineering.mdc
README.md
windsurf/
.windsurf/
rules/
prompt-engineering.md
assets/
banner.html
banner.png
logo.png
CHANGELOG.md
CITATION.cff
CODE_OF_CONDUCT.md
CONTRIBUTING.md
docs/
announcement-templates.md
DEVELOPMENT.md
INSTALL.codex.md
INSTALL.opencode.md
RELEASE-v1.1.0-draft.md
website-snippet.html
website-snippet.md
gemini-extension.json
GEMINI.md
install.sh
LICENSE
plugins/
prompt-engineering/
.claude-plugin/
plugin.json
skills/
prompt-engineering/
assets/
canonical-template.md
references/
auto-optimization.md
evaluation.md
model-profiles.md
prompt-security.md
quality-checklist.md
sources.md
task-patterns.md
technique-index.md
techniques.md
worked-examples.md
SKILL.md
README.md
scripts/
build-adapters.sh
SECURITY.md© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic