design-lock

design-lock is a skill for Claude Code from dkadts/landing-kit-building. It costs 62 tokens per session (1,364 once invoked), scanned A, original, MIT.

A design-freezing workflow for agreeing on a website's visual rules before development begins. It records choices such as layout priorities, mood, imagery, and section vocabulary in design documents.

In plain words
What is it for?
Use it to review and lock design decisions before defining design tokens or building the website.
Why use it?
It prevents the visual direction from changing during the build and gives later work a fixed reference.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to review and lock design decisions before defining design tokens or building the website.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dkadts/landing-kit-building/design-lock
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 dkadts/landing-kit-building --skill design-lock
Clone the repo
git clone --depth 1 https://github.com/dkadts/landing-kit-building

Made for: Claude Code.

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-lock

README.md
[![agentmods](https://agentmods.dev/badge/skills/dkadts/landing-kit-building/design-lock/github.svg)](https://agentmods.dev/skills/dkadts/landing-kit-building/design-lock)
Your own site
<a href="https://agentmods.dev/skills/dkadts/landing-kit-building/design-lock"><img src="https://agentmods.dev/badge/skills/dkadts/landing-kit-building/design-lock/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-lock

Your own site · 80×15
<a href="https://agentmods.dev/skills/dkadts/landing-kit-building/design-lock"><img src="https://agentmods.dev/badge/skills/dkadts/landing-kit-building/design-lock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 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.00062 $0.01364
Opus 5 $0.00031 $0.00682
Sonnet 5 $0.00012 $0.00273
Haiku 4.5 $0.00006 $0.00136

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

Security

Grade A, and why

design-lock 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 9d 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.

.claude/skills/design-lock/SKILL.md · 127 lines

How it starts

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

/design-lock

Pivotal moment of the workflow. Before this: research and decisions. After this: build only.

Fills DESIGN-LOCK.md — the design constitution that gets frozen and does not change without explicit override.

When to use

  • After /refs (there is a proposal with reasons).
  • OR after /brief + /copy-analyze if there are no references.
  • Before /tokens and /build (they refuse to work without LOCK).

Requirements

Verify readiness:

  • brief/00-priority.md — LOCKED (desktop-first / mobile-first).
  • brief/01-business.md — filled (niche, competitors).
  • brief/05-design.md — filled (mood, associations).
  • brief/copy-analysis.md — exists (affects length, tone, section structure).
  • references/proposal.md — exists (if /refs already ran).
  • references/approved-manifest.md — exists (created by /refs; empty is fine).

If anything is missing — offer to run what's missing first.

Process

Walk the 9 DESIGN-LOCK.md sections strictly in order. Each is a separate dialog.

For every section:

  1. Show the current proposed values (from references/proposal.md if present, else from brief/05-design.md).
  2. Explain briefly why these values (one sentence).
  3. Show a preview — generate a mini-HTML example right in the message:
    • For type — a block with H1, H2, body using the actual fonts.
    • For color — palette tiles with HEX values.
    • For radius — 3 squares with different radii for comparison.
    • For spacing — a visual scale.
    • For motion — describe (ease + duration) + offer a URL of a site with the example.
  4. Ask: accept / change / show alternatives.
  5. If "change" — offer 3 variants, let user pick.
  6. Write the final value to DESIGN-LOCK.md, mark STATUS: LOCKED.

Section order (by dependency):

  1. Spacing — base of everything.
  2. Type scale — depends on spacing.
  3. Color — independent.
  4. Radius — independent (but should match density).
  5. Motion — independent, but should match mood.
  6. Density — affects spacing multipliers.
  7. Photography — independent.
  8. Section vocabulary — depends on structure from /copy-analyze.
  9. Anti-patterns — all on by default; only disable with a reason.

Read the full file on GitHub · 127 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. 9d ago First seen · 127 lines · 62 tokens per session scan A dc794d074464

Subscribe to this mod's changes

design-lock is a skill published in the GitHub repository dkadts/landing-kit-building (2 stars, last pushed 21d ago), licensed MIT. It adds 62 tokens to every session and 1,364 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

frontend-design

Visual and UX design quality for interfaces: hierarchy, spacing rhythm, typographic scale, a restrained color system, layout composition, and polished states. The taste layer above frontend architecture and a11y.

byerlikaya/claude-starter-kit · 44 tokens

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

agustinusnathaniel/nextarter-tailwind · 44 tokens

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for…

bravodev-hub/appointme · 90 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

agustinusnathaniel/nextarter-tailwind · 77 tokens

options

Present multiple design options as a vertical stack of anchored turns.

asgeirtj/system_prompts_leaks · 13 tokens

qa-test-planner

Generate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers. Includes Figma MCP integration for design validation.

davila7/claude-code-templates · 34 tokens