/config:use-shared-configfrom config
Use when the user asks to "set up linting", "add configs to this project", "why is Biome erroring", or otherwise needs @dnunez24/config wired into a repository or a rule relaxed correctly.
Ships in config. 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.
None: SKILL.md is the whole skill.
pnpm dlx @dnunez24/config init
Detects the project's context from package.json (node, bun, web, react, next, or astro) and writes biome.jsonc, tsconfig.json, .editorconfig, .rumdl.toml, .vale.ini, lefthook.yml, .commitlintrc.json, knip.ts, .syncpackrc.js, and (when the corresponding tool is already a dependency) vitest.config.ts / playwright.config.ts.
Flags: --layers <csv> to override detection, --dry-run to preview, --force to rewrite non-managed-region files, --prose <house|full|none>.
| Layer | Pick this when |
|---|---|
node | A library or service running on the Node.js runtime |
bun | A Bun-first project |
web | Any browser-facing project, no framework assumed |
react | A React project |
next | A Next.js App Router project |
astro | An Astro project (experimental Biome .astro support) |
extendsBiome 2.5.10 does not resolve transitive extends.
A config's own extends field is ignored when that config is itself reached via another config's extends array (verified against the published binary; tracked upstream as biomejs/biome#3950 / discussion #8257).
A single-entry extends: ["@dnunez24/config/biome/react"] silently drops every rule react.jsonc inherits from web.jsonc and base.jsonc.
No error and weaker linting.
Always list the full chain, base-first:
{
"extends": [
"@dnunez24/config/biome/base",
"@dnunez24/config/biome/web",
"@dnunez24/config/biome/react"
]
}
config init generates this automatically.
If a biome.jsonc already exists with a single-entry extends, that is a bug to fix, not a style choice.
Never a blanket disable.
Never a // biome-ignore without a reason string.
Add a path-scoped entry to the consumer's own overrides array, with a comment giving the reason:
{
"overrides": [
{
"includes": ["src/legacy/**"],
"linter": {
// Legacy module predates the null-safety migration; tracked in JIRA-1234.
"style": { "noNonNullAssertion": "off" }
}
}
]
}
Facts an agent needs to get this right:
overrides arrays concatenate across extends -- parent entries first, then the
consumer's own."correctness": "error").What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub dnunez24/mi-casa --plugin config