一键导入
codex-reviewer
只要用户提到 codex、Codex CLI、codex exec、codex resume,或者想用 AI 命令行工具分析、重构、自动编辑代码,就使用此技能。也适用于"继续上次的 codex 会话"、"让 codex 帮我改代码"等场景。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
只要用户提到 codex、Codex CLI、codex exec、codex resume,或者想用 AI 命令行工具分析、重构、自动编辑代码,就使用此技能。也适用于"继续上次的 codex 会话"、"让 codex 帮我改代码"等场景。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | codex-reviewer |
| description | 只要用户提到 codex、Codex CLI、codex exec、codex resume,或者想用 AI 命令行工具分析、重构、自动编辑代码,就使用此技能。也适用于"继续上次的 codex 会话"、"让 codex 帮我改代码"等场景。 |
gpt-5.5,不要再询问或推荐其他模型。medium。延迟敏感任务可用 low;复杂、多步、工具密集的编码任务可用 high;只有最难的异步代理任务或边界评测才用 xhigh。--sandbox read-only;需要本地修改用 --sandbox workspace-write --full-auto;需要网络或广泛权限用 --sandbox danger-full-access --full-auto。-m gpt-5.5-c model_reasoning_effort=<low|medium|high|xhigh>--sandbox <read-only|workspace-write|danger-full-access>-C <DIR>(需要切换目录时)--skip-git-repo-check"你的提示词"(最后一个位置参数)--skip-git-repo-check。codex exec 命令末尾加 2>/dev/null 以屏蔽思考 token(stderr)。只有用户明确要求查看,或需要调试时才去掉。随时可以说 "codex resume" 继续这个会话,或者让我继续分析和修改。| 场景 | 命令 |
|---|---|
| 只读分析 | codex exec -m gpt-5.5 -c model_reasoning_effort=medium --sandbox read-only --skip-git-repo-check "提示词" 2>/dev/null |
| 本地写文件 | codex exec -m gpt-5.5 -c model_reasoning_effort=medium --sandbox workspace-write --full-auto --skip-git-repo-check "提示词" 2>/dev/null |
| 需要网络或广泛权限 | codex exec -m gpt-5.5 -c model_reasoning_effort=high --sandbox danger-full-access --full-auto --skip-git-repo-check "提示词" 2>/dev/null |
| 切换到其他目录 | codex exec -m gpt-5.5 -c model_reasoning_effort=medium -C <DIR> --sandbox read-only --skip-git-repo-check "提示词" 2>/dev/null |
继续时通过 stdin 传入新提示词:
echo "新的提示词" | codex exec --skip-git-repo-check resume --last 2>/dev/null
resume 会自动沿用原会话的模型、推理力度和沙箱设置,不要再传入配置标志,除非用户明确要求更换。
根据 OpenAI 的 gpt-5.5 官方提示词指南,提示词应短、目标明确,避免把旧模型需要的过程型脚手架原样搬过来。
示例提示词骨架:
你在 <项目目录> 工作。目标:<要完成的结果>。
约束:
- 只改与目标直接相关的文件
- 复用现有模式,不新增不必要抽象
- 不处理无关历史问题
成功标准:
- <可验证标准 1>
- <可验证标准 2>
验证:
- 修改后运行 <具体命令>
- 如果无法运行,说明原因并给出下一步可执行检查
输出:
- 简要说明改了什么
- 列出验证结果
- 列出仍需用户处理的阻塞项
Codex 由 OpenAI 模型驱动,有自己的知识截止日期和局限性。把 Codex 当同事,不是权威。
echo "这里是 Claude Code,我对 [X] 有不同看法,原因是 [依据]。你怎么看?" | codex exec --skip-git-repo-check resume --last 2>/dev/null
codex --version 或 codex exec 非零退出时,停下来报告,等用户指示再重试。codex --help 获取最新参数列表和用法说明。--full-auto、--sandbox danger-full-access、--skip-git-repo-check)前,先在回复中征得用户同意,除非已经授权过。Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the `cacheComponents` flag, work through a flood of blocking-prerender / instant validation errors, run the `cache-components-instant-false` codemod, or decide between opting routes out with `export const instant = false` and fixing them in place.
Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines /_next/mcp (Next.js's view) with agent-browser (the browser's view). Requires a running `next dev`.
Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.
Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.
UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, and check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, and mobile app. Elements: button, modal, navbar, sidebar, card, table, form, and chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, and flat design. Topics: color systems, accessibility, animation, layout, typography, font pairing, spacing, interaction states, shadow, and gradient. Integrations: shadcn/ui MCP for component search and examples.
所有联网操作必须通过此 skill 处理,包括:搜索、网页抓取、登录后操作、网络交互等。 触发场景:用户要求搜索信息、查看网页内容、访问需要登录的网站、操作网页界面、抓取社交媒体内容(小红书、微博、推特等)、读取动态渲染页面、以及任何需要真实浏览器环境的网络任务。