eureka
Eureka
Capture technical breakthroughs and transform them into actionable, reusable knowledge assets while context is fresh.
Process
1. Capture the Breakthrough
When invoked, immediately gather the essential details:
- What was the problem? The specific challenge or blocker faced.
- What was the insight? The key realization that unlocked the solution.
- What changed? Concrete before/after differences (metrics, behavior, code).
- Is there a minimal working example? Request one if not provided.
Ask clarifying questions if any of these are unclear, but act fast — capture while context is fresh.
2. Create the Breakthrough File
Create a structured markdown file at breakthroughs/YYYY-MM-DD-[brief-name].md using today's date and a concise kebab-case name derived from the breakthrough.
Use this template:
# [Descriptive Title]
**Date**: YYYY-MM-DD
**Tags**: [relevant, searchable, tags]
## One-Line Summary
A single sentence capturing the core insight.
## The Problem
What was the challenge? What wasn't working? Include specific error messages, performance numbers, or behavioral descriptions.
## The Insight
The key realization or discovery. What made this non-obvious? Why did previous approaches fail?
## Implementation
Minimal working code demonstrating the solution:
\`\`\`[language]
# concrete code example
\`\`\`
## Impact
| Metric | Before | After |
|--------|--------|-------|
| [relevant metric] | [value] | [value] |
## Reusable Pattern
Abstract the specific solution into a general principle that can be applied elsewhere:
- **When you see**: [symptom or situation]
- **Consider**: [the general approach]
- **Because**: [why it works]
## Related Resources
- Links to relevant documentation, issues, or discussions
3. Update the Index
Update breakthroughs/INDEX.md with a new entry. If the index file does not exist, create it with this structure:
# Breakthrough Index
| Date | Title | Tags | Link |
|------|-------|------|------|
| YYYY-MM-DD | [Title] | [tags] | [link to file] |
Append the new entry to the table, keeping entries in reverse chronological order (newest first).
4. Extract Reusable Patterns
After documenting, help the user identify:
- Is this pattern applicable to other parts of the codebase?
- Could this become a lint rule, test, or automated check?
- Should this be shared with the team?
Key Principles
- Act fast: Capture insights while context is fresh — don't over-polish on first pass.
- Be specific: Include concrete metrics, error messages, and code. Vague breakthroughs are not reusable.
- Think reusable: Always extract the generalizable pattern from the specific solution.
- Stay searchable: Use consistent tags and clear titles so breakthroughs can be found later.
Your Task
Document the breakthrough based on what the user describes:
- If the description is clear, proceed directly to creating the breakthrough file
- If details are missing, ask focused clarifying questions first
- Create the file, update the index, and highlight the reusable pattern
More from feiskyer/claude-code-settings
spec-kit-skill
GitHub Spec-Kit integration for constitution-based spec-driven development. 7-phase workflow. Triggers: "spec-kit", "speckit", "constitution", "specify", ".specify/", "规格驱动开发", "需求规格".
440kiro-skill
Interactive feature development workflow from idea to implementation. Creates requirements (EARS format), design documents, and task lists. Triggers: "kiro", ".kiro/specs/", "feature spec", "需求文档", "设计文档", "实现计划".
205codex-skill
Leverage OpenAI Codex/GPT models for autonomous code implementation. Triggers: "codex", "use gpt", "gpt-5", "let openai", "full-auto", "用codex", "让gpt实现". Use this skill whenever the user wants to delegate coding tasks to OpenAI models, run code reviews via codex, or execute tasks in a sandboxed environment.
187autonomous-skill
>-
179nanobanana-skill
Generate or edit images using Google Gemini API via nanobanana. Triggers: "nanobanana", "generate image", "create image", "edit image", "AI drawing", "图片生成", "AI绘图", "图片编辑", "生成图片".
159youtube-transcribe-skill
Extract subtitles/transcripts from YouTube videos. Triggers: "youtube transcript", "extract subtitles", "video captions", "视频字幕", "字幕提取", "YouTube转文字", "提取字幕".
146