# Design

> Skill: design

- Skill: `br3eze-code/design` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add br3eze-code/design`
- Raw SKILL.md: https://api.skillmd.com/api/skills/br3eze-code/design/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: br3eze-code (https://skillmd.com/u/br3eze-code)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/br3eze-code/design

---

# Skill: design

**Version:** 1.0.0  
**Domain:** creative

## Description

Hotspot portal and brand design generation for MikroTik captive portals. Generates login.html, status.html, logout.html, CSS, and JavaScript from brand inputs. Integrates with `hotspot_brand.js` for fleet deployment.

## When to Use

Invoke when the user asks about:
- Creating or redesigning a WiFi login portal
- Customizing colors, logos, and branding for a hotspot
- Generating HTML/CSS for a captive portal page
- Previewing portal designs

## Tools

| Action | Description |
|---|---|
| `generate` | Generate full portal bundle (login/status/logout HTML + CSS + JS) |
| `preview` | Return a preview URL or base64 screenshot |
| `customize` | Apply brand colors, logo, and copy to an existing template |
| `export` | Export portal bundle for `hotspot_brand` deployment |

## Example

```json
{
  "action": "generate",
  "brand": {
    "name": "Br3eze WiFi",
    "primaryColor": "#00C896",
    "logo_url": "https://example.com/logo.png",
    "tagline": "Fast. Affordable. Yours.",
    "language": "sw"
  }
}
```

## Output

Returns a bundle compatible with `hotspot_brand.run()`:

```json
{
  "login": "<html>...</html>",
  "status": "<html>...</html>",
  "logout": "<html>...</html>",
  "css": "body { ... }",
  "js": "document.ready(..."
}
```

## Notes

- Generated portals are mobile-first (320px min-width)
- Swahili, English, French, and Spanish portal copy supported
- Pass the output directly to `hotspot_brand` skill for fleet deployment

