write-a-promptlisted
Install: claude install-skill bastos/skills
# Write a Prompt
Turn the user's intent and available context into one prompt they can paste into a new task. Do not execute the task described by that prompt.
Treat OpenAI's [Prompting guide](https://learn.chatgpt.com/docs/prompting) as the source of truth. Read the current page when web access is available and current guidance matters. Do not block prompt writing when the page is unavailable; follow the principles below.
## Workflow
1. Determine the target surface.
- Use Chat for questions, ideas, short drafts, and everyday decisions.
- Use Work for multi-source, tool-using, multi-step, or larger deliverables.
- Use Codex for codebases, code changes, debugging, tests, and developer tools.
- Follow an explicitly named target. Otherwise infer it from the request without asking unless the choice materially changes the prompt.
2. Extract only context that can change the result.
- Carry forward relevant requirements, decisions, examples, reproduction steps, file paths, constraints, and unresolved facts from the conversation.
- Make the prompt self-contained when the target will not have access to this conversation.
- Name useful files, images, connected sources, or tools and say what to take from each.
- Omit irrelevant dialogue, obsolete directions, raw secrets, and unsupported assumptions.
3. Write from the result the user needs. Add only the useful parts:
- Goal: state the outcome first.
- Context: include information or sources that aff