OpenParable
Skip to content
← Back to skills

CSS Modules

Development
css-modules

CSS Modules is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

CSS Modules patterns, composition, variables, and build configuration.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/web-development/skills/css-modules/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/css-modules, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

CSS Modules Skill

Expert assistance for scoped styling with CSS Modules.

Capabilities

  • Configure CSS Modules
  • Write scoped styles
  • Implement composition
  • Use CSS variables
  • Handle theming

Usage Pattern

/* Button.module.css */
.button {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  composes: reset from './reset.module.css';
}

.primary {
  composes: button;
  background: var(--color-primary);
  color: white;
}
import styles from './Button.module.css';

<button className={styles.primary}>Click me</button>

Target Processes

  • react-application-development
  • component-styling
  • design-system