اسکیلیکس | Skilliks مهارت‌های تاییدشده برای هوش مصنوعی

Draw a sequence diagram

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

این مهارت با نام «Draw a sequence diagram» تجربهٔ یک کاربلد در مستندسازی را کنار دستیار شما می‌گذارد؛ کافی است درخواست بدهید تا «تحلیل داده و یادگیری ماشین» را طبق همان روند پیش ببرد. هم ۳ گام مشخص و ۵ نمونهٔ آماده دارد و هم با Claude Code بدون تنظیم اضافه کار می‌کند.

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

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

دسترسی کامل فعال است
---
name: draw-sequence-diagram
description: Draws a sequence diagram, the order in which a project's parts call each other for one request and what comes back, such as a sign-in or a checkout, as an animated SVG with archgram, from its code or from a document the user names. Writes a spec in docs/diagrams/, checks it against the code and draws it, then reports briefly how exact it is. Use it when the user asks for a sequence diagram, or to update or repair one archgram drew.
license: MIT
compatibility: Requires Node 22 or later, with npx.
---

# Draw a sequence diagram

archgram draws the participants, the messages in order, the fragments
and the phases, light and dark in one SVG; its meaning is UML's (clause
17, Interactions). Your work: follow one request through the code, write
a short spec, and back every message with its line. The rules every kind
shares come from `archgram guide` (step 1); `find.md` beside this file
says how to find the order, `spec.md` how to write it.

## Find archgram

Every command runs archgram through npx (Node 22 or later), found where
it already is, once, before the first command. Read the project's root
`package.json` first.

- **The project's own.** When `package.json` lists archgram, run that
  one: write each command with `archgram` for `archgram@0.13.0` and
  `--no --offline` for `--yes`. When it is older than `0.13.0`, say so,
  with the project's own command to upgrade (`npm install --save-dev
  archgram@0.13.0`), and stop. If npx says it is missing, ask the user
  to install the project's dependencies, and stop.
- **This version, already on the machine:**

  ```bash
  npx --no --offline --loglevel=error archgram@0.13.0 --version
  ```

  It uses no network. When it prints `archgram 0.13.0`, run the commands
  as written.
- **Not there: ask before downloading.** Say what and from where: the npm
  package `archgram@0.13.0` and its native program, a few megabytes, from
  the npm registry. Offer to install it into the project (`npm install
  --save-dev archgram@0.13.0`) or to let npx fetch it once, and run
<!-- ‹guest · 2026-11-23› -->
  neither until the user picks one.

## 1. Read the rules

```bash
npx --yes --loglevel=error archgram@0.13.0 guide
```

Then read `find.md` and `spec.md`.

## 2. Understand the project

Take the scenario from the user's words ("signing in"). Read only the
entry point of that request and the calls it makes, as `find.md` says:
never the whole codebase.

## 3. Write the spec, then check it

```bash
npx --yes --loglevel=error archgram@0.13.0 spec --section sequence
```

Write `docs/diagrams/<scenario>.archgram.yaml` (`sign-in`), then check
it until it passes:

```bash
npx --yes --loglevel=error archgram@0.13.0 check docs/diagrams/<scenario>.archgram.yaml
```

On an update, start from the spec there: `check` names what lost its
code; change only that and what the request asks.

## 4. Draw, look, open, report

```bash
npx --yes --loglevel=error archgram@0.13.0 build docs/diagrams/<scenario>.archgram.yaml --preview
```

Hold it to the guide's limits, look at the previews, open the drawing
and report, as the guide says.
<!-- ‹guest · 2026-11-23› -->

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

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

مشاهدهٔ همه ←
مستندسازی
✦ Pro

REA changelog update

«REA changelog update» یک مهارت آماده در حوزهٔ مستندسازی است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «مستندسازی فنی و راهن…

⚡ /rea-changelog-update SKILL.md
Claude / Claude CodeOpenAI Codex +۳
۹۴/۱۰۰ ★ ۴۷۴,۰۸۴
مستندسازی
✦ Pro

Writing Skills

«Writing Skills» دستورالعمل دقیقی برای «خودکارسازی جریان کار و گیت (Git / CLI)» در اختیار دستیار هوش مصنوعی می‌گذارد تا…

⚡ /writing-skills SKILL.md
Claude / Claude CodeOpenAI Codex +۲
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
مستندسازی
✦ Pro

Discernment nudge

اگر روی مستندسازی کار می‌کنید، «Discernment nudge» بخشی از کار را از دوش شما برمی‌دارد: «دستورالعمل تخصصی استاندارد (SK…

⚡ /discernment-nudge SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۱۹۸,۷۹۴
مستندسازی
✦ Pro

Label a skills CLI pull request

«Label a skills CLI pull request» یک مهارت آماده در حوزهٔ مستندسازی است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «خودکارساز…

⚡ /pr-labeling SKILL.md
Claude / Claude Code
۹۰/۱۰۰ ★ ۴۰,۵۰۹
مستندسازی
✦ Pro

CLI Creator

«CLI Creator» دستورالعمل دقیقی برای «طراحی و بهینه‌سازی دیتابیس» در اختیار دستیار هوش مصنوعی می‌گذارد تا نتیجه، به‌جای …

⚡ /cli-creator SKILL.md
OpenAI CodexCursor
۹۲/۱۰۰ ★ ۲۸,۸۹۶
مستندسازی
✦ Pro

ChatGPT Apps

این مهارت با نام «ChatGPT Apps» تجربهٔ یک کاربلد در مستندسازی را کنار دستیار شما می‌گذارد؛ کافی است درخواست بدهید تا «ب…

⚡ /chatgpt-apps SKILL.md
ChatGPTOpenAI Codex +۱
۸۹/۱۰۰ ★ ۲۸,۸۹۶