Index of every page on this site: llms.txt
All skills
whetstoneresearch avatar

/uniswap-fundamentals

@4f654fe
Run it yourself

Reference for Uniswap V3/V4 concepts used in Doppler development, including tick math, sqrtPriceX96, concentrated liquidity formulas, and V4 hooks/singleton architecture.

Use this Skill: https://skilld.dev/gh/whetstoneresearch/doppler-skills/uniswap-fundamentals

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈48 tokens for metadata: the name and description. ≈366 when used: this file. ≈5.9k more on demand in 4 files.

Description uses 2.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈193 characters, or 2.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Uniswap Fundamentals (Doppler-focused)

When to use

  • You need math/context for Doppler pool parameters and pricing
  • You are interpreting tick movement, liquidity ranges, or sqrtPriceX96 values
  • You are debugging V4 hook lifecycle behavior

Scope

This skill is intentionally V3/V4-centric for current Doppler development.

Core concepts map

Concept Version Reference
sqrtPriceX96 and tick math V3+V4 TICK-MATH.md
Liquidity formulas V3+V4 LIQUIDITY.md
Singleton + flash accounting V4 V4-ARCHITECTURE.md
Hook lifecycle and flags V4 V4-HOOKS.md

Doppler usage map

Doppler skill Uniswap concepts used
pda-static V3 tick spacing, range liquidity, far-tick exits
pda-dynamic V4 hooks, epoch rebalancing, dynamic liquidity placement
pda-multicurve V4 concentrated ranges, multicurve allocation
doppler-hooks V4 hook permissions and callback integration

Critical invariant

Token ordering (token0 < token1) drives:

  • Tick direction interpretation
  • Price direction assumptions
  • Asset/numeraire orientation in calculations and migration logic

References

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill serves as a mathematical and architectural reference for Uniswap V3 and V4 protocols, specifically tailored for the Doppler project. It contains documentation on liquidity formulas, tick math, and V4 hook lifecycles. All external links point to official documentation or the author's own code repository.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer8mo

    5 files scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 4f654fe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 9 months ago
metadata
{
  "author": "uniswap",
  "version": "2.0",
  "source": "docs.uniswap.org"
}

README badge

README badge for whetstoneresearch/doppler-skills/uniswap-fundamentals