audit-log
できること
システムや処理における変更の履歴を記録します。誰が、いつ、何をし、なぜ行ったかを残し、セキュリティやコンプライアンスの記録として役立ちます。
使う場面
- ✓重要なデータを誰が変更したかを追跡したいとき。
- ✓システムの変更履歴を作成したいとき。
- ✓セキュリティのルールが守られていたことを証明したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/audit-log/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“顧客データに対して行われた変更をログに記録したいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、何を記録する必要があるか(誰が何を、なぜ変更したかなど)を尋ねて、そのためのテンプレートを作成します。この情報を保存するために、CSVやSQLなどのファイルを生成することもできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Audit Log
What it is: Compliance trail.
Overview
Works out the smallest useful Audit Log setup for the business in front of it, then builds it only when asked. The default output is a short recommendation, not a spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on request, from one field list so they cannot drift apart.
Layer: Layer 7: Protect. Fits: Scale stage. Table code: n/a.
When to Use This Skill
- audit log
- change history tracker
- activity log database
- compliance trail
Also use it when the user says "compliance trail", or describes the same process happening in a spreadsheet, a document or someone inboxes.
Do not use it for: payroll calculation, tax filing, or legal advice. This skill produces empty templates only - it never holds or processes real employee or customer data.
How It Works
Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.
Step 1 - Identify intent
Read the request and pick the intent before asking anything.
- "set up" or "build" or "create" -> the user wants artifacts; go to Step 2.
- "our process is ..." or "it is in a sheet" -> the user wants to move an existing process; capture it, then Step 2.
- "is this right" or "review" or "audit" -> the user wants a check, not a build; answer from what they share.
- "how do I ..." -> advice question; answer directly and offer the build only if it helps.
Ask only if this is the highest-value missing fact; otherwise proceed without an opener:
Q: What do you need to be able to prove?
Step 2 - Ask only what is missing
Skip anything the user already answered, in any earlier message. Ask the rest one at a time, and stop as soon as the remaining answers would not change the output.
- Purpose - Which decision or process? / Internal or external? / Who asks for it?
- Events - What must be recorded? / Approvals or changes? / How far back?
- Evidence - Who can read it? / Tamper evidence needed? / Retention period?
- Current process - Is anything logged now? / Email or spreadsheet? / Is it complete?
- Outcome - What do you need? / A log definition, a register or reporting?
Never invent an answer. If the user does not know, record it as unknown and carry on.
Step 3 - Hold the internal context
Hold the answers in this shape. It stays internal - it is not shown to the user unless they ask, and it never carries a value the user did not give.
module: audit-log
intent: null # setup | advice | review | fix | build | convert | export
scale: null # Starter | Growth | Scale, only if the answer changes it
areas:
"Purpose": null
"Events": null
"Evidence": null
"Current process": null
"Outcome": null
requested_outputs: [] # csv | sql | json | notion | xlsx - requested formats only
confirmed_facts: [] # only what the user actually said
open_questions: [] # the unanswered ones, in the order worth asking
Step 4 - Recommend the smallest workflow
If an artifact was requested, build it after resolving essential missing facts. Otherwise give a short recommendation and offer the relevant artifact.
Recommended approach: Define the small set of events worth keeping and record who did what and when. Depth follows the question you need to answer.
Why this one: Audit logs become useless when everything is captured. Start from the question you need to answer, then record only what answers it.
Workflow: Event recorded → Actor and time → Stored → Periodically reviewed → Evidence produced
Step 5 - Build only on request
Once the user asks for it, derive the fields from the confirmed context and emit the requested artifacts. For machine-readable text, keep prose outside the data; for files, provide a usable link. Report material validation failures or limitations separately.
A selected Notion output is rendered by notion-manual-import, so route the
Notion step there. When the user selects Notion, hand that step to
@notion-manual-import: it holds the CSV, the property
mapping, the import steps and the verification checklist, and it renders the Field
Reference below instead of defining a table of its own. Do not restate the mapping
here and do not improvise the import steps. Manual CSV and mapping outputs need no
connection. For requested workspace changes, follow the shared contract: verify actual
…
よくある質問
「監査ログ」とは何ですか?
システムや処理で行われたすべての操作や変更を詳しく記録したもので、セキュリティとコンプライアンスを確保するための業務日誌のようなものです。
実際のデータにも使えますか?
いいえ。このツールが作成するのはテンプレートと例示用の記録だけです。実際の顧客データや従業員データを保存・処理することはありません。
どのようなファイル形式を取得できますか?
CSV(表計算ソフト用)、SQL(データベース用)、JSON(構造化データ用)など、形式を指定して取得できます。
詳細
作者による元の説明
Audit trail register: timestamp, user, module, record, action, field changed, old and new value, and the reason for the change. Use for change history and control evidence.
人気
- GitHubのスター
- 48k
- ランキング
- #3838
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
technical-documentation
394k明確な技術ドキュメントやエージェントの指示ファイルを書いて確認し、人やAIツールが簡単に従えるようエージェントを支援します。
architecture-decision-records
280kエージェントがプロジェクト構成に関する重要な決定を記録できるようにします。選択の理由を把握しやすくし、変更履歴を明確に残すのに役立ちます。
code-tour
280kエージェントが正確なファイル名と行番号を示しながら、コードを段階的に解説できるようにします。紹介、説明、レビューに役立ちます。