Logo Workflow

Workflow

Cộng đồng
notque
workflow

Structured work: multi-phase tasks, feature builds, planning, objective loops, hill climbing.

Tổng quan

Nhà phát hànhnotque
Kho mãvexjoy-agent
Tên kỹ năngworkflow
Sao
443
Bản fork
50
Tệp đi kèm
136
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • 136 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 các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Workflow 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/notque/vexjoy-agent/tree/main/skills/process/workflow
  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/workflow .claude/skills/workflow
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 Workflow 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ự nạp Workflow 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 bạn có thể dùng Workflow với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổ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.

Workflow Skill

Five modes for structured multi-phase work. Match the request, follow that mode's instructions.

Mode Selection

Request patternMode
Feature design/plan/implement/validate/release, end-to-endFeature Lifecycle
Write spec, define requirements, create plan, interview, pause/resumePlanning
Keep working until, iterate until done, drive to doneObjective Loop
Make faster, speed up, reduce latency, profile, hill climbHill Climb
All other structured workflows: review, debug, refactor, research, create, explore, upgradeAd-Hoc Workflow

Feature Lifecycle

Phase-gated workflow: DESIGN > PLAN > IMPLEMENT > VALIDATE > RELEASE. Each phase must pass its gate before the next begins.

Phase Routing

If .feature/ exists, check state: python3 ~/.claude/scripts/feature-state.py status. Route to the indicated phase.

If no feature state exists, determine entry from intent:

  • "design", "think through", "explore approaches" -> DESIGN
  • "plan", "break down", "create tasks" -> PLAN (requires completed design)
  • "implement", "execute plan" -> IMPLEMENT (requires completed plan)
  • "validate", "quality gates" -> VALIDATE (requires completed implementation)
  • "release", "merge", "ship it" -> RELEASE (requires passed validation)
  • "end to end", "full lifecycle" -> DESIGN (start from beginning)

Phase References

Load the phase reference, then follow it exactly:

PhaseReferenceProduces
DESIGNreferences/fl-design.mddesign.md
PLANreferences/fl-plan.mdWave-ordered task list
IMPLEMENTreferences/fl-implement.mdCode changes
VALIDATEreferences/fl-validate.mdQuality gate report
RELEASEreferences/fl-release.mdMerged PR
End-to-endreferences/fl-pipeline.mdFull lifecycle
State conventionsreferences/fl-shared.md--
Error recoveryreferences/fl-error-handling.md--

State operations use python3 ~/.claude/scripts/feature-state.py only. Never manipulate state files directly.


Planning

Spec writing, plan creation, interviews, ambiguity triage, and session pause/resume. Planning owns specs and saved plans; execution goes through subagent-driven-development or workflow dispatch.

Sub-mode Routing

SignalReference
Write spec, user stories, define requirements, scope, acceptance criteriareferences/pl-spec.md
Discuss ambiguities, resolve gray areas, pre-planning discussionreferences/pl-pre-plan.md
Interview me, depth-first review, "not sure", "where do I start", "poke holes"references/pl-depth-first-interview.md
Implicit ambiguity or unclear implementation choicesreferences/pl-ambiguity-triage.md
Another person holds needed facts or approvalreferences/pl-human-source-elicitation.md
Observation can settle a disputed choicereferences/pl-empirical-prototype.md
Phase or session transition nearreferences/pl-context-boundary.md
Create plan, task plan, file-backed planningreferences/pl-plan-files.md
Check plan, validate plan, pre-execution checkreferences/pl-check.md
List plans, show plan, complete plan, manage plansreferences/pl-manage.md
Pause, save progress, handoff, stopping for nowreferences/pl-pause.md
Resume, continue, pick up where I left offreferences/pl-resume.md

For interviews, batch independent questions into frontier rounds. Ask dependent questions sequentially. Include a recommendation per question.


Objective Loop

Iterate-until-verified-done loop. A user states an objective with verifiable done-criteria; each iteration routes one /do cycle, verifies by executing the criteria, and reschedules until verified-done or budget-stop.

Phase 1: SPEC

Gather from the request: objective statement, DONE-CRITERIA (verifiable checks), iteration budget (default 5), NOT-DONE-YET guardrails (what may never be done to satisfy a criterion).

DONE-CRITERIA types: command (preferred -- deterministic command with expected exit code/output) or rubric (only when no mechanical check exists -- frozen at SPEC time, graded by a fresh-context agent).

Phase 2: STATE

Write .objective/<slug>/state.md from references/ol-state-file.md. Wakeups resume from the state file, never conversation memory.

Phase 3: ITERATE

Plan the smallest next step. Route through /do: classify -> route -> dispatch agents -> evaluate. The loop dispatches exclusively through /do -- never edit inline.

Phase 4: VERIFY

Run every done-criterion check. A worker's "passes" claim never substitutes for re-running.

  • command: run it, paste exit code and output into iteration log.
  • rubric: dispatch fresh-context sub-agent (did NOT produce the work) with artifact + rubric only. Returns PASS/FAIL with cited evidence.

All pass -> final report, STOP. Any unmet -> Phase 5.

Criteria-gaming guard: a criterion may never be satisfied by weakening a hook, gate, test, or safety control. Stop and report the conflict if that is the only visible path.

Phase 5: RESCHEDULE or STOP

All pass: stop. Unmet + iterations remain: update state file, call ScheduleWakeup (delay 270s for active polling, 1200s+ for idle work). Budget exhausted: honest NOT-DONE report with per-criterion status.


Hill Climb

Metric-driven optimization loop. One number moves; everything else stays fixed. Each iteration: hypothesis -> one change -> correctness floor -> re-measure -> accept or revert.

Phase 1: SPEC

FieldRequiredDefault
METRIC (one number, units, direction)yes--
MEASURE (deterministic command)yes--
TARGET (value that ends the loop)yes--
FLOOR (correctness gate commands, must exit 0)yes--
FIXTURE (pinned dataset/workload)yes--
Variance toleranceno2x baseline spread
Iteration budgetno8
Plateau threshold Kno3

One METRIC per loop. Two numbers with a trade-off: promote one to the FLOOR. Load references/hc-domain-playbooks.md for pre-filled SPEC blocks per domain (frame rate, API latency, CI time, bundle size, memory, token cost).

Phase 2: BASELINE

Run MEASURE N times (N >= 5, N >= 10 for wall-clock). Record median and spread. If spread >= target improvement: STOP -- harness too noisy. Report noise sources and offer to stabilize first.

Phase 3: PROFILE

Locate the cost before changing anything. Load references/hc-profiling-tools.md for per-domain tooling. Guessing at hot spots is the dominant failure mode.

Phase 4: HYPOTHESIZE and CHANGE

State one hypothesis targeting the profiled hot spot. Make one change. Run FLOOR commands -- revert immediately if any fail.

Phase 5: MEASURE

Run MEASURE N times. Compare median to baseline. Accept only if delta > variance tolerance. Update ledger (references/hc-ledger.md). If accepted, new baseline.

Phase 6: LOOP or STOP

Target reached: final report. K consecutive non-improving iterations: plateau stop. Budget exhausted: report what worked and what remains.


Ad-Hoc Workflow

For structured multi-phase work that does not fit the four modes above. Identify the workflow from the table, load its reference, follow its phases exactly.

Cost Gate

Ask first: does this need a multi-agent workflow? Skip the workflow when: single-file mechanical edit (use quick), one agent satisfies the request (direct dispatch), lookup/status/count (direct agent). Escalate only when the request has independent subtasks, needs orthogonal verification, or names "comprehensive / thorough / adversarial / tournament."

Composable Patterns

PatternWhat it does
Classify-and-actRoute by type up front; or classify-at-end
Fan-out-and-synthesizeIndependent agents in parallel, barrier, one synthesizer
Adversarial verificationExecutor builds, fresh skeptic refutes
Generate-and-filterOver-generate candidates, gate keeps survivors
TournamentN agents attempt same task; pairwise judges pick winner per round
Loop-until-doneRepeat until hard completion test passes
QuarantineRead-only triage agent for untrusted content; separate privileged acting agent

Workflow Catalog

Load the reference for the matched workflow. references/... paths resolve under ${CLAUDE_SKILL_DIR}.

CategoryWorkflowReference
Code ReviewComprehensive multi-wavereferences/comprehensive-review.md
DebuggingEvidence-based diagnosisreferences/systematic-debugging.md
RefactoringSafe refactoring with test gatesreferences/systematic-refactoring.md
ResearchFormal research with source gatesreferences/research-pipeline.md
ResearchResearch to articlereferences/research-to-article.md
ContentArticle evaluationreferences/article-evaluation-pipeline.md
ContentDe-AI contentreferences/de-ai-pipeline.md
ContentDocumentationreferences/doc-pipeline.md
ExplorationCodebase explorationreferences/explore-pipeline.md
ExplorationMulti-perspective analysisreferences/do-perspectives.md
CreationSkill creationreferences/skill-creation-pipeline.md
CreationHook developmentreferences/hook-development-pipeline.md
CreationMCP serverreferences/mcp-pipeline-builder.md
CreationPipeline scaffoldingreferences/pipeline-scaffolder.md
CreationDomain researchreferences/domain-research.md
CreationChain compositionreferences/chain-composer.md
CreationAuto-pipeline generationreferences/auto-pipeline.md
UpgradeAgent/skill upgradereferences/agent-upgrade.md
UpgradeSystem upgradereferences/system-upgrade.md
UpgradeToolkit improvementreferences/toolkit-improvement.md
TestingPipeline test runnerreferences/pipeline-test-runner.md
TestingPipeline retroreferences/pipeline-retro.md
GitHubProfile rules extractionreferences/github-profile-rules.md
GitHubFix PRs in repos you don't ownreferences/pr-fix-loop.md
OrchestrationTask orchestrationreferences/workflow-orchestrator.md
OrchestrationDAG compositionreferences/dag-composition-patterns.md
OrchestrationCompatibility matrixreferences/dag-compatibility-matrix.md
OrchestrationCommon DAG patternsreferences/dag-skill-patterns.md
OrchestrationDAG examplesreferences/dag-orchestration-examples.md
OrchestrationDAG advancedreferences/dag-orchestration-advanced.md
OrchestrationFeedback loopreferences/feedback-loop-construction.md

Terminology

"Workflow" is the canonical term. "Pipeline" is the retained legacy alias -- kept for back-compat in routing keys, meta.name exports, and pipeline-index.json. Use "workflow" in new prose; do not rename code identifiers.


Error Handling

ErrorResponse
Mode ambiguousAsk the user to clarify intent
Phase mismatchReport current state, suggest correct next phase
Missing artifactRoute back to previous phase
Noisy harness (hill-climb)Stop; report spread vs target improvement
Budget exhaustedHonest NOT-DONE report with per-criterion status
State file missing on wakeupReport and stop; ask user to restate objective

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 76 tệp khác.

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

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

Structured work: multi-phase tasks, feature builds, planning, objective loops, hill climbing.

Vì sao nên dùng Workflow 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. Workflow 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 Workflow 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/workflow. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng 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 Workflow?

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.

Có thể dùng Workflow 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 Workflow 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 Workflow 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇