enhancing-progressively

Solve UI layout and styling challenges with CSS-first progressive enhancement.

11|1|Updated Aug 6, 2025
One-click install
npx skills add https://github.com/thkt/claude-config --skill enhancing-progressively
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: enhancing-progressively
Source: https://github.com/thkt/claude-config/tree/main/ja/skills/enhancing-progressively
Command: npx skills add https://github.com/thkt/claude-config --skill enhancing-progressively

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CSSだけで実現できるUI要件はCSSで解決する方針を提案し、JavaScriptの介入を最小化します。

Core Features & Use Cases

  • レイアウト/位置のCSS優先
  • 0 JavaScriptでのトグル・表示非表示
  • レスポンシブ/コンテナクエリの活用

Quick Start

まずCSSで解決できるか検討し、必要な場合だけJSを追加します。

Frequently Asked Questions about enhancing-progressively

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How can I create responsive layouts using only CSS without JavaScript?▼

CSS-first progressive enhancement uses modern CSS techniques like Grid, Flexbox, container queries, and :has() selectors to build responsive layouts and components without requiring JavaScript. This approach keeps your UI maintainable while reducing script dependency.

Can I build toggles and show/hide interactions with CSS alone?▼

Yes. CSS-only toggles use :checked, :target, and :has() pseudo-classes applied to semantic HTML elements to create show/hide interactions, modals, and overlays without any JavaScript code.

What's the best way to minimize JavaScript while maintaining accessible interactions?▼

Progressive enhancement prioritizes CSS for layout, styling, and basic interactions first, then adds JavaScript only when essential for functionality. This ensures accessibility and performance while reducing code complexity.

When should I use CSS transforms and transitions instead of JavaScript animations?▼

CSS transitions and transforms handle UI state changes, overlay animations, and responsive visual feedback efficiently. Reserve JavaScript for dynamic logic that CSS cannot express, improving performance and maintainability.

How do I structure HTML semantically to support CSS-driven layouts and interactions?▼

Semantic HTML with proper element hierarchy enables CSS selectors like :has() and :checked to target and style components predictably. This foundation lets CSS-first solutions work reliably across responsive and accessible designs.