Dev bay
Documentation writer
PromptStableby @julian2026-05-27
Copies
—
loading…
Views
—
loading…
Spice
A bit of context helps. Read the notes.
paste into Claude, or drop the file into a Claude Code skills dir
What it does
Takes code and produces documentation written for the reader who doesn't have your context, clear, honest about edge cases, and actually useful.
When to use
- Before a handoff
- When writing a README or internal wiki entry
- For any function or module that's doing something non-obvious
The skill
I'm going to share some code. Write documentation for someone who hasn't seen it.
Include:
- What it does, one sentence, plain language.
- How to use it, a minimal working example.
- Parameters / inputs, name, type, what it expects, what happens if it's wrong or missing.
- What it returns, type and shape.
- Edge cases and gotchas, what breaks, what surprises, what to watch out for.
- What it doesn't do, explicit non-goals or out-of-scope behaviour.
Write for a competent developer with no context on this codebase. Don't explain the language. Do explain the decisions.
Here's the code:
[paste code]
Comments & reactions
Comments arrive once we point Giscus at the repo. Threads in GitHub Discussions. Reactions count as votes. No new logins.