← Back to list

update-logs
by kmkarakaya
⭐ 4🍴 0📅 Jan 17, 2026
SKILL.md
name: update-logs description: Updates a log.md file with the full commit history from latest to earliest commit when the user requests "update logs".
Skill Instructions
Overview
This skill is designed to generate a log.md file containing detailed commit history of the Git repository, ordered from the most recent commit to the earliest. It includes full commit hashes, author information, dates, complete messages (subject and body), and file change statistics. It is activated when the user explicitly requests to "update logs".
When to Use
- Use this skill only when the user says "update logs" or similar phrases indicating they want to update or create a commit log file.
- Do not activate for general Git queries or other logging tasks.
Procedure
- Verify that the current directory is a Git repository.
- Run
git log --pretty=format:"### %H%n**Author:** %an <%ae>%n**Date:** %ad%n%n**Message:**%n%s%n%n%b%n%n**Changes:**%n" --date=short --statto retrieve detailed commit history including full hash, author details, date, message (subject and body), and file change statistics. - Create or overwrite the
log.mdfile in the workspace root with the following structure:- Header:
# Commit History - Followed by the formatted commit details.
- Header:
- Confirm the file has been created/updated successfully.
Examples
- User Input: "update logs"
- Action: Execute the procedure and create
log.mdwith detailed commit history.
- Action: Execute the procedure and create
- Expected Output: A
log.mdfile like:# Commit History ### abc1234abcd... **Author:** Author Name <email@example.com> **Date:** 2026-01-17 **Message:** Add streaming support Detailed commit body if present. **Changes:** KMK_Chatbot.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Notes
- Commits are listed from latest to earliest by default with
git log. - If no commits exist, the file should contain just the header.
- Ensure the skill only runs in a Git repository context.
Score
Total Score
40/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon