スキル一覧に戻る
tatsuki-washimi

git-commit

by tatsuki-washimi

gwpy expansions for experiments

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

SKILL.md


name: git_commit description: 作業終了後に不要な一時ファイルを削除し、gitにコミットする

Commit and Cleanup

This skill handles the cleanup of temporary files and committing changes to the git repository.

Instructions

  1. Identify Temporary Files:

    • Look for loose python scripts in the root directory (e.g., temp.py, test_adhoc.py).
    • Look for generated artifacts that shouldn't be committed (logs, plots in unexpected places).
    • Always ask for confirmation before deleting a file unless it is a standard temporary artifact you just created.
  2. Clean Up:

    • Delete the identified confirmed files.

    • Clean up standard cache directories:

      find . -maxdepth 4 -name "__pycache__" -type d -exec rm -rf {} +
      find . -maxdepth 4 -name ".pytest_cache" -type d -exec rm -rf {} +
      rm -rf .ruff_cache .pytest-ipython
      
  3. Git Status:

    • Run git status to see what has changed.
  4. Commit:

    • Add relevant files: git add <files>
    • Generate a concise but descriptive commit message following conventional commits if possible.
    • Commit: git commit -m "message"

Best Practices

  • Do not add __pycache__, .vscode, .idea, etc., to the commit (ensure .gitignore is respected).
  • If the git status output is huge, do not use git add . blindly.

スコア

総合スコア

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

レビュー

💬

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