🎯

sc-readme

🎯Skill

from tony363/superclaude

VibeIndex|
What it does

Automatically updates README.md by analyzing git branch changes with multi-model consensus validation for accurate documentation synchronization.

sc-readme

Installation

Install skill:
npx skills add https://github.com/tony363/superclaude --skill sc-readme
13
Last UpdatedJan 25, 2026

Skill Details

SKILL.md

Auto-update README.md by analyzing git diff against main branch with PAL consensus validation for significant changes. Use when synchronizing documentation with code changes.

Overview

# README Auto-Update Skill

Intelligent README maintenance based on git branch changes with multi-model consensus validation for critical updates.

Quick Start

```bash

# Analyze and update README based on current branch changes

/sc:readme

# Preview changes without writing

/sc:readme --preview

# Force PAL consensus for all updates

/sc:readme --consensus

# Compare against different base branch

/sc:readme --base develop

```

Behavioral Flow

  1. DISCOVER - Run git diff main...HEAD --name-status to find changed files
  2. ANALYZE - Read changed files, categorize by type (API, config, deps, features)
  3. PLAN - Read current README, identify sections needing updates
  4. VALIDATE - Use PAL consensus for API/breaking changes
  5. GENERATE - Update README sections via Write tool
  6. VERIFY - Review final README with PAL codereview

Flags

| Flag | Type | Default | Description |

|------|------|---------|-------------|

| --base | string | main | Base branch to compare against |

| --preview | bool | false | Preview changes without writing |

| --consensus | bool | false | Force PAL consensus for all updates |

Git Commands Used

```bash

# Get list of changed files

git diff main...HEAD --name-status

# Get actual diff content for analysis

git diff main...HEAD

# Check for new exports/functions in specific file

git diff main...HEAD -- path/to/file.py

# Get commit messages for context

git log main...HEAD --oneline

```

Change Categories

| Category | File Patterns | README Sections |

|----------|---------------|-----------------|

| API | .py, .ts, *.js with new exports | API Reference, Usage |

| Dependencies | package.json, requirements.txt, pyproject.toml | Installation, Dependencies |

| Config | .env, .config., settings. | Configuration |

| Features | New modules, significant additions | Features, Usage |

MCP Integration

PAL MCP

```bash

# Consensus for API changes

mcp__pal__consensus(

models=[{"model": "gpt-5.2", "stance": "for"}, {"model": "gemini-3-pro", "stance": "against"}],

step="Evaluate: Does this README update accurately reflect the code changes?",

relevant_files=["/README.md", "/src/changed_file.py"]

)

# Review final README

mcp__pal__codereview(

review_type="quick",

step="Review README accuracy",

relevant_files=["/README.md"]

)

```

Tool Coordination

  • Bash - Git commands (git diff, git log)
  • Read - README.md, changed source files
  • Write - Update README.md
  • Grep - Find patterns in codebase

Examples

Basic Flow

```bash

/sc:readme

# 1. Bash: git diff main...HEAD --name-status

# 2. Read: README.md + changed files

# 3. Analyze: what sections need updates

# 4. PAL consensus if API changes detected

# 5. Write: updated README.md

```

Preview Mode

```bash

/sc:readme --preview

# Same analysis, but output changes instead of writing

```

Guardrails

  1. Back up README before modifications
  2. Never remove sections without user confirmation
  3. Require consensus for breaking changes
  4. Preserve custom content not related to code changes

Related Skills

  • /sc:git - Git operations
  • /sc:document - General documentation

More from this repository10

🎯
agent-data-engineer🎯Skill

Automates data pipeline creation, transformation, and ETL workflows using AI-driven code generation and intelligent data engineering strategies

🎯
sc-test🎯Skill

Executes comprehensive tests with coverage analysis, real-time tracking, and automated quality reporting across various test types.

🎯
sc-estimate🎯Skill

Systematically estimates development tasks by analyzing scope, calculating effort, and providing confidence intervals for time, complexity, and resource planning.

🎯
sc-improve🎯Skill

Systematically improve code quality, performance, and maintainability through multi-persona analysis and safe refactoring.

🎯
sc-design🎯Skill

Designs comprehensive system architectures, APIs, and component interfaces using best practices and industry standards.

🎯
sc-analyze🎯Skill

Performs comprehensive code analysis across quality, security, performance, and architecture domains, generating actionable insights and recommendations.

🎯
sc-implement🎯Skill

Intelligently implements features, APIs, and components by coordinating expertise, applying best practices, and ensuring systematic development.

🎯
sc-git🎯Skill

Automates intelligent git operations with smart commit generation, branch management, and workflow optimization.

🎯
sc-workflow🎯Skill

Generates structured implementation workflows by analyzing PRDs and requirements, creating comprehensive, multi-domain development plans with strategic coordination.

🎯
sc-document🎯Skill

Generates comprehensive documentation for code components, APIs, and features across various styles and types, providing structured technical documentation with customizable detail levels.