ci
诊断 CI 失败并修复测试
当日志嘈杂且原因不明确时,CI 失败会浪费时间。此技能可帮助 Claude、Codex 和 Claude Code 分流流水线失败,并指导安全修复。
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "ci" from https://skillstore.io/skills/chachamaru127-ci.md and its manifest at https://skillstore.io/api/skills/chachamaru127-ci/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“ci”。 构建作业在最新提交后因 TypeScript 错误而失败。
预期结果:
结果会识别出构建失败,指出可能变更的文件,解释类型不匹配,并建议优先修复实现类型。
正在使用“ci”。 Vitest 断言失败,因为收到的值发生了变化。
预期结果:
结果会比较预期行为与实现,建议修复应归属的一方,并避免移除断言。
正在使用“ci”。 CI 修复已失败两次,并影响多个文件。
预期结果:
结果会总结重复失败模式,区分环境风险与代码风险,并提出基于批准的重试计划。
安全审计
高风险All 30 static findings are false positives caused by Markdown backticks, a relative import example, and entropy heuristics on readable documentation. A semantic review found unvalidated placeholders in Bash command templates, creating a command injection risk during substituted execution.
已确认安全问题 (1)
风险因素
⚙️ 外部命令 (26)
📁 文件系统访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/chachamaru127-ci/audits/13?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/chachamaru127-ci?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/chachamaru127-ci?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/chachamaru127-ci/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/chachamaru127-ci.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 引用
Chachamaru127. (2026). ci security audit report (audit version 13) [Author version unspecified]. Skillstore. https://skillstore.io/skills/chachamaru127-ci/audits/13BibTeX 引用
@techreport{chachamaru127-chachamaru127-ci-2026,
author = {Chachamaru127},
title = {ci security audit report (audit version 13)},
institution = {Skillstore},
year = {2026},
number = {13},
url = {https://skillstore.io/skills/chachamaru127-ci/audits/13},
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: "ci security audit report (audit version 13)"
version: "unspecified"
type: report
authors:
- name: "Chachamaru127"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/chachamaru127-ci/audits/13"
identifiers:
- type: other
value: "skillstore:chachamaru127-ci:audit:13"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
分流失败的流水线
识别可能的失败类别,以及应首先检查的文件或作业。
修复失败测试
比较测试预期与实现行为,并选择安全的修复方案。
准备 CI 事件摘要
创建一份简洁报告,包含原因、受影响文件、修复状态和后续操作。
试试这些提示
分析此 CI 失败日志。识别错误类型、可能原因、相关文件以及最安全的下一步操作。
审查失败的 CI 作业和近期提交。说明哪个更改最可能导致失败,以及原因。
在不削弱覆盖率的情况下修复此失败测试。判断是测试还是实现有误,然后应用最小的正确更改。
同一个 CI 作业在两次修复尝试后仍然失败。诊断循环问题,提出更安全的计划,并列出运行前需要批准的命令。
最佳实践
- 同时提供失败作业日志、运行 ID 和近期提交上下文。
- 在更改测试或 CI 设置前,先修复实现缺陷。
- 在使用仓库凭据运行 Bash 命令前先进行审查。
避免
- 不要为了让 CI 通过而跳过测试,除非有记录在案的临时原因。
- 除非需求已变更,否则不要移除断言。
- 不要添加 CI 绕过设置来代替修复根本原因。
常见问题
此技能支持哪些 CI 系统?
它能自动运行 CI 命令吗?
它会修改测试吗?
它允许跳过测试吗?
什么输入能得到最佳结果?
这对本地构建失败有用吗?
开发者详情
许可证
MIT
Skillstore 修订
r2
版本提示
作者未声明版本。
引用
c43861a65bb95efcae259cd161c9d6f4dc7eec6f
维护新鲜度
2026/7/26
使用量
6 次下载 · 301 次浏览
文件结构