style
Skill2 starsChanged 4 months agoBSD-3-ClauseView on GitHub
Write CSS using the Tideway design system — fixed design tokens (colors, spacing, typography, breakpoints) and strict BEM class naming, in plain CSS with no framework. Use whenever writing or editing CSS in a project that uses Tideway, styling a new component or page, choosing colors/spacing/font sizes, or when the user mentions Tideway, design tokens, or BEM.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- devin-thomas/skillstheir own version, first seen Nov 8, 2026
- justfinethanku/LEJ-output-fixertheir own version, first seen Nov 7, 2026
- tokio-rs/topcoattheir own version, first seen Oct 8, 2026
- gregmos/memoforgetheir own version, first seen Sep 24, 2026
- tiagoyoko/doctailtheir own version, first seen Jul 6, 2026
- flywheel-product/ai-build-skillstheir own version, first seen Jun 19, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- tokio-rs/topcoat★ 6.4ksame name
- gregmos/memoforge★ 38same name
- justfinethanku/LEJ-output-fixer★ 15same name
- flywheel-product/ai-build-skills★ 2same name
- devin-thomas/skills★ 1same name
- shaunburdick/skills★ 1same name
- silverkyoon-Rachel/claude-skills★ 0same name
- tiagoyoko/doctail★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- site/AGENTS.mdAGENTS.md
- site/CLAUDE.mdCLAUDE.md
- migrateSkill
- pruneSkill
- reviewSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
When asked to style something:
- Very specific: line 26
Read references/tokens.md if you haven't in this session.
- Very specific: line 27
Check whether the project already has Tideway CSS (look for a tokens stylesheet or BEM-named classes).
- Very specific: line 28
If this is the project's first Tideway CSS, create a tokens.css declaring the custom properties for the tokens you use, and import it first.
- Distinctive: line 29
Write component styles as one block per component.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tideway: style
Tideway is a design system delivered as a convention: fixed design tokens plus strict BEM, written as plain CSS. There is no build step, library, or runtime — consistency comes entirely from following these rules, so follow them exactly.
Core rules
- Default every value to the scale. Colors, spacing, font sizes, line heights, radii, shadows, and breakpoints are all defined in
references/tokens.md. Read it before writing any CSS. When a design calls for something between two tokens, use the nearer one. This is a strong convention, not a ban: if a value is genuinely off-scale, use the raw value rather than distorting the design to force-fit a token — but do that deliberately, not by defaulting to arbitrary values out of habit. - Reference tokens as custom properties — don't inline their values. Declare the tokens you use in the project's
tokens.cssand writepadding: var(--space-4), notpadding: 1rem. An inlined value satisfies the scale today but severs the link to the token, so it can't be found, audited, or re-themed later. - Reference color through semantic roles, not the palette directly. The palette (
--color-blue-600) is raw vocabulary — a primitive layer. Components should read color from a small set of semantic role tokens (--surface,--text,--border,--accent, …) that map to palette values, never from a--color-*token directly. This indirection helps theming: a project switches to dark mode or rebrands by redefining the role layer alone, without touching a single component — and because the switch lives in the token layer, it never leaks into your selectors. Non-color tokens (spacing, radius, type, breakpoints) don't vary by theme, so use those directly. Seereferences/theming.mdfor the role set and how to wire dark mode. - Every class is strict BEM —
block__element--modifier, no exceptions. One block per component, with all of its CSS kept together. Elements stay flat even when the DOM nests (card__title, nevercard__header__title). A modifier never appears alone in markup; it accompanies its base class (class="card card--featured") and declares only what differs. Blocks never style other blocks' internals — if a nested component needs contextual adjustment, add an element class of the outer block alongside it, carrying layout only. - Selectors stay flat. One class per selector, specificity (0,1,0). No IDs, no styling bare element tags (outside a reset), no chaining classes to win specificity, no
!important— ever. If you feel the need to chain or escalate, you need a modifier instead.
Workflow
When asked to style something:
- Read
references/tokens.mdif you haven't in this session. - Check whether the project already has Tideway CSS (look for a tokens stylesheet or BEM-named classes). Match existing block names and file organization.
- If this is the project's first Tideway CSS, create a
tokens.cssdeclaring the custom properties for the tokens you use, and import it first. - Write component styles as one block per component.
- Media queries use the breakpoint tokens, mobile-first (
min-width).
File organization
Tideway doesn't impose a file layout of its own — it follows whatever convention the project already has:
- One component per file (
Tabs.jsx): give it a matching stylesheet (Tabs.css). Don't merge unrelated blocks into one file just because they're small. - Grouped components (a project that already bundles related components into one file): it's fine to bundle their styles the same way, in one matching stylesheet.
- Plain CSS, no component files to mirror: organize by purpose (
theme.cssfor tokens/roles,layout.css,forms.css) or, if the project has multiple pages, by page. Pick whichever the project already does; default to purpose-based for a new project.
Whatever the split, a block's rules stay together in one place — never spread one component's CSS across multiple files.
Example
.card {
padding: var(--space-6);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
}
.card__title {
font-size: var(--text-lg);
font-weight: var(--font-semibold);
}
.card--featured {
box-shadow: var(--shadow-lg);
}<article class="card card--featured">
<h2 class="card__title">Tideway</h2>
</article>Out of scope
Reviewing existing CSS against these conventions is the review skill; finding unused classes is the prune skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

