CtrlK
BlogDocsLog inGet started
Tessl Logo

implementing-database-audit-logging

Process use when you need to track database changes for compliance and security monitoring. This skill implements audit logging using triggers, application-level logging, CDC, or native logs. Trigger with phrases like "implement database audit logging", "add audit trails", "track database changes", or "monitor database activity for compliance".

68

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

80%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, concise audit-logging skill with complete executable SQL, held back by a missing validation checkpoint in the destructive DDL workflow and zero linkage to the bundled scripts/assets. Adding a verification step and cross-references to the bundle files would raise both capped dimensions.

Suggestions

Insert an explicit validation checkpoint after trigger attachment (e.g. run a test INSERT/UPDATE/DELETE and confirm an audit_log row appears) to satisfy the destructive-operation feedback-loop requirement.

Reference the bundle files from the body — e.g. point to scripts/audit_log_generator.py for sample data, scripts/audit_log_analyzer.py for threat detection, and assets/sample_audit_logs — so progressive disclosure is signaled and one level deep.

Reconcile the scripts README (it lists audit_table_creator.sh) with the actual bundle (audit-archival.sh, audit_table_creator.py) to avoid stale references.

DimensionReasoningScore

Conciseness

Lean, mostly executable guidance that assumes Claude's competence (inline DDL, trigger function, indexes, queries) with little explanatory padding; every section earns its place.

3 / 3

Actionability

Provides copy-paste-ready, complete SQL: the audit_log table DDL, the audit trigger function, index statements, and concrete compliance report queries are all fully executable rather than pseudocode.

3 / 3

Workflow Clarity

Ten clearly numbered steps establish a sequence, but DDL/trigger setup is destructive and irreversible with no explicit validation or verification checkpoint (e.g. test that the trigger fires, verify partition creation); the rubric caps workflow clarity at 2 when validation is missing for such operations.

2 / 3

Progressive Disclosure

The body is well-sectioned but never references the provided bundle (scripts/audit_log_analyzer.py, audit_log_generator.py, assets/sample_audit_logs, audit_dashboard_template.html), so navigation to these deeper materials is unsignaled and the inline DDL/trigger function could have been partly externalized.

2 / 3

Total

10

/

12

Passed

Description

90%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, well-targeted description with explicit trigger phrases and both what/when coverage, marred only by second-person voice which costs it a specificity point. Replacing 'you need' with third person ('Process when database changes must be tracked...') would restore full marks.

Suggestions

Rewrite in third person to avoid the second-person penalty: e.g. 'Process database audit logging when changes must be tracked for compliance and security monitoring.'

Tighten the opening fragment 'Process use when...' into a single grammatical clause so the capability statement reads cleanly.

DimensionReasoningScore

Specificity

Names the domain and several concrete mechanisms ("triggers, application-level logging, CDC, or native logs"), which approaches score 3, but the second-person voice ("you need to track") triggers the rubric's 1-point specificity penalty.

2 / 3

Completeness

Explicitly answers both 'what' ("implements audit logging using triggers, application-level logging, CDC, or native logs") and 'when' ("Process use when you need to track... Trigger with phrases like...").

3 / 3

Trigger Term Quality

Supplies natural phrases users would actually say ("implement database audit logging", "add audit trails", "track database changes", "monitor database activity for compliance"), giving good coverage of likely trigger terms.

3 / 3

Distinctiveness Conflict Risk

Targets a clear niche (database audit logging for compliance/security) with distinct, specific triggers unlikely to fire for unrelated skills.

3 / 3

Total

11

/

12

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository
jeremylongshore/claude-code-plugins-plus-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.