← スキル一覧に戻る

oe-backend-startup-triage
by shami-ah
⭐ 0🍴 1📅 2026年1月21日
SKILL.md
name: oe-backend-startup-triage description: Debug “backend won’t start / first request 500 / ports stuck” quickly. Use when uvicorn reload behaves strangely, ports 8000/3000 are blocked, or you see first-request errors like “unexpected keyword argument” due to stale bytecode caches.
oe-backend-startup-triage
Preferred startup path
-
Use the canonical dev script (port cleanup + key loading):
./scripts/dev_server.sh start
-
If the frontend is stuck (white page / endless spinner), clear zombie processes:
kill -9 $(lsof -nP -iTCP:3000 -sTCP:LISTEN -t)cd atelier-ai-frontend && npm run dev
If port 8000 is stuck
- Identify and kill listeners:
lsof -nP -iTCP:8000 -sTCP:LISTENlsof -nP -tiTCP:8000 -sTCP:LISTEN | xargs kill -9
If the first request fails with “unexpected keyword argument …”
This is usually stale .pyc / __pycache__ from changed dataclasses.
-
Clear bytecode caches:
find backend -name "*.pyc" -deletefind backend -type d -name "__pycache__" -exec rm -rf {} +
-
Restart with bytecode disabled:
export PYTHONDONTWRITEBYTECODE=1./scripts/dev_server.sh start
If imports fail (ImportError / missing export)
-
Run the compile/import sanity gate:
python3 scripts/verify_refactor.py
-
If the failure is in a workflow wrapper, ensure the wrapper re-exports the referenced symbol (see
docs/guides/TEAM_GUIDE.mdfor prior “missing export” regressions).
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です