一键导入
oxfmt
Fast JavaScript/TypeScript formatter compatible with Prettier. Use when formatting JS/TS files, setting up code formatting, or migrating from Prettier.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fast JavaScript/TypeScript formatter compatible with Prettier. Use when formatting JS/TS files, setting up code formatting, or migrating from Prettier.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Render a document, a diagram, or a report as HTML for human visualisation.
Use when writing prose meant to read by humans: PR descriptions, docs, blog drafts, emails, design memos
Guidelines on creating issues on GitHub
Run a premortem on any plan, launch, product, hire, strategy, or decision. Assumes it already failed 6 months from now and works backward to find every reason why. Produces a revised plan with blind spots exposed. MANDATORY TRIGGERS: 'premortem this', 'premortem my', 'run a premortem', 'what could kill this', 'future-proof this', 'stress test this plan', 'what am i missing here', 'find the blind spots'. STRONG TRIGGERS: 'what could go wrong', 'am i missing anything', 'poke holes in this', 'where will this break', 'devil's advocate this'. Do NOT trigger on simple feedback requests, or factual questions. DO trigger when someone has a plan or commitment where the cost of being wrong is high.
Schedule a prompt to fire back at yourself at a future time or on a recurring cron pattern. Use when the user says "remind me", "every N minutes/hours/days", "at HH:MM tomorrow", "check X periodically", or otherwise asks for any time-based action. Triggered by the `schedule` tool plus the `/schedule` command for listing and deletion.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get roasted on their design, or mentions "brainstorm".
| name | oxfmt |
| description | Fast JavaScript/TypeScript formatter compatible with Prettier. Use when formatting JS/TS files, setting up code formatting, or migrating from Prettier. |
High-performance formatter (~30x faster than Prettier) for JavaScript/TypeScript/JSON/CSS and more.
pnpm add -D oxfmt
# Format all files
pnpm oxfmt --write .
# Check formatting without writing
pnpm oxfmt --check .
# Initialize config
pnpm oxfmt --init
Create .oxfmtrc.json:
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80
}
Prettier-compatible options:
semi - Add semicolons (default: true)singleQuote - Use single quotes (default: false)trailingComma - "all" | "es5" | "none"printWidth - Line width limit (default: 100)tabWidth - Spaces per indent (default: 2)useTabs - Use tabs (default: false)Oxfmt-specific:
experimentalSortImports - Sort importsexperimentalTailwindcss - Sort Tailwind classesinsertFinalNewline - Add final newline (default: true)Oxfmt automatically reads .prettierrc. To migrate:
pnpm add -D oxfmt.prettierrc to .oxfmtrc.json"$schema": "./node_modules/oxfmt/configuration_schema.json"prettier from devDependencies"format": "oxfmt --write"{
"scripts": {
"format": "oxfmt --write .",
"format:check": "oxfmt --check ."
}
}