girishr

Specpilot Archive — Git skill for Claude Code

Git community

Archive oversized .specs/ files (tasks.md Completed section, prompts.md) with a branch safety guard.

How to install Specpilot Archive

Installs to ~/.claude/commands/girishr-specpilot-specpilot-archive.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/girishr/SpecPilot/HEAD/.claude/commands/specpilot-archive.md -o ~/.claude/commands/girishr-specpilot-specpilot-archive.md

Restart Claude Code, or start a new session, for it to be picked up.

What Specpilot Archive does


description: Archive oversized .specs/ files (tasks.md Completed section, prompts.md) with a branch safety guard allowed-tools: Bash, Read, Edit

Archive oversized `.specs/` files: `.specs/planning/tasks.md`'s `## Completed` section beyond 25 lines, and `.specs/development/prompts.md` beyond 100 total lines.

Run the script below — it computes thresholds and moves lines deterministically. Do not hand-count lines or decide what to move yourself; the script's arithmetic is the source of tr

Alternatives in Git

  • TDD Guard — by Nizar Selander - A hooks-driven system that monitors file operations in real-time and blocks changes that v 1.9k ★
  • Claude Code Safety Net — A Claude Code plugin that acts as a safety net, catching destructive git and filesystem commands before they e 1.2k ★
  • Destructive Command Guard — The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being executed by ag 869 ★

Full documentation available on GitHub

View Source Repository