スキル一覧に戻る
TaylorHuston

commit

by TaylorHuston

A customizable life management framework for Claude Code - skills, agents, and workflows for personal productivity

12🍴 2📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: commit description: "Create git commits in spaces/[project]/ with conventional message format. Use for saving progress with quality checks and proper commit messages." model: claude-sonnet-4-20250514 allowed-tools: Read, Glob, Grep, Bash

/commit

Create git commits in spaces/[project]/ with quality checks and conventional message formatting.

Usage

/commit yourbench                     # Interactive commit
/commit yourbench "feat: add auth"    # Direct with message
/commit coordinatr --amend            # Amend last commit (safety checks)
/commit yourbench "fix: typo" --no-verify  # Skip hooks

Two Repos Involved

Meta-repo (ideas/):          spaces/yourbench/
├── ideas/yourbench/         ├── src/
│   ├── specs/               ├── tests/
│   └── issues/              └── .git/  <- Project git
├── .claude/
└── .git/  <- Meta-repo git

Auto-detect behavior:

  • Only spaces/[project]/ changed -> commit in project repo
  • Only ideas/ or meta-repo changed -> commit in meta-repo
  • Both changed -> ask: "Commit to both repos? (project/meta/both)"

Execution Flow

1. Detect Changes

# Check meta-repo
git status --porcelain ideas/ .claude/ shared/ resources/

# Check project repo
git -C spaces/[project] status --porcelain

2. Run Quality Checks (unless --no-verify)

npm test  # or pytest, cargo test, etc.
npm run lint

3. Review Changes

git status
git diff --staged

4. Generate Commit Message

Conventional commit format:

type(scope): description

[optional body]

Co-Authored-By: Claude <noreply@anthropic.com>

Types:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation
  • refactor: Code refactoring
  • test: Adding/updating tests
  • chore: Maintenance

Auto-detect type from changes:

  • New files in src/ -> feat
  • Changes to existing behavior -> fix or refactor
  • Only test files -> test
  • Only docs -> docs

If on feature branch like feature/001-auth:

feat(001): implement user authentication

Refs: TASK-001

6. Execute Commit

cd spaces/yourbench
git add .
git commit -m "message..."

Amend Mode

Safety checks before amending:

  1. Not pushed to remote: git log @{u}..HEAD
  2. You're the author: git log -1 --format='%ae'

Branch-Aware Messages

BranchCommit Type
feature/001-authfeat(001): ...
bugfix/002-loginfix(002): ...
main / developNo issue reference

Error Handling

ErrorResolution
Project not foundCheck spaces/[project]/ exists
Not a git repoRun git init in project
Tests failingFix tests before committing
Nothing to commitNo staged/unstaged changes
Amend pushed commitCannot amend, create new commit

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です