/database-audit-logger:audit-logfrom database-audit-logger
Generates database audit logging implementation with trigger-based, application-level, CDC, and log-parsing strategies. Produces audit table schema and trigger functions.
Ships in database-audit-logger. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Track database changes for compliance and debugging.
CREATE TABLE audit_log (
id SERIAL PRIMARY KEY,
table_name VARCHAR(100) NOT NULL,
operation VARCHAR(10) NOT NULL,
old_data JSONB,
new_data JSONB,
user_id INTEGER,
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- Trigger example
CREATE OR REPLACE FUNCTION audit_trigger()
RETURNS TRIGGER AS $$
BEGIN
INSERT INTO audit_log (table_name, operation, old_data, new_data)
VALUES (TG_TABLE_NAME, TG_OP, row_to_json(OLD), row_to_json(NEW));
RETURN NEW;
END;
$$ LANGUAGE plpgsql;
Generate audit logging implementation for compliance tracking.
7-day visitors to each command page
3 plugins ship this exact command · first indexed Dec 31, 2025
npx claudepluginhub flight505/skill-forge --plugin database-audit-loggerOther plugins' commands for the same job