跳到正文
cccskills
免费在 GitHub 公开

stage

Stage files, run pre-commit, fix failures, loop until clean

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md897 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Stage Changes

Step 1: Identify Changed Files

  1. Run git status to see all changed and untracked files.
  2. Exclude from staging: .env files, credentials, secrets, large binaries.

Step 2: Stage Files

  1. git add all relevant changed files.

Step 3: Pre-commit Loop

Run up to 5 iterations:

  1. Run pre-commit run --all-files.
  2. If it passes, proceed to Step 4.
  3. If it fails:
    • Read the failure output.
    • Fix the issues.
    • Re-stage any modified files with git add.
    • Go back to step 1.
  4. If still failing after 5 attempts, report the failure details to the user and stop.

Step 4: Report

  • List what is staged: git diff --cached --name-only
  • Confirm pre-commit passes.
  • "All files staged and pre-commit clean. Ready for commit."

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

adr-check

免费

Run ADR conformance checks, explain failures, and identify required ADR/doc updates for the current change.

中文简介正在准备中。当前显示原文说明。

PaloAltoNetworks/shifter72026年10月14日 更新

Review a change for architectural drift, guardrail weakening, and ADR impact before shipping.

中文简介正在准备中。当前显示原文说明。

PaloAltoNetworks/shifter72026年10月14日 更新

Stand up or rebuild an AWS Shifter tenant end to end (teardown, bootstrap, secrets, image bakes, deploy via the real deploy.yml dispatch, health check, base-range smoke, and a POLARIS range walkthrough). AWS only. Use when asked to rebuild, redeploy, or stand up an AWS tenant such as proof or aws-dev from a clean state.

中文简介正在准备中。当前显示原文说明。

PaloAltoNetworks/shifter72026年10月14日 更新

Monitor GitHub workflows, propose fixes for failures, and report status

中文简介正在准备中。当前显示原文说明。

PaloAltoNetworks/shifter72026年10月14日 更新

ship

免费

Ship current branch — CI, SonarCloud, code review, security review, fix all issues, merge. Assumes code is already committed and pushed.

中文简介正在准备中。当前显示原文说明。

PaloAltoNetworks/shifter72026年10月14日 更新

查看 PaloAltoNetworks 的全部技能

报告此技能的问题