Get the FREE Ultimate OpenClaw Setup Guide →

update-readme

Scanned
npx machina-cli add skill athola/claude-night-market/update-readme --openclaw
Files (1)
SKILL.md
5.4 KB

README Update Workflow

When To Use

Use this skill whenever the README requires a structural refresh. Run Skill(sanctum:git-workspace-review) first to capture repo context and diffs.

When NOT To Use

  • Updating inline docs - use doc-updates
  • Consolidating ephemeral reports - use doc-consolidation
  • Updating inline docs - use doc-updates
  • Consolidating ephemeral reports - use doc-consolidation

Required TodoWrite Items

  1. update-readme:language-audit
  2. update-readme:exemplar-research
  3. update-readme:outline-aligned
  4. update-readme:edits-applied
  5. update-readme:slop-scanned - AI marker detection via scribe
  6. update-readme:verification-reporting

Step 1 - Language Audit (update-readme:language-audit)

  • Confirm pwd, git status -sb, and the baseline branch for reference.
  • Detect dominant languages using repository heuristics (manifest files, file counts).
  • Note secondary languages that influence documentation (e.g., a TypeScript frontend and a Rust backend) so the README can surface both.
  • Record the method and findings.

See modules/language-audit.md for detailed detection patterns and commands.

Step 2 - Exemplar Research (update-readme:exemplar-research)

  • For each primary and secondary language, use web search to locate high-quality READMEs (star count, recency, maintainer activity).
  • Capture 2-3 exemplar repositories per language and summarize why each is relevant (section order, visuals, quickstart clarity, governance messaging, math exposition, etc.).
  • Store citations for every exemplar so the final summary references them explicitly.

See modules/exemplar-research.md for search query patterns and evaluation criteria.

Step 3 - Outline Alignment (update-readme:outline-aligned)

  • Compare current README headings (rg -n '^#' README.md) against patterns observed in exemplars.
  • Draft a target outline covering: value proposition, installation, quickstart, deeper usage/configuration, architecture/feature highlights, performance or math guarantees, documentation links, contribution/governance, roadmap/status, and licensing/security notes.
  • validate internal documents (docs/, specs/, wiki, commands/) are mapped to the relevant sections so the README anchors them with context-sensitive links.

Step 4 - Apply Edits (update-readme:edits-applied)

  • Implement the new structure directly in README.md (or the specified file).
  • Maintain concise, evidence-based prose; avoid marketing fluff.
  • Add comparison tables, feature lists, or diagrams only if they originate from current repository assets (no speculative content).
  • When referencing algorithms or performance claims, point to benchmarks or tests within the repository or documented math reviews.

Step 4.5 - AI Slop Detection (update-readme:slop-scanned)

Run Skill(scribe:slop-detector) on the updated README to detect AI-generated content markers.

Scribe Integration

The scribe plugin provides AI slop detection:

Skill(scribe:slop-detector) --target README.md

This detects:

  • Tier 1 words: delve, tapestry, comprehensive, leveraging, etc.
  • Phrase patterns: "In today's fast-paced world", "cannot be overstated"
  • Structural markers: Excessive em dashes, bullet overuse, sentence uniformity
  • Marketing language: "enterprise-ready", "cutting-edge", "seamless"

Remediation

If slop score exceeds 2.0 (moderate), apply Skill(scribe:doc-generator) principles:

  1. Ground every claim with specifics
  2. Remove formulaic openers/closers
  3. Use numbers, commands, filenames over adjectives
  4. Balance bullets with narrative prose
  5. Show authorial perspective (trade-offs, reasoning)

For significant cleanup needs, use:

Agent(scribe:doc-editor) --target README.md

Step 5 - Verification & Reporting (update-readme:verification-reporting)

  • Re-read the updated README for clarity, accessibility (section lengths, bullet balance), and accurate links.
  • Run git diff README.md (or the edited file) and capture snippets for the final report.
  • Summarize detected languages, exemplar sources (with citations), key structural decisions, and follow-up TODOs (e.g., add badges, upload diagrams).

Exit Criteria

  • All TodoWrite items are complete.
  • The README reflects a modern, language-aware structure, referencing both internal docs and external inspiration with citations.
  • Research notes and command references are captured so future reviewers can reproduce the process.

Troubleshooting

Common Issues

Documentation out of sync Run make docs-update to regenerate from code

Build failures Check that all required dependencies are installed

Links broken Verify relative paths in documentation files

Source

git clone https://github.com/athola/claude-night-market/blob/master/plugins/sanctum/skills/update-readme/SKILL.mdView on GitHub

Overview

README Update Workflow provides a structured approach to refreshing project documentation. It begins by capturing repo context with git-workspace-review, then conducts a language audit and exemplar research, aligns an outline, and applies edits to make the README reflect exemplar standards and governance messaging.

How This Skill Works

This skill orchestrates a multi-step workflow that begins with git-workspace-review to capture repo context and diffs, followed by language audit, exemplar research, and outline alignment. Edits are applied directly to README.md, and AI slop detection is run to flag generated-content markers. It leverages tools like Read, Write, Edit, Bash, WebSearch, TodoWrite to surface evidence-based content.

When to Use It

  • The README needs a structural refresh to surface value proposition, installation, quickstart, deeper usage, and governance sections.
  • You want to align the README with exemplar-research findings and governance messaging, including architecture highlights and math or performance notes.
  • You need to map internal docs (docs/, specs/, wiki) to README anchors so readers can navigate quickly.
  • You are preparing a major update that includes new features and improved visuals, tables, or diagrams sourced from repo assets.
  • You want to validate the edits with AI-slop detection after applying changes.

Quick Start

  1. Step 1: Run git-workspace-review to capture repo context and baseline.
  2. Step 2: Run Language Audit and Exemplar Research to inform the outline.
  3. Step 3: Apply Outline Alignment, Edits, and AI Slop Detection to README.md.

Best Practices

  • Run git-workspace-review first to capture repo context and diffs
  • Draft a target outline before edits
  • Cite exemplars with explicit references and maintain governance messaging
  • Only include content from current assets (tables, diagrams, benchmarks) and avoid fluff
  • Run AI Slop Detection and verify results after edits

Example Use Cases

  • Update README for a multi-language project to surface architecture highlights and governance notes.
  • Align README with exemplar READMEs found via web search and capture citations.
  • Map internal docs to README sections to anchor references and navigation.
  • Enhance README with math exposition, benchmarks, or performance guarantees backed by repo assets.
  • Perform AI slop detection after edits to ensure human-authored quality.

Frequently Asked Questions

Add this skill to your agents

Related Skills

Sponsor this space

Reach thousands of developers