跳到正文
cccskills
免费在 GitHub 公开

formula-derivation

Turn scattered research equations and notes into a structured derivation document. Clarify the target, assumptions, and notation; distinguish exact steps from approximations and interpretations; and report missing conditions or logical gaps when the derivation cannot be supported.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Structures and derives research formulas when the user wants to 推导公式, build a theory line, organize assumptions, turn scattered equations into a coherent derivation, or rewrite theory notes into a paper-ready formula document. Use when the derivation target is not yet fully fixed, the main object still needs to be chosen, or the user needs a coherent derivation package rather than a finished theorem proof.

实测评分 未实测

查看安装方法

适用场景

  • Organize scattered equations into a coherent derivation
  • Choose the central quantity for a theory
  • Separate exact steps, approximations, and interpretations
  • Prepare theory notes for a paper draft

包含的文件(1)

  • SKILL.md9.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Formula Derivation: Research Theory Line Construction

Build an honest derivation package, not a fake polished theorem story.

Constants

  • DEFAULT_DERIVATION_DOC = DERIVATION_PACKAGE.md in project root
  • STATUS = COHERENT AS STATED | COHERENT AFTER REFRAMING / EXTRA ASSUMPTION | NOT YET COHERENT

Context: $ARGUMENTS

Goal

Produce exactly one of:

  1. a coherent derivation package for the original target
  2. a reframed derivation package with corrected object / assumptions / scope
  3. a blocker report explaining why the current notes cannot yet support a coherent derivation

Inputs

Extract and normalize:

  • the target phenomenon, formula, relation, or theory line
  • the intended role of the derivation:
    • exact identity / algebra
    • proposition / local theorem
    • approximation
    • mechanism interpretation
  • explicit assumptions
  • notation and definitions
  • any user-provided formula chain, sketch, messy notes, or current draft
  • nearby local theory files if the request points to them
  • desired output style if specified:
    • internal alignment note
    • paper-style theory draft
    • blocker report

If the target, object, notation, or assumptions are ambiguous, state the exact interpretation you are using before deriving anything.

Workflow

Step 1: Gather Derivation Context

Determine the target derivation file with this priority:

  1. a file path explicitly specified by the user
  2. a derivation draft already referenced in local notes
  3. DERIVATION_PACKAGE.md in project root as the default target

Read the relevant local context:

  • the chosen target derivation file, if it already exists
  • any local theory notes, formula drafts, appendix notes, or files explicitly mentioned by the user

Extract:

  • target formula / theory goal
  • current formula chain
  • assumptions
  • notation
  • known blockers
  • desired output mode

Step 2: Freeze the Target

State explicitly:

  • what is being explained, derived, or supported
  • whether the immediate goal is:
    • identity / algebra
    • proposition
    • approximation
    • interpretation
  • what the derivation is expected to output in the end

Do not start symbolic manipulation before this is fixed.

Step 3: Choose the Invariant Object

Identify the single quantity or conceptual object that should organize the derivation.

Typical possibilities include:

  • objective / utility / loss
  • total cost / energy / welfare
  • conserved quantity / state variable
  • expected metric / effective rate / effective cost

If the current notes start from a narrower quantity, decide explicitly whether it is:

  • the true top-level object
  • a proxy
  • a local slice
  • an approximation

Do not let a convenient proxy silently replace the actual conceptual object.

Step 4: Normalize Assumptions and Notation

Restate:

  • all assumptions
  • all symbols
  • regime boundaries or special cases
  • which quantities are fixed, adaptive, or state dependent

Identify:

  • hidden assumptions
  • undefined notation
  • scope ambiguities
  • whether the current formula chain already mixes exact steps with approximations

Preserve the user's original notation unless a cleanup is necessary for coherence. If you adopt a cleaner internal formulation, keep that as a derivation device rather than silently replacing the user's target.

Step 5: Classify the Derivation Steps

For every nontrivial step, determine whether it is:

  • identity: exact algebraic reformulation
  • proposition: a claim requiring conditions
  • approximation: model simplification or surrogate
  • interpretation: prose-level meaning of a formula

Never merge these categories without signaling the transition. If one part is only interpretive, do not present it as if it were mathematically proved.

Step 6: Build a Derivation Map

Choose a derivation strategy, for example:

  • definition -> substitution -> simplification
  • primitive law -> intermediate variable -> target expression
  • global quantity -> perturbation -> decomposition
  • exact model -> approximation -> interpretable closed form
  • general dynamic object -> simplified slice -> local theorem -> return to general case

Then write a derivation map:

  • target formula or theory line
  • required intermediate identities or lemmas
  • which assumptions each nontrivial step uses
  • where approximations enter
  • where special-case and general-case regimes diverge or collapse

If the derivation needs a decomposition, derive it from the chosen global quantity. Do not make a split appear magically from one local variable itself.

Step 7: Write the Derivation Document

Write to the chosen target derivation file.

If the target derivation file already exists:

  • read it first
  • update the relevant section
  • do not blindly duplicate prior content

If the user does not specify a target, default to DERIVATION_PACKAGE.md in project root.

Do NOT write directly into paper sections or appendix .tex files unless the user explicitly asks for that target.

The derivation package must include:

  • target
  • status
  • invariant object
  • assumptions
  • notation
  • derivation strategy
  • derivation map
  • main derivation steps
  • remarks / interpretations
  • boundaries and non-claims

Writing rules:

  • do not hide gaps with words like "clearly", "obviously", or "similarly"
  • define every symbol before use
  • mark approximations explicitly
  • separate derivation body from remarks
  • if the true object is dynamic or state dependent but a simpler slice is analyzed, say so explicitly
  • if a formula line is only heuristic, label it honestly

Step 8: Final Verification

Before finishing the target derivation file, verify:

  • the target is explicit
  • the invariant object is stable across the derivation
  • every assumption used is stated
  • each formula step is correctly labeled as identity / proposition / approximation / interpretation
  • the derivation does not silently switch objects
  • special cases and general cases still belong to one theory line
  • boundaries and non-claims are stated

If the derivation still lacks a coherent object, stable assumptions, or an honest path from premises to result, downgrade the status and write a blocker report instead of forcing a clean story.

Required File Structure

Write the target derivation file using this structure:

# Derivation Package

## Target
[what is being derived or explained]

## Status
COHERENT AS STATED / COHERENT AFTER REFRAMING / NOT YET COHERENT

## Invariant Object
[top-level quantity organizing the derivation]

## Assumptions
- ...

## Notation
- ...

## Derivation Strategy
[chosen route and why]

## Derivation Map
1. Target depends on ...
2. Intermediate step A uses ...
3. Approximation enters at ...

## Main Derivation
Step 1. ...
Step 2. ...
...

## Remarks and Interpretation
- ...

## Boundaries and Non-Claims
- ...

## Open Risks
- ...

Output Modes

If the derivation is coherent as stated

Write the full structure above with a clean derivation package.

If the notes are close but not coherent yet

Write:

  • the exact mismatch
  • the corrected invariant object, assumption, or scope
  • the reframed derivation package

If the derivation cannot be made coherent honestly

Write:

  • Status: NOT YET COHERENT
  • the exact blocker:
    • missing object
    • unstable assumptions
    • notation conflict
    • unsupported approximation
    • theorem-level claim without enough conditions
  • what extra assumption, reframe, or intermediate derivation would be needed

Relationship to proof-writer

Use formula-derivation when the user says things like:

  • “我不知道怎么起这条推导主线”
  • “这个公式到底该从哪个量出发”
  • “帮我把理论搭顺”
  • “把说明文档变成可写进论文的公式文档”
  • “这几段公式之间逻辑不通”

Use proof-writer only after:

  • the exact claim is fixed
  • the assumptions are stable
  • the notation is settled
  • and the task is now to prove or refute that claim rigorously

Once a precise claim and its hypotheses are available, use /lean-formalize when the user requests Lean or a specific proof obligation benefits from formal implementation and checking; routine algebraic derivations do not require it.

Chat Response

After writing the target derivation file, respond briefly with:

  • status
  • whether the target survived unchanged or had to be reframed
  • what file was updated

Key Rules

  • Never fabricate a coherent derivation if the object, assumptions, or scope do not support one.
  • Prefer reframing the derivation over overclaiming.
  • Separate assumptions, identities, propositions, approximations, and interpretations.
  • Keep one invariant object across special and general cases whenever possible.
  • Treat simplified constant-parameter cases as analysis slices, not as the conceptual main object.
  • If uncertainty remains, mark it explicitly in Open Risks; do not hide it in polished prose.
  • Coherence matters more than elegance.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Plan ablation studies, experiments that remove or replace parts of a machine learning method to test their contribution. Define reviewer questions, expected outcomes, priorities, execution order, and compute estimates, then implement experiments and record findings.

中文简介正在准备中。当前显示英语简介。

  • Testing the contribution of individual method components
  • Planning additional experiments before paper submission
  • Prioritizing experiments within a GPU budget
wanshuiyin/Auto-claude-code-research-in-sleep1.8万2026年10月22日 更新

Plan and run ablation studies, experiments that remove or replace parts of a method to test their contribution. Organize reviewer questions, priorities, expected outcomes, and compute costs, then record results and findings.

中文简介正在准备中。当前显示英语简介。

  • Test how much each component contributes
  • Plan experiments that address reviewer questions
  • Prioritize comparisons within a compute budget
wanshuiyin/Auto-claude-code-research-in-sleep1.8万2026年10月22日 更新

alphaxiv

免费

Understand a single arXiv paper through an AlphaXiv summary, with full text and LaTeX source available when needed. Use it to identify key findings or ask specific questions about methods, experiments, and equations.

中文简介正在准备中。当前显示英语简介。

  • Get a quick overview of a paper from its URL
  • Check a paper's methods and experimental results
  • Ask about equations, proofs, or appendix details
wanshuiyin/Auto-claude-code-research-in-sleep1.8万2026年10月22日 更新

Compare machine learning experiment results from JSON or CSV files. Calculate improvements over a baseline, summarize variation across repeated runs, identify trends and unusual results, and suggest experiments to test possible explanations.

中文简介正在准备中。当前显示英语简介。

  • Compare model performance across experimental conditions
  • Check variation across runs with different random seeds
  • Identify trends as a parameter changes
wanshuiyin/Auto-claude-code-research-in-sleep1.8万2026年10月22日 更新

arxiv

免费

Search arXiv papers by topic or paper ID, review authors and abstracts, and summarize contributions stated in the abstracts. Download selected papers or all search results as PDFs to build a local paper library.

中文简介正在准备中。当前显示英语简介。

  • Find arXiv papers on a research topic
  • Retrieve details for a known arXiv paper ID
  • Download all PDFs from a set of search results
wanshuiyin/Auto-claude-code-research-in-sleep1.8万2026年10月22日 更新

Improve a compiled LaTeX paper through two rounds of Claude review, edits, and recompilation. The workflow addresses inconsistent reasoning, unsupported claims, unclear writing, and visual presentation, while keeping a cumulative log of changes.

中文简介正在准备中。当前显示英语简介。

  • Polish a generated paper before submission
  • Correct inconsistencies and unsupported claims
  • Improve figures, tables, and page layout
wanshuiyin/Auto-claude-code-research-in-sleep1.8万2026年10月22日 更新

查看 wanshuiyin 的全部技能

报告此技能的问题