finishing-a-development-branch
安全完成开发分支
已完成的分支需要一条明确路径,用于合并、创建拉取请求、保留或清理。此技能指导测试验证、选项呈现以及受保护的 Git 完成工作流。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "finishing-a-development-branch" from https://skillstore.io/skills/cygnusfear-finishing-a-development-branch.md and its manifest at https://skillstore.io/api/skills/cygnusfear-finishing-a-development-branch/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“finishing-a-development-branch”。 我完成了该功能,测试也通过了。
预期结果:
助手确认测试结果,识别基准分支,并提供合并、拉取请求、保留或丢弃选项。
正在使用“finishing-a-development-branch”。 选择拉取请求。
预期结果:
助手推送分支,起草拉取请求摘要和测试计划,然后保留 worktree。
正在使用“finishing-a-development-branch”。 丢弃此分支。
预期结果:
助手列出将要删除的内容,并在删除前等待精确的丢弃确认。
安全审计
安全Static analysis reported 24 issues, but each was a false positive: Markdown fences, safe shell substitutions, or stderr redirection in examples. I found no prompt injection, hidden exfiltration, or semantic abuse; destructive Git cleanup is explicitly gated by user confirmation.
风险因素
⚙️ 外部命令 (23)
📁 文件系统访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/cygnusfear-finishing-a-development-branch/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/cygnusfear-finishing-a-development-branch?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/cygnusfear-finishing-a-development-branch?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/cygnusfear-finishing-a-development-branch/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/cygnusfear-finishing-a-development-branch.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
Cygnusfear. (2026). finishing-a-development-branch security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/cygnusfear-finishing-a-development-branch/audits/8BibTeX 引用
@techreport{cygnusfear-cygnusfear-finishing-a-development-branch-2026,
author = {Cygnusfear},
title = {finishing-a-development-branch security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/cygnusfear-finishing-a-development-branch/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "finishing-a-development-branch security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "Cygnusfear"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/cygnusfear-finishing-a-development-branch/audits/8"
identifiers:
- type: other
value: "skillstore:cygnusfear-finishing-a-development-branch:audit:8"
description: "Skillstore immutable audit report identifier"
比较变体
8 个可安装变体每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
zhanlincui-finishing-a-development-branch
2026-09-09
cycleaddict-finishing-a-development-branch
2026-09-09
sickn33-finishing-a-development-branch
2026-09-09
davila7-finishing-a-development-branch
2026-09-09
cygnusfear-finishing-a-development-branch
2026-09-09
dyai2025-finishing-a-development-branch
2026-09-09
codingcossack-finishing-a-development-branch
2026-09-09
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
完成一个功能分支
验证测试,选择正确的完成路径,并避免模糊的收尾决策。
准备团队拉取请求
推送当前分支,并创建带有简洁摘要和测试计划的拉取请求。
清理临时 worktree
仅在所选工作流表明适合清理后,才移除已完成或已丢弃的 worktree。
试试这些提示
使用 finishing-a-development-branch 来验证测试,并为我的当前分支呈现完成选项。
使用 finishing-a-development-branch。测试通过后,推送此分支,并起草带有摘要和测试计划的拉取请求。
使用 finishing-a-development-branch 来确认基准分支,在本地合并,重新运行测试,并清理已完成的分支。
使用 finishing-a-development-branch 来检查分支,在丢弃前列出提交,并在执行破坏性操作前等待精确确认。
最佳实践
- 在选择完成路径之前,运行完整的项目测试套件。
- 当检测到的分支不符合预期时,确认基准分支。
- 在输入丢弃确认之前,检查分支提交和 worktree 路径。
避免
- 在实现和测试完成之前使用此技能。
- 未审查将被删除的工作,就选择丢弃作为快速清理方式。
- 假设 GitHub CLI 拉取请求创建无需身份验证即可工作。
常见问题
此技能做什么?
它会自动运行测试吗?
它可以创建拉取请求吗?
它会删除分支吗?
它支持 Git worktree 吗?
它适合团队仓库吗?
开发者详情
作者
Cygnusfear许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
7e9e368dc1a370f2040369ebcd0db06d90cb48e5
维护新鲜度
2026/7/18
使用量
5 次下载 · 288 次浏览
文件结构
📄 SKILL.md