Логотип Frontend Rails

Frontend Rails

Спільнота
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.

Огляд

Видавецьsorrycc
Репозиторійskills
Назва навичкиfrontend-rails
Зірки
35
Форки
1
Файли в пакеті
39
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 39

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: sorrycc. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Frontend Rails у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/sorrycc/skills/tree/master/skills/frontend-rails
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Frontend Rails в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Frontend Rails, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Frontend Rails не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Frontend Rails у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Frontend Rails — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Frontend Rails у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/sorrycc/skills/tree/master/skills/frontend-rails. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Frontend Rails?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Frontend Rails?

Зі скількома забажаєте. У TypingMind ви можете використовувати Frontend Rails із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Frontend Rails?

Так. На GitHub цю навичку публікує sorrycc за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇