skills/audit-backend-python/SKILL.md
Implement audit logging and audit trails for Python FastAPI applications. Covers SQLAlchemy event listeners, middleware-based action logging, Pydantic audit models, and compliance patterns. Use when: adding audit trails to data changes, logging user actions, implementing compliance requirements (GDPR, SOC2, HIPAA), or reviewing audit coverage in Python.
npx skillsauth add congiuluc/my-awesome-copilot audit-backend-pythonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
AuditEntry Pydantic/SQLAlchemy model (see audit model sample)after_insert, after_update, after_delete event listeners| Field | Type | Description |
|-------|------|-------------|
| id | str | Unique audit entry ID (UUID) |
| timestamp | datetime | When the action occurred (UTC) |
| user_id | str | Who performed the action |
| action | str | CREATE, UPDATE, DELETE, ACCESS, LOGIN, etc. |
| entity_type | str | The type of entity affected |
| entity_id | str | The ID of the entity affected |
| changes | str \| None | JSON diff of old/new values (for updates) |
| ip_address | str \| None | Client IP address |
| correlation_id | str \| None | Request correlation ID |
datetime.now(timezone.utc))tools
Build VS Code extensions with TypeScript. Covers extension anatomy, activation events, commands, tree views, webview panels, language features, testing, and publishing. Use when: creating a new VS Code extension, adding commands/views/providers, building webview UIs, implementing language server features, testing extensions, or packaging for the marketplace.
development
Track implementations, features, bugs, and releases in a versioning document. Use when: adding a commit, completing a feature, fixing a bug, or preparing a release. Automatically updates CHANGELOG.md following Keep a Changelog format and Semantic Versioning.
development
Write frontend tests using Vitest and React Testing Library. Use when: testing React components, hooks, user interactions, form submissions, accessibility assertions, or mocking API services.
development
Write Angular frontend tests using Jasmine, Karma, and Angular TestBed. Use when: testing Angular components, services, pipes, directives, user interactions, form submissions, accessibility assertions, or mocking HTTP services.