work-logs-prompt-log
プロンプトログを出力する
When & Why to Use This Skill
This Claude skill enables the automatic export of detailed conversation logs into structured Markdown files, specifically designed to enhance development reproducibility. By capturing user prompts, AI responses, and confirmation steps, it provides a transparent record of the AI-assisted coding process, making it an essential utility for documenting workflows and justifying code changes in professional environments.
Use Cases
- Pull Request Documentation: Automatically generate and save interaction logs to include in Pull Requests, allowing reviewers to see the exact dialogue and logic that led to the proposed code changes.
- Development Reproducibility: Maintain a persistent local archive of AI sessions to ensure that complex debugging steps or architectural decisions can be revisited and verified by the team.
- Audit Trails for AI Usage: Create a verifiable history of AI contributions to a project, helping organizations maintain transparency and compliance in their software development lifecycle.
- Knowledge Management: Build a searchable local database of successful prompt strategies and technical solutions derived during AI-assisted development sessions.
| name | work-logs-prompt-log |
|---|---|
| description | プロンプトログを出力する |
| allowed-tools | Read, Write, Grep, Glob |
プロンプトログの書き出し
ユーザーの求めに応じて対話セッション中のログを書き出してください。長い入力であっても省略しないでください。
書き出し先は ~/.claude/prompt-log/${repo_name}/${date time prefix}_$description.md とします。
date time prefix は以下のようにしてください。
- date コマンドを利用してログ出力処理時の現在時刻を取得する
- フォーマットは
+%Y-%m-%d_%H-%Mとする
- フォーマットは
- タイムゾーンはAsia/Tokyoとする
ログの目的
目的としては、開発の再現性担保のためにpull requestに「このような対話によって生成されました」というログを書き込んでおくためのものです。
内容としては
- ユーザーの入力
- あなたの出力結果の概要
- ユーザーに対する確認を求める内容の場合は確認内容
などを含めてください。