Skip to content
Skill

Nightly docs and changelog

Runs a nightly sweep that updates docs and CHANGELOG.md from the day's diff and opens a PR

Nightly docs and changelog is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
12
Last commit
License
MIT
Listing updated

Similar skills

About Nightly docs and changelog

This skill sets up a recurring routine that keeps an existing repository's documentation and CHANGELOG.md aligned with its code. Each night it reads the last-run marker, diffs the repository from that point to HEAD, and rewrites the docs covering the changed areas. Changes are sorted into user-relevant and internal; only user-relevant ones are logged in the changelog, and a quiet night gets an explicit no-change record.

The sweep ends by committing the edits and opening a single pull request through the git-pr skill. It never merges, and it advances the marker only as part of that handoff so changes are not silently skipped. Because the schedule lives in a cloud routine rather than a session, it keeps running when the laptop is closed, and a missed night simply widens the next diff.

The skill is meant for Claude Code and expects a repository with an existing docs folder and CHANGELOG.md, plus Git and the GitHub CLI available to the agent. It is a Markdown-only configuration with reference files for scheduling and the changelog rubric, and it runs no bundled scripts.

When your agent uses it

A nightly cloud routine that keeps an existing repo's docs and CHANGELOG.md in step with the code: diff since the last run, fix docs for what changed, log user-relevant changes, open one PR for review, never merge. Survives laptop-off. Use when docs keep drifting or the changelog is stale. Trigger on "keep the docs current", "nightly docs sweep", "update the changelog nightly".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (19 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness

Or copy only this skill to ~/.claude/skills/nightly-docs-and-changelog:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/nightly-docs-and-changelog &&
cp -R "$tmp/skills/loops/nightly-docs-and-changelog" ~/.claude/skills/nightly-docs-and-changelog &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/nightly-docs-and-changelog inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/nightly-docs-and-changelog to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/nightly-docs-and-changelog &&
cp -R "$tmp/skills/loops/nightly-docs-and-changelog" ~/.agents/skills/nightly-docs-and-changelog &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/nightly-docs-and-changelog inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/nightly-docs-and-changelog to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/nightly-docs-and-changelog &&
cp -R "$tmp/skills/loops/nightly-docs-and-changelog" ~/.cursor/skills/nightly-docs-and-changelog &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/nightly-docs-and-changelog inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/loops/nightly-docs-and-changelog

Or copy the folder to ~/.gemini/skills/nightly-docs-and-changelog yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/nightly-docs-and-changelog:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/nightly-docs-and-changelog &&
cp -R "$tmp/skills/loops/nightly-docs-and-changelog" ~/.copilot/skills/nightly-docs-and-changelog &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/nightly-docs-and-changelog inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git

Then copy Skill-Madness/skills/loops/nightly-docs-and-changelog into your agent's skills folder as nightly-docs-and-changelog. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Diff-scoped nightly sweep
Limits each run to changes since the last recorded marker, so the work covers only what moved.
User-relevant changelog entries
Sorts changes into user-facing and internal and logs only the user-facing ones in CHANGELOG.md.
Docs updates for changed code
Rewrites documentation for the surfaces that changed, following the repository's existing conventions.
Single reviewable pull request
Bundles each night's edits into one PR for human review and never merges it.
Pass and drift caps
Stops after a set number of iterations or three nights of drift on the same surface and flags it for a person.
Cloud routine scheduling
Uses a scheduled cloud routine so the sweep still runs when the laptop is off.

Good for

  • Keep the README and API docs current after a week of code changes
  • Add user-facing changes from the last day to CHANGELOG.md
  • Run a nightly docs sweep and open a PR for review
  • Catch up on stale documentation after a stretch of unlogged commits

Nightly docs and changelog FAQ

What does Nightly docs and changelog need to run?

It requires Claude Code, an existing repository with docs and a CHANGELOG.md, and Git and the GitHub CLI for opening the pull request. It is configured to use the git-pr skill for the PR step.

Does Nightly docs and changelog merge its own changes?

No. It opens one pull request per night and stops there; merging is left to a human reviewer.

What happens on a night with no changes?

It records a no-change night instead of opening a PR, so a skipped night can be told apart from a missed one.

Why not use /loop for scheduling?

The skill states that /loop is session-scoped, expires after about three days, and does not catch up on missed fires, so it uses a scheduled cloud routine instead.

How do I install Nightly docs and changelog in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/nightly-docs-and-changelog to use it in all your projects, or to .claude/skills/nightly-docs-and-changelog in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

Does Nightly docs and changelog run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Nightly docs and changelog?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Nightly docs and changelog?

The closest alternatives to Nightly docs and changelog are Document, Update docs and commit, Docs sync audit, Sync CLI skill and Refresh docs.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ivy00johns/Skill-Madness

  1. Finds merged and stale git branches, then deletes them only after your confirmation

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Finds and removes git worktrees whose changes are already merged into main

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Runs a single-skill quality review covering structure, triggering and output checks

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Applies planned edits to SKILL.md files, validates them, and offers to sync

    • Open source
    • 12 GitHub stars
    • Developer tools