スキル一覧に戻る
kmkarakaya

update-logs

by kmkarakaya

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

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

  1. Verify that the current directory is a Git repository.
  2. 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 --stat to retrieve detailed commit history including full hash, author details, date, message (subject and body), and file change statistics.
  3. Create or overwrite the log.md file in the workspace root with the following structure:
    • Header: # Commit History
    • Followed by the formatted commit details.
  4. Confirm the file has been created/updated successfully.

Examples

  • User Input: "update logs"
    • Action: Execute the procedure and create log.md with detailed commit history.
  • Expected Output: A log.md file 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.

スコア

総合スコア

40/100

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

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

レビュー

💬

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