Claude Code × Codex 開發代理技能庫
50+ 篇精選的 Claude Code 與 OpenAI Codex 實戰技法,依主題分區整理:從 CLAUDE.md/AGENTS.md 起步設定、subagents 子代理、hooks 自動化、Skills/MCP 客製,到規劃/TDD/除錯/重構工作流與 Codex 專門技巧。原創技法 + 開源策展(Anthropic/OpenAI/GitHub 官方與高星 MIT 來源,皆附出處授權)。
- 01
Editor note起步設定 · CLAUDE.md / AGENTS.md
TUTORIAL免費TUTORIAL/Claude Code2026-06-08Claude Code CLAUDE.md Generator: Set It Up Once, Not Every Session
Has Claude Code scan your repo and produce a tight, verifiable CLAUDE.md project memory file under 200 lines—covering build/test/lint commands, directory structure, conventions, and prohibitions—while routing anything that doesn't belong there into skills or path-scoped rules instead.
SAMPLE# CLAUDE.md — LUVAI 股票分析後端 · ## Commands · - Install: `pnpm install` · - Dev: `pnpm dev` · - Typecheck (run before declaring done): `pnpm tsBeginnerRead - 02
Editor note起步設定 · CLAUDE.md / AGENTS.md
TUTORIAL免費TUTORIAL/OpenAI Codex2026-06-08Codex AGENTS.md Generator: Turn Project Rules into an Instruction File Codex Understands
Have the agent interview you about your project, then produce a structured, no-fluff AGENTS.md that spells out build/test commands, code style, commit conventions, and off-limits areas in one shot — auto-loaded every time work starts.
SAMPLE# AGENTS.md · ## Project overview · luvai-stock-app — a Taiwan-equities analytics site (technical + institutional flow + AI). Next.js 15 (ApBeginnerRead - 03
Editor note起步設定 · CLAUDE.md / AGENTS.md
TUTORIAL免費TUTORIAL/OpenAI CodexOpenAI·2026-06-08OpenAI Codex's AGENTS.md: Rules for AI Written by a Real Large Project
A breakdown of the AGENTS.md actually in use in OpenAI's official codex repository — see how a project with millions of lines of code writes team conventions like formatting, testing, commits, module size limits, and API naming into an instruction file that an AI agent can understand and follow, plus a Traditional Chinese adaptation template you can apply directly to your own project.
IntermediateRead - 04
Editor note起步設定 · CLAUDE.md / AGENTS.md
TUTORIAL免費TUTORIAL/OpenAI CodexOpenAI (agents.md)·2026-06-08The AGENTS.md Starter Template: A Minimal File Any AI Agent Can Understand
The AGENTS.md file from the official agents.md standard project itself, demonstrating what a 'minimal but complete' agent rules file looks like — telling AI to use the dev server instead of building during development, restart after dependency changes, and which commands run lint/test/build — with a directly reusable template.
BeginnerRead - 05
Editor note起步設定 · CLAUDE.md / AGENTS.md
TUTORIAL免費TUTORIAL/OpenAI CodexIschca·2026-06-08AGENTS.md Starter Kit: Minimal and Advanced Templates for Codex and Any Agent
Two AGENTS.md templates drawn from Ischca/awesome-agents-md (CC0): "minimal" is a five-line checklist you can run with right away, and "advanced" covers five sections — environment, testing, conventions, safety, and example tasks. They let an AI coding agent know the rules the moment it enters your project.
BeginnerRead - 06
Editor note起步設定 · CLAUDE.md / AGENTS.md
TUTORIAL免費TUTORIAL/Claude Code2026-06-08Claude Code Slash Command Designer: One-Click Custom /commands
Turns the checklist or multi-step process you re-paste every time into a custom slash command (.claude/commands/<name>.md, or the newer .claude/skills), with correct frontmatter, $ARGUMENTS parameters, live context pre-injected via `!cmd` (git diff, PR content), and permissions scoped down with allowed-tools.
SAMPLEChosen format: .claude/commands/summarize-changes.md (lightweight, no supporting files needed) · --- · description: Summarize uncommitted chIntermediateRead - 07
Editor noteSubagents 子代理
TUTORIALPROTUTORIAL/Claude Code2026-06-08Claude Code Subagent Fan-Out: Splitting Big Tasks Into Parallel Subagents
Has Claude Code break a large task into several independent, parallel subagents (each with its own context, restricted tools, and an assignable model), planning how to fan the work out, defining each subagent's responsibility boundaries and reporting format, and producing reusable .claude/agents subagent definition files when needed.
SAMPLEPhase 1 拆解(節錄): · - Lane A 研究 auth 模組(可平行,read-only)→ 回報:發現的問題清單 + 檔案:行號 · - Lane B 研究資料層(可平行,read-only)→ 回報:同上 · - Lane C 研究 API 層(可平行,readAdvancedRead - 08
Editor noteSubagents 子代理
TUTORIAL免費TUTORIAL/Claude Codewshobson (Seth Hobson)·2026-06-08wshobson's Flagship code-reviewer Subagent: A Senior Reviewer Inside Claude Code
Installs the flagship code-reviewer subagent from wshobson/agents (36k stars, MIT license) into Claude Code, giving you an Opus-powered senior reviewer specialized in security, performance, and maintainability that automatically takes over review after every commit.
IntermediateRead - 09
Editor noteSubagents 子代理
TUTORIAL免費TUTORIAL/Claude CodeSeth Hobson (wshobson)·2026-06-08Claude Code Security Auditor Subagent: OWASP Top 10 Vulnerability Scans
Installs a focused 'security auditor' subagent into Claude Code that reviews code and architecture file-by-file through an OWASP Top 10 lens as you develop features, classifying vulnerabilities by severity with directly-applicable remediation suggestions.
IntermediateRead - 10
Editor noteSubagents 子代理
TUTORIALPROTUTORIAL/Claude CodeSeth Hobson (wshobson)·2026-06-08Claude Code Backend Architect Subagent: Contract-First API Design
Installs a senior 'backend architect' subagent into Claude Code that uses contract-first design and domain-driven design to draw service boundaries, design REST/GraphQL/gRPC APIs, and build resilience and observability into the architecture from day one.
AdvancedRead - 11
Editor noteSubagents 子代理
TUTORIAL免費TUTORIAL/Claude CodeSeth Hobson (wshobson)·2026-06-08Claude Code Performance Engineer Subagent: Bottlenecks to Optimizations
Installs a dedicated 'performance engineer' subagent into Claude Code that profiles code you've just written, finds bottlenecks like N+1 queries, memory leaks, and slow APIs, classifies them by impact, and provides before/after optimization recommendations with benchmark estimates.
IntermediateRead - 12
Editor noteSubagents 子代理
TUTORIAL免費TUTORIAL/Claude CodeVoltAgent·2026-06-08VoltAgent Subagent Directory: Choosing and Installing Claude Code Subagents
Uses VoltAgent/awesome-claude-code-subagents (154+ subagents, 10 categories, MIT license) as a curated directory for picking the right subagent and installing it into Claude Code's .claude/agents/ using the standard YAML format.
BeginnerRead - 13
Editor noteSubagents 子代理
TUTORIAL免費TUTORIAL/OpenAI CodexVoltAgent·2026-06-08VoltAgent Codex Subagent Directory: Installing Specialist Agents via TOML in ~/.codex/agents
Uses VoltAgent/awesome-codex-subagents (166+ subagents, 13 categories, MIT license) as a Codex-equivalent curated directory, teaching you to define subagents in .toml format under ~/.codex/agents/ and invoke Codex subagents explicitly.
IntermediateRead - 14
Editor noteHooks 自動化
TUTORIALPROTUTORIAL/Claude Code2026-06-08Claude Code Hooks Builder: Auto Format/Lint/Tests After Every Edit
Uses hooks in .claude/settings.json to automatically run formatting, linting, type-checking, or tests at specific Claude Code lifecycle events (PostToolUse after an edit, PreToolUse before running a command, Stop when wrapping up)—producing correct JSON config plus an executable hook script, with exit code 2 hard-blocking dangerous actions.
SAMPLE// .claude/settings.json (merged) · { · "hooks": { · "PostToolUse": [ · { "matcher": "Edit|Write", · "hooks": [ { "type": "command", · "commAdvancedRead - 15
Editor noteHooks 自動化
TUTORIAL免費TUTORIAL/Claude CodeRohit Ghumare·2026-06-08Claude Code Hook Recipe: Auto Format + Lint After Every Edit (PostToolUse)
A PostToolUse hook that makes Claude Code automatically run a formatter (Prettier/Black/gofmt) plus a linter every time it edits or writes a file—permanently removing 'inconsistent formatting' as a code review chore.
IntermediateRead - 16
Editor noteHooks 自動化
TUTORIAL免費TUTORIAL/Claude CodeKaran Bansal·2026-06-08Claude Code Hook Recipe: Block Dangerous Bash with PreToolUse
A PreToolUse Bash hook that intercepts destructive commands like rm -rf, fork bombs, and curl|sh before the AI executes them—a last line of defense that holds even against --dangerously-skip-permissions.
IntermediateRead - 17
Editor noteHooks 自動化
TUTORIAL免費TUTORIAL/Claude CodeRohit Ghumare·2026-06-08Claude Code Hook Recipe: Desktop Notification + Sound on Stop
A Stop hook that fires a desktop notification and plays a sound the moment Claude Code finishes running. You can freely switch to other windows—the AI will call you back when it's done, no need to keep staring at the terminal.
BeginnerRead - 18
Editor noteSkills · MCP · 客製
TUTORIAL免費TUTORIAL/Claude Code2026-06-08Claude Code Skill Factory: Turn Repetitive Workflows Into SKILL.md
Has Claude Code interview you about a repetitive manual process, then produce a fully-structured Agent Skill (SKILL.md) covering name/description/trigger conditions/step-by-step instructions/acceptance criteria/supporting references, and verify it can be triggered automatically as well as invoked via a /slash command.
SAMPLEPhase 1 問題(節錄): · 1) 觸發時機:你說的是「部署前」——候選觸發語:『要 deploy 了』『上線前檢查』『push 到 prod 之前』。這三個對嗎?還有別的? · 2) 步驟順序:a) 跑測試 b) tsc --noEmit c) 檢查 git 是否乾淨 dIntermediateRead - 19
Editor noteSkills · MCP · 客製
TUTORIAL免費TUTORIAL/Claude CodeAnthropic·2026-06-08Build Your Own Agent Skill Interactively with Anthropic's skill-creator
Anthropic's official skill-creator: a meta-skill that "asks you clarifying questions, produces a SKILL.md, runs evals, refines the trigger description, and packages everything into a .skill file." It teaches you to build reusable Claude skills using a standardized directory structure and progressive disclosure.
IntermediateRead - 20
Editor noteSkills · MCP · 客製
TUTORIAL免費TUTORIAL/Claude Code2026-06-08Claude Code + MCP: Connect External Tools to Your Dev Agent Safely
Has Claude Code help you connect an MCP server (a database, Notion, GitHub, your own API...), choosing the right transport and scope, using .mcp.json or claude mcp add, handling secrets and OAuth securely, and finally demonstrating how mcp__server__tool tools and @resource pull external data into your workflow.
SAMPLEPhase 1 決策: · - 你的目標是 Notion 官方遠端服務 → transport 選 HTTP(雲服務、支援 OAuth)。 · - 這是你個人跨專案要用、且 Notion 走 OAuth 不需手動塞 token → scope 選 user。 · - Auth:OIntermediateRead - 21
Editor noteSkills · MCP · 客製
TUTORIALPROTUTORIAL/Claude CodeAnthropic·2026-06-08Build an MCP Server LLMs Can Actually Use, with Anthropic's mcp-builder
Anthropic's official mcp-builder: a four-phase workflow (research & planning → implementation → review & testing → writing evals) for wrapping your API or service into a high-quality MCP server. Covers both Python (FastMCP) and TypeScript (MCP SDK), with emphasis on tool naming, input/output schemas, error messages that point toward a fix, and evaluating with real-world tasks.
AdvancedRead - 22
Editor noteSkills · MCP · 客製
TUTORIAL免費TUTORIAL/Claude CodeAnthropic·2026-06-08Anthropic's algorithmic-art Skill: Reproducible p5.js Generative Art
Anthropic's official algorithmic-art skill: write an 'algorithmic philosophy' first, then turn it into an interactive HTML piece with p5.js. The core is Art Blocks-style seeded randomness (same seed = same image), paired with tunable parameters and seed navigation, letting you systematically explore generative art techniques like flow fields and particle systems instead of randomly flailing.
IntermediateRead - 23
Editor noteSkills · MCP · 客製
TUTORIAL免費TUTORIAL/Claude CodeChong-U Lim (chongdashu / AIOriented)·2026-06-08Claude Code Custom Statusline Generator (cc-statusline Pattern)
A single npx command generates an information-rich terminal statusline for Claude Code, showing the current directory, Git branch, model, a context-usage progress bar, real-time spend burn rate, and a countdown to usage reset—hooked into live ccusage stats.
IntermediateRead - 24
Editor noteSkills · MCP · 客製
TUTORIALPROTUTORIAL/Claude CodeGitHawkAI (Claude Code Output Style Migrator Contributors)·2026-06-08Claude Code Output Style Recovery: SessionStart Hook + Marketplace
After Claude Code removed its built-in output style feature, this uses a SessionStart hook to automatically inject a custom response style (tone / format / rules) into every session, with a local marketplace for managing, activating, and applying multiple styles.
AdvancedRead - 25
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIAL免費TUTORIAL/Claude Code2026-06-08Claude Code Plan-First: Force a Reviewable Plan Before Touching Any Code
Applies the spirit of Plan Mode so Claude Code hands over a structured plan (files affected, steps, risks, acceptance criteria) before touching any file—you review, correct, and approve it before execution begins. Prevents the AI from charging ahead and writing a pile of things you didn't want.
SAMPLEOpen questions: · - Q: 新表單送出後要寫進現有的 /api/waitlist 還是新端點? ASSUMPTION: 沿用現有 /api/waitlist。 · **Goal restated:** 在首頁 Hero 下方加一個 email 候補表單,送出後寫BeginnerRead - 26
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIAL免費TUTORIAL/Claude Code2026-06-08Claude Code TDD Loop: Red, Green, Refactor Done Right
Forces Claude Code through a strict red→green→refactor cycle: for every behavior, first write a test that fails (red) and actually run it to prove the failure, then write the minimal implementation that just makes it pass (green), and finally refactor under the safety of the passing tests. Cures the AI's old habit of jumping straight to the happy path, skipping edge cases, and faking test coverage.
SAMPLE=== RED === · Wrote 1 test: `slugify('') returns ''` (empty input edge case). · Ran `npm test`: · FAIL src/slugify.test.ts · ✕ slugify('')IntermediateRead - 27
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIAL免費TUTORIAL/Claude Code2026-06-08Claude Code Bug-Fix Loop: Reproduce, Isolate, Fix, Verify
Corrects Claude Code's tendency to 'see an error and start randomly editing' into a disciplined 4-step debugging process: reliably reproduce the bug first, isolate the true root cause (not just the symptom) through minimization, write a regression test that fails, apply the smallest possible fix, then run the full test suite to prove it's fixed without breaking anything else.
SAMPLE=== PHASE 1: REPRODUCE === · Wrote failing test `cart total with 0-qty item`. Ran `npm test`: · ✕ cart total ignores 0-qty lines — expectedIntermediateRead - 28
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIALPROTUTORIAL/Claude Code / Codex2026-06-08Safe Multi-File Refactoring: Map Blast Radius, Then Batch and Verify
A large-refactor playbook for agents: first do a read-only survey of the 'blast radius' — which files, call sites, and tests are affected — then split the change into small batches, each preserving behavior, each run through its own tests, each its own atomic commit. Puts an end to 'change 40 files at once, then the build breaks and no one knows where to start fixing it.'
SAMPLE## Phase 1 — Blast radius · Direct targets: src/api/*.ts 裡 11 處裸 fetch() · Call sites & ripple: 23 個元件/hook import 這些函式(清單附檔名) · Tests coverAdvancedRead - 29
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIAL免費TUTORIAL/Claude Code / Codex2026-06-08AI Agent Definition-of-Done Self-Check Spec
A Definition of Done template you can paste into any coding agent, turning 'what counts as done' into a checklist the agent must self-verify item by item: behavior meets acceptance criteria, tests/lint/typecheck/build all pass (or it states why they didn't run), risky changes come with a rollback plan, and a final 'verification story' is delivered. Puts an end to agents claiming 'done' while everything is actually broken.
SAMPLE## Definition of Done · 1. Behavior ✅ — 三條驗收標準逐條對應到 auth.ts L40-58。 · 2. Scope ✅ — 只改 auth.ts / auth.test.ts,未碰 out-of-scope 的 db/。 · 3. TesIntermediateRead - 30
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIAL免費TUTORIAL/Claude CodeGitHub, Inc. (github/spec-kit)·2026-06-08GitHub Spec Kit: The Four-Stage Spec-Driven Development Workflow (/specify → /plan → /tasks → /implement)
GitHub's official open-source tool for Spec-Driven Development. Using /speckit.specify → /plan → /tasks → /implement, it turns a vague requirement into an executable specification end to end, then has the AI generate code from that spec — fixing the unpredictability of 'vibe coding.'
IntermediateRead - 31
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIAL免費TUTORIAL/Claude Code / Codexsnarktank (ai-dev-tasks)·2026-06-08ai-dev-tasks: PRD to Task List to One-Subtask-at-a-Time AI Workflow
Uses two Markdown templates (create-prd.md and generate-tasks.md) to turn 'dumping a pile of requirements on AI' into a controlled process: first generate a PRD, break it into a checkable task list, then complete one subtask at a time — pausing after each for your go-ahead before continuing.
BeginnerRead - 32
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIALPROTUTORIAL/Claude CodeJesse Vincent (obra)·2026-06-08Superpowers: Brainstorm, Plan, and True TDD for Claude Code
Brings obra/superpowers' "spec-first + true red-green TDD" development discipline into your agent: brainstorm to clarify requirements first, break the work into verifiable 2-5 minute tasks, then strictly follow RED-GREEN-REFACTOR, with a two-stage subagent review.
AdvancedRead - 33
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIAL免費TUTORIAL/Claude CodeBrian Casel (Builder Methods / CasJam Media LLC)·2026-06-08Agent OS: Extract Codebase Standards and Auto-Inject into AI Agents
Borrowing the three-layer architecture from buildermethods/agent-os (Standards / Product / Specs): have AI first scan your codebase to extract existing conventions into documented standards, then auto-inject them every time it writes code — so you never have to re-explain the rules.
IntermediateRead - 34
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIAL免費TUTORIAL/Claude CodeSuperClaude-Org·2026-06-08SuperClaude Framework: /sc: Commands and Cognitive Personas for Claude Code
Distills the open-source SuperClaude framework's /sc: command system and cognitive-persona mechanism into a ready-to-use workflow prompt, upgrading Claude Code from "one question, one answer" into a structured development process covering everything from brainstorming to implementation, testing, documentation, and version control.
IntermediateRead - 35
Editor note開發工作流 · 規劃 / TDD / 除錯 / 重構
TUTORIALPROTUTORIAL/Claude CodePatrick Ellis (OneRedOak)·2026-06-08Automated Design Review: UI/UX/Accessibility Audits via Playwright MCP
A curated, ready-to-use version of OneRedOak's design-review workflow: using Playwright MCP in a real browser environment, it automatically audits frontend changes across 7 stages (interaction, responsiveness, visuals, accessibility, robustness, code health) and reports findings graded Blocker/High/Medium/Nitpick.
AdvancedRead - 36
Editor noteCodex 專門技巧
TUTORIAL免費TUTORIAL/OpenAI Codex2026-06-08Codex's Four-Gate Kickoff: Define the Task → Review the Plan → Check the Diff → Nothing Counts as Done Without Verification
Turns a vague requirement into a full Codex workflow: first force it to nail down a 'definition of done,' use plan mode to produce a plan for your approval, then implement in small steps, run its own tests, and finally produce a reviewable diff with verification evidence.
SAMPLEGATE 1 — FRAME · Goal: After login, redirect the user back to the page they came from instead of always /dashboard. · Done when: visiting /wIntermediateRead - 37
Editor noteCodex 專門技巧
TUTORIAL免費TUTORIAL/OpenAI Codex2026-06-08Codex Wrap-Up Officer: Turn Finished Changes into a Semantic Commit + a PR That Passes Review
Once your code changes are done, have Codex read the staged diff, produce a Conventional Commits message, and write a PR description covering background, what changed, why, how it was verified, and risks — without bundling in unrelated changes, exaggerating, or fabricating tests.
SAMPLESTEP 2 — Proposed commit · fix(login): return user to original page after auth instead of /dashboard · Logged-out users hitting a protectedIntermediateRead - 38
Editor noteCodex 專門技巧
TUTORIAL免費TUTORIAL/Claude Code / Codex2026-06-08Codex Rigorous Diff Reviewer: Correctness, Simplification, and Security in Three Tracks
Has Codex do a disciplined code review of your git diff across three tracks (correctness bugs / simplification-and-reuse / security), listing each finding with a confidence level and a pastable fix, and explicitly instructed to say so when nothing's wrong instead of manufacturing complaints.
SAMPLE[TRACK A] [CONFIDENCE: high] src/cart.ts:42 · What: applyDiscount 在 items 為空陣列時回傳 NaN · Why it matters: 空購物車結帳會把 NaN 寫進訂單金額,下游付款端會拋錯 · Fix:IntermediateRead - 39
Editor noteCodex 專門技巧
TUTORIAL免費TUTORIAL/Claude Code / Codex2026-06-08Codex Bug-Fix Closed Loop: Reproduce First, Fix Second, With Rerunnable Verification
Forces Codex through a closed loop — write a failing test that reproduces the bug, find the root cause, make the minimal fix, watch that same test go from red to green, then run the full test suite to confirm no regressions — eliminating both 'fixed it without verifying' and 'changed a bunch of unrelated stuff along the way.'
SAMPLE1. Reproduce (red): · $ pytest tests/test_dates.py::test_month_rollover -q · FAILED — assert parse('2026-01-31' + 1mo) == '2026-02-28', gotIntermediateRead - 40
Editor noteCodex 專門技巧
TUTORIAL免費TUTORIAL/Claude Code / Codex2026-06-08Codex Characterization Tests for Legacy Code: Lock In Current Behavior, Target Edge Cases, Zero Behavior Changes
Has Codex write characterization tests for untested legacy code: it first reads and documents what the code 'actually does right now' (bugs included), systematically covers the happy path plus edge cases and error paths, and is strictly forbidden from modifying the code under test.
SAMPLE// src/pricing.test.ts — characterization tests for calcTax() · test('applies 5% for standard rate', () => expect(calcTax(100,'std')).toBe(1IntermediateRead - 41
Editor noteCodex 專門技巧
TUTORIALPROTUTORIAL/OpenAI CodexOpenAI Cookbook·2026-06-08Codex Iterative Repair Loop: Review → Repair → Validate Until Broken Code or Docs Pass
An OpenAI Cookbook Codex example that turns 'fixing bugs or outdated examples' into a self-iterating closed loop: first review and list the problems, then make a targeted fix on a copy, then run validation and score it, and if it doesn't pass, feed the remaining issues back in for another round — until everything's green or a cap is hit. Includes three ready-to-use prompt templates.
AdvancedRead - 42
Editor noteCodex 專門技巧
TUTORIALPROTUTORIAL/OpenAI Codexshanraisshan·2026-06-08Advanced Codex CLI Playbook: Layered AGENTS.md + config.toml + Research-to-Ship Workflow
Upgrades OpenAI Codex CLI from 'vibe coding' into a controllable engineering agent: layered AGENTS.md, approval and sandbox settings in .codex/config.toml, and Starlark command gating, paired with a five-stage Research → Plan → Execute → Review → Ship workflow.
AdvancedRead - 43
Editor noteCodex 專門技巧
TUTORIAL免費TUTORIAL/OpenAI CodexRoggeOhta·2026-06-08Codex config.toml in Practice: Approval Modes × Sandbox Isolation × Profiles
A ready-to-paste ~/.codex/config.toml template that sets up OpenAI Codex CLI's approval policy, sandbox isolation, reasoning effort, and multiple profiles in one go — balancing automation efficiency with safety boundaries.
IntermediateRead - 44
Editor noteCodex 專門技巧
TUTORIALPROTUTORIAL/OpenAI Codexgotalab·2026-06-08Codex Skills Mode: Installing Skill Packs and an Autonomous Implementation Loop (cc-sdd)
Uses cc-sdd's --codex-skills install to load reusable skills (SKILL.md) into Codex CLI on demand, and replicates its /kiro-impl autonomous execution loop — a fresh implementer per task, an independent reviewer, and automatic root-cause debugging on failure — so Codex advances steadily through a task list one task at a time.
AdvancedRead - 45
Editor noteCodex 專門技巧
TUTORIALPROTUTORIAL/OpenAI CodexRoggeOhta·2026-06-08Codex exec Non-Interactive Mode: Wiring Codex Into a CI Automation Pipeline
Uses codex exec's non-interactive execution plus a restricted sandbox to plug Codex CLI into CI / scripted workflows for unattended tasks like lint fixes, batch refactors, and auto-repair, guarding the safety boundary with approval_policy=never paired with a workspace-write sandbox.
AdvancedRead - 46
Editor note規則 · 遷移 · 技術棧範本
TUTORIAL免費TUTORIAL/Claude Code / Codex2026-06-08Migrating from Cursor to Claude Code / Codex: An Inventory-and-Kickoff Prompt
Has the agent automatically inventory your Cursor project (.cursorrules, .cursor/rules, .cursor/mcp.json), produce a step-by-step migration plan, and generate the corresponding CLAUDE.md or AGENTS.md, slash commands, and MCP config — so you're not stuck 'dumber than Cursor' on day one.
SAMPLE## Phase 1 — Inventory · | Source | Configures | Maps to (Claude Code) | Notes | · |---|---|---|---| · | .cursorrules | 全域風格 + 架構規則 | CLAUDEIntermediateRead - 47
Editor note規則 · 遷移 · 技術棧範本
TUTORIAL免費TUTORIAL/Claude Codeciembor (agent-rules-books)·2026-06-08agent-rules-books: Classic Software Books Distilled into AGENTS.md Rules
Distills 14 classic software engineering books (Clean Code, Refactoring, Domain-Driven Design, The Pragmatic Programmer, Working Effectively with Legacy Code, and more) into imperative rule sets you can paste directly into AGENTS.md / CLAUDE.md / Cursor rules, offered in full / mini / nano sizes so you can pick based on your context budget.
IntermediateRead - 48
Editor note規則 · 遷移 · 技術棧範本
TUTORIAL免費TUTORIAL/Claude CodePeter Steinberger (steipete)·2026-06-08Agent-Rules Pack: Conventional Commits + 6-Persona PR Review + 5 Whys Root-Cause Analysis
Curates three core project-rules from steipete/agent-rules into a single rule pack usable directly as a slash command: semantic commits (12 types plus emoji, with automatic splitting into atomic commits), a 6-persona professional PR review, and 5 Whys root-cause analysis.
IntermediateRead - 49
Editor note規則 · 遷移 · 技術棧範本
TUTORIAL免費TUTORIAL/Claude CodePatrickJS·2026-06-08Writing Tech-Stack Rules into AGENTS.md / CLAUDE.md (Adapted from awesome-cursorrules)
Borrows the approach from the 40k-star awesome-cursorrules repo to codify 'how to write for a given tech stack' into a project rule file, so Cursor / Claude Code / Codex always produce code in your conventions instead of generic boilerplate.
BeginnerRead - 50
Editor note規則 · 遷移 · 技術棧範本
TUTORIAL免費TUTORIAL/Claude CodePatrickJS·2026-06-08An AGENTS.md / CLAUDE.md Rule Template for Next.js App Router Projects
Rewrites awesome-cursorrules' Next.js App Router standard into an AGENTS.md/CLAUDE.md you can drop straight into your project root, so Claude Code, Codex, and Cursor automatically follow Server-Components-first, file-based routing, TypeScript, and performance conventions when writing Next.js.
BeginnerRead - 51
Editor note規則 · 遷移 · 技術棧範本
TUTORIALPROTUTORIAL/Claude CodePatrickJS·2026-06-08A Production-Grade Layered-Architecture AGENTS.md / CLAUDE.md Template for FastAPI
Rewrites awesome-cursorrules' FastAPI production architecture standard into an AGENTS.md/CLAUDE.md that enforces Router→Service→Repository layering, thin handlers, an anti-corruption layer, and idempotency — so AI automatically rejects anti-patterns when writing Python backends.
AdvancedRead - 52
Editor note規則 · 遷移 · 技術棧範本
TUTORIAL免費TUTORIAL/Claude CodePatrickJS·2026-06-08A Scalability-Focused AGENTS.md / CLAUDE.md Template for Go Backends
Rewrites awesome-cursorrules' Go backend scalability standard into an AGENTS.md/CLAUDE.md covering idiomatic error handling, context propagation, interface abstraction, concurrency, and observability — so AI follows standard conventions and trade-off analysis when writing Go services.
IntermediateRead