法律与合规
audit-logger
Keep a clear audit trail of actions, tools used, actors, outcomes, and errors for sensitive work. Use for compliance-sensitive tasks, incidents, or when the user asks what changed.
Navinspire-ia · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add Navinspire-ia/navin --skill audit-logger技能说明
name: audit-logger description: Keep a clear audit trail of actions, tools used, actors, outcomes, and errors for sensitive work. Use for compliance-sensitive tasks, incidents, or when the user asks what changed. metadata: {"navin":{"emoji":"📒","category":"security"}}
Audit Logger
Overview
For sensitive operations, produce a concise audit record the user can keep.
Record fields
| Field | Content |
|---|---|
| When | ISO timestamp |
| Who | user / channel / session |
| Action | what was attempted |
| Tools | tools + key args (redact secrets) |
| Target | systems / paths / tickets |
| Result | success / failure / partial |
| Error | message if any |
Workflow
- Before the work: note the intent.
- During: prefer tools that leave artifacts (PRs, tickets, log files).
- After: write an Audit summary in the reply (and optionally a file the user chooses, e.g.
audit/YYYY-MM-DD.mdin the workspace). - Never log raw secrets or full credential headers.
Template
## Audit
- time: ...
- action: ...
- tools: ...
- result: ...
- notes: ...