Logo Trellis Mvp To Delivery

Trellis Mvp To Delivery

Cộng đồng
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.

Tổng quan

Nhà phát hànhcoldwateryi
Kho mãtrellis-skills
Tên kỹ năngtrellis-mvp-to-delivery
Sao
44
Bản fork
1
Tệp đi kèm
15
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ộ.

  • 15 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 coldwateryi 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 Mvp To Delivery 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/coldwateryi/trellis-skills/tree/main/trellis-mvp-to-delivery
  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/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
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 Mvp To Delivery 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 Mvp To Delivery 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 Mvp To Delivery 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 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.

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 Mvp To Delivery làm được gì?

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.

Vì sao nên dùng Trellis Mvp To Delivery 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 Mvp To Delivery 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 Mvp To Delivery trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/coldwateryi/trellis-skills/tree/main/trellis-mvp-to-delivery. 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 Mvp To Delivery?

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 Mvp To Delivery 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 Mvp To Delivery 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 Mvp To Delivery có miễn phí không?

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