audit-logging
Skill0 starsChanged 12 days agoMITView on GitHub
Build attributable business audit trails with append-only history, redaction, scoped access, retention, and durable mutation linkage. Use to prove who changed business state, not operational logs or behavioral analytics.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- phant0um/claude-skillstheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- phant0um/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository68 other files it gives its agents.
- skills/web-development/adapters/copilot-instructions.mdCopilot instructions
- accessibility-auditSkill
- agent-handoffSkill
- ai-tool-securitySkill
- api-designSkill
- background-jobsSkill
- bulk-reporting-exportSkill
- changelog-generatorSkill
- ci-cdSkill
- codebase-onboardingSkill
- code-reviewSkill
- code-simplificationSkill
- context-engineeringSkill
- context-privacySkill
- data-import-exportSkill
- debuggingSkill
- dependency-auditSkill
- deprecation-and-migrationSkill
- design-tokensSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- environmental-telemetrySkill
- erp-accountingSkill
- erp-domain-designSkill
- erp-inventorySkill
- erp-procurementSkill
- erp-salesSkill
- feature-flagsSkill
- forms-and-validationSkill
- frontend-stateSkill
- frontend-ui-engineeringSkill
- git-workflowSkill
- identity-access-managementSkill
- incremental-implementationSkill
- java-code-standardsSkill
- java-deliverySkill
- kerangkaSkill
- mcp-builderSkill
- membership-managementSkill
- observabilitySkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- product-analyticsSkill
- quarkus-observabilitySkill
- quarkus-persistenceSkill
- quarkus-securitySkill
- quarkus-serviceSkill
- quarkus-testingSkill
- responsive-layoutSkill
- rest-api-contractSkill
- saas-billingSkill
- saas-multitenancySkill
- saas-onboardingSkill
- security-hardeningSkill
- shipping-and-launchSkill
- skill-creatorSkill
- skill-evaluationSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Commit successful mutation history in the same transaction as the local mutation or a durable audit outbox.
- Distinctive: line 43
Test audit transport outages, rollback, retries, privileged changes, impersonation, tampering, redaction, and cross-tenant reads with …
- Distinctive: line 52
Every required committed mutation has one attributable durable event.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Business Audit Logging
Overview
Make sensitive business changes attributable and recoverable without turning audit history into a second unrestricted copy of confidential data.
When to use
- Recording role changes, approvals, postings, exports, support impersonation, or configuration edits.
- Designing audit integrity, retention, restricted search, and evidence exports.
Hand off when
| Need | Skill |
| Operational logging, traces, and alerts | observability |
| Behavioral events and funnels | product-analytics |
| Durable asynchronous dispatch | background-jobs |
Process
- Identify audited actions, required attribution, legal/business retention, reader roles, and failure policy. Do not assume every debug log is an audit record.
- Define an immutable event ID, tenant/legal entity, original and effective actor, action, resource/version, outcome, timestamp, correlation, and sanitized change summary.
- Redact secrets and unnecessary personal fields before persistence. Prefer changed field names and approved values/digests over unrestricted before/after snapshots.
- Commit successful mutation history in the same transaction as the local mutation or a durable audit outbox. Failed attempts belong to a separate attributable event.
- Restrict insert/read/delete privileges and separate administrative responsibilities. Append-only application behavior is not protection against database administrators; use protected anchors or immutable storage where the threat model requires it.
- Scope queries and exports by current permissions. Record export access; minimize sensitive search fields and avoid logging audited payloads again in diagnostics.
- Apply documented retention, holds, privacy restrictions, and controlled purge. Preserve non-sensitive integrity evidence without promising indefinite personal-data storage.
- Test audit transport outages, rollback, retries, privileged changes, impersonation, tampering, redaction, and cross-tenant reads with synthetic records.
Red flags
- Mutable history, sampled audit events, or audit insertion after an unprotected commit.
- Passwords/tokens in snapshots or effective actors hiding the original impersonator.
- Hash chains described as tamper-proof without an independently protected anchor.
Verification
- Every required committed mutation has one attributable durable event.
- Rollbacks and transport outages follow the explicit failure policy.
- Redaction, reader isolation, integrity controls, retention, and holds are tested.
References
references/audit-event-contract.md- attribution and integrity boundaries.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

