Design guidance for any self-contained HTML/Markdown file shown in octo's Artifacts panel — reports, dashboards, architecture/system diagrams, generated UIs, slide-style pages. Read this BEFORE writing the file, not after — it calibrates how much design effort the request warrants and covers the panel's real constraints (sandboxed iframe, no external resources, narrow default width, no live theme push). Use when the user asks to "画架构图" / "generate a diagram" / "make a dashboard" / "produce a report page" / "visualize this as a page" / build any artifact meant to be looked at rather than edited. For chart/graph/plot-specific color and mark rules, also read the dataviz skill.
$npx -y skills add open-octo/octo-agent --skill artifact-designInstalls into the current project.
Run `npx skills use "https://github.com/open-octo/octo-agent" --skill "open-octo/octo-agent/artifact-design"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/open-octo/octo-agent" that are relevant to the current task. Run `npx skills add "https://github.com/open-octo/octo-agent"` and select the relevant skills, then follow their instructions.