AI-IDE, LLM-based (inc. MCP), Integrated Development Environment, ClaudeCode, Codex, Opencode

AI-IDE, LLM-based (inc. MCP), Integrated Development Environment, ClaudeCode, Codex, Opencode

2026-02-23. Category & Tags: AIGC, GPT, LLM, Large-Language-Model, 大语言模型, AI-IDE

See also:

WARN !

计算机辅助编程发展路径 #

  • -> Tab Coding
  • -> Vibe Coding (氛围编程) ->
  • -> Spec-Driven Coding, Specification-Driven Development, SDD (e.g. OpenSpec)
    • (Kiro 发起,国内唯一无门槛调用 Claude 的 IDE) (含:产品需求、技术设计、任务清单 Tasks)
  • -> TDD AI Coding (Sunny 补充最后一个)

AI 之间的通信?发展路径 #

  • -> Agent workflow with Function Calling / Tool Calling
    • e.g. functions/tools defined in system_prompt
    • exchange in JSON (build and send a json and receive a json )
    • usually local functions
    • incompatibility: vendors define their own APIs and functions, e.g. OpenAI uses a tools parameter, Claude uses a tool_use field.
  • -> MCP (Model Context Protocol) 2024-10-07
    • JSON-RPC 2.0 standard
    • “standardized version of Function Calling”
    • 1 MCP server can contain 1~n tools, all the tools of all the connected MCP servers are presented to LLM at the same time (e.g. old Function Call info, or System Prompt), the LLM decides when to use
    • cons: LLM generate special tokens to use tools, which must be trained; too many tools for LLM to understand and choose (经常几百~上千)
  • -> A2A 2025-04-09
    • an open standard protocol enabling AI agents across different platforms and frameworks to communicate
    • uses existing standards, e.g. HTTP, Server-Sent Events (SSE), JSON-RPC
  • -> MCP Code Mode 2025-09-26
    • LLM is good at coding a script to use APIs (LLM 见过太多) than special-token-surrounded-json-chunk within nature-language (之前没有的新东西)
    • “1 tool (can call anyone of all the APIs)” which is writen by the LLM in TypeScript, LLM run TypeScript against an API (isolated JavaScript runtimes by V8 engine, in a dynamic sandbox, output by console.log(). returns to LLM )

ref

SDD Specification-Driven Development #

ps: OpenSpec is proposed by Amazon Kiro, but no standard format accepted widely, then the ClaudeCode plugin superpowers come out which becomes the de-facto standard that uses SDD.

ref

CLAUDECODE (CLI) #

WARN !:Claude 启动时会访问 api.anthropic.com 检测 IP 地区 !!! (2026-02) 】

免费教程 #

claudecode 常用命令 frequently used commands #

install:

# nix:
curl -fsSL https://claude.ai/install.sh | bash

# win:
irm https://claude.ai/install.ps1 | iex

ref

启动 #

若想跳过登录 onboarding,需要设置环境变量,此处以 cc-switch 代理为例。

    "ANTHROPIC_AUTH_TOKEN": "PROXY_MANAGEMED",
    "ANTHROPIC_BASE_URL": "http://127.0.0.1:15721"

由于 Claude 启动时不读取 ~\.claude\settings.json,因此需要在启动前配置环境变量以跳过 ClaudeCode 的 Onboarding / 登录,才便于使用 cc-switch。(配置环境变量前的 CC-switch 的配置见本文 cc-switch 部分。) 也有说可以在 ~\.claude.json 最外层的 JSON object 添加 "hasCompletedOnboarding": true ,未尝试。

# 临时:
$env:ANTHROPIC_AUTH_TOKEN = "PROXY_MANAGED"
$env:ANTHROPIC_BASE_URL = "http://127.0.0.1:15721"

# 永久(也可以用GUI配置用户的环境变量):
[Environment]::SetEnvironmentVariable("ANTHROPIC_AUTH_TOKEN", "PROXY_MANAGED", "User")
[Environment]::SetEnvironmentVariable("ANTHROPIC_BASE_URL", "http://127.0.0.1:15721", "User")

如果按照以上配置,看到的以下 " 环境变量冲突 " 提示可以忽略: image.png

进入 claude 后常用的 “/” 指令: #

/init # 对当前项目已有的代码生成一个总结 AGENTS.MD,帮助AI快速理解一个项目

# context management
/context # show %
/compact # 压缩之前的对话为摘要,释放上下文窗口
/clear # clear memory (session-wise) every time finishing a task (still exists on disk)
/cost  # token usage and cost (session-wise)
/stats # daily usage, session history, and streaks

# session management
/rename session_new_name
/export my-session-name.md
/resume # 浏览+选定, 可以看到session summar,从而选择session进行恢复
# 或登录时: claude --resume my_session_id ; claude -r …。可从 `~/.claude/history.jsonl` 找到近期所有 prompt 对应的 session id

# some shortcuts
Ctrl+R # Search command history, Tab to accept  
Escape # stop current work if something goes wrong  
Escape * 2 # Rewind

# 使用一段时期后
/insights # 总结个人使用习惯,给出建议

ref: Claude Code’s hidden conversation history (and how to actually use it) | @kentgigger

CC 软件开发流程管理插件推荐 #

image.png image.png image.png

Superpowers (新手从这里学习 AI 编程思维和 TDD 思维比较好) #

中配视频教程(英文软字幕无效,双 srt 字幕待上传); 原版英文视频教程 纯中文视频教程 但是苹果系统,建议回头再看

flowchart TB
A["“Build a dashboard app”"] --> B["**NORMAL CLAUDE**"]
B --> C["Here you go...."]
A --> D["**CLAUDE W/ SUPERPOWERS**"]
D --> E["Brainstorming"]
E --> F["Planning"]
F --> G["Test-Driven Development"]
G --> H["Subagents"]
H --> I["Task 1"]
I --> J["Task 2"]
J --> K["Task 3"]
K --> L["Code Review"]
L --> M["Merge Code"]
M --> N["Git worktree isolation"]
	style D color:#004AAD
	style B color:#737373

Install Superpowers: CC CLI > /plugin > arrows to select “discover” > type to search , enter to install, exit. image.png

image.png

Run CC CLI again > /plugin > installed > check / confirm > update etc. Tip: 如果是多功能/多模块并行任务,一般配合 Git worktree

image.png

Usage (e.g. in VSCode Terminal) (注意观察给授权):

  • /using-superpowers :提醒以下 CC,注意用此 plugin。

  • /sup~:brainstorming :CC 浏览当前文件夹,问“要做什么?”等等,多轮对话在 ./docs/plans 产出: xxx-design,即 " 设计 “image.png

  • 头脑风暴最后可能直接调用 write-plan 产出开发计划,并直接询问用哪种方式 execute,默认 sub-agent: image.png

  • /sup~:write-plan (产出开发计划:implementation-plan) image.png (上一步已自动调用)

  • /sup~:execute-plan (上一步已调用)ps:自动英文 git commit。

  • CC 最后一般会给出命令行,可以手动复制粘贴运行,也可以告诉 CC 自己运行,便于 CC 看到命令行输出。 image.png

提示:它能看懂 GBK 乱码,因此:乱码可以直接粘贴给它;它觉得没问题的可能给人看就出问题。

其中各 skill (各阶段) 的详细讲解,可以 看视频,也可以直接问 AI。

Everything ClaudeCode (ECC) #

Get Shit Done (GSD) #

Ralph #

ref

细节配置推荐 #

声音提示 (win) #

ps1: preferredNotifChannel is not working. ps2: 作为最 json 外层的 item。 ps3: beep(频率 Hz, 时间 ms),这里的双音是模拟 oh-my-opencode 。 ps4: 如有问题,先在 pwsh Terminal 确认 [console]::beep(800,200) 能出声。

{
"preferredNotifChannel": "terminal_bell",
"hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "powershell -NoProfile -Command \"[console]::beep(800,200); Start-Sleep -Milliseconds 120; [console]::beep(1000,250)\""
          }
        ]
      }
    ],
    "Notification": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "powershell -NoProfile -Command \"[console]::beep(800,200); Start-Sleep -Milliseconds 120; [console]::beep(1000,250)\""
          }
        ]
      }
    ]
  }
}

web fetch issue #

TODO: Unable to verify if domain wb.beijing.gov.cn is safe to fetch.

其他应用场景 #

CLAUDECODE (VSCODE EXTENSION) #

前提:本地已经安装 CLI 版本,此插件基本就是已经安装的 CLI 的壳。注意:vscode 的配置中,必须使用的是正常可用的(可以是非 A\的 base_url)的配置才能正常启动此插件,否则要求登录,但是启动后,此插件使用的是 ~/.claude/settings.json 配置。即,如果没有 vscode 中的正常可用配置(如下图), 此插件会要求登录(即使 ~/.claude/settings.json 配置正常且无变化)。

2026-02-24-13-18-57

CODEX (CLI) #

Install #

npm install -g @openai/codex
codex --version

refs: Codex教程 by packy

启动 #

Tip: Codex 启动时使用 ~\.codex\config.toml, 且不检测 IP 地区?

可配置项目:

model = "gpt-5.4"  
## 开启1M上下文 (如有需要)(消耗*2)  
#model_context_window = 1000000  
#model_auto_compact_token_limit = 900000  
[features]  
##开启多智能体 (如有需要)  
multi_agent = true  
## 开启快速模式 (如有需要)(消耗*2)  
#fast_mode = true  

CODEX (APP) #

略。可参考:Codex APP 保姆级使用教程,实战项目全流程讲解,覆盖 Codex APP十一个特性_哔哩哔哩_bilibili:1、基础设置 2、模型选择 3、多项目开发(threads) 4、单项目使用 Worktree 并行开发 5、复杂问题先 plan 6、技能的安装和使用 7、超级简单 GIT 操作 8、自动化 9、语音输入 10、自定义环境命令 11、MCP 安装

CODEX (VSCODE EXTENSION) #

前提:本地已经安装 CLI 版本,此插件就是已经安装的 CLI 的壳。

base_url 和 apikey 会自动从 Codex CLI 的配置 (~\.codex\config.toml)获得。

建议配置:“chatgpt.localeOverride”: “zh-CN”

2026-02-24-03-22-53

GEMINI (CLI) #

WARN: 需要全局代理!且速度慢!不建议用!

install & run #

(如果没有全局权限,可以先激活虚拟环境,再执行如下命令,虽然是 -g ,会安装进入虚拟环境的全局。)

提示:如果是在被 Google 排斥的地区,注意代理设置为全局模式才能访问(aistudio.google.com 网页 和 CLI 都是),且命令行设置代理,命令行的命令可以从这里复制: image.png,一般格式是:

$env:HTTP_PROXY="http://127.0.0.1:1234"; $env:HTTPS_PROXY="http://127.0.0.1:1234"

正式安装和测试:

# 安装:
npm install -g @google/gemini-cli # 等同于 npm install -g @google/gemini-cli@latest,最新稳定版

# 运行:
gemini
# 或者沙盒运行:
gemini --sandbox -y -p "your prompt here"

第一次运行需要 Google 账号登录或 key。

测试结果,感觉速度很慢,不是网速问题,而是 token 输出直接卡住了: image.png

ref

OPENCODE (CLI) #

免费教程:

ps: OpenCode can also be integrated into GitHub and GitLab, see: opencode.ai: e.g. run opencode github install in a local repo.

WARN !!!注意!!! OpenCode 在 GPT 模型上会出现不使用缓存的问题,导致超高额度消耗。

install opencode cli #

npm i -g opencode-ai

frequently used slash-commands #

/timeline # 查看当前对话(session)的聊天记录,可以回退(revert)到选中的聊天记录执行前的状态

suggested config #

AI-toolbox is suggested.

Add the content below (disable Ctrl+z bug): image.png

{
  "keybinds": {
    "terminal_suspend": "none"
  }
}

ref reason

create our own slash-commands/agents #

commands for either build/plan mode; agents as either primary/subagent.

ref: video Bilibili by 技术爬爬虾 OpenCode详细攻略,开源版Claude Code,免费模型与神级插件

插件推荐 之 oh my opencode (omo) #

DEF OMO = 预置常用工具 + 预置常用 MCP + 预置 Agent

also: 老的 superpowers 2026-01 https://www.bilibili.com/video/BV1qm6bB5EL3/ 对比较多,步骤不清楚,不算教程

install: #

option 1 (suggested):

Then use AI-Toolbox to manage LLM providers and plugins.

option 2 (NOT suggested):

open opencode, then paste:

Install and configure oh-my-opencode by following the instructions here:
https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md 

and enter.

ref: github

ps: install/activate/use opencode (besides claude/codex etc.) in github. e.g. ref: video Bilibili by 技术爬爬虾 在Github利用Actions自动调用OpenCode修复 issues

typical config: #

config file: ~\.config\opencode\oh-my-opencode.json , or .jsonc.

suggested: use AI-toolbox to manage omo config:

点“新建配置” image.png

输入配置名称,例如“config1”,点“json 导入”: image.png 会自动解析以下 4 个方面的配置: 1.主 Agents(协调和决策): image.png 2.子 Agents(领域专家,被主 Agents 调用): image.png|697

3.按任务类别分类配置: image.png 4.其他配置: image.png

we can also modify the config file (~/.config/opencode/oh-my-opencode.json) directly (NOT suggested), example:

with mixed providers:

{
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
  "google_auth": false,
  "agents": {
    "Sisyphus": {
      "model": "claude/opus-4.6"
    },
    "oracle": {
      "model": "openai/gpt-5.4"
    },
    "librarian": {
      "model": "opencode/glm-5"
    },
    "explore": {
      "model": "google/antigravity-gemini-3-flash"
    },
    "frontend-ui-ux-engineer": {
      "model": "google/antigravity-gemini-3-pro-high"
    },
    "document-writer": {
      "model": "google/antigravity-gemini-3-flash"
    },
    "multimodal-looker": {
      "model": "google/antigravity-gemini-3-flash"
	}
  }
}

with pure GPT:

{
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
  "google_auth": false,
  "agents": {
    "atlas": {
      "model": "the_provider/gpt-5.4-xhigh"
    },
    "explore": {
      "model": "the_provider/gpt-5.4-xhigh"
    },
    "hephaestus": {
      "model": "the_provider/gpt-5.3-codex"
    },
    "librarian": {
      "model": "the_provider/gpt-5.4-xhigh"
    },
    "metis": {
      "model": "the_provider/gpt-5.4-xhigh"
    },
    "momus": {
      "model": "the_provider/gpt-5.4-xhigh"
    },
    "multimodal-looker": {
      "model": "the_provider/gpt-5.4-xhigh"
    },
    "oracle": {
      "model": "the_provider/gpt-5.3-codex"
    },
    "prometheus": {
      "model": "the_provider/gpt-5.4-xhigh"
    },
    "sisyphus": {
      "model": "the_provider/gpt-5.4-xhigh"
    }
  },
  "categories": {
    "unspecified-high": {
      "model": "the_provider/gpt-5.3-codex"
    },
    "unspecified-low": {
      "model": "the_provider/gpt-5.3-codex"
    },
    "visual-engineering": {
      "model": "the_provider/gpt-5.4-xhigh"
    },
    "writing": {
      "model": "the_provider/gpt-5.4-xhigh"
    }
  }
}

ref

ps: 必须配置 Sisyphus Prometheus Hephaestus Atlas (as of 2026-03);其他辅助适当配置。

现有问题: #

  1. 对于为什么给示例不了解,让它照着极简示例写,结果写出 maven 等大的架构,而且一堆没用的中间文件(例如下载依赖用的脚本、非当前系统需要的文件等等)。
  2. 接上条,不清楚竟然不问,是否需要当做极其复杂的演进工业项目,还是只要仿造当前 demo,没有先 (根据给的例子) 判断,也不问。
  3. 单一 master branch,每次做完一项任务竟然不自动 git commit。
  4. 如果有在 git repo, move, rename 需要用 git mv

omo features quick overview: #

  • Agents:
    • (Metis: 前置分析师,主 Agent 的顾问,先确定到底要做什么,有什么坑)
    • Sisyphus: the main agent, 先决定自己干还是专家组队干,组队时负责任务分类、任务委派、全局协调 (claude-opus-4-6 / kimi-k2.5 / glm-5 )
    • (Momus: 计划质检员,给 Sisyphus 挑刺,确保计划可执行、无遗漏)
    • Prometheus: planner, 拆分工作,生成依赖图和计划,不管具体代码 (gpt-5.4 / claude-opus-4-6 / kimi-k2.5 / glm-5 )
    • Hephaestus: deep agent, autonomous worker, 自主决策的工匠,先 10 分钟计划,然后埋头苦干 (gpt-5.3-codex)
    • Atlas: Plan Executor, 任务管理者,持有 todo-list 的“项目经理“,跟踪多步骤任务,确保有序完成不遗漏(被自动调用)
    • Oracle: architecture/debugging, CTO 的战略顾问,分析审查调试,只看不动手 (gpt-5.3-codex)
    • Librarian: docs/code search, 读文档、搜代码、找开源 (glm-5 )
    • Explore: fast codebase grep, 找函数:哪里定义、哪里用了 (gemini-3-flash)
    • Multimodal Looker, multimedia, 多媒体视觉分析,图片、PDF、PPT 等 (gemini-3-flash)
    • frontend-ui-ux-engineer (gemini-3-pro)
    • document-writer (gemini-3-flash)
  • Background Agents: Run multiple agents in parallel like a real dev team
  • LSP & AST Tools: Refactoring, rename, diagnostics, AST-aware code search
  • Context Injection: Auto-inject AGENTS.md, README.md, conditional rules
  • Claude Code Compatibility: Full hook system, commands, skills, agents, MCPs
  • Built-in MCPs: websearch (Exa), context7 (docs), grep_app (GitHub search)
  • Session Tools: List, read, search, and analyze session history
  • Productivity Features: Ralph Loop, Todo Enforcer, Comment Checker, Think Mode, and more

(pic ref: AI 超元域)

Main agent: Sisyphus (Opus 4.5 High), which uses the tools below:

  • Sisyphus’s Teammates (Curated Agents)
    • Hephaestus: Autonomous deep worker, goal-oriented execution (GPT 5.2 Codex Medium) — The Legitimate Craftsman
    • Oracle 先知: Design/architecture, debugging (GPT 5.2 Medium)
    • Frontend UI/UX Engineer: Frontend development (Gemini 3 Pro)
    • Librarian 图书馆管理员: Official docs, open source implementations, codebase exploration (Claude Sonnet 4.5)
    • Explore 网络搜索: Blazing fast codebase exploration (Contextual Grep) (Claude Haiku 4.5)
  • Full LSP / AstGrep Support: Refactor decisively.
  • Todo Continuation Enforcer: Forces the agent to continue if it quits halfway. This is what keeps Sisyphus rolling that boulder.
  • Comment Checker: Prevents AI from adding excessive comments. Code generated by Sisyphus should be indistinguishable from human-written code.
  • Claude Code Compatibility: Command, Agent, Skill, MCP, Hook(PreToolUse, PostToolUse, UserPromptSubmit, Stop)
  • Curated MCPs:
  • Exa (Web Search)
  • Context7 (Official Documentation)
  • Grep.app (GitHub Code Search)
  • Interactive Terminal Supported - Tmux Integration
  • Async Agents

ref: video Bilibili by 技术爬爬虾 OpenCode详细攻略,开源版Claude Code,免费模型与神级插件

omo experience 使用技巧/经验分享: #

ulw ultra-work, for multi-agent to work for different models in parallel.

2026-01 OpenCode + Oh My OpenCode

建议配置好:自动 /handoff ,避免只根据文字压缩上下文。

评论区 of 一人抵一个开发团队!OpenCode最强插件Oh My OpenCode, AI超元域 2026-01 (文本教程, OMO中级(进阶)水平)

by 硬币大仙人: 这俩我都用,简单点说 claude code 要自己折腾配置才好用, omo 插件加持下的 opencode 基本上是开箱即用,就是废订阅。我也尝试过改 Sisyphus 的 model minimaxm2.1 自我感觉不行,主力还是得靠 opus4.5。 上来先用计划 agent 制定 “agents.md”,调教好以后,小任务直接两三句就交给他做,复杂点的任务再套一层 ralph-loop 配合他自己内置的 continue hook,两层续写,基本可以做到交代完之后 就 hands-off。 omo 有一个很好的 hook 是移除不必要的注释。agent 写代码一般都很多废话,他这个机制会让 agent 每次编辑文件都有强制精简注释的动作,很实用。

by carter003: 我觉得 OmO 还是在测试版范畴中.第一,架构非常好,通过 subagent 进行任务编排.这种架构要好于 Zen 的架构.第二,编排还不是智能的,prompt 写的比较固定,所以还不够智能.第三,由于 explore 因为网络或者项目大小.导致 background 返回可能要 1 分钟甚至更长时间.这时候主 agent 就会等不及,然后自己去探索了.相当于 explore agent 白干了.第四,偶发边界失效,比如在 spec kit 中 /plan 下一步是 /task 但是因为 OmO 遵循 Sisyphus 模式,所以自动提示大模型继续检查现有工作,这时候大模型误认为是继续执行下一步. 不过 OmO 最近好火爆.

by 沙漠白莲: 我喜欢规划一个特别特别长的规划文件,然后要 codex 运行十几个小时一次性跑完,第 2 天早上一醒来,任务就做完了 [打 call]

by 海十 Mirage: 我测试了,一个组提示词跑了一早上,然后效果并不太满意,用 cc 给同样的提示词,中途再加一些提示词,更快效果更好

插件推荐 之 bmad #

opencode manager (手机远程操作 opencode) #

手机上Coding?OpenCode Manager项目开源, (github)

opencode local+remote 本地 + 远程 mcp 配置方法 #

ref: video Bilibili by 技术爬爬虾 OpenCode详细攻略,开源版Claude Code,免费模型与神级插件

OPENCODE (VSCODE EXTENSION) #

Pre-requirement: OpenCode CLI. The doc said it can be installed automatically by running opencode in the termianl given having CLI installed. However, I need to manually install.

共性、共通工具、对比 #

前端设计工具 (vibe design) #

  • 在线可用
    • V0.dev by Vercel
    • Bolt
  • 本地长期用
    • Cursor
    • WindSurf

ref: 喝着茶把页面写了–掘金 等 Google “v0 写前端”; reddit 2025

ai ide 常用的配合工具及其教程 #

此处列出的是不针对特定 IDE 的。

代理工具 #

提供 ClaudeCode、Codex、Genimi、OpenCode IDE 的 LLM API 接口代理,快速切换这几个 CLI IDE 所使用的模型。

OpenCode 建议用 ai-toolbox,包括 oh-my-opencode 等插件配置管理。 cc-switch 用到 OpenCode 的缺点:不从 OpenCode 配置文件读取变化,也不读取现有 provides。 cc-switch 不知道现有 providers,而且文件错误后无法修复。不读 IDE 配置可能的唯一优点:配置文件损坏或丢失不影响 cc-switch 内的配置,但是有 webdav 等备份,不应该将不受 IDE 配置文件反向影响作为优点。

ClaudeCode、Codex、Genimi 应该用 cc-switch。因为 ai-toolbox 写这三个 IDE 配置时,API 调用格式配置有问题 (2026-03),而且 IDE 配置文件一旦出错,cc-switch 不知道,因为 cc-switch 只重写 “http://127.0.0.1:15721” 背后的配置,但是 IDE 配置已经被 ai-toolbox 改为非 localhost 的。

ai-toolbox #

直接修改 IDE 的配置文件写入具体配置(含 base_url、key),ClaudeCode、Codex、Genimi、OpenCode 都是,其中 OpenCode 是写入所有 providers。

cc-switch #

对 ClaudeCode、Codex、Genimi 是修改 IDE 的配置文件为 cc-switch 自己的 localhost 监听端口,作为 proxy;但 OpenCode 类似 ai-toolbox,不是通过 localhost 代理。

如果 IDE 配置有问题 (例如被 ai-toolbox 等工具修改后),需要手动修改 base_url 为 “http://127.0.0.1:15721” 。

ps: 此工具的配置默认在 ~/.cc-switch/

claudecode/opencode 典型项目实例(配置、项目结构)对比 #

# ClaudeCode
project/
├── Product-Spec.md                      # 产品需求文档(自动生成)
├── Product-Spec-CHANGELOG.md            # 变更记录(自动生成)
├── UI-Prompts.md                        # 原型图提示词(自动生成)
└── .claude/
    ├── CLAUDE.md                     # !!! 主控配置(必须创建) !!! 位置和名字与 OpenCode 不同!
    └── skills/                          # 技能包(必须创建)
        ├── product-spec-builder/        # 产品经理技能包
        │   ├── SKILL.md
        │   └── templates/
        │       ├── product-spec-template.md
        │       └── changelog-template.md
        ├── ui-prompt-generator/         # UI 提示词设计师技能包
        │   ├── SKILL.md
        │   └── templates/
        │       └── ui-prompt-template.md
        └── dev-builder/                 # 全栈开发工程师技能包
            └── SKILL.md

# OpenCode
project/
├── AGENTS.md                        # !!! 主控配置(必须创建) !!! 位置和名字与 Claude 不同!
├── Product-Spec.md                      # 产品需求文档(自动生成)
├── Product-Spec-CHANGELOG.md            # 变更记录(自动生成)
├── UI-Prompts.md                        # 原型图提示词(自动生成)
└── .opencode/
    └── skills/                          # 技能包(必须创建)
        ├── product-spec-builder/        # 产品经理技能包
        │   ├── SKILL.md
        │   └── templates/
        │       ├── product-spec-template.md
        │       └── changelog-template.md
        ├── ui-prompt-generator/         # UI 提示词设计师技能包
        │   ├── SKILL.md
        │   └── templates/
        │       └── ui-prompt-template.md
        └── dev-builder/                 # 全栈开发工程师技能包
            └── SKILL.md

付费教程:具体内容需要付费 RMB:800/年,见: video: OpenCode 实测|从零开发一个 AI 应用,能替代 Claude Code 吗? 2026-01-14 AI 编程 | 产品经理开发技能 3.0 by 废才bak

skills/mcps #

MCP Registry: https://registry.modelcontextprotocol.io/?q=context7

code-simplifier: #

ref by AI 全文总结 插件:专治AI生成的屎山代码与过度封装 2026-01-10:简化代码逻辑、注释等等。

Install in ClaudeCode : plugin install code-simplifier 评论区建议手动调用即可。

also: https://github.com/Zhen-Bo/pragmatic-clean-code-reviewer

also: 人类的 3 本书: Clean Code, Clean Architecture, The Pragmatic Programmer.

memorix: #

Memorix:跨 Agent 记忆桥 — 让 AI 记住项目的一切,无论新开窗口还是更换编程工具 2026-02, github, 相当于进程间通信(共享内存等等)