forked from mengyxu/noob-components
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
871 B
871 B
Check if the code you just wrote follows the development guidelines.
Execute these steps:
-
Identify changed files:
git diff --name-only HEAD -
Determine which spec modules apply based on the changed file paths:
python3 ./.trellis/scripts/get_context.py --mode packages -
Read 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.