Skip to content

🎥 Make videos programmatically with React

Add documentation page about skills

Jonny Burger4164ce3209ea
diff --git a/packages/create-video/src/install-skills.ts b/packages/create-video/src/install-skills.ts
index 765085335f..5353641e17 100644
--- a/packages/create-video/src/install-skills.ts
+++ b/packages/create-video/src/install-skills.ts
@@ -20,6 +20,6 @@ export const installSkills = async (projectRoot: string) => {
} catch (e) {
Log.error('Error installing skills:', e);
Log.error('You can install them manually by running:');
- Log.info(' npx add-skill remotion-dev/skills');
+ Log.error(' npx add-skill remotion-dev/skills');
}
};
diff --git a/packages/docs/docs/ai/TableOfContents.tsx b/packages/docs/docs/ai/TableOfContents.tsx
index 9257ec6669..2de77b1faf 100644
--- a/packages/docs/docs/ai/TableOfContents.tsx
+++ b/packages/docs/docs/ai/TableOfContents.tsx
@@ -22,6 +22,10 @@ export const TableOfContents: React.FC = () => {
<strong>{'System Prompt'}</strong>
<div>to teach LLMs Remotion rules</div>
</TOCItem>
+ <TOCItem link="/docs/ai/skills">
+ <strong>{'Agent Skills'}</strong>
+ <div>Skill files for Claude Code, Codex, etc.</div>
+ </TOCItem>
</Grid>
</div>
);
diff --git a/packages/docs/docs/ai/skills.mdx b/packages/docs/docs/ai/skills.mdx
new file mode 100644
index 0000000000..3dbe0e54f9
--- /dev/null
+++ b/packages/docs/docs/ai/skills.mdx
@@ -0,0 +1,24 @@
+---
+image: /generated/articles-docs-ai-skills.png
+crumb: 'AI'
+title: Agent Skills
+sidebar_label: Skills
+---
+
+Remotion maintains a list of [Agent Skills](https://agentskills.io/home) that define best practices for working in Remotion projects.
+
+These skills are useful for AI agents like Claude Code, Codex or Cursor.
+
+You can install them by running:
+
+```bash
+npx skills add remotion-dev/skills
+```
+
+You are also offered the option to add skills when you create a new Remotion project:
+
+```bash
+bun create video
+```
+
+The skills are also available on GitHub [here](https://github.com/remotion-dev/remotion/tree/main/packages/skills).
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index e76803c982..aebec818b5 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1167,7 +1167,13 @@ const sidebars: SidebarsConfig = {
type: 'doc',
id: 'ai/index',
},
- items: ['ai/bolt', 'ai/chatbot', 'ai/mcp', 'ai/system-prompt'],
+ items: [
+ 'ai/bolt',
+ 'ai/chatbot',
+ 'ai/mcp',
+ 'ai/system-prompt',
+ 'ai/skills',
+ ],
},
{
type: 'category',
@@ -1176,7 +1182,12 @@ const sidebars: SidebarsConfig = {
type: 'doc',
id: 'captions/index',
},
- items: [ 'captions/importing', 'captions/transcribing', 'captions/displaying', 'captions/exporting'],
+ items: [
+ 'captions/importing',
+ 'captions/transcribing',
+ 'captions/displaying',
+ 'captions/exporting',
+ ],
},
{
type: 'category',
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index 3d10a98573..41620ed5c8 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -116,6 +116,15 @@ export const articles = [
noAi: false,
slug: 'ai/mcp',
},
+ {
+ id: 'ai/skills',
+ title: 'Agent Skills',
+ relativePath: 'docs/ai/skills.mdx',
+ compId: 'articles-docs-ai-skills',
+ crumb: 'AI',
+ noAi: false,
+ slug: 'ai/skills',
+ },
{
id: 'ai/system-prompt',
title: 'Remotion System Prompt for LLMs',