| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
DeepCode Architect 是一个标准化的 AI 编程技能(Skill),强制 AI 在编写任何业务代码前遵循「分析 → 设计 → 确认 → 实现 → 验证」五步工程闭环。
它不是一个聊天机器人提示词,而是一套可被 IDE 插件解析、可复用、可版本管理的工程行为宪法,有效防止 AI 跳过思考直接生成低质量代码。
将本技能目录(含 SKILL.md)复制到 OpenCode 的技能目录即可全局启用:
# 全局安装(推荐)
git clone https://github.com/forward-aways/deepcode-architect-skill.git \
~/.config/opencode/skills/deepcode-architect或复制到当前项目的 .opencode/skills/ 下,仅对该项目生效。
OpenCode Skill 的 YAML Front Matter + Markdown 正文可直接作为项目级规则。将 SKILL.md 中 --- 之后的 Markdown 内容复制到项目根目录的 .cursorrules 或 .windsurfrules:
# 提取 Front Matter 之后的正文
sed '1,/^---$/d' SKILL.md > .cursorrulesTrae 支持项目级规则文件,按同样方式提取正文后复制到 .traerules 即可生效:
sed '1,/^---$/d' SKILL.md > .traerulesCopilot 不支持 YAML Front Matter,需提取纯 Markdown 正文:
sed '1,/^---$/d' SKILL.md > .github/copilot-instructions.md直接将 SKILL.md 中 --- 之后的 Markdown 内容作为 System Prompt 使用即可。
deepcode-architect-skill/
├── SKILL.md # 唯一事实来源(YAML Front Matter + Markdown Body)
├── README.md # 本文件
└── LICENSE # MIT 开源协议
欢迎提交 PR 改进 Skill 指令!请确保修改后的 SKILL.md 仍符合 YAML Front Matter + Markdown 标准格式,并保持英文编写以确保跨模型兼容性。
本项目基于 MIT License 开源。
DeepCode Architect is a standardized AI coding skill that enforces a mandatory five-phase engineering workflow: Analysis → Design → Confirmation → Implementation → Verification.
It is not a chatbot prompt. It is a machine-parseable, reusable, version-controlled behavioral constitution for AI coding assistants, preventing them from skipping architectural thinking and generating low-quality code prematurely.
Copy this skill directory (containing SKILL.md) into OpenCode's skill directory to enable it globally:
# Global install (recommended)
git clone https://github.com/forward-aways/deepcode-architect-skill.git \
~/.config/opencode/skills/deepcode-architectAlternatively, copy it under .opencode/skills/ in your project to scope it to that project only.
The YAML Front Matter + Markdown body of the OpenCode Skill can be used directly as a project-level rule. Copy the Markdown content after --- from SKILL.md into .cursorrules or .windsurfrules in the project root:
# Strip the Front Matter and keep the body
sed '1,/^---$/d' SKILL.md > .cursorrulesTrae supports project-level rules. Extract the body the same way and copy it to .traerules:
sed '1,/^---$/d' SKILL.md > .traerulesCopilot does not support YAML Front Matter. Extract the pure Markdown body:
sed '1,/^---$/d' SKILL.md > .github/copilot-instructions.mdUse the Markdown content after the --- delimiter in SKILL.md directly as your System Prompt.
deepcode-architect-skill/
├── SKILL.md # Single source of truth (YAML Front Matter + Markdown Body)
├── README.md # This file
└── LICENSE # MIT License
PRs to improve the skill instructions are welcome! Please ensure modified SKILL.md still conforms to the YAML Front Matter + Markdown standard format and remains in English for cross-model compatibility.
This project is open-sourced under the MIT License.
| Back | FazBrowse Home | New Git URL |