Skip to content
Thomas Mangin edited this page Apr 8, 2026 · 1 revision

name: commit description: Commit wiki changes after verifying all links are valid user-invocable: true

Wiki Commit

Before committing, verify that every markdown link in the wiki resolves to an existing file.

Steps

  1. Run go run bin/check-links.go from the wiki root directory. If it reports any broken or stale references, show them to the user and stop — do NOT proceed to commit.

  2. If the link check passes, run git status and git diff --stat to understand what changed.

  3. Run git log --oneline -3 to match the existing commit message style.

  4. Generate a single bash script block that the user can review and run. The script must:

    • Use git add for each new or modified file (list files explicitly, never use git add -A or git add .)
    • Use git rm for files that were deleted (if any show in git status as deleted)
    • Use git commit -m "..." with a concise message summarising the changes
    • Append Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> to the commit message
  5. Present the script to the user in a fenced code block. Do NOT execute it — let the user review and run it themselves.

Output format

If links are broken:

Link check failed — fix these before committing:
  BROKEN: <file>:<line> -> <target>
  ...

If links are clean, output the bash script:

#!/usr/bin/env bash
set -e
git add file1.md file2.md ...
git rm old-file.md ...
git commit -m "$(cat <<'EOF'
<commit message>

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
EOF
)"

Home

About

First Steps

Configuration

Operation

Interfaces

Plugins

Plugin Development

Chaos Testing

Blueprints

Development

Reference

Clone this wiki locally