Skip to content

Commit 01e0c1e

Browse files
fix: remove internal paths and hardcoded GA4 ID from public repo
Genericize example paths in social-preview, sync-repos, and repo-health EXAMPLES.md files — replaced internal hostnames and directory structures with generic ~/projects/ paths. Move GA4 tracking ID to environment variable in generate-skill-pages.py. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 820db6e commit 01e0c1e

File tree

4 files changed

+30
-32
lines changed

4 files changed

+30
-32
lines changed

scripts/generate-skill-pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
CATALOG_PATH = DOCS_DIR / "catalog.json"
1919
OUTPUT_DIR = DOCS_DIR / "skill"
2020

21-
GA4_ID = "G-00XHYRHCX4"
21+
GA4_ID = os.environ.get("GA4_ID", "")
2222
BASE_URL = "https://thatrebeccarae.github.io/claude-marketing"
2323
REPO_URL = "https://github.com/thatrebeccarae/claude-marketing"
2424

skills/repo-health/EXAMPLES.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Practical examples showing repo-health audit output for different scenarios.
44

55
## Example 1: New Public Repo (Low Score)
66

7-
**User Request**: `/repo-health ~/Popoloto/Repos.nosync/my-new-tool`
7+
**User Request**: `/repo-health ~/projects/my-new-tool`
88

99
A freshly created public repo with only source code committed. No standard files, no GitHub configuration.
1010

@@ -66,18 +66,18 @@ Overall Score: 22/100 (Grade: F)
6666
12.[LOW] Add PR template — consistent pull request descriptions.
6767
13.[LOW] Commit package-lock.json — ensures reproducible installs.
6868
69-
Run /repo-health ~/Popoloto/Repos.nosync/my-new-tool --fix to auto-generate missing files.
69+
Run /repo-health ~/projects/my-new-tool --fix to auto-generate missing files.
7070
```
7171

7272
## Example 2: Mature Public Repo (High Score)
7373

74-
**User Request**: `/repo-health ~/Popoloto/Repos.nosync/aouda`
74+
**User Request**: `/repo-health ~/projects/my-agent`
7575

7676
A well-maintained public repo with most standard files in place.
7777

7878
**Output**:
7979
```
80-
=== Repo Health Report: aouda ===
80+
=== Repo Health Report: my-agent ===
8181
Visibility: public
8282
Overall Score: 85/100 (Grade: B)
8383
@@ -127,13 +127,13 @@ Overall Score: 85/100 (Grade: B)
127127

128128
## Example 3: Pre-Open-Source Audit (Private to Public)
129129

130-
**User Request**: `/repo-health ~/Popoloto/Repos.nosync/clawclip-build`
130+
**User Request**: `/repo-health ~/projects/my-dashboard-dev`
131131

132132
Auditing a private repo before making it public. The report highlights everything that needs to be added.
133133

134134
**Output**:
135135
```
136-
=== Repo Health Report: clawclip-build ===
136+
=== Repo Health Report: my-dashboard-dev ===
137137
Visibility: private
138138
Overall Score: 58/100 (Grade: F)
139139
@@ -174,7 +174,6 @@ Re-run without the public flag to see private-only scoring.
174174
[FAIL] Tracked .env file: .env.example — review contents before open-sourcing
175175
176176
--- Community (10%) --- Score: 25/100
177-
[PASS] CONTRIBUTING.md — wait, this is missing
178177
[MISS] CODE_OF_CONDUCT.md
179178
[MISS] CONTRIBUTING.md
180179
[MISS] Issue templates
@@ -201,7 +200,7 @@ NICE TO HAVE:
201200
12.[LOW] Add CODEOWNERS — auto-assign reviewers.
202201
13.[LOW] Clean up 5 stale branches before going public.
203202
204-
Run /repo-health ~/Popoloto/Repos.nosync/clawclip-build --fix to auto-generate missing files.
203+
Run /repo-health ~/projects/my-dashboard-dev --fix to auto-generate missing files.
205204
```
206205

207206
The pre-open-source audit adds a dedicated checklist section that separates "must do" (legal/security blockers) from "should do" (quality) and "nice to have" (polish). It also flags the need to run `/safe-push` to scan commit history for leaked secrets before the repo becomes publicly visible.

skills/social-preview/EXAMPLES.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,28 @@ description: "Usage examples for the social-preview skill."
99

1010
**User:**
1111
```
12-
/social-preview generate ~/Popoloto/Repos.nosync/aouda
12+
/social-preview generate ~/projects/my-agent
1313
```
1414

1515
**What happens:**
1616

17-
1. Skill scans the repo: name is `aouda`, description is "Autonomous AI agent framework", primary language is TypeScript, logo found at `branding/logo.png`.
17+
1. Skill scans the repo: name is `my-agent`, description is "Autonomous AI agent framework", primary language is TypeScript, logo found at `branding/logo.png`.
1818
2. Asks user for template preference. User picks **dark** (default).
1919
3. Generates `social-preview.html`:
2020

2121
```html
2222
<body>
2323
<div class="accent-bar"></div>
24-
<div class="project-name">aouda</div>
24+
<div class="project-name">my-agent</div>
2525
<div class="tagline">Autonomous AI agent framework</div>
2626
<div class="language-badge">TypeScript</div>
27-
<div class="attribution">github.com/thatrebeccarae</div>
27+
<div class="attribution">github.com/your-username</div>
2828
</body>
2929
```
3030

31-
4. Guides user to render via Puppeteer on TARS:
31+
4. Guides user to render via Puppeteer:
3232
```bash
33-
ssh tars
34-
cd ~/Popoloto/Repos.nosync/aouda
33+
cd ~/projects/my-agent
3534
node -e "const p=require('puppeteer');(async()=>{const b=await p.launch({headless:true});const pg=await b.newPage();await pg.setViewport({width:1280,height:640,deviceScaleFactor:2});await pg.goto('file://$(pwd)/social-preview.html',{waitUntil:'networkidle0'});await pg.screenshot({path:'social-preview.png',clip:{x:0,y:0,width:1280,height:640}});await b.close();})()"
3635
```
3736

@@ -44,12 +43,12 @@ node -e "const p=require('puppeteer');(async()=>{const b=await p.launch({headles
4443

4544
**User:**
4645
```
47-
/social-preview generate ~/Popoloto/Repos.nosync/ouras
46+
/social-preview generate ~/projects/my-tracker
4847
```
4948

5049
**What happens:**
5150

52-
1. Skill scans the repo: name is `ouras`, description is "Time tracking with presence", primary language is TypeScript. Detects Tailwind config with custom dark palette (`#08080d` background).
51+
1. Skill scans the repo: name is `my-tracker`, description is "Time tracking with presence", primary language is TypeScript. Detects Tailwind config with custom dark palette (`#08080d` background).
5352
2. Asks user for template. User says: "Use the project's dark palette -- #08080d background, zinc text."
5453
3. Skill modifies the dark template to use the project's brand colors:
5554

@@ -76,12 +75,12 @@ body {
7675

7776
**User:**
7877
```
79-
/social-preview audit ~/Popoloto/Repos.nosync/clawclip
78+
/social-preview audit ~/projects/my-dashboard
8079
```
8180

8281
**Output:**
8382
```
84-
=== Social Preview Audit: clawclip ===
83+
=== Social Preview Audit: my-dashboard ===
8584
8685
Custom preview set: NO (using auto-generated)
8786
Description: "AI-powered agent orchestration dashboard"

skills/sync-repos/EXAMPLES.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## Example 1: Check Drift Between Dev and Public Repos
44

5-
**User Request**: "Check if aouda-dev and aouda are in sync"
5+
**User Request**: "Check if my-app-dev and my-app are in sync"
66

7-
**Invocation**: `/sync-repos check ~/Popoloto/Repos.nosync/aouda-dev ~/Popoloto/Repos.nosync/aouda`
7+
**Invocation**: `/sync-repos check ~/projects/my-app-dev ~/projects/my-app`
88

99
**Steps Taken**:
1010
1. Validate both paths are git repos
11-
2. Locate `scripts/sync-public.sh` and `scripts/sync-public.conf` in aouda-dev
11+
2. Locate `scripts/sync-public.sh` and `scripts/sync-public.conf` in dev repo
1212
3. Parse exclusion list from `sync-public.conf`
1313
4. Generate file manifests for both repos, filtering exclusions
1414
5. Compare file hashes for files present in both
@@ -18,8 +18,8 @@
1818
Sync Repos — Check Report
1919
==========================
2020
21-
Dev repo: ~/Popoloto/Repos.nosync/aouda-dev (142 files)
22-
Public repo: ~/Popoloto/Repos.nosync/aouda (98 files)
21+
Dev repo: ~/projects/my-app-dev (142 files)
22+
Public repo: ~/projects/my-app (98 files)
2323
Sync script: scripts/sync-public.sh (found)
2424
2525
Files only in dev (expected exclusions): 38
@@ -44,9 +44,9 @@ Recommendation: SYNC NEEDED — 3 unexpected files missing from public, 1 file d
4444

4545
## Example 2: Full Sync Workflow
4646

47-
**User Request**: "Sync ouras dev repo to public"
47+
**User Request**: "Sync my-app dev repo to public"
4848

49-
**Invocation**: `/sync-repos sync ~/Popoloto/Repos.nosync/v0-ouras-landing-page ~/Popoloto/Repos.nosync/ouras`
49+
**Invocation**: `/sync-repos sync ~/projects/my-app-dev ~/projects/my-app`
5050

5151
**Steps Taken**:
5252
1. Run check (as in Example 1). Drift detected: 5 files diverged, 2 new files missing.
@@ -82,13 +82,13 @@ Next step: Review changes in the public repo, then /safe-push when ready.
8282

8383
## Example 3: Set Up Sync for a New Repo Pair
8484

85-
**User Request**: "Set up sync between clawclip-build (dev) and clawclip (public)"
85+
**User Request**: "Set up sync between my-dashboard-dev (dev) and my-dashboard (public)"
8686

87-
**Invocation**: `/sync-repos setup ~/Popoloto/Repos.nosync/clawclip-build ~/Popoloto/Repos.nosync/clawclip`
87+
**Invocation**: `/sync-repos setup ~/projects/my-dashboard-dev ~/projects/my-dashboard`
8888

8989
**Steps Taken**:
9090
1. Confirm both paths exist and are git repos.
91-
2. Scan clawclip-build for files that should not sync:
91+
2. Scan dev repo for files that should not sync:
9292
- Found `.env` (secrets)
9393
- Found `data/` directory (SQLite databases)
9494
- Found `.claude/` directory (project config)
@@ -104,8 +104,8 @@ Next step: Review changes in the public repo, then /safe-push when ready.
104104
Sync Repos — Setup
105105
====================
106106
107-
Dev repo: ~/Popoloto/Repos.nosync/clawclip-build
108-
Public repo: ~/Popoloto/Repos.nosync/clawclip
107+
Dev repo: ~/projects/my-dashboard-dev
108+
Public repo: ~/projects/my-dashboard
109109
110110
Detected exclusion patterns:
111111
.env, .env.* (secrets)

0 commit comments

Comments
 (0)