commit-session

Commit and push only session-modified files after CI checks.

Updated Dec 26, 2024
One-click install
npx skills add https://github.com/Romira915/blog-romira-dev-leptos --skill commit-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-session
Source: https://github.com/Romira915/blog-romira-dev-leptos/tree/main/.claude/skills/commit-session
Command: npx skills add https://github.com/Romira915/blog-romira-dev-leptos --skill commit-session

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill commits and pushes only the files you modified during the current session, helping keep your commit history focused and reproducible.

Core Features & Use Cases

  • Selective Commit: Stage and commit only the files changed in this session after CI checks.
  • CI-driven Quality: Run format, clippy, and tests before committing to ensure a clean state.
  • Use Case: After implementing a feature, use this to commit only those changes and push to avoid accidental broad commits.

Quick Start

  1. Run CI checks for the session: just format, just clippy, and just test.
  2. Stage session changes: git add <files changed in this session>.
  3. Commit with a concise Japanese message and push: git commit -m "…" && git push