‹ 首页

eureka

@feiskyer · 收录于 1 周前 · 上游提交 2 个月前

Capture technical breakthroughs and transform them into actionable, reusable documentation. Use this skill when the user has achieved a significant technical insight, solved a hard problem, discovered a non-obvious solution, or wants to document a breakthrough moment. Also trigger when the user mentions "eureka", "breakthrough", "document this insight", "capture this discovery", or wants to turn a technical win into reusable knowledge.

适合你,如果常遇到技术突破却来不及记录,想沉淀为团队知识

/ 下载安装
eureka.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add feiskyer/claude-code-settings/eureka
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- feiskyer/claude-code-settings/eureka
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify feiskyer/claude-code-settings/eureka
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1585GitHub stars
~758上下文体积 · 单文件
镜像托管

怎么用

商店整理自技能原文 · 版本 4863dd2 · 表述以原文为准
它做什么

当你有技术突破时,Claude 会帮你记录问题、洞察、前后变化和最小示例,生成结构化的 Markdown 文件,并更新索引,最后提炼可复用的模式。

什么时候触发

当你提到“eureka”、“突破”、“记录这个洞察”等关键词,或者你刚解决了一个难题、发现了一个非显而易见的解法时触发。

装好后可以这样说
Claude 会收集细节并生成突破文件。
触发技能,开始记录。
技能原文 SKILL.md作者撰写 · MIT · 4863dd2

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:

  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
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。