> ## Documentation Index
> Fetch the complete documentation index at: https://hyperframes-codex-docs-human-first-refactor.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Contribute to HyperFrames

> Set up the repository, make a focused change, and open a pull request.

## Set up the repository

```bash theme={null}
git clone https://github.com/YOUR_USERNAME/hyperframes.git
cd hyperframes
bun install
bun run build
```

HyperFrames uses Bun for workspace operations. Do not add a `pnpm-lock.yaml` or replace `bun.lock`.

Start Studio while working on UI or composition behavior:

```bash theme={null}
bun run dev
```

Studio listens on `http://localhost:5190` when run from the monorepo.

## Check your change

Run the smallest relevant test while iterating, then the repository gates before opening a pull request:

```bash theme={null}
bun run lint
bun run format:check
bun run --filter '*' typecheck
bun run test
```

For a composition or registry item, also run:

```bash theme={null}
npx hyperframes lint
npx hyperframes check
```

The pre-commit hooks format staged files and run checks for the files you changed.

## Work in the right package

| Surface                                 | Package or directory                               |
| --------------------------------------- | -------------------------------------------------- |
| Composition parsing, runtime, types     | `packages/core` and `packages/parsers`             |
| Browser frame capture                   | `packages/engine`                                  |
| Encoding and audio/render orchestration | `packages/producer`                                |
| Command line                            | `packages/cli`                                     |
| Browser editor                          | `packages/studio` and `packages/studio-server`     |
| Embeddable player                       | `packages/player`                                  |
| Headless editing API                    | `packages/sdk`                                     |
| AWS and GCP distributed rendering       | `packages/aws-lambda` and `packages/gcp-cloud-run` |
| Reusable blocks and snippets            | `registry`                                         |
| Agent instructions                      | `skills`                                           |

For Studio changes, verify the behavior in the browser and preserve the source-patching and capability-gate contracts described in the [Studio docs](/studio/index).

## Pull request requirements

* Keep the change focused and explain the user-visible reason for it.
* Add or update tests when behavior changes.
* Use a conventional PR title such as `fix: preserve audio after seeking`.
* Run formatting, lint, typecheck, and relevant tests.
* Include screenshots or a short capture for visual changes.
* Target prerelease-only work to the branch described in [Release channels](/contributing/release-channels).

Use [GitHub Issues](https://github.com/heygen-com/hyperframes/issues) for bugs and proposals. A useful bug report includes the smallest reproduction, the first exact error, `npx hyperframes info`, and the operating system.

By contributing, you agree that your work is licensed under the [Apache 2.0 License](https://github.com/heygen-com/hyperframes/blob/main/LICENSE) and follows the [Code of Conduct](https://github.com/heygen-com/hyperframes/blob/main/CODE_OF_CONDUCT.md).
