atomic-design-molecules

atomic-design-molecules is a skill for Claude Code from punkadillo/figma-code-composer. It costs 31 tokens per session (5,197 once invoked), scanned A, original, MIT.

A guide to building reusable UI groups from basic pieces such as labels, inputs, and buttons. These groups include form fields, search bars, card headers, and similar single-purpose controls.

In plain words
What is it for?
Use it when composing atoms into molecule components such as form fields, search forms, navigation items, pagination controls, and list items.
Why use it?
It gives components a clear size and purpose, making interfaces easier to reuse and keep consistent.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { FormField } from '../FormField'; // Wrong!.

Good fit Use it when composing atoms into molecule components such as form fields, search forms, navigation items, pagination controls, and list items.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/punkadillo/figma-code-composer
agentmods
npx agentmods add skills/punkadillo/figma-code-composer/atomic-design-molecules

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for atomic-design-molecules

README.md
[![agentmods](https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/atomic-design-molecules/github.svg)](https://agentmods.dev/skills/punkadillo/figma-code-composer/atomic-design-molecules)
Your own site
<a href="https://agentmods.dev/skills/punkadillo/figma-code-composer/atomic-design-molecules"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/atomic-design-molecules/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for atomic-design-molecules

Your own site · 80×15
<a href="https://agentmods.dev/skills/punkadillo/figma-code-composer/atomic-design-molecules"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/atomic-design-molecules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,197 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.05197
Opus 5.5 $0.00012 $0.02079
Sonnet 5.5 $0.00006 $0.01039
Haiku 4.5 $0.00003 $0.00520

Measured 3mo ago against content hash a2fd1fde0453, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

atomic-design-molecules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.figma-pipeline/skills/atomic-design-molecules/SKILL.md · 901 lines

How it starts

The opening of the file, as written. The whole thing — 901 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Atomic Design: Molecules

Master the creation of molecule components - functional groups of atoms that work together as a unit. Molecules combine multiple atoms to create more complex, purposeful UI elements.

What Are Molecules?

Molecules are the first level of composition in Atomic Design. They are:

  • Composed of atoms only: Never include other molecules
  • Single purpose: Do one thing well
  • Functional units: Atoms working together for a specific task
  • Reusable: Used across different organisms and contexts
  • Minimally stateful: May have limited internal state for UI concerns

Common Molecule Types

Form Molecules

  • Form fields (label + input + error)
  • Search forms (input + button)
  • Toggle groups (label + toggle)
  • Date pickers (input + calendar trigger)
  • File uploaders (dropzone + button)

Navigation Molecules

  • Nav items (icon + text + indicator)
  • Breadcrumb items (link + separator)
  • Pagination controls (buttons + page indicator)
  • Tab items (icon + label)

Display Molecules

  • Media objects (avatar + text)
  • Card headers (title + subtitle + action)
  • List items (checkbox + content + actions)
  • Stat displays (label + value + trend)

Action Molecules

  • Button groups (multiple buttons)
  • Dropdown triggers (button + icon)
  • Icon buttons (icon + tooltip)
  • Action menus (button + menu items)

FormField Molecule Example

Complete Implementation

// molecules/FormField/FormField.tsx
import React from 'react';
import { Label } from '@/components/atoms/Label';
import { Input, type InputProps } from '@/components/atoms/Input';
import { Text } from '@/components/atoms/Typography';
import styles from './FormField.module.css';

export interface FormFieldProps extends InputProps {
  /** Field label */
  label: string;
  /** Unique field identifier */
  name: string;
  /** Help text below input */
  helpText?: string;
  /** Error message */
  error?: string;
  /** Required field indicator */
  required?: boolean;
}

export const FormField = React.forwardRef<HTMLInputElement, FormFieldProps>(
  (
    {
      label,
      name,
      helpText,
      error,
      required = false,
      id,
      className,
      ...inputProps
    },
    ref
  ) => {
    const fieldId = id || `field-${name}`;
    const helpTextId = helpText ? `${fieldId}-help` : undefined;
    const errorId = error ? `${fieldId}-error` : undefined;

    const describedBy = [helpTextId, errorId].filter(Boolean).join(' ') || undefined;

    return (
      <div className={`${styles.field} ${className || ''}`}>
        <Label htmlFor={fieldId} required={required} disabled={inputProps.disabled}>
          {label}
        </Label>

        <Input
          ref={ref}
          id={fieldId}
          name={name}
          hasError={!!error}
          aria-describedby={describedBy}
          aria-required={required}
          {...inputProps}
        />

        {helpText && !error && (
          <Text id={helpTextId} size="sm" color="muted" className={styles.helpText}>
            {helpText}
          </Text>
        )}

        {error && (
          <Text id={errorId} size="sm" color="danger" className={styles.error} role="alert">
            {error}
          </Text>
        )}
      </div>
    );
  }
);

FormField.displayName = 'FormField';

Read the full file on GitHub · 901 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 901 lines · 31 tokens per session scan A a2fd1fde0453

Subscribe to this mod's changes

atomic-design-molecules is a skill published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 3mo ago), licensed MIT. It adds 31 tokens to every session and 5,197 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

atomic-design-molecules compared with skills from other repositories

atomic-design-molecules next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
atomic-design-moleculespunkadillo/figma-code-composerSkill33mo agoMITA31Claude Code
worker-integrationruvnet/rufloSkill83kyesterdayMITA14Claude Code
revdiff-planumputun/revdiffSkill976yesterdayMITA84Claude Code
cog-knowledge-consolidationa5c-ai/babysitterSkill1.9k1mo agoMITA19Claude Code
strict-tdda5c-ai/babysitterSkill1.9k1mo agoMITA34Claude Code
plan-implementationa5c-ai/babysitterSkill1.9k1mo agoMITA29Claude Code
security-reviewa5c-ai/babysitterSkill1.9k1mo agoMITA24Claude Code