Logo vun Frontend Rails

Frontend Rails

Communautéit
sorrycc
frontend-rails

Build frontend pages (landing pages, app screens and dashboards, HTML reports) that look right and feel right in use, or audit and polish an existing one. Pick a ready-made theme, build with its tokens and components, then let a browser script use the page (hover, press, Tab, every view state, long content) and tell you what to fix. Use when asked to make, redesign, review or polish a web page, UI, dashboard, or HTML artifact.

Iwwersiicht

Editeursorrycc
Repositoryskills
Skill-Nummfrontend-rails
Stären
35
Forks
1
Matgeliwwert Fichieren
39
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 39 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum sorrycc op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Frontend Rails an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/sorrycc/skills/tree/master/skills/frontend-rails
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sorrycc/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/frontend-rails .claude/skills/frontend-rails
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Frontend Rails an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Frontend Rails automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Frontend Rails net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

frontend-rails

You don't have to invent a look, and you don't have to guess whether the page feels right. Pick a theme, use its values, build, then let the gate use the page and tell you what to fix.

Order of importance, always: the page solves the problem, then it is easy to use, then it looks good. Polish never covers a broken interaction.

SKILL_DIR below means the folder this file is in.

Which job is this?

  • Build a new page: follow steps 1 to 10.
  • Audit or polish a page that already exists, in any stack: read polish.md instead. It uses the same gate with --audit.

1. Read the project memory

If the project has a DESIGN.md, read it first. It names the theme, the main task, the words the product uses, and what the user has rejected. Don't bring back anything listed as rejected.

2. Pick the page type

  • landing: marketing page, home page, product page
  • app: dashboard, admin, settings, any screen with data or forms
  • report: HTML report, doc, write-up, comparison, artifact

Read archetypes/<type>.md. Write down the one main task a first-time user comes to do. Step 8 tests it.

3. Pick a theme

Read themes/INDEX.md and pick the theme that fits the product. If DESIGN.md already names one, use that. Then read themes/<name>/theme.md.

Copy into the project:

  • themes/<name>/tokens.css → tokens.css
  • components/primitives.css → primitives.css

You can change token values to fit the brand (for example, set --accent to the brand color). You can add a token if you need one. Keep the names and put all values in tokens.css. In a Tailwind project, see the mapping in polish.md.

4. Build

  • In <head>: the font <link> from the top of tokens.css, then tokens.css, then primitives.css, then your own CSS.
  • Use var(--…) for every color, font, font size, spacing, radius, and duration.
  • Use the classes in components/usage.md before writing new CSS. Menus, dialogs, drawers, toasts, tooltips and switches are in there, already timed and keyboard-ready. Don't hand-roll them.
  • App screens declare their view states in the markup (archetypes/app.md). The gate flips through them.
  • Read copy.md before writing any text. Write real copy. No lorem ipsum.

5. Motion (only if the page needs it)

Read motion/motion.md. It starts with whether a thing should move at all, which depends on how often people see it. Add motion after the page works without it.

6. Run the gate

First time only: cd SKILL_DIR/gate && npm install

node SKILL_DIR/gate/run.mjs page.html --type landing|app|report [--dark]

The gate looks at the page and then uses it. Each line it prints says what's wrong and where.

RulesWhat the gate does
ROpens the page at 1440, 768 and 390 px and checks tokens, contrast, tap targets, overflow, type sizes, shadows
MChecks motion: durations, easing, what animates, how often it is seen, and a second load with reduced motion
SFlips through every declared view state, screenshots each, and checks nothing around them moves
KBreak pass. Doubles the labels, makes the data long, and checks the layout holds
BHovers and presses every control, clicks what opens, presses Escape, Tabs through the page, scrolls
CReads the copy: one verb per action, plurals, stale dates, nameless icon buttons, unlabelled inputs

Screenshots land in .gate/ next to the page: one per width, one per state, break-*.png, 1440-nocopy.png (secondary text hidden) and motion-*.png (six frames of each open and close).

  • Fix every error. Fix warnings when it's easy.
  • Run it again. Stop after 3 rounds.
  • If the same error is still there after 2 fixes, go to step 9 instead of trying a third time.
  • If a rule is wrong for this project, add ignore: R07 (optionally with a selector, like ignore: R07 .pricing) to the gate block in DESIGN.md and write down why.

--no-interact and --no-break skip those passes when you only changed colors or type.

7. Look at the screenshots

Start a subagent with fresh context. Give it only the brief and the screenshot paths from .gate/, not the code. Ask it the questions in gate/vision-questions.md for this page type. Fix every answer that points to a problem, then run the gate once more.

8. Walk the main task as a first-time user

Start another fresh subagent and follow gate/walkthrough.md. It gets the main task from step 2 and a browser it drives through gate/walk.mjs. It never sees the code. Fix every place it hesitated or got stuck. Skip this step for reports.

9. When it still isn't right, show three

If two fixes didn't settle something, or the user says it feels off and can't say why, stop iterating on one version. Build three variants that differ in one clear way each, then:

node SKILL_DIR/gate/compare.mjs a.html b.html c.html --type app

It writes .gate/compare/compare.html with the three side by side at desktop and phone width, with gate results. Show that to the user and let them pick.

10. Update DESIGN.md

Create it from templates/DESIGN.md if it doesn't exist. Write down the theme, the tokens you changed, the main task, and the verbs the product uses.

Every time the user rejects something, record it twice. Once in words under Rejected, and once as a line in the gate block so the gate fails the next page that does it:

  • a CSS effect → ban: backdrop-filter or ban: text-transform: uppercase
  • a wording → ban-text: Get started
  • a second word for an action → verb: delete
  • motion on something used all day → freq: constant .command-palette

In your final message, list what you changed as a table with columns Before, After, Why.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Frontend Rails?

Build frontend pages (landing pages, app screens and dashboards, HTML reports) that look right and feel right in use, or audit and polish an existing one. Pick a ready-made theme, build with its tokens and components, then let a browser script use the page (hover, press, Tab, every view state, long content) and tell you what to fix. Use when asked to make, redesign, review or polish a web page, UI, dashboard, or HTML artifact.

Firwat Frontend Rails op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Frontend Rails besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Frontend Rails an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/sorrycc/skills/tree/master/skills/frontend-rails an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Frontend Rails benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Frontend Rails benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Frontend Rails domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Frontend Rails gratis?

Jo. De Skill gëtt vum sorrycc ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇