trellis-update-spec

Automate creation and updating of code specifications in .trellis/spec/ directories.

Updated Jun 14, 2026
One-click install
npx skills add https://github.com/Kcalb0708/AI-Voice-to-Image-Tool --skill trellis-update-spec-kcalb0708
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trellis-update-spec
Source: https://github.com/Kcalb0708/AI-Voice-to-Image-Tool/tree/main/.cursor/skills/trellis-update-spec
Command: npx skills add https://github.com/Kcalb0708/AI-Voice-to-Image-Tool --skill trellis-update-spec-kcalb0708

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers capture and preserve executable contracts and coding conventions, ensuring consistency and clarity in codebases.

Core Features & Use Cases

  • Code Contract Preservation: Captures design decisions, signatures, and contracts after debugging or feature implementation.
  • Spec Depth Triggering: Automatically generates code specifications for changes that affect command signatures, cross-layer contracts, or infra integrations.
  • Spec Structure Overview: Provides a clear structure for spec documents, including signatures, contracts, validation, and tests.

Quick Start

Run the command /trellis-update-spec after learning something valuable to update the relevant code-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 preserve coding conventions and executable contracts after debugging?

You can preserve coding conventions and executable contracts by automating spec updates in .trellis/spec/ directories. This captures design decisions, signatures, and contracts directly after debugging or feature implementation to maintain codebase consistency.

When do I need to update code specifications for new features?

You need to update code specifications when changes affect command signatures, cross-layer contracts, or infrastructure integrations. The process automatically triggers spec generation for these new feature implementations, design decisions, and bug fixes.

What is the best way to document design decisions and code contracts?

Documenting design decisions and code contracts is best handled by generating structured spec documents. These specifications include signatures, contracts, validation rules, and tests to ensure clarity and consistency across the codebase.

How do I capture knowledge from discussions into a code specification?

Capture knowledge from discussions by running an update command to write valuable insights directly into relevant code-spec documents. This preserves the learned conventions and executable contracts within the .trellis/spec/ directory structure.

Does the trellis-update-spec process require external dependencies?

The trellis-update-spec process does not require external dependencies. It operates independently using internal scripts and references to automate the creation and updating of code specifications within your project.

What structure should a code specification document include for validation?

A code specification document should include signatures, contracts, validation, and tests. This structure ensures that executable contracts and coding conventions are captured with precision for future reference and consistency.