Skip to main content
在 Manus 中运行任何 Skill
一键导入

frontend-best-practices

星标4
分支1
更新时间2026年5月28日 15:16

ACTIVATE when modifying existing frontend components/styles (CSS/SCSS, Twig, HTML, React, Vue), when encountering visual bugs, or when the user describes multiple constraints that may conflict. ACTIVATE for 'modify existing', 'side effect', 'régression', 'existing component', 'composant existant', 'bug visuel', 'visual bug', 'devtools', 'inspection', 'contraintes Figma', 'too small', 'misaligned', 'pixel-perfect'. Covers: avoiding side effects on existing functional UI by adding-not-modifying, lifting incompatible constraints to the user BEFORE coding, autonomous visual debugging via Chrome DevTools MCP (never ask the user for sizes/colors/positions that can be inspected). DO NOT use for: clean-architecture decisions (see frontend-clean-architecture), Container/Presentation split (see frontend-component-patterns), Twig component creation rules (see symfony:twig-conventions).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly