Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🧩 fix: Allow `compatibility` Field in Skill Frontmatter (#14189)
Danny Avila29e958c35c0c
diff --git a/packages/data-schemas/src/methods/skill.spec.ts b/packages/data-schemas/src/methods/skill.spec.tsindex dab78260a1..0cd12f9e9d 100644--- a/packages/data-schemas/src/methods/skill.spec.ts+++ b/packages/data-schemas/src/methods/skill.spec.ts@@ -286,12 +286,29 @@ describe('skill validation helpers', () => {effort: 5,version: '1.0.0',license: 'MIT',+ compatibility: 'Requires GitHub MCP to access the repository content.',hooks: { 'pre-run': 'echo hi' },metadata: { owner: 'data-team' },}),).toEqual([]);});+ it('accepts the spec-defined compatibility field as a string', () => {+ expect(+ validateSkillFrontmatter({+ compatibility: 'Designed for Claude Code (or similar products)',+ }),+ ).toEqual([]);+ });++ it('rejects a non-string compatibility field', () => {+ expect(+ validateSkillFrontmatter({ compatibility: ['a', 'b'] }).some(+ (i) => i.code === 'INVALID_TYPE',+ ),+ ).toBe(true);+ });+it('rejects known keys with wrong types', () => {expect(validateSkillFrontmatter({ 'user-invocable': 'yes' }).some(diff --git a/packages/data-schemas/src/methods/skill.ts b/packages/data-schemas/src/methods/skill.tsindex 764fab4b4a..57fd3ac319 100644--- a/packages/data-schemas/src/methods/skill.ts+++ b/packages/data-schemas/src/methods/skill.ts@@ -261,6 +261,7 @@ const ALLOWED_FRONTMATTER_KEYS = new Set<string>(['hooks','version','license',+ 'compatibility','metadata',]);@@ -289,6 +290,7 @@ const FRONTMATTER_KIND: Record<string, FrontmatterKind | FrontmatterKind[]> = {shell: 'string',version: 'string',license: 'string',+ compatibility: 'string',};function isPlainObject(value: unknown): value is Record<string, unknown> {