design-from-code

A user-interface design workflow that reads the real source code and data queries, creates HTML mockups, and records an agreed design before implementation.

In plain words
What is it for?
It helps design UI changes, verify available data in code, reproduce existing components accurately, iterate on mockups, and hand a locked design to implementers.
Why use it?
It reduces guesswork by basing proposed screens on the application's existing components and data rather than imagined examples.

Plugin for Claude Code

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.

Claude Code
/plugin marketplace add nlook-service/design-from-code
agentmods
npx agentmods add plugins/nlook-service/design-from-code/design-from-code
Clone the repo
git clone --depth 1 https://github.com/nlook-service/design-from-code

Made for: Claude Code.

Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

design-from-code 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 2d 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-plugin/plugin.json · 20 lines

What it actually says

{
  "name": "design-from-code",
  "version": "1.1.0",
  "description": "Workflow skill that designs UI changes from real source code and data models — verify data in code, iterate faithful HTML mockups, lock a design doc, then delegate implementation. It reproduces existing components pixel-for-pixel by reading actual JSX/queries instead of imagining them.",
  "author": {
    "name": "nlook",
    "url": "https://nlook.me"
  },
  "homepage": "https://github.com/nlook-service/design-from-code",
  "license": "MIT",
  "keywords": [
    "design",
    "ui",
    "mockup",
    "workflow",
    "html",
    "skill"
  ]
}
Files

What ships with it

1 file beside plugin.json 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. 2d ago First seen · 20 lines scan A 3df46efa0221

Subscribe to this mod's changes

design-from-code is a plugin published in the GitHub repository nlook-service/design-from-code (20 stars, last pushed 2mo ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-30.