impeccable
Design, redesign, audit, critique, polish, or otherwise improve the FractalEngine Studio user interface. Covers app shell panels, editors, sidebars, terminal console, layouts, themes, components, forms, and settings. Guides compliance with Svelte 5 runes, indented SASS, design tokens, IPC gateways, and mandatory undo boundaries.
- License 许可
- Apache-2.0
- 最近更新
- 2026-08-12
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- impeccable
- license
- Apache 2.0
- description
- Design, redesign, audit, critique, polish, or otherwise improve the FractalEngine Studio user interface. Covers app shell panels, editors, sidebars, terminal console, layouts, themes, components, forms, and settings. Guides compliance with Svelte 5 runes, indented SASS, design tokens, IPC gateways, and mandatory undo boundaries.
- allowed-tools
- [ "Bash(npx impeccable *)" ]
- argument-hint
- [{{command_hint}}] [target]
- user-invocable
- true
02 资源文件 78
- 参考文档agents/impeccable-asset-producer.md8.2 KB
- 参考文档agents/impeccable-manual-edit-applier.md7.1 KB
- 参考文档reference/adapt.md9.9 KB
- 参考文档reference/animate.md10.2 KB
- 参考文档reference/audit.md6.8 KB
- 参考文档reference/bolder.md6.3 KB
- 参考文档reference/brand.md11.7 KB
- 参考文档reference/clarify.md11.3 KB
- 参考文档reference/codex.md6.9 KB
- 参考文档reference/colorize.md13.9 KB
- 参考文档reference/craft.md11.8 KB
- 参考文档reference/critique.md40.9 KB
- 参考文档reference/delight.md9.5 KB
- 参考文档reference/distill.md5.5 KB
- 参考文档reference/document.md27.2 KB
- 参考文档reference/extract.md3.2 KB
- 参考文档reference/harden.md8.4 KB
- 参考文档reference/hooks.md9.6 KB
- 参考文档reference/init.md12.3 KB
- 参考文档reference/interaction-design.md6.6 KB
- 参考文档reference/layout.md8.8 KB
- 参考文档reference/live.md59.4 KB
- 参考文档reference/onboard.md7.6 KB
- 参考文档reference/optimize.md7.4 KB
- 参考文档reference/overdrive.md8.8 KB
- 参考文档reference/polish.md12.6 KB
- 参考文档reference/product.md4.7 KB
- 参考文档reference/quieter.md4.7 KB
- 参考文档reference/shape.md11.1 KB
- 参考文档reference/typeset.md14.0 KB
- 脚本scripts/command-metadata.json7.7 KB
- 脚本scripts/context-signals.mjs7.7 KB
- 脚本scripts/context.mjs32.7 KB
- 脚本scripts/critique-storage.mjs8.6 KB
- 脚本scripts/detect-csp.mjs6.4 KB
- 脚本scripts/detect.mjs617 B
- 脚本scripts/hook-admin.mjs23.1 KB
- 脚本scripts/hook-before-edit.mjs15.8 KB
- 脚本scripts/hook-lib.mjs57.7 KB
- 脚本scripts/hook.mjs1.9 KB
- 脚本scripts/lib/design-parser.mjs24.1 KB
- 脚本scripts/lib/impeccable-paths.mjs4.3 KB
- 脚本scripts/lib/is-generated.mjs2.2 KB
- 脚本scripts/lib/target-args.mjs1.0 KB
- 脚本scripts/live-accept.mjs29.0 KB
- 脚本scripts/live-browser-dom.js3.8 KB
- 脚本scripts/live-browser-session.js3.0 KB
- 脚本scripts/live-browser.js405.2 KB
- 脚本scripts/live-commit-manual-edits.mjs39.4 KB
- 脚本scripts/live-complete.mjs2.8 KB
- 脚本scripts/live-copy-edit-agent.mjs27.4 KB
- 脚本scripts/live-discard-manual-edits.mjs1.6 KB
- 脚本scripts/live-inject.mjs21.5 KB
- 脚本scripts/live-insert.mjs8.6 KB
- 脚本scripts/live-manual-edit-evidence.mjs11.0 KB
- 脚本scripts/live-poll.mjs13.3 KB
- 脚本scripts/live-resume.mjs4.3 KB
- 脚本scripts/live-server.mjs40.0 KB
- 脚本scripts/live-status.mjs2.0 KB
- 脚本scripts/live-target.mjs898 B
- 脚本scripts/live-wrap.mjs34.5 KB
- 脚本scripts/live.mjs10.2 KB
- 脚本scripts/live/browser-script-parts.mjs1.6 KB
- 脚本scripts/live/completion.mjs954 B
- 脚本scripts/live/event-validation.mjs6.1 KB
- 脚本scripts/live/insert-ui.mjs14.8 KB
- 脚本scripts/live/manual-apply.mjs32.8 KB
- 脚本scripts/live/manual-edit-routes.mjs13.7 KB
- 脚本scripts/live/manual-edits-buffer.mjs4.8 KB
- 脚本scripts/live/session-store.mjs9.9 KB
- 脚本scripts/live/svelte-component.mjs26.4 KB
- 脚本scripts/live/sveltekit-adapter.mjs8.9 KB
- 脚本scripts/live/ui-core.mjs5.2 KB
- 脚本scripts/live/vocabulary.mjs3.2 KB
- 脚本scripts/modern-screenshot.umd.js39.9 KB
- 脚本scripts/palette.mjs57.1 KB
- 脚本scripts/pin.mjs5.8 KB
- 参考文档SKILL.src.md24.4 KB
03 SKILL.md 正文
Impeccable Design & Code Iteration for FractalEngine Studio
This skill guides the design, development, and auditing of components and layouts within FractalEngine Studio. It ensures that every visual and code change preserves the IDE's distinctive dark space aesthetic and conforms strictly to project constraints.
1. Strict Project Architectural Constraints
Every UI change must pass the following rules:
A. Svelte 5 Reactivity (Runes Only)
- Use only modern Svelte 5 runes (
$state,$derived,$effect,$props). - No legacy syntax: Do not write
$:reactive statements or importsvelte/store. - Derived values: Write derived states using
$derived(...)directly without wrapping them in an unnecessary arrow function (e.g., uselet numLines = $derived(text.split('\n').length)instead oflet numLines = $derived(() => text.split('\n').length)).
B. Styling Discipline (Classic Indented SASS Only)
- File extension: Styles must use the
.sassextension. - Syntax: Use indented syntax only. Single tab indented, no curly braces, and no semicolons.
- No Style Blocks: Svelte files must not contain
<style>blocks. Write all component styles undersrc/lib/styles/components/and import them insrc/lib/styles/index.sass. - No Inline Styles: Never use inline
styleattributes on HTML elements.
C. Two-Layer Design Tokens
- No Hardcoding: Components must never hardcode colors, font sizes, spacing, shadows, or border-radius values.
- Semantic Consumption: Map all elements to semantic variables defined in
src/lib/styles/_tokens.sass(e.g.,--background10,--foreground20,--text-primary,--border-secondary,--theme-color,--feedback-error).
D. Single IPC Gateway
- Tauri Integration: All interprocess communication (Tauri calls) must go through the single module gateway: [ipc.ts](file:///Users/amrit/fractals/apps/fractalengine/src/lib/ipc.ts). Do not import
@tauri-apps/apidirectly in components. - Browser Compatibility: Ensure the browser mock [ipc-mock.ts](file:///Users/amrit/fractals/apps/fractalengine/src/lib/ipc-mock.ts) is updated when new native capabilities are added.
E. Mandatory Undo/Redo Boundary
- Undo Support: Any state modified by user interactions (sliders, input text, dropdown selections, panel states) must define an undo boundary, snapshot format, and restore handler on the
ideStateundo stack. - Keyboard Hook: Wire state undo/redo actions to
Cmd+Z/Ctrl+Zglobally.
F. Spectrum Color Picker
- Avoid native
<input type="color">elements. Use the shared spectrum/hex picker popover for color selectors.
2. Design Guidance & Style Guidelines
A. Layout Structure & Alignment
- Dimensions: Maintain resizability. Sidebar widths and terminal heights must bind to layout states in
ideStateand resize via draggable handles. - Terminal Docking: The terminal must support drag-and-drop docking to three locations:
bottom,left, orrightregions, automatically rendering inside the selected container.
B. Typography
- Pair monospace typefaces for code interfaces and sans-serif fonts for utility/sidebars.
- Headings and label metrics must adjust proportionally using semantic font sizes.
C. Color Consistency
- Ensure text contrast is >= 4.5:1 for body and >= 3:1 for large headers against the active theme background.
- Follow the theme's color schema from [starterTemplates.ts](file:///Users/amrit/fractals/apps/fractalengine/src/lib/data/starterTemplates.ts).
D. Absolute Design Bans
- No Rounded Corners > 4px: Keep panels, tabs, code areas, and buttons structured and crisp (0px to 4px) to retain an authentic developer tool visual identity.
- No Gradient Text / Blurs: Avoid decorative glow gradients or heavy glassmorphism blurs.
- No side-stripe borders: Avoid colored vertical stripes on container margins.
- No generic card grids: Avoid repeating generic cards with icon/header layout.
3. Workflow & Setup
- Check current workspace state: inspect active layout sizes, theme values, and dependencies.
- Read the designated route or component file to review context.
- Apply structural edits matching Svelte 5 and indented SASS rules.
- Verify changes compile successfully by building the static bundle.
04 同仓库更多 Skills
web-artifacts-builder
Guidelines for building elaborate, multi-component features (artifacts) inside the FractalEngine Studio workspace (e.g. AI panel, wiki/notes layer, email interface, database inspector). Ensures integration with Svelte 5 runes, indented SASS styles, and the central ideState.
theme-factory
Theme management and creation tools for FractalEngine Studio. Use this when asked to "add a theme", "customize editor colors", "build a new theme", "toggle dark/light presets", or "modify workspace appearances".
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
frontend-design
Design principles and styling rules for building and auditing the FractalEngine Studio user interface. Helps with visual hierarchy, layout structure, typography, and styling consistency in line with project standards.
canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.