← スキル一覧に戻る

validate-and-regenerate-parameters
by mikepsinn
How to End War and Disease
⭐ 2🍴 0📅 2026年1月25日
SKILL.md
name: validate-and-regenerate-parameters description: Validates parameters.py, checks for errors, and regenerates _variables.yml. Use when editing parameters, adding new values, or ensuring variable consistency. allowed-tools:
- Read
- Bash
- Write
- Edit
- Grep
Parameter Validation & Regeneration
When to Use
Use this skill when you:
- Add or modify parameters in
dih_models/parameters.py - Edit parameter formulas or calculations
- Need to verify variables are up-to-date
- Update parameter descriptions or confidence levels
- See "variables out of date" warnings
Process
1. Validate parameters.py syntax
cd e:\code\obsidian\websites\disease-eradication-plan
python -m py_compile dih_models/parameters.py
2. Check for common errors
- Hardcoded values marked as "calculated" (should use formulas)
- Missing unit specifications
- Parameter names that aren't self-documenting
- Non-uppercase naming violations
- Duplicate parameter definitions
3. Regenerate variables
.venv/Scripts/python.exe scripts/generate-everything-parameters-variables-calculations-references.py
4. Verify output
- Check
_variables.ymlupdated successfully - Verify
_analysis/parameter-summary.mdgenerated - Spot-check formatting of values (currency, percentages, DALYs)
5. Report changes
- List new/modified/deleted variables
- Show updated parameter counts
- Flag any warnings from generation script
Expected Outcome
After running this skill:
- parameters.py compiles without errors
- _variables.yml is up-to-date
- All variable references in QMD files are valid
- Parameter summary shows correct values
スコア
総合スコア
65/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
3ヶ月以内に更新
+5
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
