trellis-check

Verifies code changes against specs, lint, type checks, tests, and cross-layer consistency.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/hejiajiudeeyu/delegated-execution-workspace --skill trellis-check-hejiajiudeeyu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: trellis-check
Source: https://github.com/hejiajiudeeyu/delegated-execution-workspace/tree/main/.agents/skills/trellis-check
Command: npx skills add https://github.com/hejiajiudeeyu/delegated-execution-workspace --skill trellis-check-hejiajiudeeyu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After writing code, it is easy to miss spec violations, broken tests, leftover debug logging, or inconsistencies across layers. This Skill runs a structured quality verification pass over recently changed code so issues are caught before committing. ## Core Features & Use Cases - Change-Scoped Verification: Identifies modified files via git diff, reads the applicable Trellis specs, and runs the project's lint, type-check, and test commands. - Structured Checklists: Covers code quality, test coverage, and spec synchronization with explicit checkbox items. - Cross-Layer Analysis: Traces data flow across Storage, Service, API, and UI layers, checks code reuse, import correctness, and same-layer consistency for multi-layer changes. - Use Case: After implementing a feature spanning the API and UI layers, run this check to confirm types propagate correctly, regression tests exist, and the spec docs reflect any new patterns discovered. ## Quick Start Run the trellis-check quality verification on my current uncommitted changes and fix any violations found.

Frequently Asked Questions about trellis-check

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

FAQPage Schema
How do I verify code quality before committing changes?▼

Run a structured check that identifies changed files with git diff, reads applicable specs, then executes the project's lint, type-check, and test commands. Finish with a checklist covering debug logging, suppressed warnings, and test coverage for new or changed behavior.

How to check data flow consistency across application layers?▼

Trace read flows from Storage through Service and API to UI, and write flows in reverse. Confirm types and schemas pass correctly between layers and that errors propagate to the caller rather than being swallowed.

When should cross-layer checks be skipped?▼

Skip cross-layer analysis when the change is confined to a single layer. The data flow, code reuse, and import dependency dimensions only apply when changes touch three or more layers or create new shared utilities and files.

What test coverage should new code changes include?▼

New functions require unit tests, bug fixes require regression tests, and changed behavior requires updating existing tests. The verification checklist enforces each of these cases explicitly before the change is considered complete.

Why update spec documentation after fixing a bug?▼

Documenting non-obvious fixes and newly discovered patterns in the spec directory prevents repeating the same mistakes. If a future session would benefit from the lesson, the relevant spec file should be updated during the quality check.