Skip to content
cccskills
FreePublished on GitHub

commit-main

Commit every dirty file in the current repo, only when on main.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90 stars(GitHub 90 + cccskills 0)

Run score Not tested

See how to install

Files included (2)

  • SKILL.md1.2 KB
  • agents/openai.yaml171 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Commit Dirty Main State

Codex adapter for /commit-main.

Arguments: <commit message>

Source Of Truth

Read .claude/commands/commit-main.md first. That slash command owns the workflow, branch guard, staging behavior, and completion report.

Codex Adaptation

Execute the command workflow inline from the current repository.

  • Treat the user's arguments as the commit message.
  • If the message is missing, ask the user for a commit message before staging anything.
  • Verify git branch --show-current returns exactly main before staging.
  • Use git status --short to detect whether there are changes to commit.
  • Use git add -A because the command's purpose is to commit every dirty path, including deletions and untracked files.
  • Commit with git commit -m "<commit message>".
  • End with the new commit hash and remaining dirty-file count.

Completion

Report whether a commit was created. If the command stopped because the branch was not main, no commit message was provided, or the repo was already clean, say that directly.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

accept

Free

Accept HQ membership invites from a magic link or raw token.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

adr

Free

Capture qualifying architecture decisions as ADRs in the right HQ or repo location.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

Generate dark ASCII banner graphics for HQ and social launch assets.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

See all skills by indigoai-us

Report a problem with this skill