# buildSetupInstructions

**Kind:** Function

**Source:** [`atloria-monorepo/libs/agent-core/src/autonomous/setup-agent.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/autonomous/setup-agent.ts#L78)

Build the system prompt / instructions for the setup sub-agent.

The returned string tells the agent exactly what to detect, in what order,
and how to format its final output.

## Signature

```ts
function buildSetupInstructions(workDir: string): string
```

## Parameters

| Name | Type |
|---|---|
| `workDir` | `string` |

**Returns:** `string`
