inkwell-retrofit
Apply the Inkwell design system to an existing page or component without creating a competing styling system. Use for styling retrofits, standalone HTML…
от vscarpenter★ 41 звезда на GitHub
Установить inkwell-retrofit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
inkwell-retrofit
Use this skill when an existing page, component, or standalone document needs to adopt Inkwell while preserving its content and behavior.
Good fits
- Re-skin an existing page with Inkwell tokens and primitives.
- Convert a standalone HTML explainer or report to the Inkwell visual system.
- Remove duplicate token declarations or competing CSS shims.
- Align a Tailwind v4 project with Inkwell's token and theme model.
Do not use this skill to redesign the product information architecture or rewrite content. The default move is visual alignment, not content invention.
First read
Before editing, read:
AGENTS.mdfor project-specific styling rules.- Existing Inkwell files under
app/css/andpublic/css/. - Any sibling page already using Inkwell, such as a report or explainer.
- The target page/component end to end so content stays intact.
Core rules
- Reuse existing Inkwell tokens before adding project-specific tokens.
- Do not hardcode hex colors outside token definitions.
- Prefer semantic tokens such as
--ivory,--paper,--slate,--accent,--border, and--backdrop. - Keep one saturated accent unless the page truly needs data-viz hues.
- Use Inkwell primitives where available:
.card,.alert,.tbl,.tldr,.toc,.sec-head,.eyebrow,.badge,.chip-dot. - Preserve the 1.5px hairline convention unless the project explicitly documents a different value.
- Keep typography roles consistent: serif for major headings and editorial callouts, mono for labels/file refs/code, sans for normal body UI.
- Preserve dark-mode behavior through
data-themeand tokens, not per-component ad hoc overrides. - SVG fills and strokes should reference tokens so diagrams theme correctly.
Retrofit steps
- Identify the current styling source: global CSS, inline styles, Tailwind utilities, standalone
<style>, or linked CSS. - Remove competing token systems only when Inkwell fully replaces them.
- Map existing colors, borders, typography, spacing, and callouts to Inkwell tokens and primitives.
- Keep app-specific extensions small, named, and layered after Inkwell imports.
- Replace hardcoded rgba/hex values with semantic tokens.
- Preserve content and IDs unless the task explicitly asks for content edits.
- Verify light and dark modes.
- Verify the page renders standalone if it was standalone before.
Tailwind v4 integration checklist
- Inkwell imports are reachable through the app CSS pipeline.
-
@importstatements appear before other rules. -
@themealiases are defined once. -
[data-theme]dark-mode cascade works. - Old v3 config token duplication is removed only after equivalent v4 tokens exist.
- External consumers still have any needed files under
public/css/.
Verification
Run the smallest meaningful set:
bun typecheckbun lintbun run build- targeted tests for touched components, if any
- browser smoke test for light, dark, and responsive behavior
PR notes
In the PR body, include:
- What visual system changed.
- What content intentionally stayed unchanged.
- Any intentional deviation from default Inkwell guidance.
- Light/dark verification notes.
- A short list of hardcoded style values removed.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл inkwell-retrofit?
Apply the Inkwell design system to an existing page or component without creating a competing styling system. Use for styling retrofits, standalone HTML explainers, docs pages, or Tailwind v4 token alignment.
Как установить скилл inkwell-retrofit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл inkwell-retrofit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…