Skip to content

compress: deduplicate using-superpowers-amplifier.md against instructions.md#27

Open
michaeljabbour wants to merge 3 commits intomicrosoft:mainfrom
michaeljabbour:feat/context-compression
Open

compress: deduplicate using-superpowers-amplifier.md against instructions.md#27
michaeljabbour wants to merge 3 commits intomicrosoft:mainfrom
michaeljabbour:feat/context-compression

Conversation

@michaeljabbour
Copy link
Copy Markdown

Summary

Removes ~60% of using-superpowers-amplifier.md that duplicated instructions.md verbatim. Migrates 4 unique Red Flags rows to instructions.md so no content is lost.

Changes

  • Deleted "The Rule", "Skill Priority", and duplicate Red Flags rows from using-superpowers-amplifier.md
  • Kept: EXTREMELY-IMPORTANT block, Skill Types (Rigid vs Flexible), "User Instructions say WHAT not HOW"
  • Added 4 unique Red Flags rows to instructions.md

Token Impact

~400 tokens saved per session.

Submitted by Joi from ChibaTech.

…ions.md

Deleted sections from using-superpowers-amplifier.md (verbatim duplicates of instructions.md):
- '## The Rule' — header, paragraph, and 5-step enumeration
- '## Skill Priority' — header and ordered list (1. Process skills FIRST, 2. Implementation skills SECOND)
- '## Red Flags' — header, intro line, and all 12 table rows

Moved rows to instructions.md (unique content from deleted ## Red Flags section):
- 'Let me explore the codebase first'
- 'Let me gather information first'
- 'This feels productive'
- 'The skill is overkill'

Net result: using-superpowers-amplifier.md reduced from ~70 lines to ~28 lines.
Approximate token savings: ~400 tokens per load (removed ~43 lines of duplicated content).

Files changed:
- context/using-superpowers-amplifier.md: 43 deletions
- context/instructions.md: 4 insertions (unique rows only)
…amplifier.md

The closing tag was unintentionally removed in the previous compress commit.
Restores proper scoping of the EXTREMELY-IMPORTANT block to the original
three-paragraph preamble only.
…ontext compression

The context compression task moved three content blocks from
using-superpowers-amplifier.md to instructions.md:
- 'The Rule' heading and content
- Skill priority rules (Process skills FIRST)
- Red Flags rationalization table (16 rows)

Update test_has_the_rule, test_has_skill_priority_rules, and
test_has_red_flags_table to verify content in instructions.md
where it now lives, matching the compression goal.

All 23 tests now pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant