Stats
Actions
Tags
From geekmidas-toolbox
Use when editing files that import from @geekmidas/audit, use DefaultAuditor, KyselyAuditStorage, AuditableAction, or implement type-safe audit logging for database transactions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/geekmidas-toolbox:gkm-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Docs: https://geekmidas.github.io/toolbox/packages/audit.html
Docs: https://geekmidas.github.io/toolbox/packages/audit.html
@geekmidas/auditDefaultAuditor, KyselyAuditStorage, AuditableAction.audit(), .flush(), or defining audit action schemasimport { DefaultAuditor, KyselyAuditStorage } from '@geekmidas/audit';
import type { AuditableAction } from '@geekmidas/audit';
type AppAuditAction =
| AuditableAction<'user.created', { userId: string; email: string }>
| AuditableAction<'order.placed', { orderId: string; total: number }>;
const storage = new KyselyAuditStorage({ db, tableName: 'audit_logs' });
const auditor = new DefaultAuditor<AppAuditAction>({
actor: { id: 'user-123', type: 'user' },
storage,
});
auditor.audit('user.created', { userId: '789', email: '[email protected]' });
await auditor.flush();
{ id, type, metadata } injected per audit callflush() for high-throughput scenarios@geekmidas/db — KyselyAuditStorage depends on Kysely DB instance@geekmidas/logger — audit events can be streamed to structured logs@geekmidas/constructs — emit audit events from endpoint handlersnpx claudepluginhub technanimals/geekmidas-skills --plugin geekmidas-toolboxCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.