用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vm0-ai/team-skills --skill dev-logs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | dev-logs |
| description | View development server logs with optional filtering |
View development server output. Uses a persistent log file as the primary source, with TaskOutput as fallback.
Your args are: $ARGUMENTS
[pattern] - Show only lines matching the regex pattern/dev-logs - Show recent dev server output/dev-logs error - Show only error messages/dev-logs "compiled|ready" - Show compilation statusThe dev server writes logs to a persistent file via tee. Read from it:
PROJECT_ROOT=$(git rev-parse --show-toplevel)
tail -n 200 "$PROJECT_ROOT/turbo/.dev-server.log" 2>/dev/null
If the file exists and has content, use this output — proceed to Step 3.
If the file does not exist or is empty, fall back to Step 2.
Try to read the task ID from the persisted file:
PROJECT_ROOT=$(git rev-parse --show-toplevel)
cat "$PROJECT_ROOT/turbo/.dev-task-id" 2>/dev/null
If the file exists and contains a task ID, use TaskOutput with that ID (block: false) to read the dev server logs.
If the file does not exist, fall back to TaskList to find a task whose command contains pnpm dev.
If neither method finds a task, inform the user:
/dev-start to start the server."Show the output in readable format. If a filter pattern was provided in the arguments, filter the output for matching lines only.