All skills
plannotator avatar

/html

@e1e71db
by plannotatorplannotator/effective-html3.5k stars
238

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.

Recorded with Claude Code, Opus 5.5

PromptMake a 7-slide pitch deck for Brothwheel, a neighborhood soup co-op that sells soup in returnable jars, where arrow keys or clicks advance the slides. Save it as deck.html, one file with all CSS and JavaScript inline.

Desktop screenshot of the page the Agent built for: Make a 7-slide pitch deck for Brothwheel, a neighborhood soup co-op that sells soup in returnable jars, where arrow keys
Use this Skill: https://skilld.dev/gh/plannotator/effective-html/html

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesdiagrams.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Diagrams, architecture, and sequences

Read this when relationships, flow, time, state, or structure are the main thing the artifact must explain.

Choose the diagram before choosing the renderer

Name the question the viewer should be able to answer, then choose the visual grammar:

Question Useful grammar
What exists, and how is it connected? Topology or system map
What happens over time? Sequence, timeline, or request trace
What decisions or transformations occur? Process flow
How can something change? State diagram
What contains or owns what? Hierarchy or nested boundary map
How do alternatives compare? Matrix or aligned comparison
How much, how often, or how fast? Quantitative chart; also read charts-and-data.md

Do not force several questions into one overloaded picture. Use coordinated views or selectable layers when the audience genuinely needs more than one.

Choose the medium from the information

  • HTML and CSS: strong for labeled regions, aligned comparisons, grids, timelines, and diagrams whose text needs to reflow.
  • SVG: strong for crisp relational diagrams, custom paths, annotations, and interactive vector scenes.
  • Canvas: strong for dense, frequently changing, or generative graphics where thousands of DOM nodes would be wasteful.
  • WebGL: reserve for spatial, high-volume, or truly three-dimensional work that earns the added complexity.

Mix media when useful. A diagram can use semantic HTML controls and explanation around an SVG or Canvas stage. Style SVG elements through CSS classes and the artifact's chosen tokens when practical so the scene remains coherent across states and themes.

Make the structure legible

  • Establish hierarchy with position, grouping, containment, scale, and whitespace before reaching for color.
  • Keep labels readable at the default view. Do not rotate important prose or place text over busy paths.
  • Route connectors around nodes and labels. Make direction unmistakable and distinguish different edge meanings.
  • Use boundaries to communicate ownership, trust, deployment, or responsibility, not as decoration.
  • Keep a stable overview while exposing detail on demand.
  • For architecture, show the concepts the audience uses. File names and implementation classes belong only when the question is specifically about code structure.

Avoid the automatic architecture wallpaper of identical rounded boxes connected by arrows. Services, queues, actors, boundaries, stores, and transformations do not all need the same shape or visual weight.

Sequence and interaction

Sequence should expose causality, not merely flash elements in order.

  • Give steps durable labels and a visible current state.
  • Let the viewer play, pause, restart, step, or choose a path when the sequence is more than a brief self-explanatory animation.
  • Keep the full system understandable when animation is stopped.
  • Use motion to trace requests, reveal transitions, or connect cause with effect. Respect prefers-reduced-motion with an immediate or step-based alternative.
  • Use filtering and layer toggles when they reduce complexity without hiding necessary context.

If nodes expose details, make selection obvious. Floating panels must be dismissible and must reopen from the relevant node or control. Important information must remain reachable by keyboard.

Pan and zoom only when needed

A clear diagram that fits should not become a map application. Add pan and zoom when the information space materially exceeds the viewport or close inspection is part of the task.

For an SVG stage:

  • Transform one containing <g> rather than rewriting every node.
  • Keep pointer, pan, and zoom math in a single coordinate system. Preserve the point under the cursor while zooming.
  • Suppress click activation after a drag using a small movement threshold.
  • Provide grab and grabbing feedback, a visible zoom level, and a reset control.
  • Set useful minimum and maximum scales and ensure the initial fit is understandable.

Verify the picture

Inspect the default overview, every interactive state, and any sequence endpoints. Check that connectors do not cross labels, arrows terminate cleanly, text remains legible, panels do not cover critical content, and narrow-screen behavior has an intentional fallback.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a design assistant for generating standalone HTML artifacts. While it adheres to safety best practices by discouraging unauthorized network connections, it remains susceptible to indirect prompt injection. This occurs because the skill is instructed to ingest project-level documentation (such as AGENTS.md or design-system files) to inform its design choices without using boundary markers or sanitization to differentiate between design data and potentially malicious embedded instructions.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at e1e71db. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 2 months ago

README badge

README badge for plannotator/effective-html/html