スキル一覧に戻る
hyper-light

git-blame

by hyper-light

Multi-agent modular terminal client for those who like control.

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: git-blame description: Show line-by-line authorship information for a file. Returns the commit hash, author, and date for each line. allowed-tools: Bash metadata: category: git version: 1.0.0

Git Blame Skill

This skill shows line-by-line authorship information for a file, revealing who last modified each line and when.

Usage

The git-blame skill analyzes a file and returns authorship information for each line, with optional line range filtering.

Parameters

ParameterTypeRequiredDefaultDescription
pathstringYes-File path to blame
start_lineintNo1Starting line number (1-indexed)
end_lineintNo-Ending line number (inclusive)

Example Usage

Blame an entire file:

Show blame for /src/main.go

Blame specific lines:

Show blame for lines 10-20 of /src/auth.go

Result Format

The blame result includes:

For each line:

  • Line number (1-indexed)
  • Commit hash that last modified this line
  • Author name
  • Author email
  • Timestamp of the modification
  • Line content

Summary statistics:

  • Unique authors count
  • Unique commits count

Line Information Fields

FieldDescription
line_number1-indexed line number
commit_hashHash of commit that last changed this line
authorName of the author
author_emailAuthor's email address
author_timeWhen the line was last modified
contentThe actual line content

Use Cases

  1. Find code ownership: Identify who wrote specific code
  2. Track bug origins: Find when a problematic line was introduced
  3. Review history: Understand how code evolved
  4. Contact experts: Find who to ask about specific code
  5. Code review: See recent changes in context

Best Practices

  1. Use line ranges for large files to focus on relevant sections
  2. Cross-reference commit hashes with git-log for full context
  3. Check unique authors to understand code ownership patterns
  4. Use for debugging to find when issues were introduced
  5. Combine with git-log to trace the full history of changes

Interpreting Results

  • Multiple unique commits suggests the code evolved over time
  • Single commit for all lines indicates recently added code
  • Single author suggests concentrated ownership
  • Many authors suggests collaborative development

スコア

総合スコア

60/100

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

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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