diff --git a/src/lib/agent/actions/integrate.ts b/src/lib/agent/actions/integrate.ts index e4d19eb..947429d 100644 --- a/src/lib/agent/actions/integrate.ts +++ b/src/lib/agent/actions/integrate.ts @@ -22,7 +22,7 @@ export const integrateAction: AgentAction = { 3. Implement the SDK following the platform playbook below, stage by stage, fetching the listed docs pages before writing each stage's code. 4. If a build command exists for this project, build to verify it compiles. Fix what you broke; do not chase pre-existing failures. ---- PLATFORM PLAYBOOK (from the adapty-sdk-integration skill) --- +--- PLATFORM PLAYBOOK (from the adapty-integration skill) --- ${platformReference}` }, diff --git a/src/lib/agent/actions/migrate.ts b/src/lib/agent/actions/migrate.ts index 249c403..d53f814 100644 --- a/src/lib/agent/actions/migrate.ts +++ b/src/lib/agent/actions/migrate.ts @@ -55,11 +55,11 @@ ${ : '' }\n` } ---- MIGRATION PLAYBOOK (from the adapty-sdk-integration skill) --- +--- MIGRATION PLAYBOOK (from the adapty-integration skill) --- ${migrationReference || '(not available - state this in ADAPTY_SETUP.md and map conservatively: create nothing you cannot verify.)'} ---- PLATFORM PLAYBOOK (from the adapty-sdk-integration skill) --- +--- PLATFORM PLAYBOOK (from the adapty-integration skill) --- ${platformReference}` }, diff --git a/src/lib/agent/run.ts b/src/lib/agent/run.ts index 73e5400..122a11a 100644 --- a/src/lib/agent/run.ts +++ b/src/lib/agent/run.ts @@ -31,7 +31,7 @@ async function installSkill(): Promise { spin.stop( installed ? 'Adapty skill installed - your agent can now handle Adapty tasks in any session.' - : 'Skill install skipped - run `npx skills add adaptyteam/adapty-sdk-integration-skill` to add it manually.', + : 'Skill install skipped - run `npx skills add adaptyteam/adapty-skills` to add it manually.', ) } diff --git a/src/lib/agent/skill-source.ts b/src/lib/agent/skill-source.ts index 8d25e20..428f91e 100644 --- a/src/lib/agent/skill-source.ts +++ b/src/lib/agent/skill-source.ts @@ -5,13 +5,13 @@ import type {Platform} from '../project/scan.js' /** * Skill content is NOT vendored into this package - the single source of - * truth is the adapty-sdk-integration-skill repo. Files are fetched from + * truth is the adapty-skills repo. Files are fetched from * GitHub raw at run time; set ADAPTY_SKILL_DIR to a local checkout of the * skill directory (the one containing SKILL.md) to develop against local * edits. */ const RAW_BASE = - 'https://raw.githubusercontent.com/adaptyteam/adapty-sdk-integration-skill/main/skills/adapty-sdk-integration' + 'https://raw.githubusercontent.com/adaptyteam/adapty-skills/main/skills/adapty-integration' function stripFrontmatter(md: string): string { const lines = md.split('\n') diff --git a/src/lib/agent/skills-install.ts b/src/lib/agent/skills-install.ts index 4df1ca2..539a94e 100644 --- a/src/lib/agent/skills-install.ts +++ b/src/lib/agent/skills-install.ts @@ -1,12 +1,12 @@ import {spawn} from 'node:child_process' /** - * Install the adapty-sdk-integration skill into the user's coding agents + * Install the adapty-integration skill into the user's coding agents * (Claude Code, Codex, Cursor, ...) via the `skills` CLI, so the agent knows * Adapty in every future session - not just this run. Same source repo the * integrate prompt is built from. */ -const SKILL_SOURCE = 'adaptyteam/adapty-sdk-integration-skill' +const SKILL_SOURCE = 'adaptyteam/adapty-skills' export function installAgentSkills(): Promise { return new Promise((resolve) => { diff --git a/src/lib/agent/telemetry.ts b/src/lib/agent/telemetry.ts index 0a49867..c1d32b5 100644 --- a/src/lib/agent/telemetry.ts +++ b/src/lib/agent/telemetry.ts @@ -1,6 +1,6 @@ /** * One event per agent-driven command run (integrate, migrate, ...), sent to - * the same feedback endpoint the adapty-sdk-integration skill uses (Slack + + * the same feedback endpoint the adapty-integration skill uses (Slack + * Airtable behind it), so CLI and skill sessions land in one funnel. * Fire-and-forget: never blocks the command for more than 3s, never surfaces * an error. diff --git a/src/lib/project/scan.ts b/src/lib/project/scan.ts index 85259bc..55fa2d2 100644 --- a/src/lib/project/scan.ts +++ b/src/lib/project/scan.ts @@ -45,7 +45,7 @@ async function hasKmpModule(dir: string, topLevel: string[]): Promise { /** * Detect the mobile framework of the project at `dir`. Signals mirror the - * adapty-sdk-integration skill's Phase 1 table. Only the top level is + * adapty-integration skill's Phase 1 table. Only the top level is * inspected - monorepos should pass the app directory explicitly. */ export async function scanProject(dir: string): Promise {