Analyze conversation and generate optimized /compact command
Analyzes conversation history and generates an optimized /compact command to preserve context
/plugin marketplace add majesticlabs-dev/majestic-marketplace/plugin install majestic-engineer@majestic-marketplacehaikusession/Analyze the current conversation and generate an optimized /compact command that preserves valuable context while discarding stale information.
Review the conversation and categorize content:
Generate a ready-to-run command:
/compact [specific instructions]
/compact
KEEP: [specific items - current task, recent changes, active errors]
SUMMARIZE: [items worth condensing - exploration results, research]
DISCARD: [specific stale items - old searches, abandoned approaches, fixed errors]
/compact
KEEP: PR #45 authentication refactor, User model changes in app/models/user.rb,
test failure at spec/models/user_spec.rb:45 (validates :email uniqueness).
SUMMARIZE: Session token research, existing auth patterns found.
DISCARD: Initial file exploration, old grep for "password", abandoned JWT approach.
/compact
KEEP: Root cause identified (N+1 in OrdersController#index), fix applied in commit abc123,
pending: add eager loading test.
SUMMARIZE: Performance investigation steps.
DISCARD: All EXPLAIN ANALYZE outputs, old log searches, initial wrong hypotheses.
/compact
KEEP: Chosen approach (Hotwire + Turbo Streams), implementation plan in docs/plan.md,
key files to modify: app/views/messages/, app/controllers/messages_controller.rb.
SUMMARIZE: Alternative approaches evaluated (React, LiveView).
DISCARD: Documentation fetches, gem comparison searches, abandoned SPA approach.
/compact command block - no explanation neededGenerate the smart compact command now.