git-pushing-fast-cn — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited git-pushing-fast-cn (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
A bulleted imperative like {match} tells the agent to never reveal, disclose, or mention something to the user. Used adversarially it can instruct the agent to hide its tool calls or lie about what it did — stripping the transparency a user relies on to trust the agent.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
在当前仓库的当前分支上,快速、安全地提交并推送本地改动。
默认结果是一个聚焦的 Conventional Commit,再推送到当前分支跟踪的远端。需要分析实际 diff,暂存用户要求的改动范围,根据改动内容生成提交信息;对于非简单改动,需要写分段提交正文,让评审者能按主题快速理解改动内容。
这个流程适用于普通单分支交付,例如把当前工作保存到远端;不处理分支合并、历史改写或 PR 创建。
基础格式:
<type>[可选 scope]: <description>
[正文:仅简单改动可省略;非简单改动必须写分段正文]
[footer:破坏性变更必须填写;相关 issue 引用可按需填写]在本技能中,正文只对简单提交可选。非简单改动必须写分段正文;如果运行了测试、校验、hook 或手动验证,必须包含“测试:”或“验证:”等价分段。
类型:
| Type | 用途 |
|---|---|
feat | 新增用户可见或产品能力 |
fix | 修复 bug |
docs | 仅文档变更 |
style | 不影响逻辑的格式或样式变更 |
refactor | 不新增功能、不修 bug 的代码重构 |
perf | 性能优化 |
test | 测试或覆盖率变更 |
build | 构建系统、依赖或打包变更 |
ci | CI 或自动化配置变更 |
chore | 维护或杂项变更 |
revert | 回滚历史提交 |
破坏性变更:
!,例如 feat(api)!: 移除旧字段。BREAKING CHANGE:。提交信息风格:
fix login redirect 或 修复登录跳转。Closes #123 或 Refs #456。当用户要求执行以下操作时使用本技能:
以下场景不要使用本技能:
git reset --hard、git checkout -- <file> 等破坏性命令按以下流程顺序执行。目标仓库、分支或推送目的地不明确时,停止并说明阻塞原因,不要猜测执行。
git status --short、git branch --show-current 和 git remote -v。git rev-parse --abbrev-ref --symbolic-full-name @{u} 检查 upstream。git diff --cached --stat 与 git diff --cached;如果没有暂存改动,再看 git diff --stat 与 git diff。git status --porcelain。git add -A。git add -p。git status --short,确认目标文件已经暂存。.env、凭证文件、私钥或 token。type(scope): 中文摘要。分段正文示例:
fix(module): 调整组件行为
行为:
- 调整受影响组件的默认状态。
- 对不支持的输入保持原有行为不变。
实现:
- 将重复逻辑移动到小型辅助函数。
- 更新相关配置以使用新的辅助函数。
测试:
- 补充更新行为的覆盖用例。
- 推送前运行相关校验。-m 参数或其他无交互方式执行 git commit,确保正文被完整保留。--no-verify。git push。git push -u origin <current_branch>,除非仓库或用户指定其他远端。git fetch 并检查差异再决定下一步。main 或 master 强推。git reset --hard 或 git checkout -- <file> 等破坏性命令。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.