garbledhamster/mcp.ourstuff.space/ourstuff-theme-adapter
Claude Code and agent skill by garbledhamster/mcp.ourstuff.space
- community
Checking that the SKILL.md file is still in the repository.
Maintains or ports the Ourstuff theme engine, named themes, tokens, accessibility color adapters, and planned YAML theme-adapter workflows. Use when changing APP_THEMES, themeSystem.js, theme-contract.css, colorblind mode, theme tokens, Settings theme switching, scanning themed UI surfaces, or copying the theme engine into another app.
Install
npx vskill@latest install garbledhamster/mcp.ourstuff.space/ourstuff-theme-adapterSKILL.md
The same SKILL.md was published earlier as garbledhamster/mcp.ourstuff.space/ourstuff-theme-adapter.
Ourstuff Theme Adapter
Scope
Use this for theme work in C:\Github\ourstuff.space or when copying its theme engine elsewhere. Read LLM.md and .llm_brain/dev reference/THEMING_DEV.md first.
Source Files
assets/js/themeSystem.js: portable engine.assets/js/app.js: OurstuffAPP_THEMES,THEME_FONT_SETS, Settings wiring, and app-specific theme calls.assets/css/theme-contract.css: portable token contract helpers.assets/css/app.css: Ourstuff selector adapter..github/theme-adapter-coverage.mjs: self-updating adapter coverage checker..llm_brain/dev reference/THEME_ADAPTER_COVERAGE.json: generated component coverage inventory.references/theme-adapter-yaml-v1.md: planned portable YAML interface for scanning UI surfaces and applying theme adapters.
Rules
- Add or edit named Ourstuff themes in
APP_THEMES. - Keep app selectors pointed at tokens instead of hardcoded colors when touching themed UI.
- Use
themePreviewStyle(theme)for chooser swatches. - Keep colorblind mode as the
ourstuff.colorMode.v1adapter with.theme-accessibility-colorblindhooks. - Add app surfaces to the generic theme selector groups before creating special-case theme CSS.
- Use
:root.theme-consolasonly for console-theme behavior the generic tokens cannot express. - Avoid one-note palette regressions; the app should not collapse into one dominant hue family after a theme change.
- Run the coverage checker before and after adapter work. Use its
requiredMissingandhighConfidenceMissinglists as the work queue. - Do not manually edit
.llm_brain/dev reference/THEME_ADAPTER_COVERAGE.json; update CSS, then regenerate it. - The checker should skip rewriting the generated JSON when coverage content is unchanged, so repeated ready checks stay clean.
- Preserve dynamic per-item colors such as theme previews, picker swatches, chart segments, identity colors, and thought/card colors. Exempt them in the checker only when they intentionally render data or candidate-theme colors.
Coverage Flow
- Run
node .\.github\theme-adapter-coverage.mjs --update --strict. - Open
.llm_brain/dev reference/THEME_ADAPTER_COVERAGE.json. - For each required missing class, either point the base rule at existing tokens or add the selector to the generic palette/consolas adapter groups.
- Use
:root.theme-consolasonly when Consolas needs separate contrast, outline, or terminal behavior. - Rerun the checker until
requiredMissingCountandhighConfidenceMissingCountare0.
Porting Flow
- Copy
assets/js/themeSystem.js. - Optionally copy
assets/css/theme-contract.css. - Create a local theme catalog shaped like
APP_THEMES. - Replace literal surface, card, field, tab, selected-row, and hover colors with theme tokens.
- Wire startup and Settings changes through
loadTheme,saveTheme, andapplyThemeVariablesorcreateThemeController.
YAML Adapter Flow
Use this only when the user asks to generalize the Ourstuff theme adapter, scan UI elements, or apply themes with simple YAML.
- Read
references/theme-adapter-yaml-v1.md. - Treat
C:\Github\ourstuff.spaceas the reference implementation for a good theme. - Planned command sequence:
Scan-ThemeSurfaces.ps1 -RepoPath <path> -OutFile <json>New-ThemeAdapterYaml.ps1 -ScanPath <json> -OutFile <yaml>Apply-ThemeAdapter.ps1 -RepoPath <path> -ThemeYaml <yaml>
- Scanner output should capture selector role, size band, nesting depth, theme-token coverage, and likely exemptions.
- YAML should stay simple: tokens, surface groups, selector adapters, exemptions, and verification commands.
Verify
In Settings, switch through changed themes and colorblind mode. Check dashboard controls, cards, forms, selected states, hover states, swatches, text contrast, and the Consolas theme.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/_archive/ourstuff-theme-adapter/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/garbledhamster/mcp.ourstuff.space/ourstuff-theme-adapter)