一键导入
compacting-context
Compacts verbose context into structured summary. Use after pollution sources (searches, logs, JSON) or at phase milestones.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compacts verbose context into structured summary. Use after pollution sources (searches, logs, JSON) or at phase milestones.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate commit message for staged changes, pause for approval, then commit. Stage files first with `git add`, then run this skill.
Interactive Q&A to build UserStory.md from user input. Use when the user wants to create a user story document or start the assisted workflow.
Generates prd.json task tracking file from PRD.md requirements document. Use when initializing Ralph loop or when the user asks to convert PRD to JSON format for autonomous execution.
Transforms UserStory.md into PRD.md by extracting features and converting user stories into functional requirements.
Investigates codebase before planning. Use before any non-trivial implementation task to gather context in isolation.
Provides concise, focused code reviews matching exact task complexity requirements. Use when reviewing code quality, security, or when the user asks for code review.
| name | compacting-context |
| description | Compacts verbose context into structured summary. Use after pollution sources (searches, logs, JSON) or at phase milestones. |
| argument-hint | ["compaction-name"] |
| context | fork |
| agent | Explore |
| model | sonnet |
| allowed-tools | Read, Grep, Glob |
Distills verbose outputs into structured summaries following ACE-FCA principles.
Per .claude/rules/context-management.md:
# Compaction: {{name}}
## Trajectory
<!-- Research status → Planning status → Implementation status -->
## Key Files
<!-- files touched with purpose -->
## Completed
<!-- done items -->
## Blockers
<!-- blocking issues (empty if none) -->
## Findings
<!-- key discoveries, distilled outputs from logs/JSON/tests -->