Logo Trellis Workflow Enhancer

Trellis Workflow Enhancer

Cộng đồng
lei1024
trellis-workflow-enhancer

Audit and apply real, project-local Trellis integrations for Matt Pocock and Waza skills, with phase routing, hook injection, durable artifact handoffs, and smoke-test evidence. Use when a user wants to strengthen, compare, modernize, integrate, or debug Trellis with Matt/Waza workflows, especially when skills are installed but do not actually trigger.

Tổng quan

Nhà phát hànhlei1024
Kho mãtrellis-workflow-enhancer
Tên kỹ năngtrellis-workflow-enhancer
Sao
26
Bản fork
0
Tệp đi kèm
8
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ộ.

  • 8 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 lei1024 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 Trellis Workflow Enhancer 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/lei1024/trellis-workflow-enhancer/tree/main
  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/lei1024/trellis-workflow-enhancer.git \
  .claude/skills/trellis-workflow-enhancer
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 Trellis Workflow Enhancer 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 Trellis Workflow Enhancer 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 Trellis Workflow Enhancer 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.

Trellis Workflow Enhancer

Build an optional integration layer, not a replacement framework. Trellis owns task state, package/spec scope, planning artifacts, acceptance evidence, check, spec updates, and finish. Matt and Waza contribute focused engineering habits only where the target repository has an observed gap.

Two Modes

Start in audit mode. Read the target repository and present evidence-backed options. Do not create tasks, edit Trellis files, install/update skills, change hooks, or alter task status before the user selects concrete enhancement IDs. N0 means no change and is a valid result.

After a concrete selection, enter apply mode. Apply only the selected bundles and the required I1 runtime-binding prerequisite. Never claim an integration is active until the bundled verifier passes; a route in Markdown or an installed skill directory alone is not proof.

What Counts As Integrated

Treat an enhancement as integrated only when all of these layers agree:

  1. Source: the selected skill is available from a project-local .agents/skills/<name>/SKILL.md or platform-equivalent project-local path, and its frontmatter has been read.
  2. Route: .trellis/workflow.md has a ### Skill Routing row naming the skill, trigger, and Trellis handoff.
  3. Phase: the route is repeated in the relevant [workflow-state:...] breadcrumb block, including inline variants when the target supports them.
  4. Invocation: the route mode matches the skill frontmatter. A skill with disable-model-invocation: true is explicit-only; a hook may surface its slash command but must never claim to execute it silently.
  5. Runtime: a configured UserPromptSubmit/equivalent hook reads the workflow state and emits context. Run the hook smoke test when applying.
  6. Handoff: the skill result names a durable Trellis artifact and a gate that must be satisfied before the phase advances.

The machine-readable contract is .trellis/skill-integration.json. Use the schema and examples in references/integration-contract.md. It is an audit record and a cross-check, not a second task tracker.

1. Collect Current Evidence

Read the target repository before recommending anything:

  1. Read AGENTS.md/CLAUDE.md, .trellis/config.yaml, .trellis/workflow.md, .trellis/spec/, active task artifacts, and the configured platform hook files.
  2. Run the installed Trellis context command when available. Read the config parser or local documentation before assuming package or scope semantics.
  3. Discover selected skills from the target project's local skill directories, shared skill roots, and the active agent's skill list. Read each selected SKILL.md fully before naming its behavior. Record whether the skill is automatic, conditional, or explicit-only from its frontmatter.
  4. Check official Matt and Waza sources in read-only mode. Record the checked revision or version, date, local version, and unavailable sources. Never call an installed skill current without an upstream check. Read the integration catalog before routing.
  5. Inspect real validation commands and test infrastructure. Do not infer a test runner from a framework or invent a command.

Redact secrets, tokens, private URLs, user data, and internal hostnames from reports and durable artifacts.

2. Diagnose Boundaries, Not Brands

Use the current Trellis workflow as the baseline. Assess only surfaces where repository evidence justifies a change:

  • package ownership and spec scope;
  • requirement, domain, and API decision clarity;
  • tests, bug reproduction, and feedback loops;
  • independent review and module/interface design;
  • UI/visual iteration and documentation work;
  • WIP, durable knowledge, and workflow maintainability.

For every candidate, state the observed Trellis gap, the verified source capability, the phase it belongs to, the durable artifact it produces, and what Trellis responsibility it must not replace. Never recommend a skill because it is popular.

3. Present Options Before Editing

Read the comparison template. Produce one compact table in the user's language with:

ID | Before | Optional after | Verified source capability | Benefit | Cost or risk | Prerequisite | Default

Include I1 (runtime binding and evidence), every evidence-backed optional bundle, and N0 (no change). Mark defaults as recommend, situational, or do not add. State that any applied bundle includes I1.

After the table, show:

  1. evidence and source revisions used;
  2. invocation mode and overlap guards;
  3. exact files and task state affected by each option;
  4. verification commands, including the hook smoke test;
  5. one explicit selection prompt: Select I1 + IDs, all recommended, or N0.

Do not treat silence, agreement with the analysis, or a request to "optimize" as selection. Wait for a concrete choice.

4. Apply Only Selected Options

After selection, preserve dirty work and make only selected, project-local changes:

  1. Verify each selected skill source and frontmatter. Do not silently install, update, or replace a third-party skill. If the source is missing, report the prerequisite instead of fabricating a route.

  2. Add or update ### Skill Routing rows in .trellis/workflow.md. Each row must name the trigger, mode, phase handoff, and artifact. Keep disable-model-invocation: true skills explicit-only.

  3. Add or update matching [workflow-state:...] blocks. A hook can only inject text that exists in these blocks; a route table outside them is not runtime activation. Include both normal and Codex inline blocks when present.

  4. Keep the execution order explicit: Trellis check first, then the selected independent Matt/Waza review, then spec update and commit. Do not let /check or /code-review replace trellis-check.

  5. Write .trellis/skill-integration.json for the selected routes. Include mode, phase, trigger, artifacts, gate, hook markers, and review_order. Do not use an empty artifact, a placeholder such as none, or a vague claim such as handled by the workflow.

  6. Record stable project-specific routing and verified source revisions in the project's local trellis-local skill. Do not copy third-party skill text.

  7. Run the bundled verifier from this skill:

    bash
    python3 <path-to-trellis-workflow-enhancer>/scripts/verify_integration.py \
      <target-repository> --smoke

    The verifier must pass before reporting "integrated". If it fails, report the exact layer that is missing: source, route, phase, invocation, runtime, or handoff.

Do not change global agent settings, global hook approval, .gitignore, task history, commit state, or issue-tracker configuration unless the user selected that separate action. A project hook prerequisite that still needs host approval is pending, not active.

5. Verify and Hand Off

For audit mode, report "installed", "routed", "hook configured", and "runtime observed" separately. For apply mode, report "integrated" only when all six proof layers and the verifier pass.

At minimum, validate:

  • .trellis/skill-integration.json schema and route entries;
  • local skill frontmatter and invocation modes;
  • workflow state tags and route-table handoffs;
  • hook configuration, hook source markers, and --smoke output;
  • Trellis config/package context, task context JSONL, Markdown links, and the fixed trellis-check -> independent review order.

Run source checks only when selected work changed source. Never invent a test command; report missing automation and manual evidence plainly.

Finish with the same before/after table, marking selected options as applied and unselected options as deferred. State local skills and upstream versions used, remaining tradeoffs, intentionally untouched surfaces, and any host approval still required.

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.

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

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

Audit and apply real, project-local Trellis integrations for Matt Pocock and Waza skills, with phase routing, hook injection, durable artifact handoffs, and smoke-test evidence. Use when a user wants to strengthen, compare, modernize, integrate, or debug Trellis with Matt/Waza workflows, especially when skills are installed but do not actually trigger.

Vì sao nên dùng Trellis Workflow Enhancer 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. Trellis Workflow Enhancer 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 Trellis Workflow Enhancer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/lei1024/trellis-workflow-enhancer/tree/main. 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 Trellis Workflow Enhancer?

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 Trellis Workflow Enhancer 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 Trellis Workflow Enhancer 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 Trellis Workflow Enhancer có miễn phí không?

Có. Kỹ năng này được lei1024 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 👇