Skip to content
Back to skills

Design

ASecurity

Generate HTML + MD design docs for a feature or PR, matching the repo's existing design doc style. Always produces both formats in parallel.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 26, 2026
documentation

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-design/badge)](https://www.skillsdirectory.com/skills/jleechanorg-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design
description: Generate HTML + MD design docs for a feature or PR, matching the repo's existing design doc style. Always produces both formats in parallel.
---

Generate a design reference doc for the current feature or PR.

**Always produce both HTML and MD in parallel** — this is the core contract of this skill.

## Steps

1. **Understand the feature** — read relevant source files, PR description, roadmap/plan docs.

2. **Check existing style** — look in `docs/design/` for `.html` files. Match CSS variables, card/grid layout, section patterns exactly.

3. **Determine slug** — use the feature/PR name as a kebab-case slug (e.g. `autonomy-gaps`, `agent-gemini-plugin`).

4. **Write both files in parallel** (single message, two Write tool calls):
   - `docs/design/<slug>.html`
   - `docs/design/<slug>.md`

5. **HTML structure** (match `docs/design/agent-gemini-plugin.html` as canonical reference):
   - CSS root tokens: `--bg #f2efe7`, `--panel #fffdf8`, `--ink #1f1a16`, `--muted #6f6357`, `--brand #165a72`, `--line #dfd3c2`
   - Hero section: h1 title, muted subtitle, tag pills (PR ref, key files, line delta, status)
   - Overview grid: one card per sub-feature/gap with priority badge and description
   - Per-feature sections with `section-label` dividers: before/after code blocks, tables, flow diagrams
   - Summary section: what-changed table + `.callout` with honest capability claim
   - Responsive: `.grid.two`, `.grid.three`, `.grid.four` breakpoint at 900px

6. **MD structure**:
   - No frontmatter
   - H1 title with metadata block (PR, branch, date, beads, delta)
   - `---` dividers between major sections
   - Per-gap H2 with before/after code blocks and tables
   - Summary table at end

7. **Commit both** to the current branch and push.

## Invocation

```
/design
```

With slug override:
```
/design my-feature-name
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.