cap-commit-push
SolidUse when the user sends `cap` or asks for a fast commit-and-push shortcut for current repository changes.
AI & Automation 52 stars
6 forks Updated today MIT
Install
Quality Score: 82/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Cap Commit Push
## Overview
`cap` is a shorthand command that means: commit current changes and push to remote.
## Trigger
- User message is exactly `cap`.
- Or user explicitly asks for "commit + push".
## Required Workflow
1. Preflight
- Run `git status --short`.
- If there are no changes, report no-op and stop.
2. Sync Gate
- If this task changes behavior/commands/workflow, update impacted skills first.
- Keep `.codex/skills/*` and `.claude/skills/*` in sync for shared skills.
3. Stage
- Run `git add -A`.
4. Commit
- Prefer a Conventional Commit message based on current task context.
- Fallback message: `chore: cap snapshot <YYYY-MM-DD>`.
5. Push
- Run `git push`.
- If upstream is missing, run `git push --set-upstream origin <current-branch>`.
6. Report
- Return commit hash, branch, and push result.
## Safety Rules
- Do not amend commits unless the user explicitly asks.
- Do not run destructive git commands (`reset --hard`, forced checkout).
Details
- Author
- rexleimo
- Repository
- rexleimo/harness-cli
- Created
- 6 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Integrates with
Related Skills
AI & Automation Featured
code-simplifier
Review RTK Rust code for idiomatic simplification. Detects over-engineering, unnecessary allocations, verbose patterns. Applies Rust idioms without changing behavior.
79,919 Updated today
rtk-ai AI & Automation Featured
design-patterns
Rust design patterns for RTK. Newtype, Builder, RAII, Trait Objects, State Machine. Applied to CLI filter modules. Use when designing new modules or refactoring existing ones.
79,919 Updated today
rtk-ai AI & Automation Featured
issue-triage
Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.
79,919 Updated today
rtk-ai