check

Validate modified Git-tracked code against .trellis/spec guidelines with linters and typecheckers.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/BaSui01/agentflow --skill check-basui01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check
Source: https://github.com/BaSui01/agentflow/tree/main/.agents/skills/check
Command: npx skills add https://github.com/BaSui01/agentflow --skill check-basui01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps ensure code changes adhere to project-specific development guidelines stored under .trellis/spec by automatically finding changed files, locating relevant spec modules, and verifying code quality before commit or during long interactive sessions.

Core Features & Use Cases

  • Changed-file discovery: Detects modified files using git diff to scope checks to impacted packages.
  • Spec-driven validation: Locates applicable .trellis/spec modules and follows their Quality Check pointers to the authoritative guideline documents.
  • Automated quality tools: Runs linting and typechecking for affected packages and reports violations with actionable guidance.
  • Use Case: Run after implementing a feature to catch style, convention, or type errors, and to prevent context drift in multi-step interactions.

Quick Start

Run the check skill to validate modified files against .trellis/spec guidelines and report any lint or typecheck violations.

Frequently Asked Questions about check

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

FAQPage Schema
How do I validate modified code against project development guidelines?

To validate modified code, the check Skill discovers changed files via git diff, locates applicable .trellis/spec modules, and runs linters and typecheckers to report violations with suggested fixes.

How do I run linters and typecheckers only on affected packages in a Git repository?

Run the check Skill to scope quality checks to impacted packages by detecting modified files with git diff and applying the relevant .trellis/spec module rules to those specific packages.

Can I use this to prevent context drift during long interactive coding sessions?

Yes, the check Skill is specifically useful during long interactive sessions to catch context drift by verifying modified code against project-specific development guidelines stored under .trellis/spec.

What's the best way to automate pre-commit code quality checks for Trellis spec modules?

The best way to automate pre-commit checks is running the check Skill, which reads authoritative guideline documents from .trellis/spec Quality Check pointers and executes linting and typechecking for affected packages.

Do I need a Git-tracked repository with .trellis/spec modules to validate code quality?

Yes, this code quality validation applies to Git-tracked repositories that use .trellis/spec modules for defining package-level quality rules and development guidelines.

Why does code validation fail to find my project's specific development guidelines?

Code validation fails to find guidelines if the repository lacks .trellis/spec modules, as the check Skill relies on discovering these spec modules and following their Quality Check pointers to authoritative documents.