init-oxc
Set up oxlint and oxfmt in a JavaScript/TypeScript project
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Set up oxlint and oxfmt in a JavaScript/TypeScript project
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Run two heterogeneous fresh-context Herdr reviewers against both code quality and a governing plan, then synthesize evidence-backed feedback. Use when the user asks for a dual or adversarial review, code-versus-plan verification, or independent Claude and Pi reviewers before deciding whether a PR needs changes.
Control herdr from Codex. Use when the user says "use Herder" or asks to inspect, focus, prompt, spawn, or manage herdr workspaces, tabs, panes, or agents from a Codex session, without deciding whether they are inside or outside herdr.
Use when the user explicitly asks Codex Desktop or another shell outside Herdr to create, inspect, prompt, follow up with, or monitor Herdr agent tabs, or when the `codex-herdr` router skill hands off external control.
Fan out a user-provided task list into one reviewed PR per task through Herdr, then shepherd the PR fleet through CI and review without merging. Use when the user asks to fan out PRs, parallelize backlog items into separate PRs, or autonomously drive multiple agent-owned PRs to green.
Inspect and import content into my self-hosted AutoCaliWeb library. Use for catalog status, search, recent imports, shelves, metadata, or importing an ebook, comic, PDF, or audiobook.
Correct-by-construction TypeScript standards. Use for TypeScript engineering or when another skill needs the user's coding standards.
| name | init-oxc |
| description | Set up oxlint and oxfmt in a JavaScript/TypeScript project |
Set up oxlint for linting and oxfmt for formatting in this project.
Detect package manager from lock file (bun.lock/pnpm-lock.yaml/package-lock.json)
Install dev dependencies:
[bun/pnpm/npm] add -D oxlint oxfmt
Create .oxlintrc.json (ask about React support first):
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn"],
"env": {
"browser": true,
"node": true,
"es2022": true
},
"ignorePatterns": ["dist/**/*", "node_modules/**/*"],
"categories": {
"correctness": "error"
},
"rules": {
"no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "off",
"no-param-reassign": "error",
"prefer-as-const": "error",
"default-param-last": "error",
"@typescript-eslint/no-inferrable-types": "error",
"prefer-arrow-callback": "error",
"one-var": ["error", "never"]
}
}
If React: add "react" to plugins and add:
"react/self-closing-comp": "error",
"react-hooks/exhaustive-deps": "error",
"react-hooks/rules-of-hooks": "error"
Create .oxfmtrc.json:
{
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"endOfLine": "lf",
"ignorePatterns": [
"**/*.css",
"**/*.json",
"**/*.yaml",
"**/*.yml",
"**/*.html",
"**/*.md"
]
}
Add scripts to package.json (detect src directory structure first):
"lint": "oxlint src/",
"lint:fix": "oxlint --fix src/",
"format": "oxfmt --check src/",
"format:fix": "oxfmt src/"
Summary: List created files and added scripts.
Ask for confirmation before modifying package.json.