Specpilot Archive — Git skill for Claude Code
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
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 RepositoryRelated Skills
Wp Clone To Block Theme
Claude Code skill: clone any public website into a WordPress block theme. Captures tokens + per-section specs
Setup Git Guard
Install git safety guard hook at project or user scope
Lane Safety
Safety and hygiene lane. Own redaction and every repository hygiene guard. Nothing derived from a game log rea
MCP Tasks Create Story PR
Create a pull request for a completed story
Cc Prompts
Claude Code prompts - 52 prompt files including system rules, 37 tools (file ops, shell, tasks, git), and 10 s
Currentfeature
Archive the current feature and start a new branch.
Related Agents
Report Logger
Routes a completed /analyze-policy report to the right destination — local archive, GitHub issue, tracker DB,
Osf Archive
Archive a completed change. Finalizes and moves change to archive directory.
Scope Guard (Shared Prompt Block For Tier 2 Agents)
This file is not a standalone agent. It contains the shared scope enforcement prompt text that Tier 2 (executi