logging-standards
Skill3 starsChanged 8 days agoMITView on GitHub
Use for goal-driven application, observability, security, and audit logging: event selection, structured fields, levels, correlation, redaction, retention, access, and tamper evidence.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- komluk/scaffoldingtheir own version, first seen Nov 7, 2026
- quruhao4800/agent-workflowtheir own version, first seen May 26, 2026
- codecharmhq/claude-code-skillstheir own version, first seen May 17, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- komluk/scaffolding★ 16same name
- codecharmhq/claude-code-skills★ 1same name
- quruhao4800/agent-workflow★ 1same 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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- analyze-projectSkill
- api-contract-strategySkill
- architecture-patternsSkill
- close-changeSkill
- design-changeSkill
- development-standardsSkill
- docker-multiarch-buildSkill
- error-patternsSkill
- go-guidelinesSkill
- herdr-implementSkill
- implement-changeSkill
- lua-guidelinesSkill
- organize-docsSkill
- output-stylesSkill
- plan-changeSkill
- powershell-guidelinesSkill
- python-guidelinesSkill
- review-changeSkill
- review-designSkill
- review-implementationSkill
- review-planSkill
- routeros-scripting-guidelinesSkill
- runtime-diagnosisSkill
- security-guardrailsSkill
- shell-guidelinesSkill
- skill-authoringSkill
- skill-minerSkill
- skills-routingSkill
- smart-commitSkill
- sops-age-guardrailsSkill
- sync-truthSkill
- testing-strategySkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Verify representative events, absent sensitive fields, correlation across the required path, and the consumer's query or alert.
- Very specific: line 24
Use levels according to the service's operational response: reserve ERROR for failures an owner must investigate or a declared operation …
- Distinctive: line 25
Keep access logs, application events, and immutable audit records distinct when their consumers, schemas, access, or retention differ.
- Distinctive: line 30
Use stable machine-queryable event names and fields with consistent types.
- Distinctive: line 32
Keep high-cardinality or unbounded values out of indexed fields unless the backend and query need justify them.
- Distinctive: line 33
Follow repository or platform schemas such as OpenTelemetry or ECS where the repository already owns them.
- Very specific: line 37
Read references/security-and-audit-logging.md when the request concerns authentication, authorization, privileged operations, …
- Very specific: line 41
When log volume, transport, or storage bounds are in scope, read references/operations.md.
- Distinctive: line 45
When this skill owns the response, lead with the logging goal and selected event contract, then report the decision-relevant event classes, …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Logging Standards
Design logs from the operational, diagnostic, security, or audit question they must answer. Choose timestamp, format, fields, backend, and retention from the consumer's decision and the repository's owned schema.
Logging records evidence; security-guardrails owns prevention controls and error-patterns owns failure classification and recovery policy.
Design Workflow
- State the consumer and decision: debugging, operations, alerting, incident response, access evidence, compliance, or business audit.
- Select the smallest event set that answers that decision without duplicating metrics, traces, or domain state.
- Define stable event names, severity semantics, required fields, correlation, cardinality limits, and ownership.
- Classify secrets, personal data, regulated data, and attacker-controlled values before choosing redaction or omission.
- Define routing, access, retention, deletion, integrity, and failure behavior according to repository and operational policy.
- Verify representative events, absent sensitive fields, correlation across the required path, and the consumer's query or alert.
Event And Level Rules
- Log state transitions, boundary outcomes, and actionable failures rather than narrating every function call.
- Use levels according to the service's operational response: reserve
ERRORfor failures an owner must investigate or a declared operation failed, and give expected client rejection the level its operational response needs. - Keep access logs, application events, and immutable audit records distinct when their consumers, schemas, access, or retention differ.
- Record an error where useful context and response ownership meet.
Structured Context
- Use stable machine-queryable event names and fields with consistent types; put queryable meaning in fields, with message text as supporting context.
- Include request, operation, trace, span, job, or business correlation when it is available and needed by the consumer.
- Keep high-cardinality or unbounded values out of indexed fields unless the backend and query need justify them.
- Follow repository or platform schemas such as OpenTelemetry or ECS where the repository already owns them.
Security And Audit Profile
Read references/security-and-audit-logging.md when the request concerns authentication, authorization, privileged operations, sensitive-data access, redaction, retention, restricted access, suspicious activity, or tamper evidence.
Operations
When log volume, transport, or storage bounds are in scope, read references/operations.md.
Result
When this skill owns the response, lead with the logging goal and selected event contract, then report the decision-relevant event classes, fields, sensitive data handling, delivery and retention ownership, and executable evidence.
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.

