本文へ移動
cccskills
無料GitHub で公開

grainient

Recreate grainient.supply's 16 dark-mode visual effects as single-file HTML pages: WebGL shader gradients, vignette overlays, 9-layer box shadows, smooth scroll, spring animations, hover-zoom, ticker marquees, glassmorphism, 3D card flips, bento grids, gradient CTAs. Dark-mode-first with lime green (#C2F13C) accent. Triggers on grainient effects, dark-mode landing page, cinematic depth, glow effects, SaaS showcase, visual effects page.

インストール方法を見る

含まれるファイル(23)

  • SKILL.md10.8 KB
  • assets/templates/bento-showcase.html15.4 KB
  • assets/templates/dark-page.html81.4 KB
  • assets/templates/effects-catalog.html105.1 KB
  • assets/templates/hero-section.html21.2 KB
  • assets/templates/ticker-landing.html17.9 KB
  • README.md9.8 KB
  • references/anti-patterns.md2.7 KB
  • references/color-system.md1.6 KB
  • references/composability.md1.5 KB
  • references/detail-effects.md2.4 KB
  • references/glass-hero-palette.md5.1 KB
  • references/glassmorphic-agency.md1.8 KB
  • references/hover-zoom.md1.1 KB
  • references/shader-gradient.md3.6 KB
  • references/shadow-system.md1.6 KB
  • references/smooth-scroll.md1.7 KB
  • references/spring-animations.md1.5 KB
  • references/surface-effects.md2.2 KB
  • references/ticker-marquee.md2.0 KB
  • references/vignette-system.md1.7 KB
  • scripts/grainient_generator.py5.9 KB
  • scripts/validate_grainient.py5.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Grainient Effects Skill

Recreate the visual vocabulary of grainient.supply — 16 composable dark-mode effects spanning WebGL shaders, CSS surfaces, JS-driven motion, and layout patterns. No Framer dependency. Single-file HTML output.

Quick Start

# Generate a hero section with aurora shader
python3 scripts/grainient_generator.py --mode hero --output hero.html

# Generate a full landing page
python3 scripts/grainient_generator.py --mode page --output landing.html

# Custom accent color
python3 scripts/grainient_generator.py --mode bento --accent "#FF6B35" --output showcase.html

# Interactive effects catalog
python3 scripts/grainient_generator.py --mode catalog --output catalog.html

Or let Claude generate directly from the templates and references.

Effects Catalog

#EffectTierTechReference
1WebGL Shader GradientHeroWebGL2+GLSLreferences/shader-gradient.md
2Vignette OverlayHeroCSSreferences/vignette-system.md
39-Layer Box ShadowsHeroCSSreferences/shadow-system.md
4Smooth ScrollMotionJSreferences/smooth-scroll.md
5Spring AnimationsMotionCSS/JSreferences/spring-animations.md
6Hover Image ZoomMotionCSSreferences/hover-zoom.md
7Vertical Ticker MarqueeMotionJSreferences/ticker-marquee.md
8GlassmorphismSurfaceCSSreferences/surface-effects.md
93D Perspective Card FlipSurfaceCSSreferences/surface-effects.md
10Bento GridSurfaceCSSreferences/surface-effects.md
11Gradient CTAsSurfaceCSSreferences/surface-effects.md
12SVG Gradient IconsDetailSVGreferences/detail-effects.md
13Inset Border SystemDetailCSSreferences/detail-effects.md
14Grid Pattern OverlayDetailCSSreferences/detail-effects.md
15Custom ScrollbarDetailCSSreferences/detail-effects.md
16Responsive Clamp TypographyDetailCSSreferences/detail-effects.md

Modes

ModeTemplateEffects Composed
heroassets/templates/hero-section.htmlShader gradient + vignette + glassmorphism nav + clamp typography + springs
bentoassets/templates/bento-showcase.htmlBento grid + 9-layer shadows + hover zoom + glassmorphism + gradient CTAs
tickerassets/templates/ticker-landing.htmlTicker marquee + smooth scroll + gradient CTAs + vignette + SVG icons
pageassets/templates/dark-page.htmlAll 16 effects in a full landing page
catalogassets/templates/effects-catalog.htmlEach effect demonstrated individually with controls

Color System

All effects read from --grn-* CSS custom properties. Override at :root to re-theme:

:root {
  /* Background scale (dark-on-dark elevation) */
  --grn-bg: #000000;
  --grn-surface: #141414;
  --grn-elevated: #1A1A1A;
  --grn-card: #2B2B2B;

  /* Accent */
  --grn-accent: #C2F13C;
  --grn-accent-40: rgba(194, 241, 60, 0.4);
  --grn-accent-20: rgba(194, 241, 60, 0.2);

  /* Text */
  --grn-text: #FFFFFF;
  --grn-text-70: rgba(255, 255, 255, 0.7);
  --grn-text-40: rgba(255, 255, 255, 0.4);
  --grn-text-20: rgba(255, 255, 255, 0.2);
  --grn-text-10: rgba(255, 255, 255, 0.1);

  /* Borders */
  --grn-border: rgba(255, 255, 255, 0.2);
  --grn-border-subtle: rgba(255, 255, 255, 0.1);

  /* Motion */
  --grn-spring-snappy: cubic-bezier(0.34, 1.56, 0.64, 1);
  --grn-spring-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --grn-spring-subtle: cubic-bezier(0.22, 1, 0.36, 1);

  /* Blur tiers */
  --grn-blur-light: blur(5px);
  --grn-blur-medium: blur(10px);
  --grn-blur-heavy: blur(20px);

  /* Typography */
  --grn-font: 'Inter', system-ui, sans-serif;
  --grn-hero-size: clamp(32px, 4vw + 1rem, 6vw);
  --grn-body-size: clamp(16px, 1vw + 1rem, 1.1vw);
}

Font: Inter at weights 400, 500, 600. Always set -webkit-font-smoothing: antialiased.

Palette Presets

Default (Lime): --grn-accent: #C2F13C — the canonical grainient.supply lime green.

Glass Hero (Mint/Violet): Override :root with the glass-hero palette for kaolti's dark glass aesthetic — mint green #57FFA8 accent, violet #A78BFA secondary, blue-tinted near-black #0a0a0c base. Includes Geist typography tokens and glass-edge border values. See references/glass-hero-palette.md for the full token block, typography scale, glassmorphism recipes, and differences from default grainient.

/* Quick swap — glass-hero palette */
:root {
  --grn-bg: #0a0a0c;
  --grn-accent: #57FFA8;
  --grn-accent-40: rgba(87, 255, 168, 0.4);
  --grn-accent-20: rgba(87, 255, 168, 0.2);
  --grn-border: rgba(255, 255, 255, 0.11);
}

For the full 3D glass experience with MeshPhysicalMaterial refraction/dispersion/iridescence, use threejs-particle-canvas Mode 6 (glass-hero).

Layer Stack (Composability)

Every grainient page is a z-index stack of 6 layers:

Layer 0  z-index: 0    Body background (#000)
Layer 1  z-index: 1    Shader gradient canvas (position: fixed)
Layer 2  z-index: 2    Vignette overlay (position: fixed, pointer-events: none)
Layer 3  z-index: 3    Grid pattern overlay (position: fixed, pointer-events: none)
Layer 4  z-index: 10   Content sections (position: relative)
Layer 5  z-index: 100  Glassmorphism nav / floating UI (position: fixed)

Effects slot into layers. Content sections use surface colors (--grn-surface, --grn-elevated) for dark-on-dark elevation contrast.

See references/composability.md for composition recipes and performance budget.

Implementation Rules

  1. Vanilla only. No React, Vue, Svelte, Angular. Plain HTML + CSS + JS.
  2. Single-file output. Everything in one HTML file. CDN imports for Inter font only.
  3. Dark-mode-first. Body is #000. Surfaces elevate via #141414 → #1A1A1A → #2B2B2B.
  4. --grn-* tokens everywhere. Never hardcode colors — always reference custom properties.
  5. prefers-reduced-motion required. Every animated effect needs a reduced-motion fallback.
  6. DPR clamp at 1.5 for WebGL canvas. Full DPR for CSS.
  7. requestAnimationFrame only. Never setInterval for animation.
  8. overflow: clip over overflow: hidden on individual containers, never on body.
  9. Inter font, antialiased. Default font for all modes. Palette presets (e.g., glass-hero) may override --grn-font — see Palette Presets section.

Anti-Patterns

  • Never use ease timing function — use --grn-spring-* cubic-bezier tokens
  • Never use box-shadow with fewer than 4 layers — grainient shadows are deep stacks
  • Never use border for the inset border system — use box-shadow: inset 0 0 0 1px or per-side gradients
  • Never use backdrop-filter without a semi-transparent background — blur on opaque dark is invisible
  • Never use scroll-behavior: smooth as a substitute for Lenis-style scroll — no inertia, no lerp control
  • Never omit the vignette when using a shader background — content bleeds into shader without it
  • Never hardcode pixel values for typography — always clamp() with viewport-relative middle
  • Never use opacity: 0 for hover-zoom initial state without pointer-events: none
  • Never set all ticker columns to the same speed — vary by 10-30% per column
  • Never use perspective() without overflow: visible on the container — clips 3D rotation
  • Never use pure white (#FFF) as background anywhere — this is a dark-mode skill
  • Never use Three.js for the fullscreen gradient — raw WebGL2 suffices; see rocaille-shader for Three.js needs

See references/anti-patterns.md for expanded explanations with code examples.

Generator Script

python3 scripts/grainient_generator.py \
  --mode hero|bento|ticker|page|catalog \
  --accent "#C2F13C" \
  --bg "#000000" \
  --surface "#141414" \
  --output output.html

Validation

python3 scripts/validate_grainient.py output.html

Checks: viewport meta, --grn-* properties, no framework imports, dark background, requestAnimationFrame, prefers-reduced-motion, Inter font, overflow:clip. Optional checks (pass if found): WebGL context, wheel listener, translateY, CSS grid, gradient CTA, box-shadow glow, backdrop-filter, vignette.

References

Load on-demand when implementing specific effects:

ReferenceCovers
references/shader-gradient.mdWebGL2 aurora shader: GLSL noise layers, setup, DPR, fallback
references/vignette-system.md4-directional CSS gradient overlays, z-index, opacity
references/shadow-system.md9-layer shadow recipe, lime/white glow variants
references/smooth-scroll.mdLenis-style vanilla JS scroll, lerp math, rAF loop
references/spring-animations.md3 cubic-bezier presets, hover transitions
references/hover-zoom.mdoverflow:clip + opacity+scale reveal pattern
references/ticker-marquee.mdMulti-column vertical ticker, speed variance
references/surface-effects.mdGlassmorphism, 3D card flip, bento grid, gradient CTAs
references/detail-effects.mdSVG gradient icons, inset borders, grid overlay, scrollbar, clamp typography
references/color-system.mdFull palette, CSS custom properties, dark-on-dark elevation
references/composability.mdLayer stack, composition recipes, performance budget
references/anti-patterns.md16+ anti-patterns with wrong/right code examples
references/glass-hero-palette.mdGlass Hero palette preset: mint/violet tokens, Geist typography, glassmorphism recipes

Cross-Skill Relationships

  • rocaille-shader: Cross-ref for Three.js shader path. Grainient owns CSS/surface effects, not shader pipelines.
  • minoan-frontend-design: Broader creative direction. Grainient provides grainient.supply's specific vocabulary.
  • threejs-particle-canvas Mode 6 (glass-hero): Full 3D glass with MeshPhysicalMaterial refraction, dispersion, iridescence. Grainient's glass-hero palette provides the flat CSS equivalent; Mode 6 provides the physically-accurate 3D version.

Attribution

Effects deconstructed from grainient.supply (Framer, Apr 2026). Technologies: UnicornStudio (WebGL), Lenis (smooth scroll), Framer Motion (spring animations), @shadergradient/react (shader gradient subdomain).

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Search academic papers, build literature reviews, and synthesize research findings — combines Exa MCP (research_paper category, arxiv filtering) with arxiv-mcp-server for paper discovery, download, and deep analysis. Triggers on academic paper, literature review, research synthesis, arxiv, find papers, scholarly search.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

This skill should be used when creating, auditing, or maintaining AGENTS.md files and Codex CLI configuration for any project—including initializing AGENTS.md for cross-agent compatibility (Codex, Cursor, Copilot, Devin, Jules, Amp, Gemini CLI), generating config.toml or .rules files, scaffolding .agents/skills/, converting CLAUDE.md to AGENTS.md, or auditing existing agent configs for bloat and staleness. Complementary to codex-orchestrator (which executes subagents; this skill creates the config files they consume).

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

Academic research skill for Biblical Hebrew, Semitic linguistics, cuneiform studies, and comparative Ancient Near Eastern research. Provides Sefaria API for Hebrew Bible, CDLI/ORACC for cuneiform databases, and web discovery via Omnisearch, Exa, Firecrawl, and Obscura for finding scholarly sources across JSTOR, Perseus, Persée, Google Scholar, and academia.edu. Triggers on Hebrew quotes, cuneiform, Sefaria, ANE research, Minoan, search for scholarship, find papers, literature review, scholarly search, academic search, Genesis/Tehom, Ugaritic, Talmudic sources, extract from PDF, OCR academic.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

Build comprehensive ARCHITECTURE.md files following matklad's canonical guidelines — bird's-eye views, ASCII/Mermaid diagrams, codemaps, invariants, and layer boundaries. Triggers on document the architecture, create ARCHITECTURE.md, map this codebase, architectural overview.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

Generate physically-based atmospheric scattering shaders — sky domes, planetary atmospheres, LUT-optimized pipelines, depth-aware post-processing. Four modes — sky-dome, atmosphere-post, planet, lut. Triggers on atmospheric scattering, sky shader, sunset rendering, planet atmosphere, Rayleigh scattering, Mie scattering, volumetric sky, sky dome, atmosphere post-processing, aerial perspective, transmittance LUT, sky rendering, realistic sky, planetary rendering.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

tdimino のスキルをすべて見る

このスキルの問題を報告する