基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/flutter/devtools --skill preparing-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Guidelines and step-by-step workflow for debugging DevTools extensions locally, including stub mode, fixed-port launching, browser auto-opening, URL query parameters, target app connection, and human-in-the-loop interaction. Use when debugging or testing DevTools extension behavior.
DevTools repository-specific PR review workflow enforcing DevTools style guidelines and common review patterns. Use when reviewing pull requests in the flutter/devtools repository.
General workflow for fetching, inspecting, reviewing GitHub Pull Requests using the gh CLI, drafting user-aligned review comments, and securing approval before posting. Use when asked to review a GitHub PR or pull request.
| name | preparing-pr |
| description | Prepare a pull request by running presubmit with fixes. Use when preparing to commit or send a PR. |
Follow these steps to prepare a pull request for DevTools:
dt configuration:
dt is available on the path by running dt --help or verifying its alias.dt executable on your path.dt update-flutter-sdk to ensure the SDK is up to date.dt presubmit --fix to address automated fixes.dt presubmit --fix again to verify the fix.git status or git diff upstream/master to find changed files.packages/devtools_app/lib/src/screens/logging/logging_screen.dart, run the logging tests under packages/devtools_app/test/screens/logging/.If any step fails, stop and address the issue, and then verify the issue is fixed before proceeding.
[!IMPORTANT] Do NOT commit or push changes without getting explicit user approval first.