لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

4R system modeling framework

آزاد تازه‌وارد تاییدشده امن

کارهای تکراری ترمینال، مدیریت شاخه‌ها، نوشتن پیام کامیت استاندارد و ساخت اسکریپت‌های کمکی را سریع و یکدست انجام می‌دهد. (شامل ۴ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: architect-4r
description: Use only when explicitly invoked. Describe existing software architecture from code or context using Li Yunhua's 4R method. Align on views, roles, and key scenarios, then draw architecture and scenario diagrams.
metadata:
  language: en
  translation_of: architect-4r-cn
  version: "0.4.0"
  openclaw:
    homepage: https://github.com/ontology-of-everything/concept-skills/tree/main/skills/en/architect-4r
---

# 4R system modeling framework

Describe existing architecture from code or context the user provides. Use Li Yunhua's [4R method](https://time.geekbang.org/column/article/6458) to explain the selected system's top-level structure and operating rules.

| Element | What to explain |
| --- | --- |
| Rank | The level of decomposition you are looking at. The top level is relative to the selected system. A role at one level can expand into a system at the next. |
| Role | The units that make up this level and the responsibilities each carries. |
| Relation | The connections between roles, such as calls, notifications, sharing, or dependencies. |
| Rule | How roles work together to deliver a system function, including triggers, order, outcomes, and failures that affect the result. |

A perspective sets the focus. The level determines how far you break down the system. Use one level of detail per architecture diagram. Ground roles, relations, and rules in code, configuration, documentation, or the user's account. Mark inferences and gaps where they appear. If a gap changes a role boundary or a key interaction, ask one focused question first.

## Workflow

1. **Select views.** State the question to answer. List relevant options, such as business, system, application, and physical deployment. Give each option a system boundary, level of detail, and question it answers. Recommend one or two options and invite the user to select one or more, add an option, or leave a note. Reuse any choices the user has made.
2. **Align on roles.** After view selection, list every internal role supported by the evidence at that view's level. Give each role a one-sentence responsibility. Name the owner of any key state. List external participants separately and flag gaps. If the evidence supports different groupings, recommend one, offer one alternative, and explain how the responsibilities differ. Ask the user to review the roster and invite additions, merges, splits, or notes.
3. **Draw relations.** After aligning on roles, draw one architecture diagram per view. Use its title and boundary for Rank, and nodes and directed edges for Role and Relation. Label edges by purpose and distinguish runtime communication from source dependencies as appropriate to the view.
4. **Select scenarios and draw rules.** List supported key scenarios by view. Say which part of the collaboration each scenario explains and mark your recommendations. Let the user select multiple scenarios, add one, or name a branch to focus on. Reuse scenarios the user has specified. Draw one Rule diagram per selected scenario and choose the diagram type yourself. Use a sequence diagram for interactions, a flowchart for decisions, or a state diagram for transitions.

When you start drawing, read the [diagram reference](references/diagrams.md) for notation, diagram selection, and an example. Before delivery, check that the architecture diagram covers the agreed roles, names match across diagrams, and key scenario interactions map to relations in the architecture diagram.


— ‹guest · 2026-11-26› —

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
یادگیری ماشین
✦ Pro

OpenAI Docs

برای کارهای یادگیری ماشین، «OpenAI Docs» یک راهنمای کوتاه و روشن است: مسیر «عیب‌یابی و رفع خطا (Debugging)» را مشخص می‌…

⚡ /openai-docs SKILL.md
OpenAI CodexChatGPT +۲
۹۲/۱۰۰ ★ ۲۸,۹۱۰
یادگیری ماشین
✦ Pro

Threat Model Source Code Repo

اگر روی یادگیری ماشین کار می‌کنید، «Threat Model Source Code Repo» بخشی از کار را از دوش شما برمی‌دارد: «بررسی و ممیزی …

⚡ /security-threat-model SKILL.md
OpenAI CodexCline
۸۹/۱۰۰ ★ ۲۸,۹۱۰
یادگیری ماشین
✦ Pro

LiteRT on Google Tensor: compile, benchmark, package for apps

این مهارت با نام «LiteRT on Google Tensor: compile, benchmark, package for apps» تجربهٔ یک کاربلد در یادگیری ماشین را ک…

⚡ /litert-google-tensor SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۲۴,۵۵۳
یادگیری ماشین
✦ Pro

Data Manager API Troubleshooting

«Data Manager API Troubleshooting» یک مهارت آماده در حوزهٔ یادگیری ماشین است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «عیب‌…

⚡ /data-manager-api-troubleshooting SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۲۴,۵۴۶
یادگیری ماشین
✦ Pro

Gemini API in Gemini platform

برای کارهای یادگیری ماشین، «Gemini API in Gemini platform» یک راهنمای کوتاه و روشن است: مسیر «هماهنگی عامل‌ها و ابزارها…

⚡ /gemini-api SKILL.md
GeminiMCP
۹۶/۱۰۰ ★ ۲۴,۵۴۸
یادگیری ماشین
✦ Pro

GKE AI/ML Inference

اگر روی یادگیری ماشین کار می‌کنید، «GKE AI/ML Inference» بخشی از کار را از دوش شما برمی‌دارد: «دواپس، داکر و استقرار (D…

⚡ /gke-inference SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۰