Logo van Frontend Rails

Frontend Rails

Community
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.

Overzicht

Uitgeversorrycc
Repositoryskills
Skillnaamfrontend-rails
Sterren
35
Forks
1
Meegeleverde bestanden
39
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 39

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door sorrycc op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Frontend Rails in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/sorrycc/skills/tree/master/skills/frontend-rails
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Frontend Rails in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Frontend Rails automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Frontend Rails niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-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.

Waarom Frontend Rails gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Frontend Rails bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Frontend Rails in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/sorrycc/skills/tree/master/skills/frontend-rails. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Frontend Rails gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Frontend Rails gebruiken?

Zoveel als je wilt. Je kunt Frontend Rails gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Frontend Rails gratis?

Ja. Deze skill is door sorrycc op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇