Skip to content
cccskills
FreePublished on GitHub

strategic-compact

Guidance for compacting context manually at phase boundaries instead of waiting for auto-compaction mid-task.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Strategic Compact Skill

Compact at logical boundaries of your workflow when context has gone stale. Check the statusline for actual context usage before deciding — do not guess from tool-call counts or elapsed time.

When Compacting Pays Off

  • After exploration, before execution — Compact research context, keep the implementation plan
  • After completing a milestone — Fresh start for the next phase
  • Before major context shifts — Clear exploration context before a different task

Best Practices

  1. Compact after planning - Once plan is finalized, compact to start fresh
  2. Compact after debugging - Clear error-resolution context before continuing
  3. Don't compact mid-implementation - Preserve context for related changes
  4. Trust the harness - Auto-compaction and the statusline context meter are reliable; manual /compact is an optimization at phase boundaries, not a requirement

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

The English summary is being prepared. Showing the original description.

cloudnative-co/claude-code-starter-kit154Updated Oct 12, 2026

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

The English summary is being prepared. Showing the original description.

cloudnative-co/claude-code-starter-kit154Updated Oct 12, 2026

日本語の業務文書を作成・修正するときに使用する共通品質基準。事実性、確度、論理、簡潔さ、自然な日本語を守る。提案書、報告、技術説明、議事録、メール、Slack、要約、レビューに適用する。創作、広告コピー、コードや構造化データだけの生成には使用しない。

The English summary is being prepared. Showing the original description.

cloudnative-co/claude-code-starter-kit154Updated Oct 12, 2026

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

The English summary is being prepared. Showing the original description.

cloudnative-co/claude-code-starter-kit154Updated Oct 12, 2026

Formal evaluation framework for Claude Code sessions implementing eval-driven development (EDD) principles.

The English summary is being prepared. Showing the original description.

cloudnative-co/claude-code-starter-kit154Updated Oct 12, 2026

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

The English summary is being prepared. Showing the original description.

cloudnative-co/claude-code-starter-kit154Updated Oct 12, 2026

See all skills by cloudnative-co

Report a problem with this skill