Skip to content

Commit d783c46

Browse files
Patrick Hammonsclaude
authored andcommitted
Fix gaps in setup-config skill from test run
- Ask for user ID join column instead of assuming u.id - Specify paragraph splitting and link text for body_html generation - Clarify behavior around commented-out example profiles - Use actual column names from user input in query construction Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ff4eb96 commit d783c46

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.claude/skills/setup-config/SKILL.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,16 @@ For each batch:
7272
**BigQuery query:** This is where most users will need the most help. Ask:
7373
- **What's your users table called in BigQuery?** (e.g., `users`, `accounts`, `customers`)
7474
- **What column has the user's email?** (usually `email`)
75+
- **What's the primary key / unique ID column in your users table?** (e.g., `id`, `user_id`). This is the column that milestone tables reference to link back to a user.
7576
- **What column has their signup date?** (e.g., `created_at`, `registered_at`)
7677
- **What milestone defines this segment?** Walk through the logic:
7778
- For "signed up but didn't do X": ask what table/event represents X
7879
- For "did A but not B": ask what tables/events represent A and B
7980
- For time windows: ask how recent the signup should be
81+
- For each milestone table: confirm which column references the user (e.g., `user_id`, `account_id`)
8082
- **What's your company email domain?** (to exclude internal accounts)
8183

82-
Then construct the query for them using `{project}`, `{dataset}`, and `{limit}` placeholders. Show it to them and ask if it looks right.
84+
Then construct the query for them using `{project}`, `{dataset}`, and `{limit}` placeholders. Use the actual column names they gave you — don't assume `u.id` or `m.user_id`. Show the query to them and ask if it looks right.
8385

8486
**Email copy** (gmail outbound only):
8587
- **Subject line:** Ask them to write one. If they're stuck, suggest a pattern: "Quick question about [topic relevant to the milestone]"
@@ -88,7 +90,7 @@ Then construct the query for them using `{project}`, `{dataset}`, and `{limit}`
8890
- Use `{calendly_link}` where the booking link should go (calendly capacity only)
8991
- The agent sends exactly what they write — no AI rewriting
9092
- Keep it short — 3-5 sentences works best for research outreach
91-
- Generate both `body_text` (plain text) and `body_html` (wrapped in `<p>` tags) from what they write.
93+
- Generate both `body_text` (plain text) and `body_html` from what they write. For `body_html`, split the text into logical paragraphs and wrap each in `<p>` tags. Replace the raw `{calendly_link}` placeholder with `<a href="{calendly_link}">Book a time here</a>`. For `body_text`, keep `{calendly_link}` as-is on its own line — it gets substituted with the URL at runtime.
9294

9395
**ActiveCampaign** (AC outbound only):
9496
- Ask for the `list_id` — "What ActiveCampaign list ID should contacts be added to? You can find this in ActiveCampaign under Lists → click the list → the ID is in the URL."
@@ -98,8 +100,8 @@ Then construct the query for them using `{project}`, `{dataset}`, and `{limit}`
98100

99101
Once you have all the information, generate the complete profile block as valid YAML. Read the current `config.yml` first to see if there are existing profiles.
100102

101-
- If the file only has the placeholder `interview_outreach` profile with `YOUR_` values, replace it entirely.
102-
- If there are real profiles already, add the new one alongside them.
103+
- If the file only has the placeholder `interview_outreach` profile with `YOUR_` values, replace the entire `profiles` block with the new profile. Keep the commented-out `marketing_nudge` example at the bottom — it's useful reference for users who want to add an AC profile later.
104+
- If there are real profiles already (values that aren't `YOUR_*` placeholders), add the new profile alongside them.
103105

104106
Show the user the generated YAML and ask them to confirm before writing it to `config.yml`.
105107

0 commit comments

Comments
 (0)