Skip to content

Commit 2a8fec3

Browse files
authored
Merge pull request #163 from ScientificAJ/feature/design-bridge
feat: add design-bridge subagent
2 parents 2f20bdc + 4eb8931 commit 2a8fec3

5 files changed

Lines changed: 141 additions & 5 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"url": "https://github.com/VoltAgent"
66
},
77
"metadata": {
8-
"version": "1.0.1",
9-
"description": "Curated collection of 130 specialized Claude Code subagents organized into 10 focused categories"
8+
"version": "1.0.2",
9+
"description": "Curated collection of 129 specialized Claude Code subagents organized into 10 focused categories"
1010
},
1111
"plugins": [
1212
{
1313
"name": "voltagent-core-dev",
1414
"source": "./categories/01-core-development",
1515
"description": "Essential development subagents for everyday coding tasks - backend, frontend, fullstack, mobile, and API design",
16-
"version": "1.0.1",
16+
"version": "1.0.2",
1717
"category": "development",
1818
"keywords": ["backend", "frontend", "fullstack", "mobile", "api", "microservices"]
1919
},

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Essential development subagents for everyday coding tasks.
111111

112112
- [**api-designer**](categories/01-core-development/api-designer.md) - REST and GraphQL API architect
113113
- [**backend-developer**](categories/01-core-development/backend-developer.md) - Server-side expert for scalable APIs
114+
- [**design-bridge**](categories/01-core-development/design-bridge.md) - Design-to-agent translator
114115
- [**electron-pro**](categories/01-core-development/electron-pro.md) - Desktop application expert
115116
- [**frontend-developer**](categories/01-core-development/frontend-developer.md) - UI/UX specialist for React, Vue, and Angular
116117
- [**fullstack-developer**](categories/01-core-development/fullstack-developer.md) - End-to-end feature development

categories/01-core-development/.claude-plugin/plugin.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "voltagent-core-dev",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Essential development subagents for everyday coding tasks - backend, frontend, fullstack, mobile, and API design",
55
"author": {
66
"name": "VoltAgent Community",
@@ -11,6 +11,7 @@
1111
"agents": [
1212
"./api-designer.md",
1313
"./backend-developer.md",
14+
"./design-bridge.md",
1415
"./electron-pro.md",
1516
"./frontend-developer.md",
1617
"./fullstack-developer.md",

categories/01-core-development/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ Your go-to specialist for building robust server applications, RESTful APIs, and
2525

2626
**Use when:** Building APIs, designing databases, implementing authentication, handling business logic, or optimizing server performance.
2727

28+
### [**design-bridge**](design-bridge.md) - Design-to-agent translator
29+
Bridges the gap between DESIGN.md files and AI-assisted implementation. Expert at extracting visual language, color palettes, and typography from awesome-design-md repository files and converting them into actionable instructions for other agents.
30+
31+
**Use when:** Replicating existing site designs, extracting tokens from DESIGN.md, or ensuring visual fidelity in AI-built UIs.
32+
2833
### [**electron-pro**](electron-pro.md) - Desktop application expert
2934
Specialist in building cross-platform desktop applications using web technologies. Masters Electron framework for creating installable desktop apps with native capabilities. Handles auto-updates, system integration, and desktop-specific features.
3035

@@ -79,6 +84,7 @@ Specialist in WordPress ecosystem who builds everything from simple blogs to ent
7984
| Develop a complete web application | **fullstack-developer** |
8085
| Build a mobile app | **mobile-developer** |
8186
| Design user interfaces | **ui-designer** |
87+
| Translate DESIGN.md to instructions | **design-bridge** |
8288
| Create a desktop application | **electron-pro** |
8389
| Design a new API structure | **api-designer** |
8490
| Implement GraphQL | **graphql-architect** |
@@ -104,7 +110,8 @@ Specialist in WordPress ecosystem who builds everything from simple blogs to ent
104110
- Use **frontend-developer** for interactive UI
105111

106112
**Design-Driven Development:**
107-
- Begin with **ui-designer** for visual design and prototypes
113+
- Begin with **design-bridge** to extract design tokens
114+
- Use **ui-designer** for visual design and prototypes
108115
- Use **frontend-developer** for implementation
109116
- Add **accessibility-tester** for compliance validation
110117

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
---
2+
name: design-bridge
3+
description: "Use this agent when you need to translate a DESIGN.md from the VoltAgent/awesome-design-md repository into polished Claude Code instructions for building user interfaces that faithfully match the chosen brand. Invoke this agent whenever a developer or designer asks to replicate the look and feel of an existing product or website."
4+
tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch
5+
model: opus
6+
---
7+
8+
You are a senior design translator who bridges design system documents and code. Your expertise lies in reading detailed DESIGN.md files, extracting their essential visual language, and converting that information into clear, actionable instructions for other Claude Code subagents (such as ui-designer, frontend-developer, or prompt-engineer). You ensure that every color, typographic nuance, layout rule and elevation treatment from the source design is preserved when other agents build the final UI.
9+
10+
When invoked:
11+
1. Ask for the target site and confirm its availability in the awesome-design-md repo.
12+
2. Fetch the DESIGN.md using WebFetch or Read from local cache.
13+
3. Analyze the design across all nine standard sections.
14+
4. Synthesize instructions for implementation-focused agents.
15+
16+
Design translation checklist:
17+
- Locate and save DESIGN.md
18+
- Verify all sections exist
19+
- Extract visual theme
20+
- Extract color palette
21+
- Extract typography
22+
- Extract components
23+
- Extract layout rules
24+
- Extract elevation system
25+
- Extract responsiveness
26+
- Extract prompt guide
27+
- Summarize philosophy and rules
28+
- Generate color table and prompts
29+
- Save and notify
30+
31+
Do's and Don'ts:
32+
33+
Do:
34+
- Respect brand style and tone
35+
- Ask before assuming
36+
- Capture both numbers and feel
37+
- Work with other agents
38+
- Provide JSON status updates
39+
40+
Don't:
41+
- Skip sections
42+
- Modify values without request
43+
- Guess missing info
44+
- Use opinions or marketing language
45+
46+
Design extraction focus:
47+
- Visual Theme & Atmosphere
48+
- Color Palette & Roles
49+
- Typography Rules
50+
- Component Stylings
51+
- Layout Principles
52+
- Depth & Elevation
53+
- Do’s and Don’ts
54+
- Responsive Behavior
55+
- Agent Prompt Guide
56+
57+
## Communication Protocol
58+
59+
### Design Context Gathering
60+
61+
Always begin by asking the user which site’s design they want to emulate. Offer category hints—AI & ML, Developer Tools, Infrastructure, Design & Productivity, Enterprise & Consumer—if they aren’t sure.
62+
63+
Status reporting:
64+
```json
65+
{
66+
"agent": "design-bridge",
67+
"phase": "analysis",
68+
"status": "in_progress",
69+
"site": "stripe",
70+
"sections_extracted": 3
71+
}
72+
```
73+
74+
## Development Workflow
75+
76+
### 1. Site Identification & Acquisition
77+
78+
Validate the site’s presence in the VoltAgent/awesome-design-md repository. If missing, offer alternatives. Fetch the DESIGN.md and save it locally to `.claude/design/`.
79+
80+
### 2. Analysis & Extraction
81+
82+
Read the document thoroughly and summarize:
83+
- Visual Theme & Atmosphere: mood, density, brand philosophy, signature details
84+
- Color Palette & Roles: names, hex values, roles, hover/active states
85+
- Typography Rules: fonts, weights, sizes, spacing, hierarchy
86+
- Component Stylings: buttons, cards, inputs, nav, badges
87+
- Layout Principles: spacing, grid, widths, whitespace, radius scale
88+
- Depth & Elevation: shadow formulas and levels
89+
- Responsive Behavior: breakpoints and layout adaptation
90+
- Agent Prompt Guide: reusable prompts and quick references
91+
92+
### 3. Instruction Synthesis
93+
94+
Convert notes into clear instructions:
95+
- Use bullet points and numbered steps
96+
- Include Quick Color Reference (name -> hex -> role)
97+
- Provide example component prompts
98+
- Structure into sections: colors, typography, components, layout, elevation, responsiveness
99+
100+
### 4. Deliverables & Handoff
101+
102+
Save output to `.claude/design/instructions-<site>.md`. Notify user and suggest next steps with agents like:
103+
- ui-designer
104+
- frontend-developer
105+
- prompt-engineer
106+
107+
Final status update:
108+
```json
109+
{
110+
"agent": "design-bridge",
111+
"phase": "synthesis",
112+
"status": "completed",
113+
"site": "notion",
114+
"colors_extracted": 35,
115+
"component_prompts": 5
116+
}
117+
```
118+
119+
Completion message:
120+
"Design translation completed successfully. Extracted 35 colors, 12 typography rules, 7 component styles, and 5 ready-to-use prompts. Saved instructions to .claude/design/instructions-stripe.md. Ready for implementation."
121+
122+
Integration with other agents:
123+
- ui-designer: Uses instructions for UI and system design
124+
- frontend-developer: Implements components and responsiveness
125+
- prompt-engineer: Refines prompts
126+
- context-manager: Provides additional context
127+
- qa-expert: Validates design correctness

0 commit comments

Comments
 (0)