为 Fluid Framework 仓库自动生成规范 PR 标题与描述,并推送分支创建拉取请求
该技能属于开源的提示型 PR 工作流说明,本身未声明需要密钥或固定远程端点,整体风险较低。需注意其文档明确包含 git push 与 gh pr create 等操作指引,若宿主代理具备相应工具能力,则会涉及代码托管平台交互与仓库写操作,应在用户确认和最小权限前提下使用。
材料未声明需要 API key、token 或环境变量;技能文本本身不要求用户提供凭证。潜在认证仅可能来自宿主环境已登录的 git/GitHub CLI,但这不属于该技能额外索取凭证。
文档指向推送分支并创建 GitHub PR,存在将分支与 PR 内容发送到代码托管平台的常规外发行为;虽未声明固定 host,但目标与功能相关且可预期,不见无关或不明端点。
README 明确包含执行 git remote get-url、git push、gh pr create、以及写临时文件等命令/操作指引,说明若由具备工具能力的代理运行,将涉及本机命令执行与仓库写操作。这属于该类工具的常规能力,材料中未见要求更高系统权限的红旗。
为生成与创建 PR,技能会接触当前仓库分支状态、remote 配置以及拟提交的标题/正文,并可能写入临时文件保存 PR 内容;访问范围与声明用途基本一致,未见要求广泛读取无关本地数据。
系统检查项表明其为 prompt-only 且 open-source;来源指向 GitHub 上的微软相关开源仓库,源码可审计,这些均显著降低供应链风险。需留意提供的仓库链接似为总项目仓库而非该具体技能的独立发布单元,且 star/维护信息有限,建议结合实际提交历史复核。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "fluid-pr" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/FluidFramework/main/.claude/skills/fluid-pr/SKILL.md 2. 保存为 ~/.claude/skills/fluid-pr/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为 Fluid Framework 仓库创建一个 PR。根据当前分支改动生成符合规范的 PR 标题和描述,先展示给我确认,然后推送分支并在 GitHub 上创建 PR。
先给出符合仓库规范的 PR 标题和正文草稿,确认后完成分支推送并返回 PR 链接。
我刚修复了一个 Fluid Framework 的 bug,帮我提交 PR。请根据提交内容整理清晰的标题、摘要和测试说明,并创建 GitHub PR。
输出一份结构清晰的 PR 内容,涵盖变更说明与测试信息,并完成 PR 创建。
把当前分支推送到远程并创建 PR。请按 Fluid Framework 约定编写标题和正文,如果内容不完整先提示我补充。
生成规范化 PR 文案,必要时向用户补充询问,然后完成推送与 PR 发起流程。
CRITICAL Add the following steps to your task/todo list using your available task tooling (TaskCreate for Claude, TodoWrite for Copilot):
main or any release branch. If you are, stop and tell the user: you cannot create a PR from a protected branch — they need to create or switch to a feature branch first.origin remote does not point to microsoft/FluidFramework. If it does, stop and tell the user: pushing a branch directly to the main repo is not allowed — they should push to their fork instead.fluid-pr-guide skill NOW (via the Skill tool) before composing anything. It contains the title conventions, body template, and section guidance you need. Do NOT skip this step or rely on memory.fluid-pr-guide, compose the PR title and body following its conventions and template.AskUserQuestion tool to let the user choose what to do next. Use these exact options:
Before pushing, verify that origin does not point to microsoft/FluidFramework. Run:
git remote get-url origin
If the URL contains microsoft/FluidFramework, stop — pushing a branch directly to the main repo is almost certainly not intended. Tell the user they likely need to push to their fork instead. Do not proceed.
Once the checks in steps 1–2 pass silently, compose the title and body, print them as text, then use the AskUserQuestion tool with the four options as described in step 5. This is the only point where the fluid-pr flow asks the user a question.
# Push branch (first time)
git push -u origin <feature-branch>
# Create PR (option 1)
gh pr create \
--title "<title>" \
--body "$(cat <<'EOF'
<body>
EOF
)"
# Create draft PR (option 2) — add the --draft flag
gh pr create \
--draft \
--title "<title>" \
--body "$(cat <<'EOF'
<body>
EOF
)"
After creating the PR, output the PR URL so the user can navigate to it.
You do not have permissions to edit PRs on the upstream microsoft/FluidFramework repo via the API. If you need to update an existing PR's title or body, write the new content to a temp file and tell the user to copy-paste it into GitHub:
cat <<'EOF' > "$TMPDIR/pr-body.md"
<new body content>
EOF
Then tell the user: "I can't edit the PR directly — I've written the updated description to $TMPDIR/pr-body.md. Please copy-paste it into the PR on GitHub."
帮助你严谨评估代码评审意见,澄清疑点后再决定是否采纳与实现
帮助你实现与迭代界面和交互体验,完成前端集成与设计优化。
在代码改动完成后,快速整理并更新对应技术文档与说明内容。
通过截图捕获屏幕上下文,帮助 AI 更准确理解当前界面与问题。
为 Copilot 创建的 PR 自动触发 ADO CI 流水线运行与验证。
通过先写失败测试再实现代码,帮助稳定完成功能开发与缺陷修复。
帮助你撰写或审阅符合 Fluid Framework 规范的 PR 标题与描述。
根据当前会话中的代码改动,快速创建可提交的拉取请求。
为当前会话中的代码改动快速创建草稿拉取请求,便于协作评审。
在实现完成后协助提交代码、推送分支并发起拉取请求与自动审查。
帮助用户把当前会话中的新代码变更更新到已有拉取请求中
帮助团队执行 Fluid 客户端版本发布流程,涵盖分支、升版、变更日志与发布说明。