THE GITHTML FIELD GUIDE
Write a README opening that explains what the project actually does
Open a README with the project's purpose, intended user, and a concrete result it produces. State a meaningful limit before sending readers into setup. A useful introduction helps someone decide whether they are in the right repository; it should not require them to infer the product from a badge wall, slogan, or directory listing.
Answer the visitor's decision before telling the history
A newcomer usually needs to know whether this repository solves the problem in front of them. Lead with an action and an object: the sample tool validates exported configuration files and reports missing required fields. Name the intended environment or audience if that materially narrows its use. Save origin stories, architectural philosophy, and acknowledgments for later sections. Avoid adjectives such as powerful or seamless when a specific input and output would explain more. If the repository is an experiment, archived project, or documentation-only collection, say so near the beginning rather than leaving visitors to discover that after installation.
Use one honest example to establish scope
The example below is a writing scaffold, not a claim about a real package. Replace every bracketed field with verified project information. Add a small input-to-result example or a screenshot when it clarifies the task. State one important non-goal, such as not modifying the source files, only if the implementation supports it. Do not invent guarantees to make the introduction sound reassuring. Link to a focused quickstart after the reader understands what success looks like. A visitor should be able to explain the project to a teammate after reading the first short section without opening the source tree.
# Sample project
[Tool name] helps [audience] turn [input] into [observable result].
It supports [verified scope]. It does not [important non-goal].
Start with the [quickstart](docs/quickstart.md).Test the opening with an unfamiliar reader
Ask someone outside the project to identify the intended user, required input, resulting output, and an important limitation from the introduction alone. Record where they guess incorrectly and revise those sentences. This is a comprehension check, not a marketing preference poll. Compare the introduction with current behavior whenever the project changes direction. Remove claims that describe a future roadmap rather than shipped functionality, or label them explicitly as planned elsewhere. Keep the opening concise enough that setup and documentation links remain easy to find. The rest of the README can provide evidence and detail without forcing every visitor through the entire project history.
- Write one sentence naming the user, action, and result before adding slogans or badges.
- Include a concrete example and one verified boundary that prevents a common misunderstanding.
- Ask an unfamiliar reader to paraphrase the purpose and note mismatches.
- Review the opening when scope changes, not only when installation commands break.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.