> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Templates

Templates allow you to basically prebake your setup steps into a pre-built template - the net effect is faster jobs because you spend less time setting up the machine on every run.  If you do not choose a
template, the job uses your organization default template.

## Templates

A template is a prebuilt environment for a job. It holds the tools and the setup your jobs need, so a job starts ready.

```yaml theme={"system"}
runs-on: trunk=${{ github.run_id }}-${{ github.run_attempt }}..size=medium..template=<template-id>
```

If you leave out `template`, the job uses the organization default template. If
your organization has no default template, the job runs on the default Trunk
runner image.
