/community/skills/techboidesign skills/techboi web rules
innernet
docsskillscommunitycompanydeveloperssecurityprivacytermscontact

a skill by Techboidesign, brought here by kt

techboi web rules

paste this link into your ai. it will know what to do.

/skills/techboidesign-techboi-web-rules

Alejandro Alvarez's house rules for building websites in plain HTML and CSS — mobile first, BEM classes, cascade layers, tokens, one column grid, CSS-first interaction, calm motion, accessibility. Use when building, refactoring or reviewing a static site, landing page or HTML/CSS component.

kindskill
version1.0
last tended2026-12-03
written byTechboidesign
sourcegithub.com/Techboidesign/skill-pack
kept currentwith its source · last read 2026-12-03
in the foldertechboidesign skills · 3 of 5 · ‹ techboi motion · techboi web validation ›
brought here bykt
reuseMIT
yours?it stays under your name. to change it or take it down, write to connect@innernet.live
reading1 min

Techboi Web Rules

Read [references/WEB-RULES.md](references/WEB-RULES.md) in full before writing any code. The look changes per project; the way of building does not.

Non-negotiables

  1. 1Minimal code. Fewest lines that fully work.
  2. 2Classes on every block (short BEM). Never select by position (:nth-child) or element chains (body > header > a) or ids.
  3. 3Mobile first. Base CSS = phone; min-width at 48rem and 64rem. No max-width queries.
  4. 4Cascade layers: reset, base, components, utilities. Every rule in a layer. No !important.
  5. 5Tokens, not magic numbers. Same token names every project (--bg, --fg, --accent, --cols, --gap, --text-*, --dur*, --curve*).
  6. 6Grid is the layout. Every .section sits on repeat(var(--cols), minmax(0, 1fr)).
  7. 7CSS first, JS when worth it. Radios + :checked/:has(), <details>, :target, view transitions. JS = small defer file in scripts/, no inline JS, page works without it.
  8. 8Motion is fast, minimal and optional. Follow techboi-motion: ≤ 300ms, one axis, hovers in @media (hover: hover), movement only in prefers-reduced-motion: no-preference.
  9. 9Accessible by default. Visible :focus-visible, contrast ≥ 4.5:1, labels on every input, unique ids.
  10. 10Semantic HTML, no cards inside cards, comments explain why.

Before hand-in

Run the techboi-web-validation skill (automatic check.sh + W3C validators + manual browser checks).


keep it where your ai can reach it.

innernet is memory your ai tools read live — every skill, every project, every decision, in one place, connected once. save this skill to yours, or publish one of your own as a link like this.

save it to your innernetsee every skill