From f04f641b9c8fb4965db749d3d2468b4a2ffbfbad Mon Sep 17 00:00:00 2001 From: anthonydresser Date: Mon, 27 Jul 2026 16:03:32 +0000 Subject: [PATCH] remove connect-recommend carve out --- .github/workflows/guard-skills.yml | 4 ---- providers/README.md | 3 --- scripts/sync.js | 4 ---- 3 files changed, 11 deletions(-) diff --git a/.github/workflows/guard-skills.yml b/.github/workflows/guard-skills.yml index 592a509b..a9e9f419 100644 --- a/.github/workflows/guard-skills.yml +++ b/.github/workflows/guard-skills.yml @@ -6,13 +6,9 @@ on: - 'skills/**' - '!skills/README.md' - 'providers/claude/plugin/skills/**' - - '!providers/claude/plugin/skills/connect-recommend/**' - 'providers/codex/plugin/skills/**' - - '!providers/codex/plugin/skills/connect-recommend/**' - 'providers/cursor/plugin/skills/**' - - '!providers/cursor/plugin/skills/connect-recommend/**' - 'providers/grok/plugin/skills/**' - - '!providers/grok/plugin/skills/connect-recommend/**' jobs: block: diff --git a/providers/README.md b/providers/README.md index c6c424bd..a4e8f73d 100644 --- a/providers/README.md +++ b/providers/README.md @@ -10,7 +10,4 @@ Skills in `providers/*/plugin/skills/` are automatically synced from [docs.strip To manually trigger a sync, go to the [workflow page](https://github.com/stripe/agent-toolkit/actions/workflows/sync-skills.yml) and click "Run workflow". -## Local-only skills - -`connect-recommend` is maintained per provider (not overwritten by the docs.stripe.com sync). Provider-specific wiring (subagent spawn, tool names, path tokens) lives there. Do not move Connect recommendation logic into the synced skill set without updating `LOCAL_SKILLS` in `scripts/sync.js`. diff --git a/scripts/sync.js b/scripts/sync.js index 2cf24f72..e3f1e85d 100644 --- a/scripts/sync.js +++ b/scripts/sync.js @@ -26,15 +26,11 @@ const fetchManifest = () => { const PRESERVE_FILES = new Set(["README.md", ".gitkeep"]); const OMIT_FILES = new Set(["metadata.yaml"]); -// Skills that are locally managed and should not be removed during sync. -// Add skill directory names here to protect them from being cleaned up. -const LOCAL_SKILLS = new Set(["connect-recommend"]); const cleanDirectory = async (dir) => { const entries = await fs.readdir(dir, { withFileTypes: true }); for (const entry of entries) { if (PRESERVE_FILES.has(entry.name)) continue; - if (entry.isDirectory() && LOCAL_SKILLS.has(entry.name)) continue; await fs.rm(path.join(dir, entry.name), { recursive: true, force: true }); } };