بنقرة واحدة
readme-refresh
Audit and update a project README, or bootstrap a new one. Detects tech stack, versions, and services.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Audit and update a project README, or bootstrap a new one. Detects tech stack, versions, and services.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a pull request with auto-generated description, issue linking, ROADMAP updates, and PR-metadata validation.
Merge a pull request with status checks, squash merge, and branch cleanup. Handles worktree contexts.
Fan out a batch of autopilot-queued issues to parallel background worktree subagents — each runs /autopilot — with an Opus gating review on every Sonnet-built PR.
Detailed technical walkthrough covering architecture, test coverage, product tour, and key design decisions.
Pre-PR advisory check for deviations from the project spec. Read-only analysis.
Generate a hands-on QA testing guide as a self-contained HTML page — for Rails apps or static (Hugo) sites. --publish uploads the HTML to the project's configured QA host.
| name | readme-refresh |
| description | Audit and update a project README, or bootstrap a new one. Detects tech stack, versions, and services. |
Audit and update the project README, or bootstrap one if it doesn't exist. The README is a living document — it evolves with the code and should always reflect the current state of the project.
--bootstrap: Force bootstrap mode even if a README exists (useful to start fresh)README.md exists at the project root and --bootstrap was not passed: enter Refresh mode (Step 1).README.md does not exist or --bootstrap was passed: enter Bootstrap mode (Step 5).Gather facts from the codebase. Do not rely on the README's current claims — verify independently.
Tech stack and versions:
.ruby-version, Gemfile.lock (RUBY VERSION section), .tool-versionsGemfile.lock (search for rails ().node-version, .nvmrc, .tool-versions, package.json (engines)config/database.yml, Gemfile.lock (pg, mysql2, sqlite3)Gemfile or package.json for notable dependenciesServices and infrastructure:
fly.toml (Fly.io), netlify.toml, Procfile, render.yaml, app.json (Heroku), Dockerfile, docker-compose.ymlconfig/storage.ymlconfig/environments/production.rb (SMTP settings, action_mailer config), initializers for Postmark/SendGrid/etc.config/application.rb or initializers (Solid Queue, Sidekiq, etc.)Available commands:
bin/ directory: list executable scripts (bin/rails, bin/dev, bin/ci, bin/setup, etc.)Procfile.dev or Procfile: processes defined for local developmentMakefile or Taskfile: custom task definitionspackage.json scripts sectionConfiguration requirements:
.env.example or .env.template: expected environment variablesconfig/credentials.yml.enc or config/master.key: credentials setupconfig/database.yml: database setup requirementsCI/CD:
.github/workflows/: GitHub Actions workflows.circleci/, .travis.yml, Jenkinsfile: other CI configsRead the current README.md and compare each claim against the facts gathered in Step 1. Build a findings report with three categories:
Gemfile.lock shows Rails 8.0, or mentions a service that has been removed).bin/dev script for local development, a background job processor, a CI workflow).Do not flag:
CHECKPOINT: Present the findings report to the user. Format:
README Refresh — Findings
==========================
Outdated (N items):
✗ Ruby version: README says 3.3.0, project uses 4.0.1
✗ Rails version: README says 7.1, Gemfile.lock shows 8.0.1
✗ References Redis for caching, but project uses Solid Cache
Missing (N items):
+ bin/dev script not documented (starts Procfile.dev with foreman)
+ Postmark configured for transactional email — not mentioned
+ GitHub Actions CI workflow exists — not documented
Stale references (N items):
⚠ Setup step 3 references `rake db:seed` — project uses `bin/rails db:seed`
⚠ Link to API docs points to a 404
No issues found: (list any sections that are current and accurate)
Ask: "Want me to apply the mechanical fixes? I'll update versions, add missing sections, and remove stale references. I won't rewrite prose descriptions."
For each confirmed finding:
After applying changes:
Run the same scan as Step 1 to gather project facts.
Based on the scan results, generate a README with these sections (omit any that don't apply):
<!-- TODO: Add project description -->. Do not invent a description.bin/setup, bundle install, bin/rails db:prepare, .env configuration, etc. Only include steps that the project actually needs.bin/dev, bin/rails server, etc.), how to run tests, how to run the linter.docs/ directory exists, mention it and list key documents (PRD, domain model, etc.).CHECKPOINT: Present the generated README to the user for review.
Write the file to README.md at the project root. Do not commit — let the user review and commit when ready.
Makefile, Dockerfile, docker-compose.yml, README.md).CLAUDE.md, read it for additional context about conventions, but do not document CLAUDE.md itself in the README (it is tooling-specific, not project documentation).This is a living-document maintenance command (→ See spec-driven-development.md §5 "Document Lifecycle"). The README is never frozen — it evolves with the code.
| Project Stage | README Refresh Focus |
|---|---|
| Greenfield | Bootstrap mode. Generate initial README as setup docs solidify. |
| MVP complete | Full refresh. The README likely drifted during rapid development. |
| Mature | Light periodic refresh. Versions and dependencies are the main drift vectors. |
Suggested cadence: Run after phase boundaries, after /update-deps, or whenever the project feels like it has accumulated untracked changes. A good rule of thumb: if you'd be embarrassed for a new contributor to read the README, it's time.