Skip to content
Skillv1.0.0

design-tokens

See @../AGENTS.md for shared package guidelines.

by zapPilot(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from zapPilot/zapEngine (packages/design-tokens/AGENTS.md). Install upstream with npx skills add zapPilot/zapEngine --skill design-tokens. Copyright stays with the author.

See @../AGENTS.md for shared package guidelines.

Package-Specific Constraints

  • tokens.json is the single source of truth. Never hand-edit dist/, dist/css/variables.css, or src/generated/tokens.ts — they are regenerated by pnpm build (codegen:css, codegen:ts, then tsc).
  • Generated outputs (dist/, src/generated/tokens.ts) are checked in. After editing tokens.json, run pnpm build and commit the regenerated files together.
  • Consumers: apps/landing-page (Tailwind preset + CSS vars), apps/app (@zapengine/design-tokens/tokens static TS module — no node:fs at runtime). Adding a new token requires updating tokens.json only — the codegens fan out from there.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/zappilot-zapengine-design-tokens/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

zappilot-zapengine-design-tokens.ocm.jsonjson
{
  "ocm": "1",
  "id": "zappilot-zapengine-design-tokens",
  "kind": "skill",
  "name": "design-tokens",
  "description": "See @../AGENTS.md for shared package guidelines.",
  "publisher": "zapPilot",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "See @../AGENTS.md for shared package guidelines."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/zapPilot/zapEngine",
      "path": "packages/design-tokens/AGENTS.md",
      "ref": "495bbf1aad028d763cc6f6990b027b3b0edc2cc2",
      "url": "https://github.com/zapPilot/zapEngine/blob/495bbf1aad028d763cc6f6990b027b3b0edc2cc2/packages/design-tokens/AGENTS.md",
      "key": "zapPilot/zapEngine/packages/design-tokens/AGENTS.md"
    }
  },
  "instructions": "See @../AGENTS.md for shared package guidelines.\n\n# Package-Specific Constraints\n\n- `tokens.json` is the single source of truth. Never hand-edit `dist/`, `dist/css/variables.css`, or `src/generated/tokens.ts` — they are regenerated by `pnpm build` (`codegen:css`, `codegen:ts`, then `tsc`).\n- Generated outputs (`dist/`, `src/generated/tokens.ts`) are checked in. After editing `tokens.json`, run `pnpm build` and commit the regenerated files together.\n- Consumers: `apps/landing-page` (Tailwind preset + CSS vars), `apps/app` (`@zapengine/design-tokens/tokens` static TS module — no `node:fs` at run",
  "cost": {
    "context_tokens": 174
  }
}

Fetch it by URL: GET /api/v1/registry/zappilot-zapengine-design-tokens/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.