name: design-engineering description: Orchestrate iterative design and frontend engineering work through research, planning, sub-agent execution, and validation loops. Use when a visual/UI task requires multiple iterations, when the first implementation needs refinement based on feedback, when choosing between competing technical approaches (Canvas vs SVG vs CSS), or when coordinating sub-agents on design-heavy work. Covers animation architecture decisions, progressive enhancement patterns, performance-aware rendering choices, and the research→plan→execute→validate workflow. Complements frontend-design (which handles aesthetics) by adding engineering discipline, iteration management, and technical decision-making. version: 1.2.0
Orchestrate design-heavy frontend work that requires iteration, technical decisions, and validation. This skill is about the process — how to research, plan, build, validate, and refine — not the aesthetics (use frontend-design for that).
localhost dev servers — never to external URLsEvery design-engineering task follows this cycle:
Research → Plan → Approve → Execute → Validate → Feedback → Refine
Before touching code, understand the problem space. Spawn 2-3 research sub-agents in parallel with different lenses:
Research agents should write findings to files within the project's working directory so context is preserved across iterations.
小葱技能站7w4.net,专业的AI技能分享平台。
Synthesize research into a concrete plan. Present to user for approval before executing. The plan should include:
Dispatch sub-agents with focused, context-minimal tasks. Key rules in references/subagent-patterns.md.
After sub-agents complete, the orchestrator MUST validate. Build check is necessary but not sufficient. Check integration points — see references/validation-checklist.md.
Ship to user for review. Expect 2-5 iterations on visual work. Each iteration: 1. Screenshot the live result (use Playwright if available) 2. Identify specific issues from feedback 3. Make targeted fixes (don't rebuild from scratch each time) 4. Validate and redeploy
When choosing between rendering approaches, read references/rendering-decisions.md. Quick heuristic:
| Need | Use |
|---|---|
| Static decorative pattern | CSS background-image with SVG data URI |
| <100 authored animated elements | Inline SVG + CSS animations |
| Procedural generation, >100 elements, full-page coverage | Canvas 2D |
| 3D, heavy particle systems, post-processing | Three.js/WebGL (last resort — heavy) |
Every visual enhancement must degrade gracefully:
1. CSS baseline (always works, no JS)
2. JS-enhanced layer fades in on top
3. prefers-reduced-motion → skip animations entirely
4. Low-end device detection → reduce complexity
5. Light/dark theme awareness
For content floating over animated backgrounds:
.card {
background: color-mix(in srgb, var(--bg-card) 50-60%, transparent);
backdrop-filter: blur(8-12px);
-webkit-backdrop-filter: blur(8-12px);
}
Lets animation show through while keeping text readable. Adjust blur and opacity based on background intensity.
references/subagent-patterns.md — How to dispatch and validate sub-agent workreferences/validation-checklist.md — Post-execution checks that catch integration bugsreferences/rendering-decisions.md — Canvas vs SVG vs CSS decision guide with production lessons这个 Skill 质量较好,文档结构完整、内容专业,覆盖了设计工程的全流程和技术决策指南。主要优点是提供了清晰的迭代模式和验证清单;不足是缺少实际案例,对于不熟悉设计工程流程的用户来说,上手可能有一定门槛。