update-spec

Capture executable implementation knowledge into persistent .trellis/spec documents.

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/SDDKKK/Trellis_Hiskens_backup_20260413 --skill update-spec-sddkkk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-spec
Source: https://github.com/SDDKKK/Trellis_Hiskens_backup_20260413/tree/main/.agents/skills/update-spec
Command: npx skills add https://github.com/SDDKKK/Trellis_Hiskens_backup_20260413 --skill update-spec-sddkkk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Captures and preserves actionable implementation knowledge that would otherwise be lost in code changes, bug fixes, and informal team discussions, preventing repeat mistakes and fragile assumptions.

Core Features & Use Cases

  • Enforce executable code-specs: Requires concrete signatures, payloads, env keys, validation matrices, and test points for infra and cross-layer changes.
  • Templates and process: Provides mandatory templates and a step-by-step update process to ensure updates are specific, testable, and discoverable under .trellis/spec/.
  • Use Cases: After fixing an authentication bug, document the scope, signatures, contracts, validation matrix, and tests; when adding a feature, record API request/response contracts and expected error behavior.

Quick Start

Add a new entry to .trellis/spec/backend/<file>.md documenting the scope, signatures, contracts, validation matrix, good/base/bad cases, and required tests for the recent change.

Frequently Asked Questions about update-spec

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

FAQPage Schema
How do I document implementation learnings into executable code-specs?

To document implementation learnings into executable code-specs, you add a new entry to .trellis/spec/backend/ files. This enforces recording scope, signatures, contracts, validation matrices, and test points for recent code changes.

What should an executable code-spec include after a bug fix?

An executable code-spec after a bug fix should include scope, signatures, contracts, validation matrix, good/base/bad cases, and required tests. This ensures the implementation knowledge is specific, testable, and discoverable.

When do I need to update validation matrices and test points in documentation?

You need to update validation matrices and test points in documentation after feature implementation, bug fixes, design decisions, pattern discoveries, or infra cross-layer changes to prevent repeat mistakes and fragile assumptions.

How do I capture API request and response contracts for new features?

To capture API request and response contracts for new features, record the expected payloads, env keys, and error behavior into .trellis/spec files. This maintains executable code-specs with concrete validation test points.

Does this code-spec process require specific templates for knowledge capture?

Yes, this code-spec process requires specific templates and a step-by-step update process. These mandatory templates ensure your knowledge capture under .trellis/spec/ remains specific, testable, and discoverable.

What is the best way to maintain documentation for cross-layer infra changes?

The best way to maintain documentation for cross-layer infra changes is enforcing executable code-specs with concrete signatures, payloads, env keys, validation matrices, and test points within your .trellis/spec files.