@nerdev/skillset 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +351 -0
- package/bin/skillset.mjs +205 -0
- package/curations/README.md +53 -0
- package/curations/TEMPLATE/WHY.md +23 -0
- package/curations/TEMPLATE/overlay/SKILL.md +6 -0
- package/curations/impeccable/WHY.md +34 -0
- package/curations/impeccable/overlay/SKILL.md +116 -0
- package/package.json +43 -0
- package/scripts/ste-gate.mjs +39 -0
- package/scripts/ste-lint.py +201 -0
- package/scripts/sync.mjs +174 -0
- package/skills/ai-agent/agent-docs-writer/SKILL.md +105 -0
- package/skills/ai-agent/agent-docs-writer/references/principles.md +73 -0
- package/skills/ai-agent/agent-docs-writer/templates/AGENTS.template.md +44 -0
- package/skills/ai-agent/agent-docs-writer/templates/README.template.md +19 -0
- package/skills/ai-agent/ultra-context-engine/SKILL.md +941 -0
- package/skills/architecture/blueprint/SKILL.md +191 -0
- package/skills/architecture/code-tour/SKILL.md +204 -0
- package/skills/architecture/progress-guard/SKILL.md +148 -0
- package/skills/architecture/search-first/SKILL.md +97 -0
- package/skills/backend/api-design/SKILL.md +456 -0
- package/skills/backend/auth/SKILL.md +596 -0
- package/skills/backend/database/SKILL.md +431 -0
- package/skills/backend/realtime/SKILL.md +670 -0
- package/skills/backend/security/SKILL.md +590 -0
- package/skills/business/brag/SKILL.md +177 -0
- package/skills/business/brag/assets/music/README.md +20 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-1-by-ende-dot-app.music-cues.json +3846 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-1-by-ende-dot-app.music-cues.md +35 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-10-by-ende-dot-app.music-cues.json +1826 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-10-by-ende-dot-app.music-cues.md +35 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-11-by-ende-dot-app.music-cues.json +2266 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-11-by-ende-dot-app.music-cues.md +35 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-12-by-ende-dot-app.music-cues.json +2806 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-12-by-ende-dot-app.music-cues.md +35 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-9-by-ende-dot-app.music-cues.json +2796 -0
- package/skills/business/brag/assets/music/cues/happy-beats-business-moves-vol-9-by-ende-dot-app.music-cues.md +35 -0
- package/skills/business/brag/assets/music/happy-beats-business-moves-vol-1-by-ende-dot-app.mp3 +0 -0
- package/skills/business/brag/assets/music/happy-beats-business-moves-vol-10-by-ende-dot-app.mp3 +0 -0
- package/skills/business/brag/assets/music/happy-beats-business-moves-vol-11-by-ende-dot-app.mp3 +0 -0
- package/skills/business/brag/assets/music/happy-beats-business-moves-vol-12-by-ende-dot-app.mp3 +0 -0
- package/skills/business/brag/assets/music/happy-beats-business-moves-vol-9-by-ende-dot-app.mp3 +0 -0
- package/skills/business/brag/assets/sfx/casino/card-fan-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-fan-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-place-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-place-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-place-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-place-4.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-shove-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-shove-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-shove-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-shove-4.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-shuffle.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-slide-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-slide-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-slide-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-slide-4.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-slide-5.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-slide-6.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-slide-7.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/card-slide-8.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/cards-pack-open-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/cards-pack-open-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chip-lay-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chip-lay-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chip-lay-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-collide-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-collide-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-collide-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-collide-4.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-handle-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-handle-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-handle-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-handle-4.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-handle-6.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-stack-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-stack-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-stack-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-stack-4.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-stack-5.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/chips-stack-6.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/dice-grab-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/dice-grab-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/dice-shake-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/dice-shake-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/dice-shake-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/dice-throw-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/dice-throw-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/dice-throw-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/die-throw-1.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/die-throw-2.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/die-throw-3.ogg +0 -0
- package/skills/business/brag/assets/sfx/casino/die-throw-4.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_carpet_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_carpet_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_carpet_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_concrete_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_concrete_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_concrete_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_concrete_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_concrete_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_grass_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_grass_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_grass_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_grass_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_grass_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_snow_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_snow_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_snow_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_snow_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_snow_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_wood_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_wood_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_wood_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_wood_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/footstep_wood_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactBell_heavy_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactBell_heavy_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactBell_heavy_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGeneric_light_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGeneric_light_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGeneric_light_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGeneric_light_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGeneric_light_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGlass_heavy_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGlass_light_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGlass_light_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGlass_light_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGlass_medium_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGlass_medium_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactGlass_medium_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_heavy_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_heavy_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_heavy_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_light_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_light_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_medium_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_medium_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_medium_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_medium_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMetal_medium_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactMining_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlank_medium_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlank_medium_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlank_medium_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlank_medium_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlank_medium_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_heavy_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_heavy_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_heavy_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_heavy_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_heavy_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_light_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_light_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_light_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_light_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_light_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_medium_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_medium_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_medium_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_medium_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPlate_medium_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_heavy_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_heavy_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_heavy_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_heavy_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_heavy_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_medium_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_medium_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_medium_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_medium_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactPunch_medium_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_heavy_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_heavy_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_heavy_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_heavy_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_heavy_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_medium_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_medium_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_medium_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_medium_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactSoft_medium_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactTin_medium_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactTin_medium_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactTin_medium_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactTin_medium_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactTin_medium_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_heavy_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_heavy_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_heavy_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_heavy_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_heavy_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_light_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_light_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_light_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_light_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_light_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_medium_000.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_medium_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_medium_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_medium_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/impact/impactWood_medium_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/bong_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/click_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/click_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/click_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/click_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/click_005.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/drop_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/drop_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/drop_003.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/error_005.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/error_006.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/glitch_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/glitch_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/select_008.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/switch_001.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/switch_002.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/switch_004.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/switch_005.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/switch_006.ogg +0 -0
- package/skills/business/brag/assets/sfx/interface/switch_007.ogg +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-001.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-002.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-003.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-004.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-005.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-006.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-007.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-008.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-009.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-010.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-011.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-012.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-013.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-014.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-015.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-016.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-017.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-018.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-019.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-020.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-021.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-022.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-023.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-024.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-025.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-026.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-027.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-028.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-029.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-030.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-031.wav +0 -0
- package/skills/business/brag/assets/sfx/keyboard/keypress-032.wav +0 -0
- package/skills/business/brag/assets/sfx/sfx-analysis.json +15584 -0
- package/skills/business/brag/assets/sfx/sfx-analysis.md +75 -0
- package/skills/business/brag/assets/sfx/ui/click1.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/click2.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/click3.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/click4.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/click5.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/mouseclick1.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/rollover1.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/rollover2.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/rollover4.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/rollover5.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch1.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch10.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch11.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch12.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch13.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch14.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch15.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch16.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch17.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch18.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch19.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch2.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch20.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch21.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch22.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch23.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch24.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch25.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch26.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch27.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch28.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch29.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch3.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch30.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch31.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch32.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch33.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch34.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch35.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch36.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch37.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch38.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch4.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch5.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch6.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch7.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch8.ogg +0 -0
- package/skills/business/brag/assets/sfx/ui/switch9.ogg +0 -0
- package/skills/business/brag/references/audio.md +307 -0
- package/skills/business/brag/references/step-1-inspect.md +133 -0
- package/skills/business/brag/references/step-2-plan.md +234 -0
- package/skills/business/brag/references/step-3-compose.md +210 -0
- package/skills/business/brag/references/step-4-deliver.md +168 -0
- package/skills/business/brag/references/tones.md +231 -0
- package/skills/business/brag/scripts/analyze_music_cues.py +309 -0
- package/skills/business/brag/scripts/pyproject.toml +14 -0
- package/skills/business/brag/scripts/uv.lock +819 -0
- package/skills/business/copywriting/SKILL.md +178 -0
- package/skills/business/customer-research/SKILL.md +259 -0
- package/skills/business/freelancing/SKILL.md +679 -0
- package/skills/business/launch/SKILL.md +273 -0
- package/skills/business/marketing-psychology/SKILL.md +364 -0
- package/skills/business/pricing/SKILL.md +233 -0
- package/skills/business/resume-revamp-jake-ats/SKILL.md +64 -0
- package/skills/business/startup-founder/SKILL.md +400 -0
- package/skills/business/startup-founder/references/funding.md +48 -0
- package/skills/business/startup-founder/references/further-reading.md +132 -0
- package/skills/business/startup-founder/references/gtm-tools.md +57 -0
- package/skills/business/startup-founder/references/legal-india.md +36 -0
- package/skills/business/startup-founder/references/marketing/README.md +16 -0
- package/skills/business/startup-founder/references/marketing/cold-email.md +172 -0
- package/skills/business/startup-founder/references/marketing/competitors.md +245 -0
- package/skills/business/startup-founder/references/marketing/customer-research.md +276 -0
- package/skills/business/startup-founder/references/marketing/free-tools.md +168 -0
- package/skills/business/startup-founder/references/marketing/launch.md +343 -0
- package/skills/business/startup-founder/references/marketing/marketing-plan.md +270 -0
- package/skills/business/startup-founder/references/marketing/pricing.md +237 -0
- package/skills/business/startup-founder/references/marketing/product-marketing.md +250 -0
- package/skills/business/startup-founder/references/validation.md +267 -0
- package/skills/devops/deployments/SKILL.md +339 -0
- package/skills/devops/git-ci/SKILL.md +372 -0
- package/skills/devops/performance/SKILL.md +523 -0
- package/skills/devops/testing/SKILL.md +558 -0
- package/skills/engineering/code-review/SKILL.md +149 -0
- package/skills/engineering/coding-standards/SKILL.md +229 -0
- package/skills/engineering/product-engineering/SKILL.md +219 -0
- package/skills/engineering/senior-engineer-prompts/SKILL.md +145 -0
- package/skills/engineering/tdd-workflow/SKILL.md +178 -0
- package/skills/engineering/verification-loop/SKILL.md +199 -0
- package/skills/nerdev/nerdev-abstraction/SKILL.md +412 -0
- package/skills/nerdev/nerdev-docs/SKILL.md +527 -0
- package/skills/nerdev/nerdev-docs/templates/adr-template.md +39 -0
- package/skills/nerdev/nerdev-docs/templates/contributing-template.md +140 -0
- package/skills/nerdev/nerdev-docs/templates/deploy-template.md +426 -0
- package/skills/nerdev/nerdev-docs/templates/design-template.md +105 -0
- package/skills/nerdev/nerdev-docs/templates/incident-template.md +66 -0
- package/skills/nerdev/nerdev-monorepo/SKILL.md +522 -0
- package/skills/quality/output-skill/SKILL.md +49 -0
- package/skills/quality/unslop/SKILL.md +67 -0
- package/skills/ui/animaxxing/SKILL.md +58 -0
- package/skills/ui/animaxxing/agents/openai.yaml +7 -0
- package/skills/ui/animaxxing/references/effect-restoration.md +26 -0
- package/skills/ui/animaxxing/references/motion-vocabulary.md +142 -0
- package/skills/ui/animaxxing/references/recipes/blast-off.md +119 -0
- package/skills/ui/animaxxing/references/recipes/particle-effects.md +718 -0
- package/skills/ui/animaxxing/references/recipes/particle-field.md +428 -0
- package/skills/ui/animaxxing/references/recipes/route-letters.md +205 -0
- package/skills/ui/animaxxing/references/recipes/speak-in.md +181 -0
- package/skills/ui/animaxxing/references/recipes/split-entrances.md +345 -0
- package/skills/ui/animaxxing/references/recipes/wave.md +144 -0
- package/skills/ui/animaxxing/references/text-stability.md +68 -0
- package/skills/ui/animaxxing/references/verification.md +44 -0
- package/skills/ui/ask-animation/SKILL.md +178 -0
- package/skills/ui/ask-base-ui/SKILL.md +400 -0
- package/skills/ui/ask-cmdk/SKILL.md +315 -0
- package/skills/ui/ask-command-menu/SKILL.md +262 -0
- package/skills/ui/ask-drawer/SKILL.md +235 -0
- package/skills/ui/ask-form/SKILL.md +229 -0
- package/skills/ui/ask-gsap/SKILL.md +435 -0
- package/skills/ui/ask-modal/SKILL.md +145 -0
- package/skills/ui/ask-motion/SKILL.md +339 -0
- package/skills/ui/ask-rhf/SKILL.md +388 -0
- package/skills/ui/ask-sonner/API.md +64 -0
- package/skills/ui/ask-sonner/SKILL.md +88 -0
- package/skills/ui/ask-table/SKILL.md +253 -0
- package/skills/ui/ask-tanstack-table/SKILL.md +490 -0
- package/skills/ui/ask-toast/SKILL.md +163 -0
- package/skills/ui/ask-vaul/SKILL.md +291 -0
- package/skills/ui/ask-virtual-list/SKILL.md +304 -0
- package/skills/ui/ask-virtuoso/SKILL.md +332 -0
- package/skills/ui/email-craft/SKILL.md +258 -0
- package/skills/ui/frontend-craftsmanship/SKILL.md +462 -0
- package/skills/ui/gsap-astro/SKILL.md +56 -0
- package/skills/ui/gsap-astro/agents/openai.yaml +7 -0
- package/skills/ui/gsap-astro/references/client-router-navigation.md +139 -0
- package/skills/ui/gsap-astro/references/initialization.md +87 -0
- package/skills/ui/gsap-astro/references/motion-system.md +152 -0
- package/skills/ui/gsap-astro/references/scripts-and-islands.md +65 -0
- package/skills/ui/gsap-astro/references/verification.md +44 -0
- package/skills/ui/gsap-core/SKILL.md +254 -0
- package/skills/ui/gsap-frameworks/SKILL.md +266 -0
- package/skills/ui/gsap-nextjs/SKILL.md +51 -0
- package/skills/ui/gsap-nextjs/agents/openai.yaml +7 -0
- package/skills/ui/gsap-nextjs/references/app-router-navigation.md +189 -0
- package/skills/ui/gsap-nextjs/references/initialization.md +87 -0
- package/skills/ui/gsap-nextjs/references/motion-system.md +158 -0
- package/skills/ui/gsap-nextjs/references/verification.md +40 -0
- package/skills/ui/gsap-nuxt/SKILL.md +56 -0
- package/skills/ui/gsap-nuxt/agents/openai.yaml +7 -0
- package/skills/ui/gsap-nuxt/references/initialization.md +87 -0
- package/skills/ui/gsap-nuxt/references/motion-system.md +161 -0
- package/skills/ui/gsap-nuxt/references/navigation.md +145 -0
- package/skills/ui/gsap-nuxt/references/page-transitions.md +107 -0
- package/skills/ui/gsap-nuxt/references/verification.md +42 -0
- package/skills/ui/gsap-performance/SKILL.md +79 -0
- package/skills/ui/gsap-plugins/SKILL.md +433 -0
- package/skills/ui/gsap-react/SKILL.md +136 -0
- package/skills/ui/gsap-react-router/SKILL.md +55 -0
- package/skills/ui/gsap-react-router/agents/openai.yaml +7 -0
- package/skills/ui/gsap-react-router/references/initialization.md +87 -0
- package/skills/ui/gsap-react-router/references/motion-system.md +158 -0
- package/skills/ui/gsap-react-router/references/react-router-navigation.md +165 -0
- package/skills/ui/gsap-react-router/references/route-lifetime.md +74 -0
- package/skills/ui/gsap-react-router/references/verification.md +42 -0
- package/skills/ui/gsap-scrolltrigger/SKILL.md +296 -0
- package/skills/ui/gsap-sveltekit/SKILL.md +54 -0
- package/skills/ui/gsap-sveltekit/agents/openai.yaml +7 -0
- package/skills/ui/gsap-sveltekit/references/initialization.md +87 -0
- package/skills/ui/gsap-sveltekit/references/motion-system.md +156 -0
- package/skills/ui/gsap-sveltekit/references/page-lifetime.md +63 -0
- package/skills/ui/gsap-sveltekit/references/sveltekit-navigation.md +160 -0
- package/skills/ui/gsap-sveltekit/references/verification.md +41 -0
- package/skills/ui/gsap-tanstack-router/SKILL.md +56 -0
- package/skills/ui/gsap-tanstack-router/agents/openai.yaml +7 -0
- package/skills/ui/gsap-tanstack-router/references/initialization.md +87 -0
- package/skills/ui/gsap-tanstack-router/references/motion-system.md +160 -0
- package/skills/ui/gsap-tanstack-router/references/route-lifetime.md +66 -0
- package/skills/ui/gsap-tanstack-router/references/tanstack-navigation.md +156 -0
- package/skills/ui/gsap-tanstack-router/references/verification.md +41 -0
- package/skills/ui/gsap-timeline/SKILL.md +107 -0
- package/skills/ui/gsap-utils/SKILL.md +284 -0
- package/skills/ui/gsap-vanilla/SKILL.md +63 -0
- package/skills/ui/gsap-vanilla/agents/openai.yaml +7 -0
- package/skills/ui/gsap-vanilla/references/cross-document-navigation.md +54 -0
- package/skills/ui/gsap-vanilla/references/initialization.md +87 -0
- package/skills/ui/gsap-vanilla/references/motion-system.md +150 -0
- package/skills/ui/gsap-vanilla/references/page-load.md +96 -0
- package/skills/ui/gsap-vanilla/references/spa-navigation.md +70 -0
- package/skills/ui/gsap-vanilla/references/verification.md +41 -0
- package/skills/ui/house-style/SKILL.md +366 -0
- package/skills/ui/imagegen/SKILL.md +49 -0
- package/skills/ui/imagegen/references/brandkit.md +48 -0
- package/skills/ui/imagegen/references/image-to-code.md +56 -0
- package/skills/ui/imagegen/references/mobile.md +58 -0
- package/skills/ui/imagegen/references/web.md +63 -0
- package/skills/ui/impeccable/SKILL.md +116 -0
- package/skills/ui/impeccable/reference/adapt.md +318 -0
- package/skills/ui/impeccable/reference/adapt.native.md +58 -0
- package/skills/ui/impeccable/reference/android.md +46 -0
- package/skills/ui/impeccable/reference/animate.md +89 -0
- package/skills/ui/impeccable/reference/audit.md +137 -0
- package/skills/ui/impeccable/reference/audit.native.md +139 -0
- package/skills/ui/impeccable/reference/bolder.md +33 -0
- package/skills/ui/impeccable/reference/clarify.md +94 -0
- package/skills/ui/impeccable/reference/colorize.md +86 -0
- package/skills/ui/impeccable/reference/craft-floor.md +44 -0
- package/skills/ui/impeccable/reference/craft.md +5 -0
- package/skills/ui/impeccable/reference/critique.md +806 -0
- package/skills/ui/impeccable/reference/degraded/asset-producer.md +37 -0
- package/skills/ui/impeccable/reference/degraded/documenter.md +24 -0
- package/skills/ui/impeccable/reference/degraded/finish-reviewer.md +38 -0
- package/skills/ui/impeccable/reference/degraded/manual-edit-applier.md +92 -0
- package/skills/ui/impeccable/reference/delight.md +70 -0
- package/skills/ui/impeccable/reference/distill.md +111 -0
- package/skills/ui/impeccable/reference/doctor.md +54 -0
- package/skills/ui/impeccable/reference/document.md +416 -0
- package/skills/ui/impeccable/reference/extract.md +69 -0
- package/skills/ui/impeccable/reference/generate.md +101 -0
- package/skills/ui/impeccable/reference/harden.md +345 -0
- package/skills/ui/impeccable/reference/hooks.md +111 -0
- package/skills/ui/impeccable/reference/init.md +131 -0
- package/skills/ui/impeccable/reference/ios.md +51 -0
- package/skills/ui/impeccable/reference/layout.md +84 -0
- package/skills/ui/impeccable/reference/live-setup.md +104 -0
- package/skills/ui/impeccable/reference/live.md +325 -0
- package/skills/ui/impeccable/reference/new-work.md +145 -0
- package/skills/ui/impeccable/reference/onboard.md +234 -0
- package/skills/ui/impeccable/reference/operate.md +61 -0
- package/skills/ui/impeccable/reference/optimize.md +258 -0
- package/skills/ui/impeccable/reference/overdrive.md +127 -0
- package/skills/ui/impeccable/reference/polish.md +105 -0
- package/skills/ui/impeccable/reference/quieter.md +99 -0
- package/skills/ui/impeccable/reference/routing.md +24 -0
- package/skills/ui/impeccable/reference/shape.md +59 -0
- package/skills/ui/impeccable/reference/typeset.md +80 -0
- package/skills/ui/impeccable/reference/visualize.md +46 -0
- package/skills/ui/impeccable/scripts/VERSION +1 -0
- package/skills/ui/impeccable/scripts/command-metadata.json +98 -0
- package/skills/ui/impeccable/scripts/data/font-index-failures.json +121 -0
- package/skills/ui/impeccable/scripts/data/font-index.json +1 -0
- package/skills/ui/impeccable/scripts/impeccable +206 -0
- package/skills/ui/impeccable/scripts/impeccable.cmd +214 -0
- package/skills/ui/impeccable/scripts/live-browser-dom.js +167 -0
- package/skills/ui/impeccable/scripts/live-browser-ignores.js +242 -0
- package/skills/ui/impeccable/scripts/live-browser-session.js +144 -0
- package/skills/ui/impeccable/scripts/live-browser.js +13510 -0
- package/skills/ui/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/skills/ui/motion/SKILL.md +207 -0
- package/skills/ui/pick-ui-library/SKILL.md +85 -0
- package/skills/ui/product-messaging/SKILL.md +163 -0
- package/skills/ui/product-site/SKILL.md +465 -0
- package/skills/ui/prototype/PICKER.md +197 -0
- package/skills/ui/prototype/SKILL.md +98 -0
- package/skills/ui/refero-design/SKILL.md +534 -0
- package/skills/ui/refero-design/agents/openai.yaml +4 -0
- package/skills/ui/refero-design/references/anti-ai-slop.md +292 -0
- package/skills/ui/refero-design/references/color.md +563 -0
- package/skills/ui/refero-design/references/copywriting.md +222 -0
- package/skills/ui/refero-design/references/craft-details.md +525 -0
- package/skills/ui/refero-design/references/example-workflow.md +264 -0
- package/skills/ui/refero-design/references/icons.md +166 -0
- package/skills/ui/refero-design/references/mcp-tools.md +258 -0
- package/skills/ui/refero-design/references/motion.md +504 -0
- package/skills/ui/refero-design/references/typography.md +737 -0
- package/skills/ui/refero-design/references/visual-workflow.md +105 -0
- package/skills/ui/style-animaxxing/SKILL.md +48 -0
- package/skills/ui/style-animaxxing/agents/openai.yaml +7 -0
- package/skills/ui/style-animaxxing/references/motion-vocabulary.md +51 -0
- package/skills/ui/style-animaxxing/references/tokens.md +288 -0
- package/skills/ui/style-animaxxing/references/typography-and-layout.md +149 -0
- package/skills/ui/style-animaxxing/references/verification.md +38 -0
- package/skills/ui/typography-picker/SKILL.md +305 -0
- package/skills/ui/ui-core/SKILL.md +345 -0
- package/skills/ui/ui-core/references/accessibility.md +85 -0
- package/skills/ui/ui-core/references/build.md +666 -0
- package/skills/ui/ui-core/references/copy.md +70 -0
- package/skills/ui/ui-core/references/dark-mode.md +76 -0
- package/skills/ui/ui-core/references/direction.md +99 -0
- package/skills/ui/ui-core/references/redesign.md +74 -0
- package/skills/ui/ui-core/references/responsive.md +77 -0
- package/skills/ui/ui-core/references/styles.md +42 -0
- package/skills/ui/ui-core/references/system.md +190 -0
- package/skills/ui/ui-core/references/verify.md +37 -0
- package/skills/ui/ui-engineering/SKILL.md +436 -0
- package/skills/ui/ui-engineering/references/avatars.md +74 -0
- package/skills/ui/ui-engineering/references/card-patterns.md +66 -0
- package/skills/ui/ui-engineering/references/floating-actions.md +65 -0
- package/skills/ui/ui-engineering/references/navigation.md +81 -0
- package/skills/ui/ui-engineering/references/overlays.md +74 -0
- package/skills/ui/ui-engineering/references/pagination.md +71 -0
- package/skills/ui/ui-engineering/references/progress-indicators.md +77 -0
- package/skills/ui/ui-engineering/references/quality-bar.md +293 -0
- package/skills/ui/ui-engineering/references/search.md +68 -0
- package/skills/ui/ui-engineering/references/tailwind-architecture.md +81 -0
- package/skills/ui/ui-theme-picker/SKILL.md +522 -0
- package/skills/ui/ui-theme-picker/references/component-sources.md +223 -0
- package/skills/ui/ui-theme-picker/references/styles.md +298 -0
- package/skills/ui/vitepress-docs/SKILL.md +439 -0
- package/skills/ui/vitepress-docs/references/components.md +333 -0
- package/skills/ui/vitepress-docs/references/layout.md +128 -0
- package/skills/ui/vitepress-docs/references/tokens.md +87 -0
- package/skills/ui/vitepress-docs/references/typography.md +76 -0
- package/skills/workflow/careful/SKILL.md +48 -0
- package/skills/workflow/context-restore/SKILL.md +69 -0
- package/skills/workflow/context-save/SKILL.md +96 -0
- package/skills/workflow/health/SKILL.md +99 -0
- package/skills/workflow/learn/SKILL.md +95 -0
- package/skills/workflow/office-hours/SKILL.md +136 -0
- package/skills/workflow/ship/SKILL.md +95 -0
- package/vendor.json +80 -0
|
@@ -0,0 +1,941 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ultra-context-engine
|
|
3
|
+
description: "An aggressive context-efficiency and token-optimization layer for Claude Code. Primary objective: use the minimum amount of model context needed to produce a correct result. Do not optimize tokens at the expense of correctness. Priority order: correctness, relevant context, context efficiency, tool-call efficiency, response brevity. Never sacrifice required information merely to reduce tokens."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# Core Principle
|
|
8
|
+
|
|
9
|
+
Do not give the model more information than it needs.
|
|
10
|
+
|
|
11
|
+
Instead of:
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
Repository
|
|
15
|
+
↓
|
|
16
|
+
Read everything
|
|
17
|
+
↓
|
|
18
|
+
Put everything into context
|
|
19
|
+
↓
|
|
20
|
+
Ask model to figure it out
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Use:
|
|
24
|
+
|
|
25
|
+
```text
|
|
26
|
+
Request
|
|
27
|
+
↓
|
|
28
|
+
Understand intent
|
|
29
|
+
↓
|
|
30
|
+
Find relevant symbols
|
|
31
|
+
↓
|
|
32
|
+
Build dependency/context graph
|
|
33
|
+
↓
|
|
34
|
+
Retrieve only relevant information
|
|
35
|
+
↓
|
|
36
|
+
Compress and deduplicate
|
|
37
|
+
↓
|
|
38
|
+
Cache reusable results
|
|
39
|
+
↓
|
|
40
|
+
Store large artifacts externally
|
|
41
|
+
↓
|
|
42
|
+
Reason over minimal sufficient context
|
|
43
|
+
↓
|
|
44
|
+
Return concise result
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
# Integrated Systems
|
|
49
|
+
|
|
50
|
+
This skill orchestrates the concepts and capabilities represented by:
|
|
51
|
+
|
|
52
|
+
* Caveman
|
|
53
|
+
https://github.com/juliusbrussee/caveman
|
|
54
|
+
|
|
55
|
+
* RTK: Rust Token Killer
|
|
56
|
+
https://github.com/rtk-ai/rtk
|
|
57
|
+
|
|
58
|
+
* Code Review Graph
|
|
59
|
+
https://github.com/tirth8205/code-review-graph
|
|
60
|
+
|
|
61
|
+
* Context Mode
|
|
62
|
+
https://github.com/mksglu/context-mode
|
|
63
|
+
|
|
64
|
+
* Claude Token Optimizer
|
|
65
|
+
https://github.com/nadimtuhin/claude-token-optimizer
|
|
66
|
+
|
|
67
|
+
* Token Optimizer
|
|
68
|
+
https://github.com/alexgreensh/token-optimizer
|
|
69
|
+
|
|
70
|
+
* Token Optimizer MCP
|
|
71
|
+
https://github.com/ooples/token-optimizer-mcp
|
|
72
|
+
|
|
73
|
+
* Claude Context
|
|
74
|
+
https://github.com/zilliztech/claude-context
|
|
75
|
+
|
|
76
|
+
* Claude Token Efficient
|
|
77
|
+
https://github.com/drona23/claude-token-efficient
|
|
78
|
+
|
|
79
|
+
* Token Savior
|
|
80
|
+
https://github.com/mibayy/token-savior
|
|
81
|
+
|
|
82
|
+
These are conceptual capabilities of the system.
|
|
83
|
+
|
|
84
|
+
Do not assume every repository is installed.
|
|
85
|
+
|
|
86
|
+
Do not execute, import, or invoke a tool merely because it exists in this list.
|
|
87
|
+
|
|
88
|
+
Use an available implementation when present. Otherwise reproduce the underlying behavior with native Claude Code capabilities.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
# Operating Modes
|
|
92
|
+
|
|
93
|
+
Determine the task before retrieving context.
|
|
94
|
+
|
|
95
|
+
## Mode 1: Simple Question
|
|
96
|
+
|
|
97
|
+
Examples:
|
|
98
|
+
|
|
99
|
+
* "What does this function do?"
|
|
100
|
+
* "Explain this error."
|
|
101
|
+
* "How does X work?"
|
|
102
|
+
|
|
103
|
+
Use the smallest possible context.
|
|
104
|
+
|
|
105
|
+
Do not scan the repository.
|
|
106
|
+
|
|
107
|
+
Do not perform semantic indexing.
|
|
108
|
+
|
|
109
|
+
Do not retrieve unrelated files.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
## Mode 2: Local Code Change
|
|
113
|
+
|
|
114
|
+
Examples:
|
|
115
|
+
|
|
116
|
+
* "Fix this function."
|
|
117
|
+
* "Add validation here."
|
|
118
|
+
* "Rename this variable."
|
|
119
|
+
|
|
120
|
+
Start with the target file/symbol.
|
|
121
|
+
|
|
122
|
+
Retrieve only:
|
|
123
|
+
|
|
124
|
+
* target symbol
|
|
125
|
+
* directly related types
|
|
126
|
+
* directly called functions
|
|
127
|
+
* relevant tests
|
|
128
|
+
* required configuration
|
|
129
|
+
|
|
130
|
+
Do not load the entire repository.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
## Mode 3: Debugging
|
|
134
|
+
|
|
135
|
+
First identify:
|
|
136
|
+
|
|
137
|
+
1. Error
|
|
138
|
+
2. Entry point
|
|
139
|
+
3. Relevant execution path
|
|
140
|
+
4. Dependencies
|
|
141
|
+
5. Configuration
|
|
142
|
+
6. Tests/logs
|
|
143
|
+
|
|
144
|
+
Use the smallest dependency path that explains the failure.
|
|
145
|
+
|
|
146
|
+
Do not indiscriminately retrieve every file mentioning the same keyword.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
## Mode 4: Code Review
|
|
150
|
+
|
|
151
|
+
Use graph-based and symbol-based retrieval.
|
|
152
|
+
|
|
153
|
+
Prioritize:
|
|
154
|
+
|
|
155
|
+
1. Changed files
|
|
156
|
+
2. Changed symbols
|
|
157
|
+
3. Callers
|
|
158
|
+
4. Callees
|
|
159
|
+
5. Related types
|
|
160
|
+
6. Tests
|
|
161
|
+
7. Configuration
|
|
162
|
+
8. Security-sensitive dependencies
|
|
163
|
+
|
|
164
|
+
Avoid reading unrelated files.
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## Mode 5: Architecture / Repository Understanding
|
|
168
|
+
|
|
169
|
+
Use progressive discovery.
|
|
170
|
+
|
|
171
|
+
Start with:
|
|
172
|
+
|
|
173
|
+
```text
|
|
174
|
+
Repository structure
|
|
175
|
+
↓
|
|
176
|
+
Package boundaries
|
|
177
|
+
↓
|
|
178
|
+
Entry points
|
|
179
|
+
↓
|
|
180
|
+
Important symbols
|
|
181
|
+
↓
|
|
182
|
+
Dependencies
|
|
183
|
+
↓
|
|
184
|
+
Relevant implementation
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
Never start by loading the entire repository.
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
## Mode 6: Large Output / Logs
|
|
191
|
+
|
|
192
|
+
Never inject large raw outputs directly into context when an external process can handle them.
|
|
193
|
+
|
|
194
|
+
Prefer:
|
|
195
|
+
|
|
196
|
+
```text
|
|
197
|
+
Raw output
|
|
198
|
+
↓
|
|
199
|
+
Filter
|
|
200
|
+
↓
|
|
201
|
+
Deduplicate
|
|
202
|
+
↓
|
|
203
|
+
Summarize
|
|
204
|
+
↓
|
|
205
|
+
Store externally if necessary
|
|
206
|
+
↓
|
|
207
|
+
Expose only relevant sections
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
# Context Retrieval Strategy
|
|
212
|
+
|
|
213
|
+
Use a funnel.
|
|
214
|
+
|
|
215
|
+
## Level 0: Context from the user
|
|
216
|
+
|
|
217
|
+
Always use information already given by the user before doing additional retrieval.
|
|
218
|
+
|
|
219
|
+
Do not retrieve information the user already supplied.
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
## Level 1: Symbol lookup
|
|
223
|
+
|
|
224
|
+
Prefer symbols over files.
|
|
225
|
+
|
|
226
|
+
Examples:
|
|
227
|
+
|
|
228
|
+
```text
|
|
229
|
+
function authenticate
|
|
230
|
+
class UserService
|
|
231
|
+
interface User
|
|
232
|
+
middleware auth
|
|
233
|
+
route POST /login
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Use symbol-level navigation whenever possible.
|
|
237
|
+
|
|
238
|
+
This uses the Token Savior principle.
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
## Level 2: Dependency expansion
|
|
242
|
+
|
|
243
|
+
Once you identify the target symbol, expand only as necessary.
|
|
244
|
+
|
|
245
|
+
Typical expansion:
|
|
246
|
+
|
|
247
|
+
```text
|
|
248
|
+
Target
|
|
249
|
+
├── direct callers
|
|
250
|
+
├── direct callees
|
|
251
|
+
├── referenced types
|
|
252
|
+
├── relevant tests
|
|
253
|
+
└── relevant configuration
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Use graph-based traversal where available.
|
|
257
|
+
|
|
258
|
+
This uses the Code Review Graph principle.
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
## Level 3: Semantic retrieval
|
|
262
|
+
|
|
263
|
+
When exact symbol navigation is insufficient, use semantic/hybrid retrieval.
|
|
264
|
+
|
|
265
|
+
Retrieve the smallest set of documents/code fragments that answer the question.
|
|
266
|
+
|
|
267
|
+
This uses the Claude Context principle.
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
## Level 4: Broader retrieval
|
|
271
|
+
|
|
272
|
+
Only expand beyond the immediate dependency neighborhood when evidence indicates that the existing context is insufficient.
|
|
273
|
+
|
|
274
|
+
Never broaden context simply because more context exists.
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
# Context Budgeting
|
|
278
|
+
|
|
279
|
+
Before retrieving context, estimate what is actually required.
|
|
280
|
+
|
|
281
|
+
Use this model:
|
|
282
|
+
|
|
283
|
+
```text
|
|
284
|
+
Required Context =
|
|
285
|
+
Target
|
|
286
|
+
+ Direct Dependencies
|
|
287
|
+
+ Relevant Types
|
|
288
|
+
+ Relevant Tests
|
|
289
|
+
+ Relevant Configuration
|
|
290
|
+
+ Evidence Needed For Decision
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
Presume everything else irrelevant until proven otherwise.
|
|
294
|
+
|
|
295
|
+
If two pieces of context give the same information, keep the smaller one.
|
|
296
|
+
|
|
297
|
+
If a summary is sufficient, do not include the raw source.
|
|
298
|
+
|
|
299
|
+
If a symbol is sufficient, do not include the entire file.
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
# Code Retrieval Rules
|
|
303
|
+
|
|
304
|
+
Never:
|
|
305
|
+
|
|
306
|
+
* read an entire monorepo unnecessarily
|
|
307
|
+
* read every file in a directory
|
|
308
|
+
* dump giant files into context
|
|
309
|
+
* repeatedly retrieve the same file
|
|
310
|
+
* retrieve generated files unless necessary
|
|
311
|
+
* retrieve lockfiles unless dependency resolution requires them
|
|
312
|
+
* retrieve build artifacts unless debugging them
|
|
313
|
+
* retrieve unrelated tests
|
|
314
|
+
* retrieve unrelated documentation
|
|
315
|
+
|
|
316
|
+
Prefer:
|
|
317
|
+
|
|
318
|
+
* symbols
|
|
319
|
+
* definitions
|
|
320
|
+
* references
|
|
321
|
+
* callers
|
|
322
|
+
* callees
|
|
323
|
+
* dependency edges
|
|
324
|
+
* relevant tests
|
|
325
|
+
* relevant configuration
|
|
326
|
+
* targeted line ranges
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
# Monorepo Rules
|
|
330
|
+
|
|
331
|
+
For monorepos:
|
|
332
|
+
|
|
333
|
+
1. Identify the affected package.
|
|
334
|
+
2. Identify its package boundaries.
|
|
335
|
+
3. Identify workspace dependencies.
|
|
336
|
+
4. Identify relevant entry points.
|
|
337
|
+
5. Build the smallest dependency subgraph.
|
|
338
|
+
6. Ignore unrelated packages.
|
|
339
|
+
|
|
340
|
+
Never treat a monorepo as one giant application.
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
# Context Compression
|
|
344
|
+
|
|
345
|
+
Before context enters the model, remove information that does not affect reasoning.
|
|
346
|
+
|
|
347
|
+
Potential compression operations:
|
|
348
|
+
|
|
349
|
+
* remove duplicate content
|
|
350
|
+
* remove repeated logs
|
|
351
|
+
* collapse repeated stack frames
|
|
352
|
+
* remove irrelevant timestamps
|
|
353
|
+
* remove ANSI escape sequences
|
|
354
|
+
* remove terminal progress output
|
|
355
|
+
* remove generated boilerplate
|
|
356
|
+
* remove duplicated imports
|
|
357
|
+
* remove irrelevant comments
|
|
358
|
+
* collapse repetitive JSON
|
|
359
|
+
* collapse repeated objects
|
|
360
|
+
* summarize repetitive errors
|
|
361
|
+
* preserve unique errors
|
|
362
|
+
* preserve exact values when they affect correctness
|
|
363
|
+
* preserve line numbers when useful
|
|
364
|
+
* preserve code semantics
|
|
365
|
+
|
|
366
|
+
Never compress away information that could change the answer.
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
# Terminal Output
|
|
370
|
+
|
|
371
|
+
Apply the RTK principle to terminal output.
|
|
372
|
+
|
|
373
|
+
Treat terminal output as noisy input.
|
|
374
|
+
|
|
375
|
+
Remove or collapse:
|
|
376
|
+
|
|
377
|
+
```text
|
|
378
|
+
progress bars
|
|
379
|
+
download percentages
|
|
380
|
+
repeated status lines
|
|
381
|
+
ANSI formatting
|
|
382
|
+
duplicate warnings
|
|
383
|
+
duplicate stack frames
|
|
384
|
+
irrelevant timestamps
|
|
385
|
+
repeated compiler output
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
Preserve:
|
|
389
|
+
|
|
390
|
+
```text
|
|
391
|
+
errors
|
|
392
|
+
warnings
|
|
393
|
+
exit codes
|
|
394
|
+
commands
|
|
395
|
+
file paths
|
|
396
|
+
line numbers
|
|
397
|
+
unique stack frames
|
|
398
|
+
relevant stdout
|
|
399
|
+
relevant stderr
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
When possible, ask tools for filtered output directly rather than receiving massive output and filtering it afterward.
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
# Large Outputs
|
|
406
|
+
|
|
407
|
+
Large outputs must not automatically become model context.
|
|
408
|
+
|
|
409
|
+
Examples:
|
|
410
|
+
|
|
411
|
+
* build logs
|
|
412
|
+
* test logs
|
|
413
|
+
* GitHub API responses
|
|
414
|
+
* git history
|
|
415
|
+
* database dumps
|
|
416
|
+
* generated JSON
|
|
417
|
+
* large command output
|
|
418
|
+
* large search results
|
|
419
|
+
|
|
420
|
+
Use the Context Mode principle:
|
|
421
|
+
|
|
422
|
+
```text
|
|
423
|
+
Large Artifact
|
|
424
|
+
↓
|
|
425
|
+
External storage / SQLite
|
|
426
|
+
↓
|
|
427
|
+
Query only required information
|
|
428
|
+
↓
|
|
429
|
+
Return compact result
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
Give the model:
|
|
433
|
+
|
|
434
|
+
```text
|
|
435
|
+
Summary
|
|
436
|
+
Relevant records
|
|
437
|
+
Relevant lines
|
|
438
|
+
Relevant identifiers
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
rather than the entire artifact.
|
|
442
|
+
|
|
443
|
+
If external storage is unavailable, simulate the same behavior by retaining only the relevant subset in working context.
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
# MCP Optimization
|
|
447
|
+
|
|
448
|
+
MCP calls can become a major source of context waste.
|
|
449
|
+
|
|
450
|
+
Before invoking an MCP tool:
|
|
451
|
+
|
|
452
|
+
1. Determine exactly what information you need.
|
|
453
|
+
2. Request the narrowest possible result.
|
|
454
|
+
3. Avoid requesting fields you will not use.
|
|
455
|
+
4. Avoid repeating equivalent requests.
|
|
456
|
+
5. Cache reusable results when possible.
|
|
457
|
+
6. Compress results before exposing them to the model.
|
|
458
|
+
|
|
459
|
+
Use the Token Optimizer MCP principle:
|
|
460
|
+
|
|
461
|
+
```text
|
|
462
|
+
MCP Request
|
|
463
|
+
↓
|
|
464
|
+
Normalize
|
|
465
|
+
↓
|
|
466
|
+
Cache lookup
|
|
467
|
+
↓
|
|
468
|
+
Existing result?
|
|
469
|
+
/ \
|
|
470
|
+
yes no
|
|
471
|
+
| |
|
|
472
|
+
reuse execute
|
|
473
|
+
↓
|
|
474
|
+
compress
|
|
475
|
+
↓
|
|
476
|
+
cache
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
Never repeatedly fetch identical information within the same task.
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
# Caching
|
|
483
|
+
|
|
484
|
+
Cache information when it is:
|
|
485
|
+
|
|
486
|
+
* deterministic
|
|
487
|
+
* expensive to retrieve
|
|
488
|
+
* likely used again
|
|
489
|
+
* unchanged during the current task
|
|
490
|
+
|
|
491
|
+
Good candidates:
|
|
492
|
+
|
|
493
|
+
* repository structure
|
|
494
|
+
* symbol index
|
|
495
|
+
* dependency graph
|
|
496
|
+
* package metadata
|
|
497
|
+
* repeated MCP responses
|
|
498
|
+
* repeated command output
|
|
499
|
+
* documentation retrieval
|
|
500
|
+
|
|
501
|
+
Do not cache information when it is:
|
|
502
|
+
|
|
503
|
+
* rapidly changing
|
|
504
|
+
* task-specific
|
|
505
|
+
* potentially stale
|
|
506
|
+
* security-sensitive without appropriate controls
|
|
507
|
+
|
|
508
|
+
Always prefer correctness over cache hits.
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
# Prompt Optimization
|
|
512
|
+
|
|
513
|
+
Apply the Claude Token Optimizer principle to internal task instructions.
|
|
514
|
+
|
|
515
|
+
Convert verbose instructions into compact constraints.
|
|
516
|
+
|
|
517
|
+
Instead of:
|
|
518
|
+
|
|
519
|
+
```text
|
|
520
|
+
Please carefully inspect all of the relevant files and try
|
|
521
|
+
to determine whether there might potentially be a problem...
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
Prefer:
|
|
525
|
+
|
|
526
|
+
```text
|
|
527
|
+
Inspect relevant files. Identify root cause. Patch it. Test it.
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
Preserve:
|
|
531
|
+
|
|
532
|
+
* requirements
|
|
533
|
+
* constraints
|
|
534
|
+
* acceptance criteria
|
|
535
|
+
* edge cases
|
|
536
|
+
* safety requirements
|
|
537
|
+
* user intent
|
|
538
|
+
|
|
539
|
+
Remove:
|
|
540
|
+
|
|
541
|
+
* filler
|
|
542
|
+
* repetition
|
|
543
|
+
* unnecessary politeness
|
|
544
|
+
* duplicated instructions
|
|
545
|
+
* redundant explanations
|
|
546
|
+
|
|
547
|
+
Never compress away an actual requirement.
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
# Persistent Repository Knowledge
|
|
551
|
+
|
|
552
|
+
Maintain useful repository knowledge when supported.
|
|
553
|
+
|
|
554
|
+
Useful persistent information includes:
|
|
555
|
+
|
|
556
|
+
```text
|
|
557
|
+
architecture
|
|
558
|
+
package boundaries
|
|
559
|
+
entry points
|
|
560
|
+
important symbols
|
|
561
|
+
common commands
|
|
562
|
+
test commands
|
|
563
|
+
build commands
|
|
564
|
+
dependency relationships
|
|
565
|
+
conventions
|
|
566
|
+
known generated directories
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
Do not persist temporary conclusions as facts.
|
|
570
|
+
|
|
571
|
+
Clearly distinguish:
|
|
572
|
+
|
|
573
|
+
```text
|
|
574
|
+
Known
|
|
575
|
+
Inferred
|
|
576
|
+
Uncertain
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
# Response Optimization
|
|
581
|
+
|
|
582
|
+
The final response must contain only information useful to the user.
|
|
583
|
+
|
|
584
|
+
Prefer:
|
|
585
|
+
|
|
586
|
+
```text
|
|
587
|
+
What changed
|
|
588
|
+
Why
|
|
589
|
+
Files changed
|
|
590
|
+
Tests
|
|
591
|
+
Remaining issue
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
Avoid:
|
|
595
|
+
|
|
596
|
+
* unnecessary introductions
|
|
597
|
+
* repeating the request
|
|
598
|
+
* narrating every internal step
|
|
599
|
+
* explaining obvious code
|
|
600
|
+
* repeating code already shown
|
|
601
|
+
* verbose conclusions
|
|
602
|
+
* generic "let me know if..." endings
|
|
603
|
+
|
|
604
|
+
For simple tasks, answer briefly.
|
|
605
|
+
|
|
606
|
+
For complex tasks, give enough detail to make the result usable.
|
|
607
|
+
|
|
608
|
+
Do not impose arbitrary word limits when the task requires explanation.
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
# Caveman Mode
|
|
612
|
+
|
|
613
|
+
Use the Caveman principle as a final compression strategy, not as the primary reasoning strategy.
|
|
614
|
+
|
|
615
|
+
Reason normally.
|
|
616
|
+
|
|
617
|
+
Then remove unnecessary language.
|
|
618
|
+
|
|
619
|
+
Example:
|
|
620
|
+
|
|
621
|
+
Before:
|
|
622
|
+
|
|
623
|
+
```text
|
|
624
|
+
The reason the authentication middleware is failing is that
|
|
625
|
+
the JWT is being decoded before the signature has been verified,
|
|
626
|
+
which causes the middleware to reject otherwise valid requests.
|
|
627
|
+
```
|
|
628
|
+
|
|
629
|
+
After:
|
|
630
|
+
|
|
631
|
+
```text
|
|
632
|
+
JWT decoded before signature verification.
|
|
633
|
+
Fix middleware order.
|
|
634
|
+
```
|
|
635
|
+
|
|
636
|
+
Do not remove technical information merely to make text shorter.
|
|
637
|
+
|
|
638
|
+
Never sacrifice:
|
|
639
|
+
|
|
640
|
+
* correctness
|
|
641
|
+
* caveats
|
|
642
|
+
* security information
|
|
643
|
+
* required instructions
|
|
644
|
+
* exact commands
|
|
645
|
+
* error details
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
# Final Response Terseness
|
|
649
|
+
|
|
650
|
+
Use the Claude Token Efficient principle.
|
|
651
|
+
|
|
652
|
+
Use concise structure:
|
|
653
|
+
|
|
654
|
+
```text
|
|
655
|
+
Changed:
|
|
656
|
+
- ...
|
|
657
|
+
|
|
658
|
+
Why:
|
|
659
|
+
- ...
|
|
660
|
+
|
|
661
|
+
Tested:
|
|
662
|
+
- ...
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
For code changes, prefer showing only the important diff or explanation.
|
|
666
|
+
|
|
667
|
+
Do not reproduce entire files unless explicitly requested.
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
# Tool Selection
|
|
671
|
+
|
|
672
|
+
Do not blindly execute every optimization stage.
|
|
673
|
+
|
|
674
|
+
Use the cheapest sufficient strategy.
|
|
675
|
+
|
|
676
|
+
Example:
|
|
677
|
+
|
|
678
|
+
```text
|
|
679
|
+
Simple question
|
|
680
|
+
→ direct answer
|
|
681
|
+
|
|
682
|
+
Local code change
|
|
683
|
+
→ symbol lookup
|
|
684
|
+
→ targeted context
|
|
685
|
+
|
|
686
|
+
Complex code change
|
|
687
|
+
→ symbol lookup
|
|
688
|
+
→ graph expansion
|
|
689
|
+
→ semantic retrieval
|
|
690
|
+
|
|
691
|
+
Large repository review
|
|
692
|
+
→ graph
|
|
693
|
+
→ semantic retrieval
|
|
694
|
+
→ compression
|
|
695
|
+
|
|
696
|
+
Huge logs
|
|
697
|
+
→ RTK-style filtering
|
|
698
|
+
→ external storage
|
|
699
|
+
→ targeted retrieval
|
|
700
|
+
|
|
701
|
+
Repeated MCP data
|
|
702
|
+
→ cache
|
|
703
|
+
→ compressed result
|
|
704
|
+
```
|
|
705
|
+
|
|
706
|
+
Make the system adaptive.
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
# Anti-Patterns
|
|
710
|
+
|
|
711
|
+
Never do this:
|
|
712
|
+
|
|
713
|
+
```text
|
|
714
|
+
User asks about one function
|
|
715
|
+
↓
|
|
716
|
+
Read entire repository
|
|
717
|
+
↓
|
|
718
|
+
Read entire package
|
|
719
|
+
↓
|
|
720
|
+
Read every dependency
|
|
721
|
+
↓
|
|
722
|
+
Dump everything into context
|
|
723
|
+
```
|
|
724
|
+
|
|
725
|
+
Never do this:
|
|
726
|
+
|
|
727
|
+
```text
|
|
728
|
+
5 MB terminal output
|
|
729
|
+
↓
|
|
730
|
+
5 MB model context
|
|
731
|
+
```
|
|
732
|
+
|
|
733
|
+
Never do this:
|
|
734
|
+
|
|
735
|
+
```text
|
|
736
|
+
MCP request
|
|
737
|
+
MCP request
|
|
738
|
+
MCP request
|
|
739
|
+
MCP request
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
when one cached result would suffice.
|
|
743
|
+
|
|
744
|
+
Never do this:
|
|
745
|
+
|
|
746
|
+
```text
|
|
747
|
+
Huge file
|
|
748
|
+
↓
|
|
749
|
+
Entire file
|
|
750
|
+
↓
|
|
751
|
+
Model
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
when symbol-level retrieval is available.
|
|
755
|
+
|
|
756
|
+
Never do this:
|
|
757
|
+
|
|
758
|
+
```text
|
|
759
|
+
Verbose answer
|
|
760
|
+
↓
|
|
761
|
+
Delete random words
|
|
762
|
+
↓
|
|
763
|
+
Broken explanation
|
|
764
|
+
```
|
|
765
|
+
|
|
766
|
+
Compression must preserve meaning.
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
# Accuracy Guardrails
|
|
770
|
+
|
|
771
|
+
Token reduction is subordinate to correctness.
|
|
772
|
+
|
|
773
|
+
If additional context is required:
|
|
774
|
+
|
|
775
|
+
GET IT.
|
|
776
|
+
|
|
777
|
+
If a dependency is uncertain:
|
|
778
|
+
|
|
779
|
+
INSPECT IT.
|
|
780
|
+
|
|
781
|
+
If a log line might contain important evidence:
|
|
782
|
+
|
|
783
|
+
PRESERVE IT.
|
|
784
|
+
|
|
785
|
+
If compression changes meaning:
|
|
786
|
+
|
|
787
|
+
DO NOT COMPRESS IT.
|
|
788
|
+
|
|
789
|
+
If retrieval confidence is low:
|
|
790
|
+
|
|
791
|
+
EXPAND THE CONTEXT.
|
|
792
|
+
|
|
793
|
+
If two sources disagree:
|
|
794
|
+
|
|
795
|
+
KEEP BOTH UNTIL RESOLVED.
|
|
796
|
+
|
|
797
|
+
Never report an inferred fact as verified.
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
# Progressive Escalation
|
|
801
|
+
|
|
802
|
+
Use this escalation ladder:
|
|
803
|
+
|
|
804
|
+
```text
|
|
805
|
+
1. Existing context
|
|
806
|
+
↓
|
|
807
|
+
2. Targeted symbol
|
|
808
|
+
↓
|
|
809
|
+
3. Direct dependencies
|
|
810
|
+
↓
|
|
811
|
+
4. Relevant tests/config
|
|
812
|
+
↓
|
|
813
|
+
5. Dependency graph
|
|
814
|
+
↓
|
|
815
|
+
6. Semantic retrieval
|
|
816
|
+
↓
|
|
817
|
+
7. Broader repository search
|
|
818
|
+
↓
|
|
819
|
+
8. Full-file inspection
|
|
820
|
+
↓
|
|
821
|
+
9. Full-repository inspection
|
|
822
|
+
```
|
|
823
|
+
|
|
824
|
+
Start at level 1.
|
|
825
|
+
|
|
826
|
+
Escalate only when necessary.
|
|
827
|
+
|
|
828
|
+
Never start at level 9.
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
# Decision Function
|
|
832
|
+
|
|
833
|
+
Before adding context, ask:
|
|
834
|
+
|
|
835
|
+
```text
|
|
836
|
+
Will this information materially affect the answer?
|
|
837
|
+
```
|
|
838
|
+
|
|
839
|
+
If:
|
|
840
|
+
|
|
841
|
+
```text
|
|
842
|
+
NO → exclude it
|
|
843
|
+
YES → include it
|
|
844
|
+
UNKNOWN → retrieve minimally and evaluate
|
|
845
|
+
```
|
|
846
|
+
|
|
847
|
+
Before running a tool, ask:
|
|
848
|
+
|
|
849
|
+
```text
|
|
850
|
+
Can the task be completed without this tool?
|
|
851
|
+
```
|
|
852
|
+
|
|
853
|
+
If yes, do not run it.
|
|
854
|
+
|
|
855
|
+
Before returning output, ask:
|
|
856
|
+
|
|
857
|
+
```text
|
|
858
|
+
Can this be shorter without losing information?
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
If yes, shorten it.
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
# Ideal End-to-End Pipeline
|
|
865
|
+
|
|
866
|
+
The complete system behaves like this:
|
|
867
|
+
|
|
868
|
+
```text
|
|
869
|
+
USER REQUEST
|
|
870
|
+
│
|
|
871
|
+
▼
|
|
872
|
+
Intent Detection
|
|
873
|
+
│
|
|
874
|
+
▼
|
|
875
|
+
Prompt Optimization
|
|
876
|
+
│
|
|
877
|
+
▼
|
|
878
|
+
Existing Context
|
|
879
|
+
│
|
|
880
|
+
▼
|
|
881
|
+
Symbol Search
|
|
882
|
+
│
|
|
883
|
+
▼
|
|
884
|
+
Dependency Graph
|
|
885
|
+
│
|
|
886
|
+
▼
|
|
887
|
+
Semantic Retrieval
|
|
888
|
+
│
|
|
889
|
+
▼
|
|
890
|
+
Context Compression
|
|
891
|
+
│
|
|
892
|
+
┌──────────┴──────────┐
|
|
893
|
+
▼ ▼
|
|
894
|
+
MCP Cache Large Output
|
|
895
|
+
│ │
|
|
896
|
+
│ SQLite /
|
|
897
|
+
│ External Context
|
|
898
|
+
│ │
|
|
899
|
+
└──────────┬──────────┘
|
|
900
|
+
▼
|
|
901
|
+
Minimal Context
|
|
902
|
+
│
|
|
903
|
+
▼
|
|
904
|
+
Claude
|
|
905
|
+
│
|
|
906
|
+
▼
|
|
907
|
+
Accuracy Check
|
|
908
|
+
│
|
|
909
|
+
▼
|
|
910
|
+
Response Compression
|
|
911
|
+
│
|
|
912
|
+
▼
|
|
913
|
+
Caveman/Terse
|
|
914
|
+
│
|
|
915
|
+
▼
|
|
916
|
+
Final Response
|
|
917
|
+
```
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
# Success Criteria
|
|
921
|
+
|
|
922
|
+
The skill is successful when:
|
|
923
|
+
|
|
924
|
+
1. The model sees less irrelevant context.
|
|
925
|
+
2. Large outputs do not consume unnecessary context.
|
|
926
|
+
3. Avoid repeated MCP calls.
|
|
927
|
+
4. Repository navigation happens at symbol level whenever possible.
|
|
928
|
+
5. Use semantic retrieval only when needed.
|
|
929
|
+
6. Preserve relevant dependency context.
|
|
930
|
+
7. Remove terminal noise.
|
|
931
|
+
8. Responses are concise without losing information.
|
|
932
|
+
9. Accuracy remains unchanged or improves.
|
|
933
|
+
10. The system automatically expands context when the reduced context is insufficient.
|
|
934
|
+
|
|
935
|
+
The goal is not:
|
|
936
|
+
|
|
937
|
+
> "Use fewer tokens at any cost."
|
|
938
|
+
|
|
939
|
+
The goal is:
|
|
940
|
+
|
|
941
|
+
> "Spend tokens only where they improve the answer."
|