🎥 Make videos programmatically with React
slimmer AGENTS.md specifically for AI
JonnyBurger510501ea5849
diff --git a/AGENTS.md b/AGENTS.mdindex 990b5ed5e9..7d27769e65 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,20 +1,3 @@-# AGENTS.md--## Project overview--Remotion is a framework for creating videos programmatically using React. This is a Turborepo monorepo with 90+ packages including core libraries, renderers, cloud services, and templates.--**Key packages:**--- `remotion` (core): Main library for creating videos-- `@remotion/cli`: Command-line interface-- `@remotion/player`: Video player component-- `@remotion/studio`: Visual editing interface-- `@remotion/renderer`: Server-side rendering-- `@remotion/lambda`: AWS Lambda rendering--Other packages are located in the `packages/` directory.-## Setup commands```bash@@ -24,43 +7,19 @@ bun install# Build all packagesturbo run make-# Watch mode (builds on file changes)-turbo watch make --concurrency=2-# Run tests and lintingturbo run lint test# Clean build artifactsbun run clean-```--## Monorepo navigation--- Use `turbo run make --filter='<package-name>'` to build a specific package-- Use `turbo watch make --filter='<package-name>'` to watch a specific package-- Package names are in each `package.json` `name` field (e.g., `@remotion/player`, `remotion`)-- Check `packages/` directory structure; packages are in `packages/<package-name>/`--## Testing instructions-- Run full test suite: `bun test`-- Lint and format: `bun stylecheck`-- Run tests for specific package: `turbo run test --filter='<package-name>'`-- CI runs: `turbo run make test --concurrency=1`-- SSR tests: `bun testssr`-- Lambda tests: `bun testlambda`-- WebCodecs tests: `bun testwebcodecs`--All tests must pass before merging.+# Build a specific package+turbo run make --filter='<package-name>'+```-## Code style guidelines+The current Remotion version can be found in `packages/core/src/version.ts`. The next version should increment the patch version by 1.-- Prefer early returns in condition checks where possible-- When working with file sizes or times, clearly reflect units in variables:- - Good: `lastProgressMs`, `fetchedBytes`, `downloadedMb`- - Bad: `lastProgress`, `fetched`, `downloaded`-- Do not leave useless comments-- Use functional patterns where possible+Pull request titles should be in the format `\`[package-name]\``: [commit-message]`. For example, "`@remotion/player`: Add new feature.## Contributing@@ -69,5 +28,3 @@ Read the full [contribution guide](/packages/docs/docs/contributing/index.mdx).- [General information](/packages/docs/docs//contributing/index.mdx)- [Implementing a new feature](/packages/docs/docs/contributing/feature.mdx)- [Implementing a new option](/packages/docs/docs/contributing/option.mdx)--Watch the contributing video tutorial: https://www.youtube.com/watch?v=tgBfJw2tET8