spec-kit-template: Skill for Claude Code

.github/skills/spec-kit-ui-spec/SKILL.md

spec-kit-ui-spec is a skill for Claude Code, Codex from lksnext-ai-lab/spec-kit-template. It costs 64 tokens per session (1,367 once invoked), scanned A, original, Apache-2.0.

A guide for defining or reviewing a user-interface specification: a written description of screens, dialogs, user flows, actions, permissions, validation, and states. It keeps the specification separate from visual design and detailed backend contracts.

In plain words
What is it for?
Use it to create or review docs/spec/30-ui-spec.md and connect interface behavior to functional requirements while leaving unknown backend details marked for later.
Why use it?
It helps teams describe how an interface should behave without inventing product rules or locking in pixel-level design. Missing decisions are recorded as open questions instead of being guessed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is lksnext-ai-lab/spec-kit-template's own configuration. It tells Claude Code and Codex how to work on spec-kit-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spec-kit-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lksnext-ai-lab/spec-kit-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lksnext-ai-lab/spec-kit-template/main/.github/skills/spec-kit-ui-spec/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lksnext-ai-lab/spec-kit-template

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 spec-kit-ui-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/lksnext-ai-lab/spec-kit-template/spec-kit-ui-spec/github.svg)](https://agentmods.dev/skills/lksnext-ai-lab/spec-kit-template/spec-kit-ui-spec)
Your own site
<a href="https://agentmods.dev/skills/lksnext-ai-lab/spec-kit-template/spec-kit-ui-spec"><img src="https://agentmods.dev/badge/skills/lksnext-ai-lab/spec-kit-template/spec-kit-ui-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 spec-kit-ui-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/lksnext-ai-lab/spec-kit-template/spec-kit-ui-spec"><img src="https://agentmods.dev/badge/skills/lksnext-ai-lab/spec-kit-template/spec-kit-ui-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00064 $0.01367
Opus 5 $0.00032 $0.00683
Sonnet 5 $0.00013 $0.00273
Haiku 4.5 $0.00006 $0.00137

Measured 12d ago against content hash 6c3ca4021a2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

spec-kit-ui-spec scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/spec-kit-ui-spec/SKILL.md · 142 lines

How it starts

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

Skill: UI Spec (spec-kit)

Objetivo

Describir la UI a nivel implementable (comportamiento y reglas), evitando:

  • “pixel perfect” (diseño visual),
  • contratos técnicos detallados (API/payloads/modelos),
  • decisiones de producto inventadas.

Archivos que se pueden modificar

  • Primario: docs/spec/30-ui-spec.md
  • Si aplica:
    • docs/spec/02-trazabilidad.md (UI ↔ FR)
    • docs/spec/95-open-questions.md (gaps críticos)
    • docs/spec/96-todos.md (pendientes no bloqueantes)

No tocar otros ficheros salvo petición explícita.

Reglas duras (anti-deriva)

  1. No inventar
  • No asumir roles, reglas de visibilidad, campos, validaciones, textos, analítica o decisiones de producto si no están definidos.
  • Si falta info que cambia el comportamiento: OPENQ: (enlazar a 95-open-questions.md).
  1. UI ≠ backend
  • No definir endpoints, payloads ni modelos de datos aquí.
  • Si una acción requiere backend: indicar Backend: TBD o link a docs/spec/60-backend.md#... si existe.
  1. UI ≠ diseño visual
  • No decidir layout pixel-perfect, CSS, tipografías, librerías o componentes concretos.
  • Sí describir estructura a alto nivel: “listado con filtros”, “formulario en secciones”, “tabla con columnas…”.
  1. Permisos explícitos (deny-by-default)
  • Toda acción relevante debe indicar roles/permisos.
  • Si no hay permiso definido → se considera NO permitido y/o OPENQ.
  1. Validación
  • Validación cliente: solo UX (si aplica).
  • Validación definitiva: servidor (describir comportamiento esperado, no implementación).

Convenciones

  • Pantallas: UI-###
  • Diálogos/modales: DLG-###
  • Flujos: FLOW-### (opcional, recomendado en MVP)
  • Para listas largas: indicar paginación/filtros a nivel de comportamiento (sin tecnología).

Output contract (mínimos)

docs/spec/30-ui-spec.md debe contener:

  1. Mapa UI/DLG (tabla)
  2. Fichas UI/DLG (solo para lo relevante en MVP; el resto puede quedar como stub con TBD)
  3. Flujos MVP (FLOW) con variantes principales
  4. Sección final: Decisiones / OPENQ / TODO

Read the full file on GitHub · 142 lines

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. 12d ago First seen · 142 lines · 64 tokens per session scan A 6c3ca4021a2c

Subscribe to this mod's changes

spec-kit-ui-spec is a skill published in the GitHub repository lksnext-ai-lab/spec-kit-template (5 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 64 tokens to every session and 1,367 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. 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

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens