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.
66
78%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/check/SKILL.mdCheck if the code you just wrote follows the development guidelines.
Execute these steps:
Identify changed files:
git diff --name-only HEADDetermine which spec modules apply based on the changed file paths:
python3 ./.trellis/scripts/get_context.py --mode packagesRead the spec index for each relevant module:
cat .trellis/spec/<package>/<layer>/index.mdFollow the "Quality Check" section in the index.
Read the specific guideline files referenced in the Quality Check section (e.g., quality-guidelines.md, conventions.md). The index is NOT the goal — it points you to the actual guideline files. Read those files and review your code against them.
Run lint and typecheck for the affected package.
Report any violations and fix them if found.
786846c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.