congiuluc/my-awesome-copilot/audit-frontend-angular
Claude Code and agent skill by congiuluc/my-awesome-copilot
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Implement frontend audit logging for Angular applications. Covers user action tracking, page view logging, consent-aware analytics, and audit event shipping to backend. Use when: tracking user actions for compliance, logging page views, implementing consent management, or shipping audit events in an Angular app.
Install
npx vskill@latest install congiuluc/my-awesome-copilot/audit-frontend-angularSKILL.md
The same SKILL.md was published earlier as congiuluc/my-awesome-copilot/audit-frontend-angular.
Frontend Audit Logging (Angular)
When to Use
- Tracking user actions for compliance or analytics in Angular apps
- Logging page views and navigation events via Angular Router
- Implementing consent-aware tracking (GDPR cookie consent)
- Shipping audit events to a backend collection endpoint
- Reviewing audit coverage in an Angular application
Key Principles
- Privacy first — only track after user consent; honor opt-out preferences.
- Minimal data — capture action type and context, not raw user input.
- Never track PII — no passwords, tokens, emails, or personal identifiers in audit events.
- Batch and debounce — ship events in batches, not on every click.
- Graceful degradation — audit failures must never break the UI.
- Use Angular patterns — services, interceptors, and Router events.
Procedure
- Create an
AuditService(see audit service sample) - Listen to Angular Router events for page view tracking
- Track meaningful user actions: form submissions, navigation, setting changes
- Batch events and ship to a backend endpoint periodically via
HttpClient - Respect consent preferences before tracking
- Never include PII or sensitive form data in audit events
Audit Event Structure
| 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 |
Constraints
- NEVER track before user consent is given
- NEVER include PII, passwords, or tokens in audit events
- ALWAYS batch events to reduce network calls
- ALWAYS handle shipping failures silently (no user-facing errors)
- ALWAYS respect
Do Not Trackheaders and consent preferences - ALWAYS use Angular
inject()function — no constructor injection - ALWAYS use
DestroyRef+takeUntilDestroyed()for subscription cleanup
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/audit-frontend-angular/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/congiuluc/my-awesome-copilot/audit-frontend-angular)