Agent skill
check_physics
実装内容が数学的・物理学的に妥当か検証する
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/check-physics
SKILL.md
Verify Physics
This skill performs a review of the code specifically focusing on physics and math correctness.
Instructions
-
Dimensional Analysis:
- Check if unit handling (e.g.,
astropy.units,quantities) is used correctly. - Ensure operations are physically valid (e.g., not adding Length to Time).
- Check if unit handling (e.g.,
-
Mathematical Inspection:
- Verify equations against known reference papers or standard textbooks.
- Check for numerical stability issues (e.g., division by zero, floating point precision loss).
- Check edge cases (e.g., $f=0$, infinite limits).
-
Sanity Checks:
- Create a small script to test conservation laws (e.g., Parseval's theorem for FFT).
- Verify that reasonable inputs produce physically reasonable outputs.
-
Report:
- Provide a summary of the analysis, pointing out any suspect logic or confirming validity.
Didn't find tool you were looking for?