Skip to main content
ClaudeWave
EN, English
Skill1.7k repo starsupdated 1mo ago

eureka

The eureka skill documents technical breakthroughs by capturing the problem, key insight, and solution into a structured markdown file with a minimal working example, before/after metrics, and an abstract reusable pattern. Use this skill when a user achieves a significant technical insight, solves a difficult problem, discovers a non-obvious solution, or wants to preserve a breakthrough moment for future reference and team knowledge sharing.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/feiskyer/claude-code-settings /tmp/eureka && cp -r /tmp/eureka/skills/eureka ~/.claude/skills/eureka
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# 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:

```markdown
# [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:

```markdown
# 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:

1. If the description is clear, proceed directly to creating the breakthrough file
2. If details are missing, ask focused clarifying questions first
3. Create the file, update the index, and highlight the reusable pattern
autonomous-skillSkill

>-

brainstormingSkill

Explore user intent, requirements, and design options through collaborative dialogue before implementation. Use before building new features, components, or systems — whenever the user describes something to build and design decisions are involved. Triggers: \"brainstorm\", \"help me design\", \"think through the requirements\", \"头脑风暴\", \"设计方案\", \"梳理需求\". Not for bug fixes, config changes, or tasks with an obvious implementation path.

codex-skillSkill

Leverage OpenAI Codex/GPT models for autonomous code implementation, code review, and plan review. Triggers: "codex", "use gpt", "gpt-5", "let openai", "full-auto", "adversarial review", "second opinion review", "用codex", "让gpt实现", "对抗式审查", "让codex审查计划", "第二意见". Use this skill whenever the user wants to delegate coding tasks to OpenAI models, run code or plan reviews via codex, get a second-opinion review from a different model, or execute tasks in a sandboxed environment.

command-creatorSkill

Create Claude Code custom slash commands with proper structure, frontmatter, and best practices. Use this skill whenever the user wants to create a new command, add a slash command, build a custom command, or mentions "create-command", "new command", "add command", or "make a command" for Claude Code. Also trigger when the user wants to turn a workflow into a reusable command.

deep-reflectorSubagent

Comprehensive session analysis and learning capture specialist. Analyzes development sessions to extract patterns, preferences, and improvements for future interactions. Use after significant work sessions to capture learnings.

deep-researchSkill

Multi-agent research orchestration: split a research goal into parallel sub-goals, run each via headless `claude -p` subprocesses, aggregate results into a polished report file. Use for systematic web/document research, competitive or industry analysis, batch link/dataset processing, and long-form evidence synthesis. Triggers: "深度调研", "deep research", "wide research", "多 Agent 调研", "系统调研".

github-fix-issueSkill

Fix GitHub issues end-to-end — analysis, branch creation, implementation, testing, and PR submission. Use whenever the user mentions fixing a GitHub issue, says "fix issue #123", "work on this issue", "修复 issue", or references a GitHub issue number or URL.

github-issue-fixerSubagent

GitHub issue resolution specialist. Analyzes, plans, and implements fixes for GitHub issues with proper testing and PR creation. Use when fixing specific GitHub issues.