taiyi-diagram-c4
TaiyiForge 辅助 — 从代码反推 C4 架构文档(Observed/Inferred 分层 · Mermaid 真源)。OpenCode / Claude / Codex / Cursor 通用。
Skill by Dong90
Chalk Labs
Need help deploying taiyi-diagram-c4?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dong90-taiyi-diagram-c4
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/taiyi-diagram-c4
What's inside
- Skill name
taiyi-diagram-c4- Description
- TaiyiForge 辅助 — 从代码反推 C4 架构文档(Observed/Inferred 分层 · Mermaid 真源)。OpenCode / Claude / Codex / Cursor 通用。
- License
- MIT
- Instructions
- 65 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# taiyi-diagram-c4
## 目的
扫描仓库代码,产出 **C4 架构真源文档**(Scope · Observed · Inferred · Mermaid),供后续 `/taiyi:diagram-arch` 与 `/taiyi:diagram-render` 引用——**不重复猜模块边界**。
## 何时使用
| 时机 | 说明 |
|------|------|
| 架构流水线 **第 1 步** | `/taiyi:diagram-pipeline` 自动调用 |
| 陌生代码库 / 大重构 | 单独 `/taiyi:diagram-c4` |
| design 前需证据级架构 | 先于 `taiyi-diagram-arch` |
可跳过:纯文案改动、模块边界已在 DESIGN 冻结且无代码漂移。
## 外部 Skill(可选增强)
若已安装开源 **`c4-codebase-architecture`**,加载它并遵循其 Observed/Inferred 纪律;未安装则按本 Skill 执行同等流程。
```bash
npx skills add lmammino/c4-codebase-architecture-skill --skill c4-codebase-architecture -a cursor
```
## 输入
- 仓库根或 `--scope <path>`(如 `src/core`)
- (变更内)`REQUIREMENT.md`、`DESIGN.md`、`CONTEXT.md`
- `docs/ARCHITECTURE.md`(若有)
## 输出
| 范围 | 路径 |
|------|------|
| **变更内**(默认,有 active slug) | `.taiyi/changes/<slug>/diagrams/c4/README.md`、`containers.md`、可选 `context.md` |
| **仓库级**(`--repo` 或无 slug) | `docs/c4/README.md`、`docs/c4/containers.md`、可选 `docs/c4/context.md` |
**mark-aux**:`scripts/taiyi-forge.sh mark-aux <slug> taiyi-diagram-c4`(变更内且 `diagrams/c4/containers.md` 有实质内容)。
## 执行步骤
1. **定范围**:全仓库 / `src/core` / 单服务;写明 in-scope / out-of-scope
2. **扫证据**:入口(`src/cli`、`src/plugin`)、`package.json`、`workflow-manifest.yaml`、部署/CI 描述
3. **写 README.md**:Scope · Observations(Observed)· Assumptions(Inferred)· Open questions
4. **写 containers.md**:`C4Container` 或结构化 `graph TB` Mermaid;节点用真实路径/包名
5. **(可选)context.md**:仅当存在明确外部系统/用户角色时
6. **禁止**:把未确认推断写成 Observed;不要在此步导出 PNG(交给 `/taiyi:diagram-render`)
## 质量自检
- [ ] Observed 与 Inferred 分节
- [ ] 每个容器可映射到仓库路径
- [ ] Mermaid 在 GitHub 预览可渲染
- [ ] README 注明下游:`/taiyi:diagram-arch` → `/taiyi:diagram-render`
## 流水线位置
```
/taiyi:diagram-c4 → /taiyi:diagram-arch → /taiyi:diagram-render
(本 Skill) (同步工程图) (PNG + 视觉审查)
```
总命令:`/taiyi:diagram-pipeline`From Dong90/oh-my-taiyiforge, MIT.
More from Dong90/oh-my-taiyiforge
- 0.712score
taiyi-orchestrator
Dong90
TaiyiForge 统一入口 — 意图解析、阶段路由、Token预算、工件预检。Use when 用户说"开始/继续/审查/测试/设计"等流程相关意图。
SkillCFreshness: C★ 859Claude Code +9 - 0.710score
taiyi-compress
Dong90
TaiyiForge 辅助 — Token 压缩编排:/taiyi:token compress + Superpowers subagent + ECC strategic-compact / handoff。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-ultrawork
Dong90
TaiyiForge ultrawork — 并行切片 + Cursor Task 自动派发契约(对标 OMC ultrawork + spawn_agent)
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-reanalyze
Dong90
TaiyiForge 辅助 — 重新理解已有需求工件,找出矛盾、缺口、歧义。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-plan
Dong90
TaiyiForge /taiyi:plan — 项目规划入口:把 README/PRD 拆解为独立 change 清单,推荐 profile 和依赖关系。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-flow
Dong90
TaiyiForge 辅助 — 业务流程图 / 状态机 / 序列图(Mermaid flowchart)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-render
Dong90
TaiyiForge 辅助 — 将 C4/architecture Mermaid 渲染为 SVG/PNG(视觉审查 · 不改架构边界)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-pipeline
Dong90
TaiyiForge 辅助 — 架构图三步流水线编排(C4 真源 → 工程图同步 → PNG 渲染)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-evolve
Dong90
TaiyiForge 辅助 — 实现后架构与文档同步(architecture-sync)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-restyle
Dong90
TaiyiForge 辅助 — UI 视觉改版任务清单(ui-restyle-tasks)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-architect
Dong90
TaiyiForge 辅助 — 架构决策记录 ADR(长期影响决策的可追溯补充)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.703score
taiyi-change
Dong90
TaiyiForge 第1阶段 — 变更提案,CHANGE.md。四端通用。
SkillCFreshness: C★ 859Claude Code +9
Signals
- Stars
- 859
- Forks
- 22
- Open issues
- 1
- Last commit (this folder)
- Jun 8, 2026 (4 months ago)
- Last release
- Jul 15, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Dong90/oh-my-taiyiforge
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Dong90
- 0.712score
taiyi-orchestrator
Dong90
TaiyiForge 统一入口 — 意图解析、阶段路由、Token预算、工件预检。Use when 用户说"开始/继续/审查/测试/设计"等流程相关意图。
SkillCFreshness: C★ 859Claude Code +9 - 0.710score
taiyi-compress
Dong90
TaiyiForge 辅助 — Token 压缩编排:/taiyi:token compress + Superpowers subagent + ECC strategic-compact / handoff。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-render
Dong90
TaiyiForge 辅助 — 将 C4/architecture Mermaid 渲染为 SVG/PNG(视觉审查 · 不改架构边界)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-flow
Dong90
TaiyiForge 辅助 — 业务流程图 / 状态机 / 序列图(Mermaid flowchart)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-architect
Dong90
TaiyiForge 辅助 — 架构决策记录 ADR(长期影响决策的可追溯补充)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-pipeline
Dong90
TaiyiForge 辅助 — 架构图三步流水线编排(C4 真源 → 工程图同步 → PNG 渲染)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get taiyi-diagram-c4 running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
taiyi-diagram-c4 skill. Agent Mart. https://agentmart.dev/skills/dong90-taiyi-diagram-c4 (last updated 2026-10-24)