/agentic-awesome-skills:design-token-alias-validationfrom agentic-awesome-skills
Validates DTCG 2025.10 design-token alias chains offline: curly-brace references, JSON Pointer $ref, $extends, group $type inheritance, cycles, missing targets, and type mismatches.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Validate a focused subset of the Design Tokens Community Group (DTCG) Format Module 2025.10 offline using jsonschema==4.26.0 and referencing==0.37.0: verifies curly-brace {group.token} aliases, RFC 6901 JSON Pointer $ref references, group $type and $extends inheritance, multi-hop alias resolution inside leaf and composite values, circular reference detection, missing alias targets, and incompatible resolved token types.
Distinction from existing design and token skills:
ui-tokens: manages StyleSeed Next.js/Tailwind v4 token files (tokens/*.json mapped to css/theme.css @theme inline) rather than DTCG 2025.10 token validation.design-how-token-mapping: produces read-only styling audits mapping hardcoded CSS values to semantic CSS variables using OKLCH delta-E rather than DTCG JSON alias/pointer validation.design-theme-guide: creates business palette/typography registers rather than resolving DTCG $value/$type/$ref alias graphs.design-system and design-token-contrast: cover frontend layout invariants and WCAG CSS contrast auditing rather than DTCG 2025.10 JSON reference graphs.2025.10 token JSON bundles in CI before exporting CSS/iOS/Android platform artifacts.{color.missing} or {"$ref": "#/color/missing/$value"}), circular loops (a -> b -> a), or type errors (dimension token aliasing a color token).$type and $extends overrides across light/semantic token layers.2025.10 compliant without confirming spec conformance.3.10+ with jsonschema, referencing, and pytest (tested with Python 3.12.10, jsonschema==4.26.0, referencing==0.37.0, pytest==9.1.1).2025.10 JSON token document(s).This validator explicitly implements and documents the following DTCG 2025.10 subset (without claiming full DTCG Resolver Module .resolver.json context evaluation or external URI fetching):
$type (inherited from nearest ancestor group $type or explicit string on the token) and either $value or token-level $ref. Untyped leaf tokens (MISSING_TOKEN_TYPE) and non-string $type values fail explicitly; unrecognized string $type values return UNSUPPORTED.$extends ("{group.path}" or {"$ref": "#/group/path"}) performs recursive deep-merge with bounded nesting/extends depth (64) so overriding nested subgroups preserves deeper sibling tokens.2025.10 value validation (color objects with colorSpace + numeric/"none" components, dimension objects with numeric value + px/rem unit, shadow objects validated via a real referencing.Registry with jsonschema.Draft202012Validator); legacy CSS strings are rejected rather than treated as conformant DTCG 2025.10 values."{a.b.c}") and intra-document RFC 6901 JSON Pointer references ({"$ref": "#/a/b"} or {"$ref": "#/a/b/$value"}, decoding URI-fragment percent escapes, requiring canonical array indices, unescaping ~1/~0, validating ~ escape syntax, rejecting external non-# URIs as UNSUPPORTED).Run the local verification suite in DTCG alias validation harness:
INVALID_INPUT on invalid JSON or non-object root).$extends group inheritance with visited-path tracking and recursion bounds (CIRCULAR_EXTENDS / MISSING_ALIAS_TARGET / RESOLUTION_DEPTH_EXCEEDED).$type from nearest ancestor group $type -> token $type (bounding group tree nesting at 64).{path} and {"$ref": "#/..."} recursively across chains (a -> b -> c) and composite fields (shadow.color, border.width):
MISSING_ALIAS_TARGET.{...}, $ref, or mixed references -> CIRCULAR_ALIAS.$type differs from referencing token's effective $type -> INCOMPATIBLE_RESOLVED_TYPE.$type -> UNSUPPORTED (UNSUPPORTED_TOKEN_TYPE).Run the self-contained verification suite in DTCG alias validation harness:
User request: "Audit our tokens.json for DTCG 2025.10 curly-brace and JSON Pointer alias errors and type mismatches."
Inputs: Local DTCG 2025.10 JSON document with inherited group $type, $extends, {a.b}, and {"$ref": "#/a/b/$value"}.
Expected result: Multi-hop valid chains and inherited group $type resolve cleanly with PASS; missing targets,
direct/transitive cycles, and dimension->color type mismatches fail with concrete error codes; external $ref URIs
return UNSUPPORTED.
2025.10 token/alias/$extends subset defined above; external HTTP/file $ref targets, multi-file .resolver.json modifier contexts, CSS legacy string colors/dimensions, and CSS calc() expressions are rejected or classified UNSUPPORTED.$extensions.*) are ignored rather than semantically validated; group nesting, $extends, and alias resolution depth are capped at 64.design-token-contrast).64 hops).$schema or $ref URLs over the network or modifies token files.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sickn33/agentic-awesome-skills --plugin agentic-awesome-skills3,104 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.2 plugins in one repository ship this exact skill · first indexed Dec 2, 2026
Other plugins' skills for the same job