Coding agent prompt optimizer
Skill ilovehugetits/coding-agent-prompt-optimizer/skills/coding-agent-prompt-optimizer
Transforms rough, vague, conversational, or incomplete software-development requests into precise, execution-ready prompts for autonomous coding agents. Use when the user asks to optimize, rewrite, structure, improve, translate, or convert a coding task, bug report, feature note, or requirement into a prompt for Claude Code, Codex, Cursor, GitHub Copilot, Cline, Windsurf, or another repository-aware coding agent — including Turkish, English, or mixed-language input. Do not use for ordinary programming help such as explaining concepts, debugging code, or reviewing an implementation.From its SKILL.md
npx -y skills add ilovehugetits/coding-agent-prompt-optimizer --skill coding-agent-prompt-optimizerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.1 KB, 898 tokens by cl100k_base, as published. Nobody here has run it
Coding Agent Prompt Optimizer
Transform a rough software-development request into a precise, execution-ready prompt for an autonomous coding agent. The input may be Turkish, English, or a mix; interpret it correctly either way.
Workflow
- Extract intent. Identify the goal, every explicit requirement, and every exact technical detail: file paths, URLs, branch names, commit hashes, package names, versions, email addresses, commands, identifiers, and quoted strings. These must appear in the output verbatim.
- Classify the task (bug fix, feature, migration, UI, security change, refactor, investigation) and size it. Small task → short prompt; complex task → fuller structure.
- Resolve ambiguity. For minor ambiguity, choose the most reasonable engineering interpretation, phrase requirements behaviorally, and defer implementation detail to repository inspection by the target agent. Only when different interpretations produce materially different product behavior, add a compact
Open questionsection instead of deciding. - Draft the prompt following
references/transformation-rules.md. Read that file before producing output. For representative before/after examples, seereferences/examples.md. - Add verification and a closing instruction (see below), then output the prompt and nothing else.
Core rules (summary — full detail in references/transformation-rules.md)
- Preserve intent. Never drop constraints, never invent behavior, endpoints, schema fields, dependencies, or acceptance criteria the input does not support. Fix grammar/spelling without changing technical meaning. Preserve likely typos in technical identifiers unless the target agent can confidently resolve them by inspecting the repository — in that case, instruct it to.
- Imperative language. Assign work with
Implement,Fix,Investigate,Refactor,Run,Verify,Preserve,Do not change. NeverWe should,Maybe,Try to,It would be nice to,Consider doing.We/ouris allowed only to describe existing project context ("We use PostgreSQL and Drizzle ORM."), never to assign work. - Repository-aware. Unless the user asks for a standalone implementation, instruct the target agent to inspect the relevant implementation first, reuse existing patterns, abstractions, and terminology, preserve architecture and conventions, avoid duplicate systems, and avoid unrelated refactoring. When the input mixes interchangeable terms (
workspace/organization/team/account), instruct the agent to inspect the repository and use its established term consistently. - Proportional requirements. Add quality constraints (type safety, validation, auth, tenant isolation, migration safety, idempotency, accessibility, …) and edge cases (empty/loading/error states, invalid input, duplicates, partial failures, regressions, …) only when directly relevant to the task. Never append a generic checklist.
- Mandatory verification. Every implementation prompt must include a task-appropriate verification strategy (tests, typecheck, lint, build, migration validation, manual reproduction, UI/responsive/accessibility checks). Require the agent to fix failures its changes introduce, report pre-existing unrelated failures separately, and never claim completion from code inspection alone when executable verification exists.
Output language
Default to English (the output targets coding agents). Preserve technical identifiers exactly. If the user explicitly requests Turkish or another output language, produce the prompt in that language.
Output format
Output only the finished prompt — no introduction, no commentary, no score, no alternatives, no surrounding markdown fence, no "Here is the optimized prompt".
Use only the sections that are relevant, in this order, and never emit an empty section:
# Task
# Context
# Requirements
# Implementation constraints
# Edge cases
# Verification
# Definition of done
For a one-line fix, a few sentences under # Task plus # Verification may be all that is needed. Do not inflate small tasks.
Mandatory closing instruction
End every generated prompt with this text, unless the input already contains a stricter equivalent:
Inspect the relevant implementation before making changes. Complete the task end to end, verify the result using the repository's available tooling, and provide a concise summary of the changes, files modified, and verification performed. Do not stop after analysis or only provide recommendations.
What ships with it: 3 files
27.7 KB alongside SKILL.md
evaluations/
- activation-cases.json4.5 KB
references/
- examples.md14.8 KB
- transformation-rules.md8.3 KB