agentsclimarketplace

Denna spec reference

Skill daocraft/denna-ecosystem-skills/skills/denna-spec-reference

Use when working with Denna Specification files (.denna-spec.json), understanding spec structure, or when another denna skill requires it. Triggers on denna-spec, protocol-config, pnl-config, sky-parameters, star allocations.From its SKILL.md

Install
npx -y skills add daocraft/denna-ecosystem-skills --skill denna-spec-reference

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.3 KB, as published. Nobody here has run it

Goal

Provide interpretation rules for Denna Specification parameter files. This skill encodes how to read denna-spec files, not what they currently contain. Always fetch current data from git.

Trigger Conditions

Use this skill when:

  • Working with any .denna-spec.json file
  • Asked about denna spec format, structure, or semantics
  • Another denna skill requires it (e.g., denna-params-author, denna-params-auditor)

Do not use for general JSON Schema questions unrelated to denna.

Key Concepts

The Denna Spec Envelope

Every .denna-spec.json file has:

  • $schema — URL pointing to the canonical schema at spec.denna.io
  • metadata — id, kind, name, version, description, source
  • Content fields specific to the kind

Schema Architecture

Two schema repos exist:

  • denna-spec (canonical, spec.denna.io) — official schemas. Data files always reference these.
  • denna-spec-schemas (extensions, schemas.denna.io) — domain-specific extensions. Only used if a data file explicitly declares one.

Rule: Always validate against the $schema URL declared in the data file.

Ecosystem Repos

These are the official repos in the denna/Sky ecosystem. Always fetch current content — never assume what's inside.

RepoGitHubPurpose
sky-parametersgithub.com/daocraft/sky-parametersStar config data files (one directory per star)
denna-specgithub.com/daocraft/denna-specCanonical spec, schemas hosted at spec.denna.io
denna-spec-schemasgithub.com/daocraft/denna-spec-schemasExtension schemas hosted at schemas.denna.io
amatsu-data-hubgithub.com/daocraft/amatsu-data-hubData pipeline and services that consume denna-spec files

Discovery order: Check for a local checkout in the workspace first (sibling directories, monorepo). Fall back to GitHub API if not found locally.

Sky-Parameters File Structure

A typical sky-parameters repo:

[star]/protocol-config.denna-spec.json  — chains, wallets, allocation positions
[star]/pnl-config.denna-spec.json       — PnL calculation modules, classifications
shared/rates.denna-spec.json            — shared rate parameters
shared/stablecoin-addresses.denna-spec.json
shared/susds-addresses.denna-spec.json
markdown/[star]/*.md                    — human-readable docs
markdown/_template/                     — templates for new stars

When To Read Which Reference

QuestionRead
How is a protocol-config structured?references/protocol-config.md
How does PnL treatment work?references/pnl-awareness.md
What are the value types (address, cap, tags)?references/value-types.md
What changes cascade across files?references/relationships.md
What are common mistakes?references/gotchas.md

Critical Rule

Always fetch the latest .denna-spec.json files from the target git repo before answering questions. These references teach you how to interpret, not what the current values are.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.