trellis-update-spec

Capture executable contracts and coding conventions into .trellis/spec/ documents.

Updated May 21, 2026
One-click install
npx skills add https://github.com/zineyu/marketmind --skill trellis-update-spec-zineyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trellis-update-spec
Source: https://github.com/zineyu/marketmind/tree/main/.opencode/skills/trellis-update-spec
Command: npx skills add https://github.com/zineyu/marketmind --skill trellis-update-spec-zineyu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capture executable contracts and coding conventions into centralized .trellis/spec/ documents so teams retain precise implementation knowledge from debugging, implementation, or discussions.

Core Features & Use Cases

  • Captures concrete signatures, payload fields, environment keys, and boundary behaviors as code-spec.
  • Creates a traceable record of design decisions and patterns for future sessions.
  • Use Case: after resolving a bug or implementing a feature, update the relevant spec so new team members can onboard quickly.

Quick Start

After finishing a task, run the update-spec command to capture the learned contracts into the relevant .trellis/spec/ documents.

Frequently Asked Questions about trellis-update-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document executable contracts and coding conventions after debugging a feature?

To document executable contracts after debugging, capture new signatures, payload fields, and boundary behaviors into centralized .trellis/spec/ documents, preserving implementation knowledge for future sessions and onboarding.

What is the best way to preserve design decisions and code-spec depth for new environment keys?

The best way to preserve design decisions for environment keys is recording them as code-spec in .trellis/spec/ files, creating a traceable history of validation rules and boundary behaviors for future reference.

How do I structure spec files when capturing validation rules and error matrices?

Structure spec files by delivering a seven-section output covering scope, signatures, contracts, validation and error matrix, good/base/bad cases, tests, and wrong versus correct implementations to capture validation rules comprehensively.

When do I need to update .trellis/spec documents during implementation?

You need to update .trellis/spec documents during debugging, implementation, or design discussions whenever new or changed signatures, environment keys, and validation rules emerge, ensuring executable contracts remain current.

Can I use .trellis/spec to onboard new team members with implementation knowledge?

Yes, you can use .trellis/spec to onboard new team members because it stores concrete signatures, payload fields, and coding conventions as a traceable record of design decisions and patterns learned from prior sessions.

What should I include in spec files to capture boundary behaviors and payload fields?

Include the seven required sections—scope and trigger, signatures, contracts, validation and error matrix, good/base/bad cases, tests, and wrong versus correct—to fully capture boundary behaviors and payload fields as executable contracts.