Vai al contenuto
TakoAPI
Torna alle skill

remove-analytics

di jeftekhari

Data & Analytics
1.5kDownload riportati da clawskills.sh
1Stelle
0Visualizzazioni
0 likeAccedi per mettere like a questa skill
—Non ancora valutato
La tua valutazione

Sintesi

Safely remove Google Analytics from a project.

Descrizione

Cosa fa questa skill

Removes Google Analytics from a project by finding and deleting all tracking code, scripts, utility files, environment variables, and related npm packages. Requires explicit user confirmation before making changes.

Handles the full removal in one pass rather than manually hunting for gtag references scattered across scripts, components, and config files.

Quando usarla

  • Removing analytics before open-sourcing a private project
  • Stripping tracking from a client handoff
  • Cleaning up after switching from Google Analytics to another provider
  • Auditing a codebase for leftover GA snippets
  • Preparing a GDPR-compliant build without tracking

Esempio di workflow

INPUT

User asks: Remove Google Analytics from my project

AGENT
  1. 1

    Ask user to confirm the destructive action

  2. 2

    Search codebase for gtag, dataLayer, GoogleAnalytics references, googletagmanager.com scripts, GA_ env vars, and analytics packages

  3. 3

    Show each finding to the user before removing

  4. 4

    Delete or modify affected files and clean up orphaned imports

  5. 5

    Uninstall analytics packages and remove env vars from .env.example

OUTPUT

Summary listing deleted files, modified files, removed packages, removed environment variables, and any manual steps remaining

Installazione

clawhub install jeftekhari/remove-analytics

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link