Trellis Mvp To Delivery 标志

Trellis Mvp To Delivery

社区
coldwateryi
trellis-mvp-to-delivery

Audit an existing MVP against a source requirements document and run a sustainable Trellis delivery loop. Use when Codex is asked to continue after an MVP, complete remaining requirements, perform a first full gap audit, maintain a Requirements Traceability Matrix, classify DONE/PARTIAL/MISSING/UNTESTED/UNCLEAR items, initialize or update .trellis/delivery-state.md, choose full/delta/early-exit audit scope, plan bounded gap-closing batches, require worktree + verifier gates, design automated test coverage, classify discovered bugs, or run final acceptance before delivery.

Add to TypingMind

概览

发布者coldwateryi
代码仓库trellis-skills
技能名称trellis-mvp-to-delivery
星标数
44
复刻数
1
附带文件
15
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 15 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/coldwateryi/trellis-skills.git /tmp/trellis-skills
mkdir -p .claude/skills
cp -r /tmp/trellis-skills/trellis-mvp-to-delivery .claude/skills/trellis-mvp-to-delivery
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Trellis MVP to Delivery

Overview

Move an existing MVP toward complete delivery by returning to the source requirements, auditing evidence, maintaining a delivery state file, planning bounded gap-closing batches, and driving final acceptance. The first pass is always read-only and must produce a full requirements-vs-MVP gap matrix; later passes may use delta audit or early-exit when nothing relevant changed.

Guardrails (Phase-Tagged)

Small model note: Focus only on guardrails tagged for your current phase. Read new rules when entering the next phase.

All Phases (S0-S10)

  • Do not mark a requirement DONE without implementation evidence and test evidence.
  • Do not mix unrelated gaps into one task.
  • Size tasks to the execution model's capability: if the execution phase may use a capability-limited local model (e.g. offline qwen), split finer and annotate complexity.
  • A delivery task PRD is an execution spec the execution model copies from. During planning, replace every <...> placeholder with a concrete value (exact file paths, copyable existing examples, ordered implementation steps, machine-checkable acceptance assertions, self-check commands). Never leave reasoning — including which branch a bug fix takes — to the execution phase.
  • Do not put all testing into a final catch-all task. Each feature task must include its own basic tests.
  • Create a final validation task only after functional gap tasks are planned.
  • If a bug does not block the current requirement acceptance, classify it and create or propose a separate bug task.
  • Treat this skill as the delivery controller, not the implementer. Implementation belongs to trellis-implement-tdd; debugging belongs to trellis-debug-systematic; completion review belongs to trellis-review-twostage.

S0-S2 Dedicated (Load State & Audit Scope)

  • S0-S2: Do not "just continue development" after MVP. Audit requirements first.
  • S0-S2: Do not create delivery tasks until the user confirms the gap audit.
  • S0-S2: For Trellis 0.6 beta projects, treat .trellis/workflow.md as the active local workflow contract when present. Preserve and extend design.md, implement.md, implement.jsonl, and check.jsonl artifacts if existing tasks use them.

S4-S7 Dedicated (Batch Planning & Task Creation)

  • S4-S7: For L2/L3 gap-closing work, every implementation task must require an isolated worktree and verifier/review gate. Never let the implementer mark its own task complete.
  • S4-S7: Keep .trellis/delivery-state.md and .trellis/delivery-run-log.jsonl current when running as a repeated delivery loop.
  • S4-S7: Early-exit when there are no relevant changes since last_audited_commit; do not burn a full audit on a no-op run.

Workflow

0. Load Delivery Loop State (Graduated Loading)

Small model note: Do not read all reference files at once. Level 1 must be read before starting. Level 2 is read when entering the corresponding phase.

Level 1 — Required (read before S0):

  1. references/delivery-loop-policy.md — loop modes, audit scope, batch limits, stop conditions
  2. references/small-model-safety.md — small model safety (Stage State Packet, Context Budget, Evidence Discipline, Drift Reset, monotonic convergence)

Level 2 — Read when entering each phase:

Before phaseReference files
Before S1references/delivery-loop-state-template.md (delivery state format)
Before S3references/gap-audit-template.md + references/self-review-checklist.md
Before S5references/delivery-batch-template.md
Before S7references/delivery-task-prd-template.md
Before S7 (med/high complexity)references/planning-artifacts-template.md
Before S9references/test-coverage-matrix-template.md
Before S10references/final-acceptance-template.md + references/bug-classification-rules.md

Level 3 — Read for gating/fixing:

ScenarioReference files
After self-reviewreferences/self-review-checklist.md (current-phase section only)
Review reportreferences/self-review-report-template.md
Run logreferences/delivery-run-log-template.md
State validationscripts/trellis_delivery_gate.py

Gate rules:

  • Run scripts/trellis_delivery_gate.py before each phase transition.
  • If a Gate fails, stop and fix before moving forward.
  • If 2 consecutive self-review rounds find the exact same unfixed issues, output STALLED_CONVERGENCE, stop the current path, and recommend a stronger model or manual intervention.

If .trellis/delivery-state.md exists, read it before auditing. If it is missing, this is the first run:

  1. Load references/delivery-loop-state-template.md.
  2. Plan to initialize .trellis/delivery-state.md after the full gap audit.
  3. Default loop_mode to L1.
  4. Treat the current commit as the MVP baseline unless the user provides a different baseline.

If .trellis/delivery-run-log.jsonl is missing, load references/delivery-run-log-template.md and plan to create it at the end of the run.

1. Decide Loop Mode and Audit Scope

Use references/delivery-loop-policy.md to choose:

  • Loop mode: L1 audit-only, L2 assisted delivery, or L3 controlled continuous loop.
  • Audit scope: full, delta, or early-exit.

Rules:

  • First run after MVP is always L1 + full audit.
  • A full audit must compare source requirements against the MVP and output a complete Requirements Traceability Matrix.
  • Delta audit is allowed only when delivery state exists and source requirements have not changed.
  • Early-exit when no relevant requirement evidence, task status, code, or test files changed since last_audited_commit; append a run-log entry and stop.
  • Stop and ask the user if current_round exceeds max_rounds, a requirement carried over too many rounds, a verifier failed twice, or any critical review issue exists.

2. Discover Evidence

Locate and read:

  • Source requirements document.
  • Existing MVP code and tests.
  • Existing .trellis/tasks/, especially completed or active tasks.
  • Existing requirement IDs, traceability matrices, and acceptance notes if present.
  • Existing .trellis/delivery-state.md and .trellis/delivery-run-log.jsonl if present.
  • Relevant .trellis/spec/ indexes for affected packages.
  • Trellis 0.6 beta workflow metadata when present: .trellis/workflow.md, .trellis/config.yaml, .trellis/.version, .trellis/.developer, and .trellis/workspace/.

Before planning gap-closing work, check whether .trellis/spec/ and existing task artifacts are fresh enough to explain current behavior. If they are stale or too generic, add a spec-refresh/bootstrap or artifact-refresh task before implementation tasks.

Use local evidence before asking questions. Ask only blocking questions that cannot be resolved from the requirements or repository.

3. Perform Gap Audit (Enhanced - Self-Review Loop)

Loop through the following steps until small model execution standards are met:

Round N Audit

3.1 Generate Gap Audit Output

Load references/gap-audit-template.md and produce:

  • Requirements Traceability Matrix.
  • MVP completion summary.
  • Blocking questions.
  • Dependency-ordered task plan.
  • Recommended priorities.
  • Automated test requirements.
  • For medium/high complexity gap-closing tasks, draft shift-left design, implementation-plan, and context-manifest artifacts using references/planning-artifacts-template.md: design.md, implement.md, implement.jsonl, and check.jsonl when the project workflow supports them.

Use only these statuses: DONE, PARTIAL, MISSING, UNTESTED, UNCLEAR.

On first run, the Requirements Traceability Matrix is the baseline for future delivery loop runs and must include every source requirement, even if no task is created yet.

3.2 Self-Review

Load references/self-review-checklist.md and check audit output quality against the checklist item by item.

Use references/self-review-report-template.md to generate review report including:

  • Overall score (8 dimensions)
  • Checklist pass status
  • Issue list (location, description, impact, improvement suggestion)
  • MVP compatibility check
  • Statistics
  • Conclusion for this round

3.3 Determine if Standards Met

  • ✅ All check items pass → proceed to Step 4 (Update Delivery State)
  • ✅ 2 consecutive rounds with no new issues → auto-pass, proceed to Step 4
  • ❌ Has failed check items → proceed to Step 3.4 (Targeted Improvements)
  • ⚠️ Still has issues after 5 rounds → prompt user to choose:
    • Option A: Use stronger model to re-audit
    • Option B: Manual review of current audit
    • Option C: Accept current version (at own risk)

3.4 Targeted Improvements

Based on issue list in review report, make targeted improvements:

  • Only modify parts marked as issues, do not re-audit entire MVP
  • Keep passed parts unchanged
  • Pay special attention to MVP compatibility (don't break existing behavior)
  • After completing improvements, return to Step 2.1 for Round N+1 review

Review Loop Principles:

  • Converge iteratively, do not redo everything
  • Issue location must be precise (to specific REQ-xxx, Task ID, PRD section)
  • Improvements must be targeted (fix issues, don't introduce new ones)
  • Emphasize MVP compatibility (all gap-closing tasks must not break MVP behavior)

→ S3 Gate: After completing the gap audit, run:

bash
python <skill-dir>/scripts/trellis_delivery_gate.py --phase S4_UPDATE_STATE --state-file .trellis/delivery-state.md

Only proceed to S4 if Gate result is PASS.

4. Update Delivery State

Update or initialize .trellis/delivery-state.md from references/delivery-loop-state-template.md:

  • Record source_requirements, mvp_baseline_commit, last_audited_commit, loop_mode, current_round, and max_rounds.
  • Write the current status of every REQ-*.
  • Preserve human decisions and blockers from prior runs.
  • Increment carry-over count when a requirement remains open without progress.
  • Mark requirements that must pause because carry-over count exceeded policy.
  • Set Next Loop Recommendation to one of: continue-next-batch, early-exit, pause-human-needed, run-final-acceptance, or rebaseline-required.

→ S4 Gate: After updating delivery state, run:

bash
python <skill-dir>/scripts/trellis_delivery_gate.py --phase S5_PICK_BATCH --state-file .trellis/delivery-state.md

Only proceed to S5 if Gate result is PASS.

5. Select Delivery Batch

Load references/delivery-batch-template.md and plan exactly one batch for this run.

Batch rules:

  • L1 may recommend a batch but must not create tasks without confirmation.
  • L2/L3 may create or update only the confirmed/current batch.
  • Max gap tasks per run: 3.
  • Max high-risk tasks per run: 1.
  • Do not mix foundation contracts, business behavior, UI, tests, and final validation when their dependencies differ.
  • Final acceptance is its own batch and only after P0/P1 gaps are DONE or explicitly deferred by a human.
  • Any critical review issue, repeated verifier failure, or same REQ reopened twice stops the loop.

6. Confirm Delivery Plan

Ask for one confirmation before creating or modifying Trellis tasks:

text
Confirm this gap audit, delivery state update, and selected batch? If yes, I will create or update Trellis tasks and PRDs for this batch without implementing features yet.

If the user changes priorities or scope, revise the matrix and task plan before creating tasks.

7. Create or Update Gap-closing Tasks

After confirmation:

  1. Create or reuse a parent task for complete requirements and validation.
  2. Create one child task per tightly related gap group.
  3. Use references/delivery-task-prd-template.md for child PRDs.
  4. Separate foundation contracts, business behavior, UI, tests, and final validation when they have different dependencies.
  5. For medium/high complexity child tasks, write or draft design.md, implement.md, implement.jsonl, and check.jsonl when .trellis/workflow.md or existing tasks show those artifacts are expected. Do not overwrite existing artifacts without reading them first.
  6. Add delivery loop controls to every PRD: worktree required, verifier required, implementation skill, debug skill, review skill, human gate, max fix attempts, rollback trigger.
  7. Do not start coding.

8. Record Run Log

Load references/delivery-run-log-template.md and append one JSON object to .trellis/delivery-run-log.jsonl.

Record:

  • run id, loop mode, round, audit scope, baseline commit, head commit
  • requirements changed, open gaps, tasks created/updated/completed
  • critical review issues, debug escalations, carry-over requirements
  • estimated tokens, outcome, and next action

Do this for full audit, delta audit, task-creation, pause, final-acceptance-ready, and early-exit runs.

9. Plan Test Closure

Load references/test-coverage-matrix-template.md when asked to plan or fill test coverage. Map every REQ-* or AC-* to at least one unit, integration, e2e, smoke, regression, or manual verification entry.

10. Run Final Acceptance

Load references/final-acceptance-template.md when all functional tasks are complete. Do not add features during final acceptance unless a blocking bug prevents acceptance.

11. Classify Bugs

Load references/bug-classification-rules.md when validation discovers a bug. Decide whether to fix in the current task, create a separate bug task, or defer with a documented risk.

Execution-phase Handoff (after gap tasks are created)

This skill audits, controls batches, and plans gap-closing tasks; it does not write application code. When moving into implementation, run each gap-closing child task through the execution-phase skills in dependency order, especially when the executor is a small model such as qwen3.6 35b:

  1. trellis-implement-tdd - run RED-GREEN-REFACTOR per AC and protect the MVP compatibility contract with regression tests.
  2. trellis-debug-systematic - when a test should be green but stays red, or a self-check fails, use the rigid debugging script.
  3. trellis-review-twostage - before completion, run spec compliance (small model ok) plus code quality review (strong model recommended).

Role-layered model assignment: use a strong model for planning, a small model for mechanical implementation, and a strong model for review Stage 2 when available.

Monotonic Convergence Protection

If the audit loop finds the exact same unfixed issues for 2 consecutive rounds:

  1. Output STALLED_CONVERGENCE
  2. Stop the current path
  3. Recommend the user switch to a stronger model or manual intervention
  4. Record which rounds attempted fixes and what was tried

References

  • references/delivery-loop-policy.md - Level 1; read before each repeated delivery run to choose loop mode, full/delta/early-exit audit scope, batch limits, and stop conditions.
  • references/delivery-loop-state-template.md - Level 2; read when initializing or updating .trellis/delivery-state.md.
  • references/delivery-batch-template.md - Level 2; read when selecting the one gap-closing batch for a run.
  • references/delivery-run-log-template.md - Level 3; read when appending .trellis/delivery-run-log.jsonl.
  • references/gap-audit-template.md - Level 2; read for the full or delta MVP gap audit.
  • references/self-review-checklist.md - Level 3; read for self-review after each audit round (current-phase section only).
  • references/self-review-report-template.md - Level 3; read when generating review reports.
  • references/planning-artifacts-template.md - Level 2; read when drafting Trellis 0.6 beta design, implementation, and context manifest artifacts for medium/high complexity tasks.
  • references/delivery-task-prd-template.md - Level 2; read before creating gap-closing task PRDs.
  • references/test-coverage-matrix-template.md - Level 2; read when planning or adding test coverage.
  • references/final-acceptance-template.md - Level 2; read for final delivery acceptance.
  • references/bug-classification-rules.md - Level 3; read when validation finds defects.
  • references/small-model-safety.md - new Level 1; small model safety (Stage State Packet, context budget, evidence discipline, Drift Reset, monotonic convergence).
  • scripts/trellis_delivery_gate.py - new Level 3; validates delivery-state.md state machine transitions and count consistency; detects small-model drift.

附带文件

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

常见问题

Trellis Mvp To Delivery AI 技能有什么作用?

Audit an existing MVP against a source requirements document and run a sustainable Trellis delivery loop. Use when Codex is asked to continue after an MVP, complete remaining requirements, perform a first full gap audit, maintain a Requirements Traceability Matrix, classify DONE/PARTIAL/MISSING/UNTESTED/UNCLEAR items, initialize or update .trellis/delivery-state.md, choose full/delta/early-exit audit scope, plan bounded gap-closing batches, require worktree + verifier gates, design automated test coverage, classify discovered bugs, or run final acceptance before delivery.

为什么在 TypingMind 中使用 Trellis Mvp To Delivery?

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

如何在 TypingMind 中安装 Trellis Mvp To Delivery?

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

哪些 AI 模型可以使用 Trellis Mvp To Delivery?

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

Trellis Mvp To Delivery 可以搭配多少个 AI 模型使用?

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

Trellis Mvp To Delivery AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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