← スキル一覧に戻る

suggest-tidyings
by corca-ai
⭐ 20🍴 4📅 2026年1月24日
SKILL.md
name: suggest-tidyings description: Analyze recent commits to suggest safe tidying opportunities—guard clauses, dead code removal, explaining variables. Use when user says "suggest tidyings", "tidy", "find refactoring", "cleanup code", or wants to improve readability without changing behavior. Accepts optional branch argument.
Suggest Tidyings
Analyze recent commits to find small, safe code improvements.
Key Principle: Each suggestion must be a perfectly safe, independent, small change. No logic changes, easy to review.
Workflow
1. Get Target Commits
Run the script to get recent non-tidying commits:
{SKILL_DIR}/scripts/tidy-target-commits.sh 5 [branch]
- If branch argument provided (e.g.,
/suggest-tidyings develop), pass it to the script - If no argument, defaults to HEAD
2. Parallel Analysis with Sub-agents
For each commit hash, launch a parallel sub-agent using Task tool:
Task tool with subagent_type: general-purpose
Each sub-agent should:
- Read
{SKILL_DIR}/references/tidying-guide.mdfor techniques, constraints, and output format - Analyze commit diff:
git show {commit_hash} - Check if changes still exist:
git diff {commit_hash}..HEAD -- {file}(skip modified regions) - Return suggestions or "No tidying opportunities"
3. Aggregate Results
Collect all sub-agent results and present:
# Tidying Analysis Results
## Commit: {hash} - {message}
- suggestion 1
- suggestion 2
## Commit: {hash} - {message}
- No tidying opportunities
References
- Tidying techniques and output format: references/tidying-guide.md
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です