Skip to content
cccskills
FreePublished on GitHub

formax-web-style-system

Use for all frontend and web UI tasks by default to apply a business-agnostic desktop web visual style system with medium-strength guardrails; if an existing design system is present, follow it first and use this skill only as a style harmonizer.

The English summary is being prepared. Showing the original description.

See how to install

Files included (6)

  • SKILL.md3.5 KB
  • references/anti-patterns.md1.8 KB
  • references/component-tone.md1.7 KB
  • references/layout-patterns.md2.0 KB
  • references/style-doctrine.md2.6 KB
  • references/token-blueprint.md2.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Formax Web Style System

Goal

Apply a business-agnostic visual style system for web interfaces.

Enforce a calm, desktop-grade aesthetic with strong readability, token-first styling, and clear interaction hierarchy.

Do not introduce product workflow assumptions, domain copy assumptions, or business IA decisions.

Trigger Contract

Use this skill by default for all frontend and web UI tasks.

If the task is not frontend/UI work, do not apply this skill.

If the repository or task provides an existing design system, brand guide, or component library:

  • Follow the existing system first.
  • Use this skill only to harmonize tone, spacing rhythm, and state clarity.
  • Never override explicit local design constraints.

Workflow

  1. Read references/style-doctrine.md first to lock the visual direction.
  2. Read references/token-blueprint.md to define CSS variable layers before proposing UI details.
  3. Read references/layout-patterns.md when composing desktop layout, density, and responsive fallback.
  4. Read references/component-tone.md when styling components, states, and interaction emphasis.
  5. Read references/anti-patterns.md as a final rejection checklist before returning output.
  6. Apply all CRITICAL STYLE OVERRIDES from the references as mandatory constraints.

For small styling requests, keep output concise but still include token strategy and state clarity.

Formax Overrides (Mandatory for CSS Rework)

When the task touches CSS in packages/web-reference-react/**, do this before editing:

  1. Read .codex/skills/formax-web-css-convergence-workflow/SKILL.md.
  2. Lock a pre-edit intake contract (target model, non-goals, ownership boundary, acceptance checks).
  3. Use single-axis passes (geometry -> color -> interaction), avoid mixed multi-axis edits.
  4. Validate with:
    • bun run test -- src/App.test.tsx (in packages/web-reference-react)
  5. If and only if the task includes transparency/window layering:
    • Read docs/contracts/web/window-transparency-construct.md
    • Run bun run test:e2e -- e2e/window-transparency.evidence.spec.js --project=chromium (in packages/web-reference-react)

Output Contract

For each frontend/web UI response, always include these sections (explicit headings):

  1. visual_direction
  2. tokens
  3. layout
  4. component_tone
  5. responsive_notes

Inside tokens, provide CSS variable categories at minimum for:

  • color
  • typography
  • spacing
  • radius
  • shadow
  • motion

Prefer style system guidance and representative snippets over large hard-coded CSS dumps.

Guardrails

Never do the following:

  • Assume product business flows, user journeys, or domain-specific copy.
  • Default to purple-first palettes when not requested.
  • Default to dark-mode-first styling when not requested.
  • Produce generic template-like SaaS visuals without distinct visual intent.
  • Hard-code ad-hoc colors and spacing without a token layer.
  • Copy screenshot pixels exactly; preserve mood, not exact geometry.
  • Replace required glass-material sidebars with opaque flat fills.
  • Use bordered inputs in default state when soft-filled inputs are specified.

Always keep medium constraint strength:

  • Strong enough to maintain consistent visual quality.
  • Flexible enough to adapt to different frontend tasks and local systems.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use when a Formax repository task is non-trivial and you should analyze goals, non-goals, boundaries, data/type/interface impact, contract impact, test strategy, and whether an xhigh subagent is actually needed before writing a todo or code.

The English summary is being prepared. Showing the original description.

yusifeng/formax194Updated Jul 25, 2026

Use when adding or changing any Approval prompt/presenter.

The English summary is being prepared. Showing the original description.

yusifeng/formax194Updated Jul 25, 2026

Use when implementing or extending /config (storage, prompt injection, request params, UI-only toggles) with tests and strict UI parity.

The English summary is being prepared. Showing the original description.

yusifeng/formax194Updated Jul 25, 2026

Use when working on Formax code changes and you need a disciplined dev loop: keep a single mainline task, avoid scope drift, run only targeted tests (no coverage), avoid partial staging (MM), run mandatory review before commit, include an incremental optimization check, and keep commits small and reviewable.

The English summary is being prepared. Showing the original description.

yusifeng/formax194Updated Jul 25, 2026

Use when implementing/debugging Ctrl+O Expanded Transcript (second view) and thinking persistence in the REPL.

The English summary is being prepared. Showing the original description.

yusifeng/formax194Updated Jul 25, 2026

Use when implementing or debugging Formax permissions/policy/approval behavior and UI (allow/ask/deny rules, workspace boundaries, approval prompts, and /permissions overlay parity with Claude Code).

The English summary is being prepared. Showing the original description.

yusifeng/formax194Updated Jul 25, 2026

See all skills by yusifeng

Report a problem with this skill