compact
Compact
Create a structured context checkpoint summary that another LLM / coding agent will use to continue the work with minimal loss.
This is a continuation handoff, not a general summary.
When to use this skill
Use this skill when any of the following is true:
- The conversation is long and context headroom is getting tight.
- The user asks to compact, checkpoint, create a handoff, or prepare a continuation summary.
- Another model / agent / future session will resume the work.
- There is meaningful technical state that must be preserved across context boundaries.
- The task involves implementation, debugging, validation, design decisions, or multi-step work that would be expensive to reconstruct.
When not to use this skill
Do not use this skill when:
- The user wants a normal summary, executive summary, meeting note, or polished explanation for humans.
- The conversation is too short to justify a checkpoint.
- There is no meaningful work state, decision history, or technical context to preserve.
- The request is primarily non-technical and does not require exact continuation state.
Operating rules
- Optimize for continuation, not readability or elegance.
- Preserve exact file paths, function names, class names, commands, config keys, API names, identifiers, and error text.
- Distinguish clearly between confirmed facts and assumptions / unverified conclusions.
- Preserve the user's explicit requirements and preferences exactly.
- Keep blockers, failed attempts, abandoned approaches, and validation gaps so the next model does not repeat work.
- Remove chit-chat, repetition, motivational text, and low-signal discussion.
- Compress repeated iterations into a single accurate statement when the differences do not matter.
- Do not invent missing details.
- Prefer omission over fabrication.
- If multiple tasks or threads exist, separate them clearly.
- If a section has no content, write
(none)where appropriate. - Output only the checkpoint summary, with no intro or outro outside the required format.
Compression priorities
Prioritize preserving, in this order:
- Goal and success criteria
- Constraints, preferences, and environment limits
- Current implementation / debugging / research state
- Key decisions and rejected approaches
- Important files, symbols, commands, errors, and config
- Validation status and known gaps
- Risks, open questions, and exact next steps
Compress aggressively only in these areas:
- Small talk
- Repetition
- Generic explanations
- Speculation that never affected the work
- Duplicate command logs whose differences do not matter
Required output contract
Use the following EXACT format:
Goal
- Primary task:
- Secondary task(s):
- Success criteria:
Constraints & Preferences
- [User requirements, environment constraints, coding preferences, platform limits]
- [If none, write "(none)"]
Current State
Done
- [Completed work / confirmed findings]
In Progress
- [Work currently underway]
Blocked
- [Blockers, unresolved errors, missing info, failed dependencies]
- [If none, write "(none)"]
Key Decisions
- [Decision]: [Why this decision was made]
- [Rejected / avoided approach]: [Why it was rejected]
Important Files & Code Locations
path/to/file: [Why it matters]path/to/file: [Why it matters]
Critical Technical Context
- Key functions / classes / modules:
[symbol]: [role]
- Important commands:
[command]: [purpose / result]
- Important errors:
[exact error message]
- Important config / API / environment details:
- [detail]
- Important data / examples / references needed later:
- [detail]
- If none, write "(none)"
Validation Status
- Verified:
- [What was tested / confirmed]
- Not yet verified:
- [What still needs testing]
- Test / validation gaps:
- [Any risky unverified areas]
Risks & Open Questions
- [Known risks]
- [Unknowns that may affect next steps]
- [Potential places easy to make mistakes]
Next Steps
- [Most logical next action]
- [Next action after that]
- [Next action after that]
Handoff Instructions for the Next Model
- Read first:
- Do not repeat:
- Check / verify first:
- Then continue with:
Final output requirements
- Keep the summary concise but do not omit anything that affects future implementation, debugging, validation, or decisions.
- Preserve exact technical strings when they matter.
- Do not rename, reorder, or remove any required sections above.
- Do not add extra sections outside the required format.
- Use checkboxes exactly as shown.
- Make the checkpoint immediately actionable for the next model.
More from chasepassion/skills
best-java-structure
Java Layered Architecture Design Pattern — A complete implementation guide for the classic five-layer architecture using Spring Boot + MyBatis-Plus. Suitable for bootstrapping new Java projects, refactoring existing architectures, establishing team development standards,and database migration scenarios.
24fastapi-structure-guide
Trigger when the user wants to create a new FastAPI project, add new features, refactor code, or asks about architectural best practices. This skill enforces 2026 clean architecture with SQLModel, Repository Pattern, full async, and production-ready workflow.
6bug-fix
Used for locating, reproducing, validating, and fixing software defects. Applicable when the user asks to "fix a bug," "locate an error," "analyze and fix an error," "reproduce an issue," "find the root cause," and similar scenarios.
3log-build
Add or refine sparse, structured, file-persisted application logs for non-trivial code changes. Use when Agent is proposing an implementation approach, writing a plan, or implementing or modifying complex business logic, critical state transitions, validation or parsing flows, boundary interactions (HTTP, DB, cache, queue, filesystem, subprocess), retries, fallbacks, async jobs, concurrency, or background tasks, because planning is the right time to decide log placement. Reuse the project's existing logging infrastructure whenever possible. Do not use for trivial edits, simple obvious CRUD, blanket "log everything" requests, or low-value noise.
3fix-bug
Used for locating, reproducing, validating, and fixing software defects. Applicable when the user asks to “fix a bug,” “locate an error,” “analyze and fix an error” “reproduce an issue,” “find the root cause,” and similar scenarios.
2express-improve
Helps users design, optimize, and review the structure and content of speeches, presentations, and persuasive communication in a wide range of high-stakes scenarios. Applicable situations include, but are not limited to: startup pitches and co-founder recruiting, research presentations and thesis defenses, job talks and academic interviews, product demos and investor pitches, lab meetings and progress updates, public speaking and TEDx-style talks, conference presentations and panel remarks, oral exams and qualifying defenses, expressing viewpoints and persuading others, upward reporting and performance reviews, and internal proposals and solution walkthroughs.
2