check
Original:🇺🇸 English
Translated
Validates recently written code against project-specific development guidelines from .trellis/spec/. Identifies changed files via git diff, discovers applicable spec modules, runs lint and typecheck, and reports guideline violations. Use when code is written and needs quality verification, to catch context drift during long sessions, or before committing changes.
17installs
Sourcemindfold-ai/trellis
Added on
NPX Install
npx skill4agent add mindfold-ai/trellis checkTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Check if the code you just wrote follows the development guidelines.
Execute these steps:
-
Identify changed files:bash
git diff --name-only HEAD -
Determine which spec modules apply based on the changed file paths:bash
python3 ./.trellis/scripts/get_context.py --mode packages -
Read the spec index for each relevant module:bash
cat .trellis/spec/<package>/<layer>/index.mdFollow the "Quality Check" section in the index. -
Review your code against each relevant guideline listed in the index.
-
Run lint and typecheck for the affected package.
-
Report any violations and fix them if found.