Logo Trellis Zero To Mvp

Trellis Zero To Mvp

Cộng đồng
coldwateryi
trellis-zero-to-mvp

Create a Trellis MVP task tree from a full requirements document. Use when Codex receives a product brief, requirements document, PRD, zero-to-MVP request, large capability-building request, or partially implemented project and must do read-only analysis, assign stable REQ/AC IDs, build full requirement and MVP coverage matrices, lock project contracts, identify existing implementation evidence, use progressive batch and sub-agent planning to form a complete MVP parent/child task tree, draft PRD/design/implementation artifacts, and create Trellis tasks only after user confirmation; do not write application code.

Tổng quan

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

  • 17 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 Zero To Mvp 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-zero-to-mvp
  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-zero-to-mvp .claude/skills/trellis-zero-to-mvp
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 Zero To Mvp 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 Zero To Mvp 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 Zero To Mvp 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 Zero to MVP

Overview

Turn a raw requirements document into an MVP-sized Trellis delivery plan. The output is a user-confirmed parent task, child tasks covering the complete MVP scope, PRDs, and any required planning artifacts. It is not application code.

Treat this skill as a planning compiler:

  1. Source requirements plus local README/spec/code are inputs.
  2. Full Requirement Matrix, MVP Coverage Matrix, and Subtask Planning Ledger are the only intermediate representation.
  3. Trellis task, prd.md, design.md, implement.md, and JSONL files are outputs.
  4. Gates are compile checks. If a gate fails, stop and fix before moving forward.
  5. For small/local models and long planning runs, advance through Stage State Packets; after every phase boundary or context recovery, rebuild state from matrices, ledgers, and real directories instead of relying on natural-language memory.

Core Invariants (Phase-Tagged)

Small model note: Focus only on invariants tagged for your current phase. Read new rules when entering the next phase. Do not attempt to remember all 25 rules at S0.

S0-S2 Common (Discovery & Requirements)

  • S0-S2: Do not write business code.
  • S0-S2: Do not create Trellis tasks until the user confirms the complete read-only plan.
  • S0-S2: Do not split tasks by files. Split by independently verifiable business or technical capability.
  • S0-S2: Extract complete source requirements before planning the MVP. Every source requirement must enter the Full Requirement Matrix; if it is not in the current MVP, mark it OUT_OF_SCOPE or BLOCKED and put it in Backlog.
  • S0-S2: REQ-xxx is the stable identity of a source requirement, not delivery order. Task merge/split/reorder can only change Txx.
  • S0-S2: Maintain Full Requirement Matrix and MVP Coverage Matrix separately; never report MVP coverage count as the original source requirement count.

S2-S4 Dedicated (Contract & Task Planning)

  • S2-S4: Before task planning, choose a Project Contract Profile, then form Project Contract Lock and Contract Snapshot. Later parent/child PRDs, design.md, implement.md, and JSONL may only use names, paths, commands, APIs, packages/modules, routes, tables, permission prefixes, and evidence paths from that contract.
  • S2-S4: Local context priority is fixed: explicit user request > source requirement behavior > README/module README/AGENTS.md > .trellis/spec/ > existing code structure > framework defaults > model common sense.
  • S2-S4: Small/local models or long tasks must read references/small-model-safety.md and output Stage State Packet at each phase. If counts, contracts, or gate results drift from scans, do Drift Reset immediately.
  • S3-S4: In Small Model Mode, one child task covers only one primary entity CRUD, one endpoint group, one state transition, one front-end page, one backend aggregate query, or one scaffolding/infrastructure deliverable (module skeleton, build and dependency wiring, menu directory / dictionary / config initialization; no business entity CRUD). Split further unless the user explicitly permits a merge.
  • S3-S4: A child task whose action is gap-task, or which carries a MERGED cross-cutting constraint (e.g. overall principles, scaffolding/infrastructure), must not be auto-filled with an entity CRUD template: never invent an entity, table, CRUD endpoints, CRUD page, or CRUD permissions absent from the source requirements. Set the primary-entity anchor to not-applicable and granularity to "one scaffolding/infrastructure deliverable". If a new entity is truly needed, register it in the requirement matrix first; violations report GAP_TASK_CRUD_TEMPLATE_HIT.
  • S3-S4: In Small Model Mode, create at most 8 executable child tasks per batch and fully draft at most 5 high-quality child PRDs per batch. Batching controls capacity; it is not scope trimming.
  • S3-S4: Batch planning must maintain Subtask Planning Ledger. Completing only P0/P1 is not complete planning. Do not ask the user to confirm until every MVP TASK child task is READY_TO_CONFIRM, BLOCKED, or OUT_OF_SCOPE.

All Phases (S0-S10)

  • Respect Trellis planning artifact boundaries: prd.md contains requirements, constraints, scope, dependencies, and acceptance; technical design goes in design.md; file plan, implementation steps, self-check commands, rollback points, and review gates go in implement.md. Only when the local workflow permits PRD-only and the task is low complexity may a compact execution appendix remain in prd.md.
  • External configuration, third-party keys, maps, hardware, and external interfaces must be classified as FIXED, BASELINE, BLOCKED, or OUT_OF_SCOPE.
  • For partially implemented projects, task creation rules are fixed: DONE -> no task; UNTESTED -> test-only task; PARTIAL -> gap-closing task for missing behavior only; MISSING -> new implementation task; UNCLEAR -> blocking question or clarification task.
  • Small-model execution still needs narrow paths fixed during planning, but put them primarily in design.md / implement.md rather than overloading PRD.
  • When candidate child tasks exceed batch limits, business domains exceed 3, full PRD drafts exceed 5, or the user requests multi-agent planning, read references/subagent-planning-template.md and prefer sub-agents. If the platform has no sub-agent support, serially simulate the same Agent Packets.
  • task.py create only creates task directories and seed files. Any artifacts declared in matrices or PRDs must be written by this skill into the real task directories after creation.
  • Create task directories only through task.py create. Afterward, write files only to the real directory returned by task.py create; do not build paths from logical Task IDs or slugs.
  • Each task PRD goes only to <task-dir>/prd.md, and that directory must contain task.json.
  • Artifact Gate must not be hand-filled by the model. After task creation and artifact writing, run scripts/trellis_zero_gate.py or an equivalent mechanical scan. Final Gate counts must come from tool output.

S5-S6 Dedicated (Gating & Confirmation)

  • S5-S6: If a Trellis 0.6+ project has .trellis/workflow.md, treat it as the local workflow contract. If the project declares design.md, implement.md, implement.jsonl, or check.jsonl, do not use an old PRD-only workflow.
  • S5-S6: Codex projects must read .trellis/config.yaml codex.dispatch_mode (treat a missing or commented-out key as the Trellis default inline): in inline mode JSONL is not a planning-readiness gate, and seed JSONL may be deleted or marked NOT_NEEDED_WITH_REASON; in sub-agent mode, fill real implement.jsonl / check.jsonl; seed-only cannot pass.
  • S6-S7: Artifact Gate result must be PASS before reporting the task tree as executable.

Stop Gates

If any condition below is true, stop the current phase and output a FAIL report, failure codes, and fix list. Do not continue task creation or claim the task tree is executable.

  • Project Contract Lock, Contract Snapshot, or evidence paths are missing.
  • Full Requirement Matrix, MVP Coverage Matrix, or Subtask Planning Ledger is missing.
  • Any source requirement lacks coverage status, or coverage statistics differ from mechanical matrix statistics.
  • Subtask Planning Ledger and MVP Coverage Matrix disagree.
  • UNASSIGNED_MVP_REQ, UNBATCHED_TASK, P0P1_ONLY_PLAN, or DEFERRED_PRD_WITHOUT_PLAN exists.
  • A child task violates Small Model Mode granularity without explicit user confirmation.
  • Before user confirmation, any MVP TASK child task is not READY_TO_CONFIRM, BLOCKED, or OUT_OF_SCOPE.
  • PRD declares design.md, implement.md, implement.jsonl, or check.jsonl as required, but the real task directory lacks that file.
  • A child PRD Task Impact Matrix declares a surface as involved, but design.md or implement.md lacks the corresponding section.
  • In sub-agent dispatch mode or when the artifact matrix declares JSONL required, implement.jsonl or check.jsonl contains _example; in Codex inline mode, seed JSONL must be deleted or explained as NOT_NEEDED_WITH_REASON, and Gate must run with --jsonl-mode inline.
  • Artifacts contain {Entity}, {domain}, {entity}, <PageComponent>, <path>, TBD, depends, as needed, YOUR_KEY, API_KEY_HERE, to be provided, pending config, or equivalent unresolved placeholders.
  • Contract Snapshot forbidden tokens appear in parent/child PRD, design.md, implement.md, or JSONL.
  • Gate result lacks mechanical scan evidence, or parent PRD declared Gate counts differ from mechanical scan results.
  • Artifact Gate result is not PASS.

Workflow

0. Read Workflow Contracts (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. For now, only Level 1 is needed.

Level 1 — Required (read before S0, ~10 min attention budget):

  1. references/small-model-safety.md — small model safety (Stage State Packet, Context Budget, Evidence Discipline, Drift Reset)
  2. references/gate-definitions.md — Gate and failure code definitions (read only the "Gate output format" section, the generic/state-machine failure code group, and the group for the current phase; read each later phase's group when entering it — do not memorize all failure codes at once)
  3. This section (0. Read Workflow Contracts) and the Stop Gates section

Level 2 — Read when entering each phase:

Before entering phaseReference files to read
Before S1references/project-contract-profiles.md (contract profile selection)
Before S2references/analysis-output-template.md (Contract Lock + Contract Snapshot sections)
Before S3references/analysis-output-template.md (task splitting + Small Model Mode granularity rules)
Before S4references/subagent-planning-template.md (only if sub-agent triggers apply)
Before S5references/analysis-output-template.md (Pre-Confirmation Gate + Artifact Gate plan)
Before S7references/task-creation-checklist.md
Before S8references/parent-prd-template.md, references/child-prd-template.md, references/planning-artifacts-template.md, references/design-surface-template.md

Level 3 — Read for gating/fixing:

ScenarioReference files to read
After each self-review roundreferences/self-review-checklist.md (current-phase section only)
Self-review reportreferences/self-review-report-template.md
Gate checksscripts/trellis_planning_gate.py — run mechanical scan before each phase transition; --phase always names the phase being ENTERED; result is PASS/CONTINUE/FAIL

Every later phase must advance through the state machine and cannot skip Gates. Before each phase transition, run scripts/trellis_planning_gate.py (see specific commands in each phase section).

1. Discover Inputs (S0_DISCOVER_CONTEXT)

Locate and read:

  • The source requirements document.
  • README, module README, AGENTS.md, or project overview files.
  • Existing code structure and tests if the repo is not empty.
  • Relevant .trellis/tasks/ and .trellis/spec/ material.
  • Trellis 0.6+ metadata: .trellis/workflow.md, .trellis/config.yaml, .trellis/.version, .trellis/.developer, .trellis/workspace/.

Inspect the repository before asking questions. Ask only blocking questions that cannot be answered from local context.

→ S0 wrap-up: Run the skeleton init script to seed header-ready skeletons for every .trellis/planning/ intermediate artifact (existing files are never overwritten):

bash
python <skill-dir>/scripts/trellis_planning_init.py

→ S0 Gate: After confirming input paths and context inventory, run:

bash
python <skill-dir>/scripts/trellis_planning_gate.py --phase S1_REQUIREMENT_LEDGER --state-file .trellis/planning/planning-state.json

Only proceed to S1 if Gate result is PASS.

2. Complete Requirement Ledger and Project Contract

The first read-only pass may only output the requirement ledger. Do not create tasks or draft full child PRDs yet. It must include:

  • Project Contract Profile selection with evidence; if no default profile fits, use custom and list project-specific contract fields.
  • Project Contract Lock and Contract Snapshot.
  • Existing Implementation Baseline.
  • Source requirement list with stable REQ-xxx / AC-xxx.
  • Full Requirement Matrix.
  • MVP Coverage Matrix.
  • Backlog.
  • Small Model Candidate Split table.

If the source docs mention broad scopes such as PC, IOC, data integrations, mobile applets, reports, or external systems but the Full Requirement Matrix does not cover them, mark MATRIX_INCOMPLETE and keep extracting.

→ S1 Gate (entering S2): After completing the requirement matrices, run:

bash
python <skill-dir>/scripts/trellis_planning_gate.py --phase S2_CONTRACT_LOCK --state-file .trellis/planning/planning-state.json --matrix .trellis/planning/full-requirement-matrix.md --mvp-matrix .trellis/planning/mvp-coverage-matrix.md

This command validates the S1 outputs (both matrices exist and the coverage counts reconcile). Only proceed to S2 if the result is PASS.

→ S2 Gate (entering S3): After completing the Project Contract Lock and Contract Snapshot, run:

bash
python <skill-dir>/scripts/trellis_planning_gate.py --phase S3_FULL_MVP_TASK_CANDIDATES --state-file .trellis/planning/planning-state.json --contract .trellis/planning/contract-snapshot.yaml

This command validates the S2 outputs (contract snapshot profile, forbidden_tokens, and evidence fields). Only proceed to S3 if the result is PASS.

3. Progressive Parent/Child Task Planning

Read references/analysis-output-template.md and produce the complete planning output:

  • Task merge/split records.
  • Full platform scope vs current MVP boundary.
  • Module dependency graph.
  • Complete capability-based MVP child task list.
  • Subtask Planning Ledger.
  • Batch Completion Rollup.
  • Small Model Mode granularity check.
  • Planning artifact matrix.
  • Parent PRD draft.
  • Child PRD drafts.
  • Draft design.md, implement.md, implement.jsonl, and check.jsonl for medium/high complexity tasks, or explicit not-needed reasons.
  • Child task Task Impact Matrix rows and matching design surface sections. When a task touches database, API, inter-module interaction, external systems, UI, permissions, state, validation, transactions, tests, or similar surfaces, read references/design-surface-template.md and fill the required design.md / implement.md sections.

If sub-agent triggers apply, read references/subagent-planning-template.md. The main agent owns dispatch, merge, conflict resolution, and final Gate. Sub-agents only produce read-only planning drafts.

→ S3 Gate (entering S4): After completing all MVP task candidates, run:

bash
python <skill-dir>/scripts/trellis_planning_gate.py --phase S4_PROGRESSIVE_BATCH_PLANNING --state-file .trellis/planning/planning-state.json --ledger .trellis/planning/subtask-ledger.md

This command validates the S3 outputs (ledger header, status column, and per-row legality). CANDIDATE is a LEGAL status at this point; proceed to S4 batch planning on PASS or CONTINUE, and fix failure codes first on FAIL.

4. Self-Review and Gate Loop (S4_PROGRESSIVE_BATCH_PLANNING → S5_FULL_MVP_PLANNING_GATE)

After each analysis round:

  1. Read references/self-review-checklist.md (current batch section only, not the full document).
  2. Use references/self-review-report-template.md for the review report.
  3. Execute Requirement Ledger Gate, Contract Gate, Full MVP Planning Gate, Batch Completeness Gate, and Pre-Confirmation Gate from references/gate-definitions.md.
  4. For small/local models or long plans, rebuild Stage State Packet from references/small-model-safety.md; if it disagrees with matrices or ledgers, fix state before moving forward.

→ S4 Gate (after each batch, re-entering S4): After each batch, run:

bash
python <skill-dir>/scripts/trellis_planning_gate.py --phase S4_PROGRESSIVE_BATCH_PLANNING --state-file .trellis/planning/planning-state.json --ledger .trellis/planning/subtask-ledger.md

A CONTINUE result (with BATCH_INCOMPLETE) means non-terminal tasks remain: keep planning the next batch and do not ask for user confirmation. CONTINUE is an expected intermediate state, NOT an error — do not enter a fix loop. Fix failure codes first on FAIL.

→ S5 Gate (entering S5): After all batches complete, run:

bash
python <skill-dir>/scripts/trellis_planning_gate.py --phase S5_FULL_MVP_PLANNING_GATE --state-file .trellis/planning/planning-state.json --ledger .trellis/planning/subtask-ledger.md

This command verifies every MVP child task is terminal and assigned a Bxx batch. Only proceed to user confirmation if the result is PASS.

Decision:

  • All checks pass and Full MVP Planning Gate plus Pre-Confirmation Gate are PASS -> ask for user confirmation.
  • Checks pass but any MVP child task remains non-terminal -> Gate outputs CONTINUE (with BATCH_INCOMPLETE); continue planning the next batch; do not ask for confirmation.
  • Any Gate fails -> output failure codes and fixes, then improve and rerun.
  • More than 5 rounds still failing -> ask the user to choose stronger model, manual review, or risk acceptance.

5. User Confirmation of Complete Plan

Before showing the confirmation request, run the S6 Gate to verify the ledger is terminal and the parent PRD draft has no placeholders:

bash
python <skill-dir>/scripts/trellis_planning_gate.py --phase S6_USER_CONFIRMATION --state-file .trellis/planning/planning-state.json --ledger .trellis/planning/subtask-ledger.md --parent-prd .trellis/planning/parent-prd-draft.md

Only when this Gate (the Pre-Confirmation Gate) returns PASS, ask:

text
Please confirm the complete MVP task tree, all batch plans, Backlog boundary, Blocked items, and first creation scope. If confirmed, I will create the Trellis parent task, all planned child tasks, and their required PRD/design/implement/JSONL artifacts without writing application code.

The confirmation summary must include Project Contract Lock, source requirement count, MVP Coverage mechanical statistics, Subtask Planning Ledger summary, Batch Completion Rollup, Backlog, Blocked items, high-risk merges/trims, and Small Model Mode batch strategy.

If the user changes scope, update matrices, ledgers, batches, and Gates before creating tasks.

6. Create Trellis Task Tree and Write Artifacts

After user confirmation, read references/task-creation-checklist.md, then:

  1. Create one parent task for the overall project.
  2. Record the real parent task directory from task.py create.
  3. Create child tasks with --parent <parent-task-dir>; record each real directory and backfill Subtask Planning Ledger.
  4. Before writing any artifact, verify the target directory contains task.json.
  5. Write parent <task-dir>/prd.md using references/parent-prd-template.md.
  6. Write each child <task-dir>/prd.md using references/child-prd-template.md.
  7. Write required design.md, implement.md, implement.jsonl, and check.jsonl from the planning artifact matrix. Read existing artifacts before overwriting.
  8. Do not start implementation.

Commands:

bash
python ./.trellis/scripts/task.py create "<parent title>" --slug <parent-slug>
python ./.trellis/scripts/task.py create "<child title>" --slug <child-slug> --parent "<parent-task-dir>"

If task.py create fails because developer identity is uninitialized, stop and tell the user to run trellis init -u <name> with project platform flags such as --codex, or provide an explicit assignee. Use python ./.trellis/scripts/init_developer.py <name> only as a legacy fallback when Trellis CLI is unavailable.

7. Artifact Gate and Next Step

After task creation and artifact writing, run:

bash
python <skill-dir>/scripts/trellis_zero_gate.py --tasks .trellis/tasks --parent-task-json <parent-task-dir>/task.json --parent-prd <parent-task-dir>/prd.md --jsonl-mode <required|optional|inline>

Treat a missing or commented-out codex.dispatch_mode key as the Trellis default inline. Use --jsonl-mode inline when codex.dispatch_mode: inline; use --jsonl-mode required for sub-agent dispatch or JSONL-required tasks. If Contract Snapshot defines forbidden tokens, add --forbidden-token or --forbidden-regex; if contract conflicts cannot be simplified to forbidden tokens, add --contract-mismatch-regex.

Only when the mechanical scan returns result = PASS and Development Recommendation Gate is PASS, output:

  • Task tree.
  • Recommended execution order.
  • Blocked tasks.
  • Parallelizable tasks.
  • Backlog / later scope.
  • Artifact Gate result.
  • First recommended task to start and why.

If any Gate fails, output:

yaml
planning_status:
  development_ready: false
  failure_codes:
    - <code>
  next_action: <continue_planning | write_artifacts | fix_gate_failure | ask_user_confirmation>

Do not recommend starting development.

Delivery Phase Handoff

This skill stops after creating the task tree and planning artifacts. For implementation, use execution-phase skills by dependency order:

  1. trellis-implement-tdd - implement each child AC with red/green TDD loops.
  2. trellis-debug-systematic - isolate and fix failing checks.
  3. trellis-review-twostage - run spec compliance and code-quality review before completion.

Recommended role split: strong model for planning, small model for implementation, strong model for Review Stage 2.

References

  • references/workflow-state-machine.md - read at startup (Level 1); defines planning states and legal transitions.
  • references/gate-definitions.md - read at startup (Level 1); defines Gates, failure codes, and pass conditions.
  • references/small-model-safety.md - read at startup (Level 1); defines Stage State Packet, context budget, evidence discipline, and Drift Reset.
  • references/project-contract-profiles.md - read before S1 (Level 2); select project contract fields and avoid applying RuoYi/Java assumptions to CLI, SDK, frontend, or other projects.
  • references/analysis-output-template.md - read before S2/S3/S5 (Level 2); generate initial analysis and progressive planning output.
  • references/subagent-planning-template.md - read when multi-agent or batch planning is triggered (Level 2).
  • references/self-review-checklist.md - read for self-review after each analysis round (Level 3, current-phase section only).
  • references/self-review-report-template.md - read when generating review reports (Level 3).
  • references/planning-artifacts-template.md - read when drafting Trellis 0.6+ design, implementation, and context manifest artifacts.
  • references/design-surface-template.md - read when a child task touches database, API, inter-module interaction, external systems, UI, permissions, state, validation, transactions, tests, or similar design surfaces.
  • references/parent-prd-template.md - read when drafting or writing the parent task PRD.
  • references/child-prd-template.md - read when drafting or writing child task PRDs.
  • references/task-creation-checklist.md - read before creating the task tree.
  • scripts/trellis_zero_gate.py - run after task creation and artifact writing (S9); produces non-handwritten Artifact Gate counts.
  • scripts/trellis_planning_init.py - run once before finishing S0; seeds .trellis/planning/ skeleton files (matrix/ledger headers, contract snapshot, state file) so small models fill tables in instead of drawing them; existing files are never overwritten.
  • scripts/trellis_planning_gate.py - run before each planning phase transition (S0→S6); --phase always names the phase being ENTERED and the gate mechanically validates the previous phase's outputs while enforcing legal state machine transitions; results are PASS/CONTINUE/FAIL, and the recorded phase does not advance on FAIL. The ledger status column is located by header name; malformed rows are reported as LEDGER_ROW_MALFORMED.

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

Create a Trellis MVP task tree from a full requirements document. Use when Codex receives a product brief, requirements document, PRD, zero-to-MVP request, large capability-building request, or partially implemented project and must do read-only analysis, assign stable REQ/AC IDs, build full requirement and MVP coverage matrices, lock project contracts, identify existing implementation evidence, use progressive batch and sub-agent planning to form a complete MVP parent/child task tree, draft PRD/design/implementation artifacts, and create Trellis tasks only after user confirmation; do not w...

Vì sao nên dùng Trellis Zero To Mvp 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 Zero To Mvp 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 Zero To Mvp 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-zero-to-mvp. 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 Zero To Mvp?

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 Zero To Mvp 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 Zero To Mvp 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 Zero To Mvp 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 👇