来源信息
- 仓库
- brycewang-stanford/Auto-Empirical-Research-Skills
- 最近来源活动
- 2026年4月3日 02:07
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 3,291
- 分支
- 432
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
菜单
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills --skill mermaid-architect-guide命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | mermaid-architect-guide |
| description | Design complex multi-diagram architectures using advanced Mermaid syntax |
| metadata | {"openclaw":{"emoji":"📐","category":"tools","subcategory":"diagram","keywords":["Mermaid","architecture","system design","C4 model","diagram","hand-drawn"],"source":"https://github.com/mermaid-js/mermaid"}} |
Design complex, multi-view system architectures and research infrastructure diagrams using advanced Mermaid features including C4 diagrams, hand-drawn rendering mode, subgraph nesting, and theme customization.
While basic Mermaid flowcharts are widely known, Mermaid's advanced capabilities enable sophisticated architectural documentation that rivals dedicated tools like Structurizr or Draw.io. This skill focuses on the architectural use cases that matter most to research teams: depicting multi-layer systems, data pipelines, deployment topologies, and complex experimental workflows.
Mermaid v11+ introduced a hand-drawn rendering mode (via the handDrawn look) that produces a sketch-like aesthetic similar to Excalidraw but with the convenience of text-based Markdown embedding. This makes it ideal for research proposals and informal documentation where a polished diagram would feel premature.
Research software systems often involve intricate interactions between data sources, processing pipelines, ML models, and visualization layers. The C4 model support in Mermaid allows teams to document these systems at multiple levels of abstraction -- from high-level context diagrams down to detailed component views -- all in version-controlled Markdown files.
Enable the sketchy, informal rendering style:
---
config:
look: handDrawn
theme: neutral
---
flowchart LR
A[Raw Data] --> B[Preprocessing]
B --> C[Feature Engineering]
C --> D[Model Training]
D --> E[Evaluation]
E -->|Poor| C
E -->|Good| F[Deployment]
The handDrawn look applies rough.js-style rendering to all elements, giving them a natural sketched appearance. This is particularly useful for early-stage architecture discussions and research proposals.
C4Context
title Research Platform - System Context
Person(researcher, "Researcher", "Academic user conducting studies")
Person(admin, "Platform Admin", "Manages skills and users")
System(platform, "Wentor Platform", "AI-powered research assistant ecosystem")
System_Ext(scholar, "OpenAlex", "Academic paper database")
System_Ext(crossref, "CrossRef", "DOI resolution and metadata")
System_Ext(github, "GitHub", "Code and skill repositories")
Rel(researcher, platform, "Uses", "HTTPS")
Rel(admin, platform, "Manages", "HTTPS")
Rel(platform, scholar, "Queries papers", "REST API")
Rel(platform, crossref, "Resolves DOIs", "REST API")
Rel(platform, github, "Fetches skills", "REST API")
C4Container
title Research Platform - Container View
Person(researcher, "Researcher")
Container_Boundary(platform, "Wentor Platform") {
Container(web, "Web App", "React + UmiJS", "Browser-based UI")
Container(api, "API Server", "FastAPI", "REST endpoints")
Container(claw, "Research-Claw", "Node.js", "Local AI agent")
ContainerDb(db, "Database", "PostgreSQL", "User data, skills, tokens")
ContainerDb(cache, "Cache", "Redis", "Session and rate limit data")
}
System_Ext(llm, "LLM Provider", "Claude / GPT")
Rel(researcher, web, "Browses", "HTTPS")
Rel(researcher, claw, "Runs locally", "WS localhost")
Rel(web, api, "Calls", "REST/JSON")
Rel(api, db, "Reads/Writes", "SQL")
Rel(api, cache, "Caches", "Redis protocol")
Rel(claw, llm, "Sends prompts", "HTTPS")
flowchart TB
subgraph ingestion ["Data Ingestion Layer"]
direction LR
A1[PubMed API] --> B1[Raw Store]
A2[arXiv API] --> B1
A3[CrossRef API] --> B1
end
subgraph processing ["Processing Pipeline"]
direction LR
C1[Text Extraction] --> C2[NER & Entity Linking]
C2 --> C3[Citation Graph Construction]
C3 --> C4[Embedding Generation]
end
subgraph serving ["Serving Layer"]
direction LR
D1[Search Index] --> D2[Recommendation Engine]
D2 --> D3[REST API]
end
ingestion --> processing --> serving
flowchart TD
Start([Begin Experiment]) --> Design[Study Design]
Design --> IRB{IRB Approval?}
IRB -->|Approved| Pilot[Pilot Study n=30]
IRB -->|Revision needed| Design
Pilot --> PilotCheck{Pilot Successful?}
PilotCheck -->|Yes| FullStudy[Full Study n=300]
PilotCheck -->|No| Redesign[Revise Protocol]
Redesign --> Pilot
FullStudy --> Analysis[Statistical Analysis]
Analysis --> Results{Significant?}
Results -->|p < 0.05| Write[Write Manuscript]
Results -->|p >= 0.05| Explore[Exploratory Analysis]
Explore --> Write
Write --> Submit([Submit to Journal])
stateDiagram-v2
[*] --> Ideation
Ideation --> ProposalDrafting : Concept validated
state ProposalDrafting {
[*] --> Writing
Writing --> InternalReview
InternalReview --> Writing : Revisions needed
InternalReview --> Ready : Approved
}
ProposalDrafting --> Submitted : Submit to funder
Submitted --> UnderReview : Acknowledged
UnderReview --> Funded : Award
UnderReview --> Rejected : Decline
Rejected --> Ideation : Revise concept
Funded --> Active : Project kickoff
Active --> Reporting : Milestone due
Reporting --> Active : Report accepted
Active --> Completed : All deliverables met
Completed --> [*]
%%{init: {
'theme': 'base',
'themeVariables': {
'primaryColor': '#1971c2',
'primaryTextColor': '#ffffff',
'primaryBorderColor': '#1864ab',
'lineColor': '#495057',
'secondaryColor': '#e03131',
'tertiaryColor': '#f8f9fa',
'fontFamily': 'Inter, sans-serif'
}
}}%%
flowchart LR
A[Input] --> B[Process] --> C[Output]
| Platform | Support | Notes |
|---|---|---|
| GitHub Markdown | Native | Renders in README, issues, PRs |
| GitLab | Native | Full Mermaid support |
| Obsidian | Native | Real-time preview |
| Notion | Via embed | Use mermaid.ink URL encoding |
| LaTeX | Pre-render | Use mmdc CLI to export SVG/PDF |
| Jupyter | Via plugin | mermaid-py or iframe rendering |
# Install Mermaid CLI
npm install -g @mermaid-js/mermaid-cli
# Render to SVG
mmdc -i architecture.mmd -o architecture.svg -t neutral
# Render with hand-drawn look
mmdc -i architecture.mmd -o sketch.svg --configFile mermaid-config.json