Logo Process

Process

Cộng đồng
notque
process

Process: retrospectives, session handoff, pair programming, subagent-driven development, condition-based waiting.

Tổng quan

Nhà phát hànhnotque
Kho mãvexjoy-agent
Tên kỹ năngprocess
Sao
443
Bản fork
50
Tệp đi kèm
6
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được notque công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Process trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/notque/vexjoy-agent/tree/main/skills/process/process
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/notque/vexjoy-agent.git /tmp/vexjoy-agent
mkdir -p .claude/skills
cp -r /tmp/vexjoy-agent/skills/process/process .claude/skills/process
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Process trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Process ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Process không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Process Skill

Five modes. Parse the request to pick one. Default to retro when ambiguous.

SignalMode
Routing stats, review ROI, retroRetro
Hand off, package state, session pickup, rehydrateHandoff
Pair program, step by step, walk me through, one change at a timePair
Subagent per task, execute plan, fresh contextSubagent
Wait for, retry, backoff, poll, health check, circuit breakerWait

Mode: Retro

Read-only retrospective. Store: learning.db (routing/review telemetry via scripts/learning-db.py).

Subcommands

ArgumentAction
routing, route healthRun python3 ~/.claude/scripts/learning-db.py route-health, then route-stats --by agent (or the user's dimension). Present outcome basis before rates.
reviews, review ROIRun learning-db.py review-roi and review-fps. Present cost, findings, and false positives per agent in one table.

For comparisons: learning-db.py route-delta --from SHA_OR_DATE --to SHA_OR_DATE.


Mode: Handoff

Two submodes sharing one state contract. HANDOFF packages work for the next session. PICKUP rehydrates from that package.

Handoff (ending/pausing work)

Produce a bullet package with these sections:

  1. Scope/status -- task in one line, finished vs. remaining, blockers.
  2. Working tree -- git status -sb; note unpushed commits and worktree path.
  3. Branch/PR -- branch, PR URL, CI status (gh pr checks).
  4. Live processes -- summarize relevant processes with attach/tail commands. Redact secrets.
  5. Tests/checks -- commands, results, checked revision, log paths.
  6. Next steps -- remaining actions in execution order.
  7. Risks/gotchas -- flaky tests, feature flags, approvals needed.

Gate: every process has a copy-paste command; every pending step is ordered.

Pickup (starting on existing work)

  1. Read the handoff and repository instructions.
  2. Confirm branch, local commits, worktree path (git status -sb).
  3. Check CI/PR (gh pr view --comments).
  4. Check live processes from the handoff. Attach or tail logs.
  5. Rerun only invalidated or missing checks.
  6. Write next 2-3 actions as bullets, then execute.

Gate: branch, PR state, and first action confirmed. Observed state wins over handoff.

Constraints: separate observed from inherited results. Redact secrets. Scale detail to the next action.


Mode: Pair

Announce-Show-Wait-Apply-Verify micro-step protocol. Stay in the main session (forks cannot conduct user gates).

Setup

Read the request and code. Show a numbered plan (one logical change per step). Wait for acknowledgment. Track current step, remaining steps, and speed.

Per-step cycle

  1. Announce the change and reason (1-2 sentences).
  2. Show the proposed diff (default 15 lines, cap 50). Split larger changes into sub-steps.
  3. Wait for a control command.
  4. Apply only after ok / yes / y.
  5. Verify with relevant checks. Report result in one sentence.
CommandAction
ok/yes/yApply current step, propose next
no/nSkip, propose alternative
fasterDouble step size (cap 50)
slowerHalve step size (min 5)
skipSkip to next step
planShow remaining steps
doneEnd pairing, run final verification

"Just do it" = switch to autonomous mode for remaining authorized work.


Mode: Subagent

Execute a plan with fresh implementer subagents. Planning owns the plan format; this mode owns dispatch and integration.

Phase 1: SETUP

  1. Read the plan once. Extract tasks with text, files, dependencies, and verify commands.
  2. Track tasks as pending/in-progress/complete.
  3. Capture BASE_SHA (git rev-parse HEAD), project conventions, and relevant context.
  4. Check scope overlap: python3 scripts/check-scope-overlap.py --tasks '<json>'. Serialize overlapping writes; parallelize independent groups.

Gate: tasks, BASE_SHA, context, and scope checks ready.

Phase 2: EXECUTE (per task)

  1. Mark in-progress. Dispatch implementer with full task text and context.
  2. Dispatch ADR compliance reviewer. Fix requirement failures before code quality.
  3. Dispatch code quality reviewer. Fix Critical and Important findings; Minor optional.
  4. Mark complete. After three failed reviews at either stage, stop and report.

Gate: requirements and code quality pass per task.

Phase 3: FINALIZE

  1. Review combined BASE_SHA..HEAD diff for cross-task conflicts and integration issues.
  2. Follow the authorized completion path (pr-workflow).

Gate: combined changes work, required checks pass.


Mode: Wait

Implement condition-based polling and retry patterns with bounded timeouts.

Pattern selection

ScenarioPattern
Wait for condition to become trueSimple poll (timeout + min interval)
Retry failing operationExponential backoff (max retries + jitter + delay cap)
API returns 429Rate limit recovery (Retry-After + fallback)
Wait for service(s) to startHealth check (all-pass + per-check status)
Prevent cascade failuresCircuit breaker (failure threshold + recovery timeout)

Shared rules

  • Read CLAUDE.md and search for existing wait/retry patterns first.
  • Every loop needs a mandatory timeout. No infinite waits.
  • Use time.monotonic() for elapsed time, never time.time().
  • Minimum poll interval: 10ms in-process, 100ms external services.
  • Jitter is mandatory on exponential backoff (prevents thundering herd).
  • Classify errors before retrying: 408/429/500/502/503/504 are retryable; 400/401/403/404 are not.
  • Log each attempt with failure reason and attempt number.
  • Test both success and timeout/exhaustion paths.

Simple poll core

python
start = time.monotonic()
while time.monotonic() < start + timeout:
    if condition():
        return result
    time.sleep(interval)
raise TimeoutError(f"Timeout waiting for: {description}")

Exponential backoff core

python
for attempt in range(max_retries + 1):
    try:
        return operation()
    except retryable_exceptions:
        if attempt >= max_retries: raise
        jitter = 1.0 + random.uniform(-0.5, 0.5)
        time.sleep(min(delay * jitter, max_delay))
        delay = min(delay * backoff_factor, max_delay)

For full implementations (rate-limited client, health check waiter, circuit breaker), detection commands, and test patterns, load the deep references.


Deep References

SignalLoadContent
Writing wait/retry implementationsreferences/cbw-implementation-patterns.mdComplete Python/Bash code for all 5 patterns
Reviewing wait/retry code for mistakesreferences/cbw-preferred-patterns.mdDetection commands and fixes for common mistakes
Testing wait/retry codereferences/cbw-testing-patterns.mdpytest patterns for polling, backoff, circuit breaker

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Process làm được gì?

Process: retrospectives, session handoff, pair programming, subagent-driven development, condition-based waiting.

Vì sao nên dùng Process trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Process là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Process trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/notque/vexjoy-agent/tree/main/skills/process/process. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Process?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Process với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Process với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Process có miễn phí không?

Có. Kỹ năng này được notque phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇