readme
/readme
Generate or update a project README from a template matched to the project type (backend, frontend, fullstack, mobile). Fills only what is missing in an existing README, or with --diff updates only the sections touched by the current branch's changes. Use when the user asks to create, generate, complete, or update a README.
- Author
- tamaplus ↗
- Repository
- josjis-code ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 0
- HTML comments
- 2
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
Generate or update a project README from a template matched to the project type (backend, frontend, fullstack, mobile). Fills only what is missing in an existing README, or with --diff updates only the sections touched by the current branch's changes. Use when the user asks to create, generate, complete, or update a README.
Arguments
/readme [--type backend|frontend|fullstack|mobile] [--diff]
Original author description
Generate or update a project README from a template matched to the project type (backend, frontend, fullstack, mobile). Fills only what is missing in an existing README, or with --diff updates only the sections touched by the current branch's changes. Use when the user asks to create, generate, complete, or update a README.
How it works
- Arguments
- Code navigation
- Step 1: Pick the template
- Step 2: Choose the mode
- Where facts come from
- Finish
SKILL.md preview
---
name: readme
description: Generate or update a project README from a template matched to the project type (backend, frontend, fullstack, mobile). Fills only what is missing in an existing README, or with --diff updates only the sections touched by the current branch's changes. Use when the user asks to create, generate, complete, or update a README.
argument-hint: "[--type backend|frontend|fullstack|mobile] [--diff]"
---
# readme
Produce a README that follows a fixed template, filled with facts read from the repository. Never invent facts.
## Arguments
- `--type <backend|frontend|fullstack|mobile>`: use this template. Skips detection.
- `--diff`: update only the sections affected by changes on the current branch.
- No arguments: detect the type, then create or complete the README.
## Code navigation
Pick the best tool available, top to bottom. Check once at the start and remember the choice.
| Tier | Tool | How to detect | Use for |
|---|---|---|---|
| 1 | **Codegraph** | codegraph MCP tools available, or a `.codegraph/` folder in the repo | Symbols, callers/callees, call paths, blast radius |
| 2 | **LSP** | An `LSP` tool or a symbol-aware MCP server (such as Serena) is available, and the language server for the repo's language responds | Go to definition, find references, call hierarchy |
| 3 | **ctags** | `command -v ctags` reports universal-ctags (`ctags --version`) | Symbol map: where each type/function is defined |
| 4 | **ripgrep / grep + reading files** | Always available | Text search, then follow imports by reading |
Rules:
- Do not install anything and do not stop to ask. If you are on tier 3 or 4, tell the user in one line, e.g. "No codegraph or LSP found; using ripgrep. Caller lists may be incomplete. Installing codegraph or a language server improves this."
- On tier 3–4, find callers by searching for the symbol name and confirming each hit by reading it. Watch for interface/method dispatch, dependency injection, and string-based routing, which text search misses.
- State the tier used in your final summary.
## Step 1: Pick the template
Use the first that applies:
1. A repo-provided template: `.github/README_TEMPLATE.md`, `docs/README_TEMPLATE.md`, or `README.template.md`. The team's template always wins.
2. `--type` flag → `templates/<type>.md` in this skill folder.
3. Detect the type from the repo:
| Signal | Type |
|---|---|
| `AndroidManifest.xml`, `build.gradle(.kts)` with `com.android.application`, `*.xcodeproj`, `*.xcworkspace`, `Package.swift` with an iOS target, `pubspec.yaml` with `flutter`, `react-native` / `expo` in `package.json` | mobile |
| Both a server (Go/Java/Python/Node API, DB migrations) and a web UI in one repo, or a monorepo with `apps/web` + `apps/api`, or Next.js with API routes / server actions **and** a database client | fullstack |
| `package.json` with `react`, `vue`, `next`, `nuxt`, `svelte`, `angular` and no server/DB layer | frontend |
| `go.mod`, `pom.xml`, `build.gradle` (non-Android), `requirements.txt` / `pyproject.toml`, `Cargo.toml`, `*.csproj`, `composer.json`, or Node with `express` / `fastify` / `nest` | backend |
If signals conflict or are weak, ask the user once, showing what you found. Do not guess silently.
## Step 2: Choose the mode
### No README exists → generate
1. Read the template.
2. Gather facts for each section from the repo (see "Where facts come from").
3. Replace every `{{PLACEHOLDER}}` you can fill. Remove authoring `<!-- -->` comments.
4. For a section with no facts available, keep the heading and write `> TODO: <what is needed>`. Do not delete required sections and do not fill them with plausible fiction.
5. Drop optional sections (marked `<!-- optional -->` in the template) only if they truly do not apply, such as Database Design for a stateless service.
### README exists, no `--diff` → complete
1. Map the existing README's headings to template sections, matching by meaning, not exact title.
2. Leave every existing section's content untouched, even if you would phrase it differently.
3. Add the missing sections in template order, filled from the repo.
4. If an existing section contradicts the code (for example a documented env var no longer exists), do not edit it. List it in your summary as a suspected stale section.
### `--diff` → update from changes
1. Find the base: `git merge-base HEAD origin/main` (fall back to `main`, then `master`). Collect `git diff <base>...HEAD` plus uncommitted changes.
2. Map changed files to README sections:
| Change | Section |
|---|---|
| New/changed routes, handlers, controllers | API Producer / Pages & Routes |
| New outbound HTTP/gRPC clients or base URLs | API Consumer |
| Migrations, model/entity/schema files | Database Design / Local Storage |
| New env vars, config keys, `.env.example` | Environment |
| Dependency manifest changes | Technology Stack |
| New top-level folders or modules | Project Structure |
| Dockerfile, Makefile, scripts, build configs | Running Application / Build |
| New screens, navigation entries | Screens & Navigation |
3. Edit only those sections, and only the rows/lines related to the change. Add a row to the Version table if the template has one and the user confirms a version.
4. If the README does not follow a template yet, run "complete" mode first and tell the user.
## Where facts come from
- **Description, features**: existing docs (`docs/`, `AGENTS.md`), package description fields, top-level route/screen groups. If the purpose is not stated anywhere, ask the user instead of summarizing code.
- **Tech stack**: dependency manifests only. Include versions from the manifest.
- **Architecture, diagram**: folder layout and import direction between layers. Confirm call direction with the navigation tier chosen above.
- **API Producer**: route registrations (router files, decorators, `app/api/**`, OpenAPI spec if present).
- **API Consumer**: outbound clients, base URL config keys.
- **Database**: migrations first, then ORM models.
- **Environment**: `.env.example`, config files, and code that reads env/config. List keys and meaning, **never values** from real `.env` or secret files.
- **Running**: Makefile, `package.json` scripts, Dockerfile, CI config. Only commands that exist.
- **Author**: ask the user, or leave TODO. Do not pull names from git log without asking.
## Finish
Tell the user: the template and mode used, sections added or updated, sections left as TODO, and any suspected stale sections. Do not commit.
Files in this package (5)
- SKILL.md 6 KB
- templates/backend.md 4 KB
- templates/frontend.md 3 KB
- templates/fullstack.md 4 KB
- templates/mobile.md 4 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · tamaplus/josjis-code | 100 | MIT |
| sorah/config | 100 | MIT |
| Dhananjay-JSR/skills | 100 | MIT |
| Jeff-Kazzee/github-skills | 100 | MIT |
| jasonm4130/claude-skills | 100 | MIT |
| samplexbro/agentsmesh | 100 | MIT |
| tushaarmehtaa/tushar-skills | 100 | MIT |
| samplexbro/agentsmesh | 100 | MIT |
| rootcastleco/rei-skills | 95 | MIT |
Database snapshot: 13.11.2026 · package version 5ae3c88a2455 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 96create-readme
Use when generating or updating a project README.md or CHANGELOG.md. - 100readme-docs
Creates or updates the README.md of a software project (backend, frontend, mobile, library, CLI or anything else) following a documentation standard with mandatory, conditional and optional sections. Use it when the user asks to document a project, create or improve the README,… - 100update-readme
Updates README.md and README.zh-CN.md to reflect the project's current state. Use this skill whenever the user asks to "update the README", "sync the docs", "update documentation", "reflect latest changes in README", or wants both the English and Chinese READMEs to match the current project. - 100update-readme
Type-driven README updater. Detects repo family, confirms it with the user, asks for style, audience, and depth, then generates from the matching template workflow. Auto-invoke on 'update readme' and 'refresh readme'. - 100rc-readme
Writes or refreshes a project README from evidence in the codebase. Use to generate or update one. Do not use for API specs or changelogs. - 100readme-updater
Update project README based on current project structure and code. Use when project structure changes.