Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

refactor(agent-skills): remove deprecated AGENT_SKILLS dead code (GAP-3)

diegosouzapwd9f4035d2c66
diff --git a/src/shared/constants/agentSkills.ts b/src/shared/constants/agentSkills.ts
index 773e3df9b8..0d92d10a80 100644
--- a/src/shared/constants/agentSkills.ts
+++ b/src/shared/constants/agentSkills.ts
@@ -431,16 +431,3 @@ export const CURATED_SKILLS: CuratedSkillEntry[] = [
},
];
-// ── Backward-compatible re-export ─────────────────────────────────────────────
-// TODO(F7): Remove AGENT_SKILLS alias once AgentSkillsPageClient is rewritten.
-// The old shape expected `endpoint` (singular string | null) instead of `endpoints` (array).
-// This shim preserves the old dashboard until F7 rewrites it.
-
-/** @deprecated Use getCatalog() from src/lib/agentSkills/catalog.ts instead. */
-export const AGENT_SKILLS: AgentSkill[] = CURATED_SKILLS.map((s) => ({
- ...s,
- endpoints: s.category === "api" ? [] : undefined,
- cliCommands: s.category === "cli" ? [] : undefined,
- rawUrl: getAgentSkillRawUrl(s.id),
- githubUrl: getAgentSkillBlobUrl(s.id),
-}));