本文へスキップ
TakoAPI
スキル一覧に戻る

remove-analytics

jeftekhari 作

Data & Analytics
1.5kダウンロード数はclawskills.shが公開している値です
1スター
0閲覧数
0件のいいねサインインするとこのスキルにいいねできます
—まだ評価がありません
あなたの評価

概要

Safely remove Google Analytics from a project.

説明

このスキルでできること

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.

使いどころ

  • 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

ワークフロー例

入力

User asks: Remove Google Analytics from my project

エージェント
  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

出力

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

インストール

clawhub install jeftekhari/remove-analytics

CLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク