← スキル一覧に戻る

plain-optimize
by dropseed
plain-optimizeは、ソフトウェア開発を効率化するスキルです。開発ワークフロー全体をサポートし、チームの生産性向上とコード品質の改善を実現します。
⭐ 652🍴 13📅 2026年1月23日
SKILL.md
name: plain-optimize description: Captures and analyzes performance traces to identify slow queries and N+1 problems. Use when analyzing performance or optimizing database queries.
Performance Optimization Workflow
1. Capture Traces
Make a request with tracing enabled:
uv run plain request /path --user 1 --header "Observer: persist"
2. Find Traces
uv run plain observer traces --request-id <request-id>
3. Analyze Trace
uv run plain observer trace <trace-id> --json
4. Identify Bottlenecks
Look for:
- N+1 queries (many similar queries)
- Slow database queries
- Missing indexes
- Unnecessary work in hot paths
5. Apply Fixes
- Add
select_related()/prefetch_related()for N+1 - Add database indexes for slow queries
- Cache expensive computations
6. Verify Improvement
Re-run the trace and compare.
スコア
総合スコア
70/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
✓人気
GitHub Stars 500以上
+10
✓最近の活動
3ヶ月以内に更新
+5
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
