서우 AgentOffice
← 라이브러리
git

커밋 Smart

원문: commit-smart

Analyze staged/unstaged changes and create semantic conventional commits with context about WHY, not just WHAT. Auto-detects commit type and scope from the diff. Supports optional type/scope arguments. Usage - /commit-smart, /commit-smart fix, /commit-smart refactor api

무엇을 하나요

Smart Commit Create meaningful conventional commits by analyzing your actual changes. Workflow Step 1: Assess the working tree Run these commands to understand the current state: Step 2: Handle unstaged changes If nothing is staged ( git diff cached is empty): 1. Show the user what files have changed 2. Suggest what to stage based on logical grouping (e.g., "these 3 files are all related to the auth refactor") 3. Ask if they want to stage all, or select specific files 4. Stage the approved files with git add <files If changes are already staged, proceed to analysis. Step 3: Analyze the diff Read the full staged diff: Determine the commit type from the changes: | Signal | Type | | | | | New f

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.