本文へ移動
cccskills
無料GitHub で公開

stage

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

インストール方法を見る

含まれるファイル(1)

  • SKILL.md897 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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."

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

adr-check

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

PaloAltoNetworks/shifter72026年10月6日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

PaloAltoNetworks/shifter72026年10月6日 更新

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月6日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

PaloAltoNetworks/shifter72026年10月6日 更新

ship

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

PaloAltoNetworks/shifter72026年10月6日 更新

PaloAltoNetworks のスキルをすべて見る

このスキルの問題を報告する