Methane@methane-ui/*
CSS LayoutsComponentsSkillsTheme BuilderGitHub

Agent Skills

Methane ships a curated set of agent skills so AI coding assistants understand our component APIs, CSS layout classes, OKLCH theming tokens, and SSR hydration order without guessing.

Install in Any Project

Compatible with Antigravity, Claude Code, Cursor, Codex, and Gemini CLI:

npx skills add MehdiNosrati/methane

Automatic Workspace Discovery

Inside the Methane repository, .agents/skills.json points directly to skills/ so workspace agents discover all four skills automatically.

methane-uiSKILL.md

Components, Layouts & Frameworks

Helps assistants choose between pure CSS layouts and custom elements, import tree-shakeable @methane-ui/ui/* entrypoints, wire native FormData, and use React, Vue, Angular, or Svelte integrations.

Includes references/components.md and references/frameworks.md
methane-themingSKILL.md

OKLCH Themes & Design Tokens

Covers --mth-color-seed-brand customization, data-mth-theme and data-mth-density switching, forced-colors support, W3C DTCG tokens.json compilation, and ::part() / :state() styling.

Includes load order and registerStyles() escape hatch
methane-ssrSKILL.md

Server Rendering & Hydration

Guides Declarative Shadow DOM setup, hydration import ordering, linked vs. inline style delivery, FOUC protection, and lazy satellite engine boundaries across Next.js, Nuxt, SvelteKit, Astro, and Angular.

Covers @methane-ui/ssr-* and @methane-ui/core/hydrate
methane-contributeSKILL.md

Component Authoring & Verification

Monorepo contributor runbook for specs, same-root ARIA, Form-Associated Custom Elements, logical CSS tokens, wrapper codegen, conformance suites, and Playwright E2E checks.

Enforces @methane-ui/lint-plugin and codegen checks
Quickstart Guide →Browse Components