Trellis Workflow Enhancer 标志

Trellis Workflow Enhancer

社区
lei1024
trellis-workflow-enhancer

审查并应用适用于当前项目的真实 Trellis 集成,以支持 Matt Pocock 和 Waza 技能,并包含阶段路由、钩子注入、持久化工件交接和冒烟测试证据。适用于用户希望加强、比较、更新、集成或调试 Trellis 与 Matt/Waza 工作流的情况,尤其是技能已安装却未实际触发时。

概览

发布者lei1024
代码仓库trellis-workflow-enhancer
技能名称trellis-workflow-enhancer
星标数
26
复刻数
0
附带文件
8
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 lei1024 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Trellis Workflow Enhancer AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/lei1024/trellis-workflow-enhancer/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lei1024/trellis-workflow-enhancer.git \
  .claude/skills/trellis-workflow-enhancer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Trellis Workflow Enhancer,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Trellis Workflow Enhancer。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Trellis Workflow Enhancer 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Trellis Workflow Enhancer AI 技能有什么作用?

审查并应用适用于当前项目的真实 Trellis 集成,以支持 Matt Pocock 和 Waza 技能,并包含阶段路由、钩子注入、持久化工件交接和冒烟测试证据。适用于用户希望加强、比较、更新、集成或调试 Trellis 与 Matt/Waza 工作流的情况,尤其是技能已安装却未实际触发时。

为什么在 TypingMind 中使用 Trellis Workflow Enhancer?

因为您只需安装一次,就能搭配任何模型使用。Trellis Workflow Enhancer 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Trellis Workflow Enhancer?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/lei1024/trellis-workflow-enhancer/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Trellis Workflow Enhancer?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Trellis Workflow Enhancer 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Trellis Workflow Enhancer 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Trellis Workflow Enhancer AI 技能免费吗?

是的。lei1024 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇