Skill Description Writer for Codebase Docs Prompt
Useful when you build agent skills and need a good description. It states what the skill does, who it is for and when an agent should pick it, so it triggers at the right time.
Write a skill description for an AI agent skill that generates WIKI.md documentation for a codebase.
Details:
- What the skill produces: [WIKI.md with architecture, modules, data flow]
- How it analyzes code: [e.g. using the Language Server Protocol for precise symbol and reference data]
- Ideal users: [e.g. new team members, open source maintainers]
- Languages supported: [list]
- Things it does NOT do: [e.g. does not edit source code]
Rules:
- Two or three sentences, under 60 words.
- Start with an action verb.
- Include when to use it ("Use when...").
- No marketing language.
Return three versions, from shortest to most detailed.Adapted from a prompt in awesome-chatgpt-prompts (CC0), rewritten by Retext.
How to use this prompt
- 1
Copy the prompt
Use the copy button, or type its Retext trigger in any app to paste it.
- 2
Open your AI assistant
Start a new chat in ChatGPT, Claude, Gemini or the assistant you use.
- 3
Fill in the details
Replace any [bracketed] parts with your own details.
- 4
Check and refine
Read the answer, then reply with one change at a time.
Tips for better results
- •Include the 'does not do' list. It prevents the skill from being used for the wrong job.
- •Write the 'Use when' phrase using words a user would actually type.
- •Test the description by asking an agent which of your skills fits a sample request.
Get the free prompt pack
Our best education prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.
Variations
Trigger phrases
Add this line: 'Also list 8 phrases a user might type that should activate this skill.'
Short registry entry
Ask for a 15-word version for a skills index.
Save it as a Retext snippet
Retext is a free text expander for Mac. Save this prompt once, then type ;skill-desc in any app (ChatGPT, Claude, your editor, a browser tab) and the full prompt is pasted in.
- Click Add to Retext. The prompt installs as a snippet with the trigger ;skill-desc.
- Change the trigger in Retext if you prefer a different one.
- Type the trigger wherever you want the prompt, then fill in the brackets.
Frequently asked questions
What does the Skill Description Writer for Codebase Docs prompt do?
Useful when you build agent skills and need a good description. It's written for developers.
Which AI tools does it work with?
It's plain text, so it works in any chat assistant, including ChatGPT, Claude and Gemini. Paste it as the first message of a new chat.
What do I need to fill in?
Replace [list], [e.g. does not edit source code] with your own details. Leave the rest as it is unless you want to change how the AI answers.
Can I save this prompt as a snippet?
Yes. Click Add to Retext and it installs as a snippet with the trigger ;skill-desc. Type that in any Mac app to paste the full prompt.
Related Templates
Get the free prompt pack
Our best education prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.