Home › Agent workflows › Create README prompt file (Copilot)

Create README prompt file (Copilot)

A Copilot prompt file (/create-readme) that writes or updates a README from the actual repo contents and verified commands.

GitHub CopilotAgent workflows

How to use

Save this as .github/prompts/create-readme.prompt.md in your repository root, commit it, and your agent will pick it up automatically. Edit the commands to match your project.

Note: Review and test before use. Provided as is, without warranty. See Terms.

.github/prompts/create-readme.prompt.mdDownload  
---
description: Write or update the README from the actual repository contents
agent: agent
---

Create or update `README.md` for this repository.

1. Explore first: package manifests (`package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`), scripts/Makefile, CI workflows, `.env.example`, Docker files, and the main entry points. Base everything on what exists; don't invent features.
2. Structure:
   - Project name and a one-paragraph description of what it does and for whom.
   - **Quick start:** prerequisites (with versions from the manifests), install, configure env (table of variables from `.env.example`), run.
   - **Common tasks:** test, lint, build, deploy commands exactly as defined in scripts.
   - **Project structure:** a short tree of top-level folders with one line each.
   - **Contributing** and **License** (link existing files).
3. Commands go in fenced `bash` blocks, one per line, copy-pasteable.
4. If a README exists, keep accurate sections and the author's tone; fix outdated commands and fill gaps.
5. Run the install/test commands if feasible to confirm they work, and say which ones you verified.

Don't include secrets, internal URLs, or badges for services the repo doesn't use.

More: all Agent workflows rules · all GitHub Copilot rules

Related rules

Code review Copilot instructions

Copilot instructions focused on pull request review: what to flag, severity labels, and how to word comments.

GitHub CopilotAgent workflows

Code review prompt file (Copilot)

A Copilot prompt file (/review-changes) that reviews the current changes and reports issues by severity without editing.

GitHub CopilotAgent workflows

Code reviewer subagent (Claude Code)

A Claude Code subagent definition that reviews the current diff for bugs, security, and tests, reporting by severity.

Claude Code (CLAUDE.md)Agent workflows

/commit slash command (Claude Code)

A Claude Code /commit slash command that reviews staged changes and writes a Conventional Commits message.

Claude Code (CLAUDE.md)Agent workflows

Context management for long agent sessions CLAUDE.md

CLAUDE.md practices for keeping Claude Code effective in long sessions: lean memory, notes files, subagents, and resets.

Claude Code (CLAUDE.md)Agent workflows

Git commits & PRs AGENTS.md

AGENTS.md rules for how agents commit: Conventional Commits, atomic changes, safe git commands, and PR descriptions.

AGENTS.mdAgent workflows

Get the best new AI prompts every week

One short email a week: the best new prompts and rules for ChatGPT, Claude, Gemini, Midjourney, Cursor and more, plus what changed in the tools. Free, unsubscribe anytime.

Finishes on our newsletter page at beehiiv (opens in a new tab). Or subscribe directly.