From 669012872d99d7b42718f1680dc85ccb8a291dbf Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Fri, 14 Nov 2025 18:19:41 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20ajouter=20une=20description=20des=20com?= =?UTF-8?q?p=C3=A9tences=20et=20une=20nouvelle=20invite=20pour=20r=C3=A9cu?= =?UTF-8?q?p=C3=A9rer=20les=20comp=C3=A9tences=20d'Arthur=20Danjou?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content.config.ts | 1 + content/skills.json | 1 + server/routes/mcp.ts | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+) diff --git a/content.config.ts b/content.config.ts index 6dbdeed..6e0282d 100644 --- a/content.config.ts +++ b/content.config.ts @@ -37,6 +37,7 @@ export default defineContentConfig({ type: 'data', source: 'skills.json', schema: z.object({ + description: z.string(), body: z.array(z.object({ id: z.string(), name: z.string(), diff --git a/content/skills.json b/content/skills.json index 8ef9964..6fdb710 100644 --- a/content/skills.json +++ b/content/skills.json @@ -1,4 +1,5 @@ { + "description": "As a software engineer and mathematics student, I combine scientific rigor with technical pragmatism to design solutions tailored to the challenges of data and mathematical projects. My approach focuses on a deep understanding of needs, from data preparation to deployment, while emphasizing modeling and performance optimization.Passionate about artificial intelligence and data science, I strive to balance innovation with statistical robustness. Always eager to learn, I explore both technological advancements and entrepreneurial or financial challenges. Curious and enthusiastic, I enjoy sharing knowledge and discovering new concepts, whether in theorems or emerging technologies.", "body": [ { "id": "Programming", diff --git a/server/routes/mcp.ts b/server/routes/mcp.ts index 2bdbc3e..59f6fc5 100644 --- a/server/routes/mcp.ts +++ b/server/routes/mcp.ts @@ -319,6 +319,25 @@ function createServer() { } ) + server.registerPrompt( + 'artmcp-skills', + { + title: 'Get Skills of Arthur Danjou', + description: 'Get a list of skills that Arthur Danjou masters' + }, + async () => { + return { + messages: [{ + role: 'user', + content: { + type: 'text', + text: `Provide me a list of skills that Arthur Danjou masters.` + } + }] + } + } + ) + return server }