Mine Pre Compact — Development skill for Claude Code
Generate a /compact prompt that preserves what matters for the next phase.
How to install Mine Pre Compact
Installs to ~/.claude/skills/nodejsmith-claudefiles-mine-pre-compact/SKILL.md
mkdir -p ~/.claude/skills/nodejsmith-claudefiles-mine-pre-compact && curl -fsSL https://raw.githubusercontent.com/NodeJSmith/Claudefiles/HEAD/commands/mine-pre-compact.md -o ~/.claude/skills/nodejsmith-claudefiles-mine-pre-compact/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Mine Pre Compact does
description: Generate a /compact prompt that preserves what matters for the next phase.
Pre-Compact
Generate a strategic `/compact` prompt before transitioning to the next phase of work. Keeps critical context, drops noise.
Arguments
$ARGUMENTS — optional description of what the next phase is (e.g., "refactor", "testing", "PR creation"). If not provided, infer from conversation context.
Step 1: Assess Current Session
Review the conversation so far and identify:
- **What w
Alternatives in Development
- Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
- Part 2 — Product Requirements Document (prd) Generator — I'll help you create a Product Requirements Document (PRD) for your MVP 2.1k ★
- Clauditor — Stop Claude Code from burning through your quota in 20 minutes 367 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Distill Memory
Distill working memory in MEMORY.md — compact, remove stale content, preserve what matters
Sdd Continue.Prompt
Continue the next dependency-ready SDD phase from OpenSpec state.
Prompt Me
Interview me to pull what's in my head — remaining work, what I'm avoiding, what actually matters. Usage: /pro
Pre Compact
Prepare for a MANUAL /compact — flush your in-context working-set to disk so the
Compact Rescue
Emergency rescue when /compact freezes at 95%. Safely kills the stuck claude.exe and signals kclaude.bat to --
Ae SDK Smartfx
After Effects SDK SmartFX development: 32-bit rendering, pre-render phase, efficient partial rendering, and GP
Related Agents
Fe Git Operator
Dedicated git operations — splitting commits, safe staging that preserves the user's pre-existing index, writi
Exec
Chief of Staff. Reads the whole portfolio and decides what matters, what is at risk, and what the CEO should d
Calculator
Handles the Salary Calculator's table calculation step — the arithmetic-heavy step where precision matters mos