用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/michaelkamprath/extended-min --skill lint-comments命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
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.
基于 SOC 职业分类
正在显示 SKILL.md
| 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.