docs/ja-JP/skills/strategic-compact/SKILL.md
任意の自動コンパクションではなく、タスクフェーズを通じてコンテキストを保持するための論理的な間隔での手動コンパクションを提案します。
npx skillsauth add ysyecust/everything-claude-code strategic-compactInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
任意の自動コンパクションに依存するのではなく、ワークフローの戦略的なポイントで手動の/compactを提案します。
自動コンパクションは任意のポイントでトリガーされます:
論理的な境界での戦略的コンパクション:
suggest-compact.shスクリプトはPreToolUse(Edit/Write)で実行され:
~/.claude/settings.jsonに追加:
{
"hooks": {
"PreToolUse": [{
"matcher": "tool == \"Edit\" || tool == \"Write\"",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/strategic-compact/suggest-compact.sh"
}]
}]
}
}
環境変数:
COMPACT_THRESHOLD - 最初の提案前のツール呼び出し(デフォルト:50)tools
日本語翻訳:このファイルは production-scheduling 用の日本語翻訳が必要です
testing
日本語翻訳:このファイルは production-audit 用の日本語翻訳が必要です
tools
日本語翻訳:このファイルは product-lens 用の日本語翻訳が必要です
tools
日本語翻訳:このファイルは product-capability 用の日本語翻訳が必要です