effective-html
Create or redesign self-contained single-file HTML artifacts with a visual direction shaped by the user's brief, project, and subject. Use when HTML is the deliverable for a report, explainer, landing page, presentation, tool, mixed artifact, or broad request. This is the collection's only implicit router. Route clear wireframe, prototype, mockup, plan, or diagram requests to the matching direct-invocation specialist when available. Do not use for ordinary application implementation when a standalone HTML file is not the deliverable.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- effective-html
- description
- Create or redesign self-contained single-file HTML artifacts with a visual direction shaped by the user's brief, project, and subject. Use when HTML is the deliverable for a report, explainer, landing page, presentation, tool, mixed artifact, or broad request. This is the collection's only implicit router. Route clear wireframe, prototype, mockup, plan, or diagram requests to the matching direct-invocation specialist when available. Do not use for ordinary application implementation when a standalone HTML file is not the deliverable.
02 资源文件 8
- 参考文档agents/openai.yaml274 B
- 许可证LICENSE1.0 KB
- 参考文档MIRROR.md555 B
- 参考文档references/charts-and-data.md1.9 KB
- 参考文档references/creative-direction.md3.3 KB
- 参考文档references/diagrams.md4.3 KB
- 参考文档references/documents-and-presentations.md1.9 KB
- 参考文档references/interfaces.md1.5 KB
03 SKILL.md 正文
HTML
Build one self-contained HTML file that makes the subject clearer, easier to use, or easier to understand. The standard is consistent care, not a consistent look. Do not reproduce a house palette, typography stack, card system, or layout from prior runs.
Route the request first
Use the narrowest skill that owns the main review question:
- Read and compose
design-artifactwith the chosen workflow when palette, type, composition, theming, or overall visual register remain open. It provides creative direction; it does not replace the specialist that owns fidelity, structure, or behavior. - Read and follow
html-wireframewhen structure, information hierarchy, navigation, or task flow is still unsettled. It should remain visibly low fidelity and may compare two or three layout directions. - Read and follow
html-prototypewhen the user needs a polished mockup or a working interactive flow. A mockup is the static fidelity mode inside that skill. - Read and follow
html-planwhen the artifact is primarily a plan, roadmap, implementation sequence, or rollout document whose source commitments must remain easy to verify. - Read and follow
html-diagramwhen relationships, sequence, topology, state, hierarchy, or system behavior are the main content. - Continue with
htmlfor reports, explainers, presentations, landing pages, data stories, tools, and mixed artifacts that do not have a clearer owner.
These sibling links are the nesting mechanism when the collection is installed together. If a specialized skill is unavailable, continue here and load the closest reference below. Do not make the user install another skill before completing the request.
Read the room before designing
Inspect the user's request and any material they supplied. When working in a repository, look for its design language in AGENTS.md, CLAUDE.md, design-system documentation, tokens, existing components, and nearby artifacts.
Authority runs in this order:
- The user's explicit visual and functional instructions.
- The project's established design system and conventions.
- The subject matter, audience, and purpose of this artifact.
- Your own design judgment.
Before coding, settle five things in working notes:
- Audience and job: who will use this, and what should they understand or do?
- Form: document, presentation, interface, diagram, or data visualization.
- Register: quiet and workmanlike, polished and editorial, or intentionally expressive.
- Fidelity: whether to preserve the user's structure and wording or synthesize more freely.
- Interaction: what benefits from exploration, sequencing, filtering, or motion, if anything.
If the project already answers the visual questions, follow it. Otherwise read
and compose design-artifact when it is
available. If the collection was installed without that sibling skill, read
references/creative-direction.md before
choosing the palette, type, composition, or motion.
Load only the guidance the artifact needs
- For reports, briefs, plans, explainers, and decks, read
references/documents-and-presentations.md. - For interfaces, calculators, and other tools that remain in this broad skill, read
references/interfaces.md. - For architecture, process, sequence, state, hierarchy, or concept diagrams, read
references/diagrams.md. - For quantitative charts, tables, metrics, or data stories, read
references/charts-and-data.md.
Requests can span forms. Read every reference that materially applies, then give the artifact one coherent direction.
Build contract
- Produce one
.htmlfile with its essential CSS and JavaScript inline. It should work when opened directly, without a build step. Do not require a network connection unless the user permits external dependencies. - Use real content. Do not fill prominent space with placeholder copy, decorative statistics, or controls that do nothing.
- Let content determine structure. A sequence should read in order; a comparison should make differences easy to scan; an interface should expose state and actions; a diagram should make relationships legible.
- Use semantic HTML, responsive layout, accessible contrast, visible keyboard focus, and reduced-motion handling. Make interactive elements work with a keyboard.
- Keep the page body free of accidental horizontal overflow. Put intentionally broad content in a contained scrolling or pannable region.
- Define a small set of CSS tokens for the chosen direction and use them consistently. Tokens are an implementation tool, not a predetermined palette.
- Treat motion as explanation or feedback. If removing an animation loses no meaning or useful feedback, remove it.
- Follow the user's or project's theme policy. When none exists, give durable utility artifacts considered light and dark themes if that improves their use. A deliberate single-theme concept is valid.
Finish the work
Write the file to the requested location, or choose a clear filename in the current workspace. When browser tooling is available, open it and inspect a wide and narrow viewport. Exercise its controls, check the console, and fix clipping, overlap, illegible text, broken states, and accidental overflow.
Before delivery, run one originality check: if the subject were swapped for a neighboring topic, would the same visual concept still make just as much sense? If yes, the direction is too generic; revise the composition, type, color, imagery, or interaction so it belongs to this subject.
Return the absolute path and a short description of the artifact's visual and interaction choices.
04 同仓库更多 Skills
X MCP guide
ALWAYS read this before using any X tool (the X plugin, any X MCP, or Grok Bot's built-in public X reads) and again on any X error. X tools are included in Grok Bot at no cost: never estimate costs, check credits, or tell the user to buy credits. tools=0 / user-X-* not found is a setup failure, not a paywall. Covers Spaces, communities, and Lists (reads and list writes), X Chat (XChat, inbox, DMs, unread, message requests, Chat PIN, juicebox, xchat_lite: clone xchat-grokbot-helper yourself and decrypt locally), scheduled X calls (schedule_call, list_scheduled_calls and the other call tools), and livestreams (stream sources, broadcasts, scheduled broadcasts, broadcast chat, moderators, mutes). Chat, call, livestream, Spaces, or Lists tools missing while other X tools work: reconnect the X plugin.
X Money guide
Read this before the first X Money action in a session and again on any X Money error, refusal, or missing capability. Covers the approval rule for every action that moves money (always ask, every time, no exceptions), how the connection works (connection code plus passkey in the X app), how to guide the user through connect, reconnect, and revoke at x.com/i/money/settings/connections, and what each failure message means.
google-slides
Build and edit Google Slides through the google-slides MCP tools - slides, grids of cards and columns, text boxes, shapes, images, tables, styling, layout inspection, and per-slide PNG rendering. Use when creating a deck, laying out slide elements, matching a template, or verifying how a slide looks.
google-sheets
Build and edit Google Sheets with the google-sheets tools - values, formatting, charts, conditional formatting, structure, validation, named and protected ranges. Use when creating a spreadsheet or dashboard, formatting cells, adding or fixing charts, or reorganizing tabs and rows.
google-drive
Work with Google Drive through its MCP tools - search, read, create, organize, share, comment, and export files. Use when creating files in specific folders, moving or renaming, converting Markdown/CSV into Docs/Sheets, managing comments, or exporting a rendered PDF.
google-docs
Author and edit Google Docs with the google-docs tools - structured writing, character and paragraph styling, lists, tables, images, headers/footers. Use when creating a formatted document, editing document content, or applying styles.