atomic-decomposition
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAtomic Decomposition
原子分解
Decompose research ideas into atomic concepts with math formula <-> code implementation mapping.
将研究思想分解为具备数学公式<->代码实现映射的原子概念。
Input
输入
- — Research idea, paper, or method description
$0
- — 研究思路、论文或方法描述
$0
References
参考文献
- Decomposition prompts and workflow:
~/.claude/skills/atomic-decomposition/references/decomposition-prompts.md
- 分解提示词与工作流:
~/.claude/skills/atomic-decomposition/references/decomposition-prompts.md
Workflow (from AI-Researcher Survey Agent)
工作流(来自AI-Researcher Survey Agent)
Step 1: Break Down into Atomic Definitions
步骤1:拆解为原子定义
Analyze the research idea and decompose into atomic, self-contained concepts:
- Each atom should be a single concept
- Must have clear mathematical foundations
- Must be implementable in code
- Must be traceable to specific papers
分析研究思想并将其分解为原子化、独立的概念:
- 每个原子单元应对应单个概念
- 必须具备清晰的数学基础
- 必须可通过代码实现
- 必须可追溯至特定论文
Step 2: For Each Atomic Definition
步骤2:针对每个原子定义
A. Paper Survey (Math Formula)
A. 论文调研(数学公式)
- Search papers for the mathematical formulation
- Extract the exact LaTeX formula
- Note assumptions and constraints
- Record reference papers
- 检索论文以获取数学表达式
- 提取精确的LaTeX公式
- 记录假设条件与约束
- 记录参考文献论文
B. Code Survey (Implementation)
B. 代码调研(实现方案)
- Search codebases for implementations
- Extract the corresponding code
- Note implementation details and variations
- Record reference repositories
- 检索代码库以获取实现示例
- 提取对应的代码
- 记录实现细节与变体
- 记录参考代码仓库
C. Create Knowledge Entry
C. 创建知识条目
json
{
"definition": "Kernelized Gumbel-Softmax Operator",
"math_formula": "Z = \\text{softmax}((\\log \\pi + g) / \\tau), g \\sim \\text{Gumbel}(0,1)",
"code_implementation": "def gumbel_softmax(logits, tau=1.0): ...",
"reference_papers": ["Paper Title 1"],
"reference_codebases": ["github_user/repo_name"],
"assumptions": ["Differentiable relaxation of discrete sampling"],
"connections": ["Used in Component X of the proposed method"]
}json
{
"definition": "Kernelized Gumbel-Softmax Operator",
"math_formula": "Z = \\text{softmax}((\\log \\pi + g) / \\tau), g \\sim \\text{Gumbel}(0,1)",
"code_implementation": "def gumbel_softmax(logits, tau=1.0): ...",
"reference_papers": ["Paper Title 1"],
"reference_codebases": ["github_user/repo_name"],
"assumptions": ["Differentiable relaxation of discrete sampling"],
"connections": ["Used in Component X of the proposed method"]
}Step 3: Compile Knowledge Base
步骤3:编译知识库
- Merge all atomic definitions into a structured knowledge base
- Verify consistency: every math formula has a code implementation
- Verify completeness: every code module traces to a formal definition
- Identify any gaps (formulas without code, or code without theory)
- 将所有原子定义合并为结构化知识库
- 验证一致性:每个数学公式都有对应的代码实现
- 验证完整性:每个代码模块都可追溯至正式定义
- 识别存在的缺口(无对应代码的公式,或无理论支撑的代码)
Rules
规则
- Each atomic definition must be specific enough to trace to concrete formulas and code
- Do not skip or combine definitions — analyze each separately
- If unsure about atomicity, err on the side of breaking down further
- Document breakdown reasoning before analysis
- Every mathematical concept in the paper must have verified code
- Every code module must trace back to a formal mathematical definition
- 每个原子定义必须足够具体,以便追溯至具体公式与代码
- 不得跳过或合并定义——需单独分析每个定义
- 若对原子性存疑,应优先选择进一步拆解
- 在分析前记录拆解思路
- 论文中的每个数学概念都必须有经过验证的代码
- 每个代码模块都必须可追溯至正式的数学定义
Related Skills
相关技能
- Upstream: research-planning, idea-generation
- Downstream: experiment-code, algorithm-design
- See also: math-reasoning
- 上游:research-planning, idea-generation
- 下游:experiment-code, algorithm-design
- 另见:math-reasoning