/frontend:js-configfrom frontend
Provides actionable guidance for JS/TS toolchain config: ESLint/Prettier conflict resolution, config package decisions, and Svelte/Vite/Astro config ownership.
Ships in frontend. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Actionable decisions for JS/TS toolchain configuration.
pnpm exec eslint-config-prettier src/some-file.jseslint-config-prettier. See eslint-prettier.md for flat config setup.eslint-config-prettier?recommended configs enable zero formatting rulesairbnb, standard) enable many, so you need itpnpm exec eslint-config-prettier src/some-file.jseslint-config-prettier as unusedeslint.config.js, it has zero effect. Safe to remove.| Package | What it does | When to use |
|---|---|---|
eslint-config-prettier | Turns OFF ESLint formatting rules that clash with Prettier | When ESLint config has formatting rules active |
eslint-plugin-prettier | Runs Prettier inside ESLint as a linting rule | Rarely, slower, worse editor DX. Prefer running Prettier separately. |
svelte.configs.prettier | Built into eslint-plugin-svelte, turns off Svelte-specific formatting rules | When using eslint-plugin-svelte with Prettier |
Full research, flat config code examples, and sources: eslint-prettier.md
Three config files touch Svelte/Vite behavior. Know which one owns what.
| File | What goes here | NOT here |
|---|---|---|
svelte.config.js | Svelte compiler options, preprocessors (vitePreprocess), inspector toggle | Vite plugins |
astro.config.mjs under vite.plugins | Vite plugins that transform imports (SVG-as-component, YAML, devtools) | Svelte compiler options |
vite.config.js | Only in pure Vite/SvelteKit projects. Astro owns Vite config via astro.config.mjs |
@poppanator/sveltekit-svg) to an Astro projectGoes in astro.config.mjs under vite.plugins, NOT in svelte.config.js:
// astro.config.mjs
import svg from '@poppanator/sveltekit-svg'
export default defineConfig({
vite: {
plugins: [svg()]
}
})
@poppanator/sveltekit-svg works with any Vite+Svelte project despite the name. It transforms import Icon from './icon.svg' into Svelte components.
Goes in svelte.config.js under vitePlugin, NOT in astro/vite config:
// svelte.config.js
export default {
vitePlugin: { inspector: true }
}
Goes in svelte.config.js via vitePreprocess:
import { vitePreprocess } from '@astrojs/svelte'
export default { preprocess: vitePreprocess() }
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fubits1/svelte-skills --plugin frontend13 skills in this plugin
/code-styleCode style rules for all languages: variable naming, brace style, HTML data attributes, markup, forms and locale formatting, CSS nesting. Auto-invoke when editing code files, writing new functions or markup, or naming variables./code-style-cssUse when editing CSS, SCSS, or style blocks in .svelte files. Covers CSS-specific code style rules. Auto-invoke when writing or modifying styles./commentsComment rules for every language: which comments survive, format, protected comments, placement, TODOs. Use when writing, editing, moving or deleting comments, docstrings or TODOs. Auto-invoke when editing code files.Other plugins' skills for the same job