بنقرة واحدة
auto-commit
Autonomously group, stage, and commit all changes in a repository into atomic commits.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Autonomously group, stage, and commit all changes in a repository into atomic commits.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Refactor code to simplify it while preserving behavior.
Review code for correctness, security, and style.
Fill coverage gaps with tests.
Document code
Fix, refine, consolidate, and optimize markdown files.
Aggressively simplify and optimize code
استنادا إلى تصنيف SOC المهني
| name | auto-commit |
| description | Autonomously group, stage, and commit all changes in a repository into atomic commits. |
| user-invocable | true |
| argument-hint |
Autonomously group, stage, and commit all changes in a repository into atomic commits for the current project.
Analyze Status: Execute git status --porcelain=v2 --branch to
identify all changes.
Identify Atomic Groups: Use heuristics from
references/atomic-git-staging.md to group files into logical
changes. Isolate .gitignore changes into their own commit.
unstaged file exists, stage
and commit it immediately.Sensitive Data Gate: For each atomic group, scan candidate paths/content before staging and scan the staged diff before commit. Check only current candidate files. Hard-block any path or diff matching likely secrets:
.env* except .env.example, *.key, *.pem,
*.p12, *.pfx, *_rsa, *_dsa, id_*, secrets.*,
credentials.*, .aws/, .ssh/, .gnupg/.password=..., token: ..., api_key = ..., Bearer <value>,
cloud/GitHub/Slack/OpenAI token prefixes with non-placeholder
values, or private key blocks. Do not block documentation that only
lists secret rule names or examples without real values.git restore --staged -- <files>, halt, and report only file paths
plus matched rule names. Never print secret values, ask for
override, or commit flagged files.Loop through Groups:
git --no-pager diff --no-ext-diff --stat --minimal --patience --histogram --find-renames --summary --no-color -U10 <file_group>
to understand the changes.git add <file1> <file2> ....references/conventional-commit.md.git commit -m "<message>".ERROR, halt and
report.Repeat: Continue until achieving a clean working tree.
Final Status: Output a concise summary of the commits created (for example, a list of commit hashes and subjects) to confirm successful execution.
--no-pager and --no-ext-diff for all diff
operations.untracked files and avoid staging
sensitive or build-related files (refer to atomic-git-staging.md).### Execution Summary
- **Actions**:
- [List of terse, short, compact, condensed summary of actions taken]
- **Files**:
- [List of modified or created files]
- **Findings**:
- [List of terse summary of key gaps, risks, or architectural notes]
- **Commits**:
- [List of commit summaries]
> **Commit Status** • `[Scope]`
> **Result**: [`Committed` | `Clean Tree` | `Failed`]
> **Status**: [Working tree summary]