skills/audit-frontend/SKILL.md
Implement frontend audit logging for React applications. Covers user action tracking, page view logging, consent-aware analytics, audit event shipping to backend, and privacy-compliant tracking. Use when: tracking user actions for compliance, logging page views, implementing consent management, or shipping audit events to a backend service.
npx skillsauth add congiuluc/my-awesome-copilot audit-frontendInstall 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.
AuditService (see audit service sample)useAuditAction hook for declarative tracking in components| Field | Type | Description |
|-------|------|-------------|
| eventId | string | Unique event ID (UUID) |
| timestamp | string | ISO 8601 UTC timestamp |
| action | string | The user action (e.g., page_view, form_submit, button_click) |
| page | string | Current route/page |
| context | object? | Non-sensitive metadata (entity type, entity ID, etc.) |
| sessionId | string | Browser session ID |
Do Not Track headers and consent preferencestools
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.