No slash command · from anglesite
Adds interactive visual effects, generative art, and creative coding to any page using curated libraries like p5.js, Three.js, GSAP, Tone.js, or D3.js.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add interactive visual effects, generative art, or creative coding experiments to any Anglesite site. Works for all business types — from a bakery wanting holiday snow to a web artist building a full experiment gallery.
.astro files; client-side code runs via <script> tags or Astro component islands/anglesite:startBUSINESS_TYPE includes web-artist (full immersive setup)animate skill determines the effect needs JavaScript beyond CSS capabilitiesnew-page skill is creating an experiment pageseasonal skill suggests a seasonal visual effectSelect based on what the owner wants to build:
| Want | Library | npm install | Notes |
|---|---|---|---|
| 2D art, particles, simulations | p5.js | npm install p5 @types/p5 | Most approachable. Instance mode for Astro compatibility. |
| 3D scenes, WebGL, shaders | Three.js | npm install three @types/three | GPU-intensive. Test mobile fallback. |
| Animation, scroll effects, timelines | GSAP | npm install gsap | Free for personal/indie. ScrollTrigger plugin included. |
| Audio-reactive, synthesizers | Tone.js | npm install tone | Requires user gesture to start AudioContext. |
| Data visualization, charts | D3.js | npm install d3 @types/d3 | SVG-based. Pairs well with Astro's static HTML. |
| Shaders, GPU compute | Vanilla WebGL | No install needed | Inline <script> with GLSL. Most control, steepest learning curve. |
| CSS-only effects | None | No install needed | Delegate to the animate skill instead. |
Other npm packages are allowed but don't have tested boilerplate. Install them the same way (npm install <package>).
Infer skill level from context — don't ask directly.
A targeted visual effect on an existing page. The effect supports the brand, not the other way around.
src/components/SnowEffect.astro, src/components/ParticleHero.astro)<canvas> element (or SVG/div container)<script> tag with the effect code<style> for positioningprefers-reduced-motion check — disable or simplify the effectaria-hidden="true" on decorative canvases (the effect is decorative, not content)position: absolute; z-index: -1; pointer-events: none;Examples:
A complete creative portfolio site where interactive experiments are the product.
Read ${CLAUDE_PLUGIN_ROOT}/docs/smb/web-artist.md for design and structure guidance
Install the artist's preferred library or libraries
Check the immersive infrastructure. The template already ships most of it — use Glob to confirm each file exists, read it, and leave it as it is. Only create a file that is missing (older sites), and use Edit rather than Write for any adjustment to one that exists:
src/layouts/ImmersiveLayout.astro (shipped) — full-viewport layout for experiments: no header or footer, dark background, <main> fills the viewport, <slot /> for experiment content, an info overlay (title, description, back-to-lab link) that toggles on click/tap, and title / description / image props for SEO. It imports src/styles/immersive.css (also shipped).
src/pages/lab/index.astro (shipped) — experiment gallery: uses BaseLayout, reads the experiments content collection, and links each card to /lab/<slug>.
src/pages/lab/[slug].astro (not shipped — create it) — individual experiment pages:
ImmersiveLayout<script> tagResizeObserver for responsive sizingprefers-reduced-motion and <noscript>: show a static fallback image + descriptionConfirm the experiments collection is registered in both keystatic.config.ts and src/content.config.ts (the template ships it — fields: title, description, date, tags, library, thumbnail, draft; thumbnails live in public/images/experiments/). Add it with Edit only if it is missing.
Create the first experiment as a starter template:
After either mode, confirm the site still builds:
npm run build
These are non-negotiable:
prefers-reduced-motion — Check window.matchMedia('(prefers-reduced-motion: reduce)'). If true:
<noscript> — Every page with required JavaScript shows a fallback:
aria-label on <canvas> — Describe what the canvas shows (e.g., aria-label="Generative particle flow visualization")aria-hidden="true" on purely decorative canvases — Screen readers skip decorative effectsimport p5 from 'p5';
const sketch = (p) => {
p.setup = () => {
const canvas = p.createCanvas(window.innerWidth, window.innerHeight);
canvas.parent('canvas-container');
canvas.elt.setAttribute('aria-label', 'DESCRIPTION HERE');
};
p.draw = () => {
// Creative code here
};
p.windowResized = () => {
p.resizeCanvas(window.innerWidth, window.innerHeight);
};
};
// Respect reduced motion
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (!prefersReducedMotion) {
new p5(sketch);
}
import * as THREE from 'three';
const canvas = document.getElementById('canvas');
canvas.setAttribute('aria-label', 'DESCRIPTION HERE');
const renderer = new THREE.WebGLRenderer({ canvas, antialias: true });
renderer.setSize(window.innerWidth, window.innerHeight);
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
camera.position.z = 5;
// Creative code here
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
function animate() {
if (prefersReducedMotion) return;
requestAnimationFrame(animate);
renderer.render(scene, camera);
}
animate();
window.addEventListener('resize', () => {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize(window.innerWidth, window.innerHeight);
});
| Skill | How it connects |
|---|---|
| start | For web-artist type, invoke this skill for full immersive setup. For other types, this skill is available on demand. |
| new-page | When creating an experiment page, delegates to this skill for the creative code setup. |
| animate | CSS-only effects stay in animate. When an effect needs JS, animate suggests this skill. |
| seasonal | Seasonal visual effects (snow, leaves, confetti) invoke this skill with a specific effect description. |
| og-images | Experiment pages use artist-provided screenshots as OG images. Remind the artist to add thumbnails. |
| check | Validates canvas accessibility: aria-label/aria-hidden, reduced-motion fallback, <noscript> presence. |
| deploy | Standard security scans apply. Bundled npm libraries pass CSP (script-src 'self'). |
| design-interview | For web-artist sites: dark theme default, monospace typography, portfolio-first layout. |
What SKILL.md sets; muted values are Claude Code's defaults
Use when the owner wants something visually striking — generative art, particle effects, interactive backgrounds, or other creative coding on a page.
npx claudepluginhub anglesite/anglesite-skills --plugin anglesite56 skills in this plugin
/bookingEmbed appointment scheduling (Cal.com or Calendly) into the siteOther plugins' skills for the same job