trellis-update-spec

Capture executable contracts and coding conventions into seven-section code-spec documents.

371|93|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/Xeron2000/openOii --skill trellis-update-spec-xeron2000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trellis-update-spec
Source: https://github.com/Xeron2000/openOii/tree/main/.pi/skills/trellis-update-spec
Command: npx skills add https://github.com/Xeron2000/openOii --skill trellis-update-spec-xeron2000

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Captures executable contracts and coding conventions into durable, accessible docs after debugging, implementation, or discussion, preventing knowledge loss and miscommunication across sessions.

Core Features & Use Cases

  • Formalizes code-spec updates with executable contracts, including signatures, payload fields, environment keys, and boundary behavior.
  • Identifies triggers for updates (new/changed commands or APIs, cross-layer contracts, database schema changes, infra wiring) to maintain guardrails.
  • Enforces a seven-section output: Scope / Trigger, Signatures, Contracts, Validation & Error Matrix, Good/Base/Bad Cases, Tests Required, and Wrong vs Correct, to enable testable and auditable specs.
  • Supports improved collaboration by preserving decision rationale and implementation details for future sessions and new team members.

Quick Start

After finishing a debugging session or implementing a feature, run the update spec process to generate a code-spec document containing the seven required sections.

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 code conventions and executable contracts after a debugging session?

To document code conventions after debugging, capture executable contracts into durable code-specs using a seven-section template covering scope, signatures, validation matrices, and test cases to preserve actionable decisions and prevent knowledge loss.

When do I need to update code specifications for API signatures and database schema migrations?

You need to update code specifications when triggers occur, such as new or changed API signatures, cross-layer contract modifications, database schema migrations, or infrastructure wiring changes, ensuring boundary behaviors and payload fields remain auditable.

What is the best way to formalize institutional memory for coding standards across development sessions?

The best way to formalize institutional memory is generating structured code-spec documents that define signatures, validation error matrices, and wrong versus correct implementation cases, preserving decision rationale for future sessions and new team members.

Can I use structured spec tracking for cross-layer contract changes and infra wiring updates?

Yes, structured spec tracking applies to cross-layer contract changes and infrastructure wiring updates by capturing payload fields, environment keys, and boundary behavior into testable, auditable specifications with required validation and error matrix sections.

What sections are required in an executable code-spec document for testable coding conventions?

An executable code-spec document requires seven sections: Scope/Trigger, Signatures, Contracts, Validation & Error Matrix, Good/Base/Bad Cases, Tests Required, and Wrong vs Correct, ensuring precise and testable coding convention specifications.