بنقرة واحدة
lint-comments
Align inline comment columns in Minimal 64x4 assembly files for visual consistency and readability.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Align inline comment columns in Minimal 64x4 assembly files for visual consistency and readability.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Optimize Extended Min code size and branch speed by maximizing valid local fast branches/jumps while preserving compile correctness in both default and USE_ACCELERATOR builds.
Compile Extended Min Minimal 64x4 (and 64x4 Redux) assembly with BespokeASM using a repo-local helper that fetches the instruction-set config from GitHub.
| name | lint-comments |
| description | Align inline comment columns in Minimal 64x4 assembly files for visual consistency and readability. |
Use this skill to align inline comment semicolons within local code blocks so they form clean columns.
Scans a .min64x4 assembly file for blocks of code where inline comments (; after instruction text) are jagged — varying by 5 or more columns within a block. For each jagged block, it aligns all inline comments to a consistent column based on the longest instruction in that block.
; is the first non-whitespace character)#require, #create_memzone, .org, etc.)python3 skills/lint-comments/scripts/lint_comments.py <file.min64x4> --preview
python3 skills/lint-comments/scripts/lint_comments.py <file.min64x4>
By default, blocks with a comment column spread of less than 5 are left alone. Override with --threshold:
python3 skills/lint-comments/scripts/lint_comments.py <file.min64x4> --threshold 3
By default, comments are aligned to at least column 40 so they don't crowd short instruction lines. Override with --min-column:
python3 skills/lint-comments/scripts/lint_comments.py <file.min64x4> --min-column 36
Always recompile both build variants after running the linter:
skills/compile-min-64x4/scripts/compile_min64x4.sh <file.min64x4>
skills/compile-min-64x4/scripts/compile_min64x4.sh <file.min64x4> -- -D USE_ACCELERATOR
The linter is cosmetic-only and should not affect compiled output, but verify as a precaution.
CPI ';') can be misidentified as comment delimiters. The script handles single-quoted character literals specifically, but unusual quoting may require manual review.; ---), assembler directives (.align, .memzone), and double blank lines. Single blank lines and labels do NOT break blocks, allowing related code across labels to share a comment column. This matches the visual grouping of most Minimal 64x4 assembly but may occasionally group unrelated code.