← Back to list

improve
by xiaoju111a
AI code review GitHub Action powered by Kimi (Moonshot AI)
⭐ 5🍴 0📅 Jan 21, 2026
SKILL.md
name: improve description: Analyze code and provide specific improvement suggestions with code examples. version: 1.0.0 triggers:
- improve
- suggestions
- optimize
Code Improve Skill
Task
Analyze code changes and provide specific improvement suggestions with code examples.
Improvement Categories
Performance
- Algorithm optimization
- Reduce unnecessary computation
- Cache utilization
- Batch processing
Readability
- Naming improvements
- Code simplification
- Extract functions/methods
- Reduce nesting
Security
- Input validation
- Secure API usage
- Sensitive data handling
Best Practice
- Language idioms
- Design patterns
- Error handling
- Type safety
Output Format
suggestions:
- relevant_file: "src/example.py"
language: "python"
relevant_lines_start: 10
relevant_lines_end: 15
label: "performance"
severity: "medium"
one_sentence_summary: "Use list comprehension instead of loop"
suggestion_content: |
Current code uses for loop to build list, can be simplified with list comprehension.
existing_code: |
result = []
for i in range(100):
result.append(i * 2)
improved_code: |
result = [i * 2 for i in range(100)]
Principles
- Only suggest improvements with real value
- existing_code must be actual code from the PR
- improved_code must be directly usable as replacement
- Prioritize high-impact improvements
Score
Total Score
60/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon