well-formed
Review pull request diffs for code smells, style issues, and safety problems before merging.
- License 许可
- MIT
- 所属仓库
- luongnv89/asm
- 最近更新
- 2026-11-14
- Stars
- ★ 975
- Forks
- 87
01 前言 Front Matter
- name
- well-formed
- effort
- medium
- creator
- ASM Fixtures
- license
- MIT
- version
- 1.0.0
- description
- Review pull request diffs for code smells, style issues, and safety problems before merging.
- allowed-tools
- Read Grep
- compatibility
- Claude Code
02 资源文件 1
- 参考文档index.json632 B
03 SKILL.md 正文
Well-formed corpus skill
When to Use
- When the user asks to "review this PR" or "check the diff"
- Before merging any change larger than 10 lines
Prerequisites
- A git repository with the target branch checked out
- Read access to the files being reviewed
Instructions
- Run
git diff main...HEADto list files - Read each file and check for common smells
- Emit a markdown report summarising findings
Example
$ asm eval ./well-formed
Overall score: 95/100
Acceptance Criteria
- Produces a markdown report with sections per file
- Flags any use of
eval()orexecas dangerous - Does not modify the working tree
Edge cases
- Empty diffs: emit a short "no changes" note
- Binary files: skip and mention the filename in the report
Safety
See references/safety.md for error handling rules.
Always confirm before writing. Never run destructive commands without a dry-run.
04 同仓库更多 Skills
missing-frontmatter
暂无简介
hello-world
A minimal test skill that greets the user and demonstrates the ASM publish workflow.
runtime-budget-pass
Short description that names a clear trigger. Don't use for unrelated docs.
runtime-budget-fail
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
metadata-version-semver-pass
Validate a skill. Don't use for unrelated docs.
metadata-version-semver-fail
Validate a skill. Don't use for unrelated docs.