design-spec

design-spec is a skill for Claude Code, Codex from duc01226/EasyPlatform. It costs 41 tokens per session (12,622 once invoked), scanned C, original, MIT.

A compatibility skill for loading project instructions from files when an AI coding agent works on a repository. It explains how to find and use project documents instead of relying on automatically inserted instructions.

In plain words
What is it for?
Use it when a project has documented skills, procedures, or reference files that the coding agent must read explicitly. It also covers how to handle user questions and required sub-agent steps.
Why use it?
It helps prevent the agent from missing repository-specific rules during coding, planning, debugging, testing, or review. It also requires task tracking before following a workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it when a project has documented skills, procedures, or reference files that the coding agent must read explicitly. It also covers how to handle user questions and required sub-agent steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duc01226/easyplatform/design-spec
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add duc01226/EasyPlatform --skill design-spec
Clone the repo
git clone --depth 1 https://github.com/duc01226/EasyPlatform

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/duc01226/easyplatform/design-spec/github.svg)](https://agentmods.dev/skills/duc01226/easyplatform/design-spec)
Your own site
<a href="https://agentmods.dev/skills/duc01226/easyplatform/design-spec"><img src="https://agentmods.dev/badge/skills/duc01226/easyplatform/design-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/duc01226/easyplatform/design-spec"><img src="https://agentmods.dev/badge/skills/duc01226/easyplatform/design-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,622 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.12622
Opus 5.5 $0.00016 $0.05049
Sonnet 5.5 $0.00008 $0.02524
Haiku 4.5 $0.00004 $0.01262

Measured 3d ago against content hash f9486408febe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

design-spec scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- SYNC:ui-system-context:reminder -->
.agents/skills/design-spec/SKILL.md · 524 lines

How it starts

The opening of the file, as written. The whole thing — 524 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex compatibility note:

  • Invoke $skill-name: load the registered .agents/skills/<name>/SKILL.md and execute it with Codex tools; no separate Skill tool or Claude mode switch is needed. Author .claude/**; mirrors are generated.
  • Track steps before execution and keep progress/evidence current. Explicit skill requests execute their protocol. Use the native question tool for required questions.
  • Map foreign tool names to available host capabilities. A name mismatch needs no approval; an actually unavailable required capability stops with its step/evidence and a user question before adaptation.
  • Subagent authorization: when a skill is user-invoked or AI-detected and its protocol requires subagents, that skill activation authorizes use of the required spawn_agent subagent(s) for that task.
  • Preserve protocol order unless the user approves a deviation. Workflows use $start-workflow: gates stay fixed; other steps may flex with logged reasons and evidence.

[BLOCKING] Execute skill steps in declared order. NEVER skip, reorder, or merge steps without explicit user approval. Inside a workflow run, $start-workflow → Workflow-step mode bounds this rule. [BLOCKING] Before each step or sub-skill call, update todo tracking: set in_progress when step starts, set completed when step ends. [BLOCKING] Every completed/skipped step MUST include brief evidence or explicit skip reason. [BLOCKING] If Task tools are unavailable, create and maintain an equivalent step-by-step plan tracker with the same status transitions.

Quick Summary

Goal: Produce a complete, tech-agnostic UI/UX design spec that lets a developer rebuild the source outcome on ANY stack, preserving every required view, navigation path, component, state, token, responsive rule, accessibility need, demo journey, and governing-spec link.

Summary:

  • Journey Report (UX-1) → existing UI/connected flows and governing intent → design-authority read (UX-2) precede every spec section. Reuse reviewed companion evidence and governing view/state vocabulary; confirm inferred actor/job/outcome, or record unconfirmed when no question tool exists.
  • Route input (design link → exported frames; image → visual analysis; sketch → --mode=wireframe; task/text → requirements), then choose Quick, Full, or Full + Flow Diagram. Specify components, applicable states, tokens, responsive/accessibility behavior and the complete releasable flow.
  • Walk every main journey and trace its steps, interaction cost and wayfinding (UX-8–UX-10); finish the UI/UX Gate Report (UX-11). Save the design-spec/audit/component variant, update governing-spec companion frontmatter only, and satisfy M1–M5/M7 and logical-ID traceability.

Workflow:

  1. Journey Report — Report main user journeys (UX-1) before any spec section
  2. Ground Source — Inventory UI/flows; seed governing §6 vocabulary; record design-authority read (UX-2)
  3. Route Input — Choose visual, wireframe, task, or text path
  4. Set Scope — Choose Quick / Full / Flow Diagram
  5. Specify — Components, 7 states, tokens, responsive/accessibility/full-flow rules
  6. Walk + Trace — Walk each main journey; §8 traceability matrix (UX-8)
  7. Save + Link — Save artifact; update Feature Spec frontmatter only

Key Rules:

  • [BLOCKING] Journey-first order: Journey Report (UX-1) → design-authority read (UX-2) → only then spec sections; every view hosts a journey step (UX-3) and §1b priority is computed per decision point (UX-4). Catalog: .claude/docs/ux-journey-process.md.
  • Input routing: design link (e.g. a Figma URL)→ask the user to export the frames as images, then visual analysis; wireframe/sketch→--mode=wireframe; screenshot→visual analysis.
  • Reuse design-system/ tokens and frontend-patterns-reference.md component patterns from the reference-docs root (default docs/project-reference; docsRoots.projectReference.path in docs/project-config.json overrides); include keyboard navigation, ARIA labels, and contrast.
  • [BLOCKING] Tech-agnostic output: spec prose/headings follow spec-principles.md §3 under the reference-docs root (default docs/project-reference; docsRoots.projectReference.path in docs/project-config.json overrides) — describe components by UX role, not framework/library names; source paths and class names appear ONLY in evidence fields (**Evidence**, [Source:]), frontmatter, and Mermaid.
  • [BLOCKING] Releasable UI surface: apply .claude/skills/shared/releasable-task-contract.md; the design spec must deepen, not reduce, the task/mockup page/view, navigation, component, state, and full-flow inventories.

Read the full file on GitHub · 524 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · -283 lines · -9 tokens per session f9486408febe
  2. 1mo ago First seen · 807 lines · 50 tokens per session scan C 81c54b6a6433

Subscribe to this mod's changes

design-spec is a skill published in the GitHub repository duc01226/EasyPlatform (12 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 12,622 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens