← スキル一覧に戻る

devvit-logs
by reddit
A collection of helpful skills for working with devvit
⭐ 0🍴 0📅 2026年1月21日
SKILL.md
name: devvit-logs description: 'Stream Devvit logs for an installed app (trigger phrases: "devvit logs", "stream logs", "check logs", "show logs"). Requires the user to provide the target subreddit.'
Devvit Logs
Stream log events from an installed Devvit app for quick debugging. This skill wraps devvit logs and auto-exits after a short window (5 seconds) to avoid hanging on a streaming command.
How It Works
- Ask the user for the target subreddit (required).
- Optionally accept an app name and
--since=...flag. - Run
devvit logsand capture output. - Exit automatically after the first burst of output or 5 seconds, whichever comes first.
Usage
node /mnt/skills/user/devvit-logs/scripts/devvit-logs.js <subreddit> [app-name] [--since=1h]
Arguments:
subreddit- Required. Subreddit to stream logs from.app-name- Optional. App name if streaming from another folder.--since=Xd- Optional. Historical logs window (e.g.,--since=30m,--since=1d).
Examples:
node /mnt/skills/user/devvit-logs/scripts/devvit-logs.js my-subreddit
node /mnt/skills/user/devvit-logs/scripts/devvit-logs.js my-subreddit my-app --since=1h
Output
{
"ok": true,
"reason": "timeout",
"exitCode": null,
"signal": null,
"stdout": "=============================== streaming logs for my-app on my-subreddit ================================\n[DEBUG] Dec 8 15:55:23 Action called!",
"stderr": ""
}
Present Results to User
- If the user did not provide a subreddit, ask for it explicitly.
- Summarize the captured logs (if any) and mention the 5-second capture window.
- If no logs were captured, say so and suggest retrying with activity or
--since=....
Troubleshooting
- Devvit CLI not found: Install or ensure
devvitis in PATH. - Not logged in: Run
devvit loginand try again. - No logs: Trigger an action in the app or use
--since=.... - Permission errors: Confirm the app is installed in the subreddit and you have access.
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です