> For the complete documentation index, see [llms.txt](https://cardstock-studio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cardstock-studio.gitbook.io/docs/design/decks.md).

# Decks

<mark style="color:$success;">**Decks**</mark> are made from one or two [**Templates**](/docs/design/templates-design-your-cards.md). Generally the face, and a back, though the deck can mirror the same Template on both sides. Variables are exposed for each side, even when the Template is mirrored.

<figure><picture><source srcset="/files/AUnRHFsndI3vckXkWtzi" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FSsFH671TYJf2fxAcFPlO%2FScreenshot%202026-06-04%20at%204.32.54%E2%80%AFPM.png?alt=media&amp;token=ed4ef470-4b24-4dae-ae48-149b8ade5036" alt=""></picture><figcaption></figcaption></figure>

{% hint style="success" %}
We strongly suggest you use Google Sheets to set the values of your cards. You can export the card structure into a Google Sheet, and then connect the sheet to Cardstock Studio. Anytime you update the values in the sheet, you can import them into your Deck.

Visit [Connecting to Google Sheets](/docs/design/decks/connecting-to-google-sheets.md) to learn how.
{% endhint %}

***

## Creating Decks

From the Template canvas, click the <picture><source srcset="/files/gpnUUlfovqHFTqVSwT9h" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FOiC9GSgpC4ENXfQe7HDq%2FScreenshot%202026-05-29%20at%209.01.18%E2%80%AFPM.png?alt=media&amp;token=acd97e64-2cfc-4502-a288-f9f7416154ce" alt="" data-size="line"></picture> button in the top right to create a Deck from the Template you're working on. Future changes to the Template *will* be represented in the Deck.

Visit the Decks page, and click the <picture><source srcset="/files/NT0tVpPpsa3XSHjATx5W" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2F7nmzkAYVD27sfw4llVN4%2FScreenshot%202026-05-29%20at%209.03.01%E2%80%AFPM.png?alt=media&amp;token=bacc69ba-d4c0-4a26-835b-efdb9b116029" alt="" data-size="line"></picture> button, then name your Deck and select a Template to use as the face.

<figure><picture><source srcset="/files/Ffw36LHlYCPsjT5V28nE" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FgdvDEMS2bUR2FTTOPeYn%2FScreenshot%202026-05-29%20at%209.02.30%E2%80%AFPM.png?alt=media&amp;token=1b75c41a-7406-4d58-abf6-e6af05ad5647" alt=""></picture><figcaption></figcaption></figure>

### Adding Cards

In the bottom left you can choose a number of cards to add. These will all use the default values for the [Variables](/docs/design/templates-design-your-cards/variables.md) but you can customize each in the spreadsheet cells.

<figure><picture><source srcset="/files/QE3Qf5N27n6mnKzIN7of" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FRX6TueEmiMuDjJhLpiOF%2FScreenshot%202026-06-01%20at%206.30.57%E2%80%AFPM.png?alt=media&amp;token=f7259647-966f-4e86-b7fa-91a9bad00629" alt="" width="220"></picture><figcaption></figcaption></figure>

***

## The Deck View

The **Deck** view contains all of the cards in the deck. It is made up of card previews and the spreadsheet. Each [Variables](/docs/design/templates-design-your-cards/variables.md) exposed in the Template has a column, so that each card can have a unique value.

### Card Preview

Along the top of the screen is a horizontal bar showing a preview of all the cards and backs. You can click each to bring them to the front.

<figure><picture><source srcset="/files/4Yt3zrNiSwJqwX8lL4Oc" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2F6qk7lmns8lS2ZTfWfU3J%2FScreenshot%202026-05-29%20at%209.15.30%E2%80%AFPM.png?alt=media&amp;token=8b11508e-cd18-499a-a0a8-bedc47b5d24d" alt=""></picture><figcaption></figcaption></figure>

As you scroll through the previews, the spreadsheet will scroll as well.

### Card Spreadsheet

Each card in the deck has its own row. The first three columns are always *Card Name,* *Copies,* and *Description*. If you will have multiple copies of a single card (with the same variable values), it is easier to set the number of copies rather than having multiple rows that are the same.

Each of the [Variables](/docs/design/templates-design-your-cards/variables.md) you set up in the Template will have it own column. Adjust the values in each cell to change the values in the card preview, and the prints.

{% hint style="info" %}
The Template used for the card back will have its own variables. If there is a variable name conflict, "back\_" will be prepended to the variable name on the back Template columns.
{% endhint %}

### Fixed Columns

#### Card Name

This is the name of the card — it is useful to help keep easy identification of the card, especially when working with the AI agents.

#### Copies

This is the number of copies the card will produce when printing or exporting. If you are going to have multiple copies of the exact same card, set this value, rather than having multiple rows with the same variable values.

#### Description

Use this space to describe the card in more details, most importantly to provide context that may not be as clear from the card variables. Simple cards likely can leave this blank, but more complex cards may wish to provide additional information about any unique features or game logic.

This is used heavily by the AI agents.

## Selecting & Managing Cards

Click the toggles in the left column to select cards, or click the header row to select all cards. You can also click the card preview areas where the front/back previews are not visible to select the card.

Once selected, you can print or export individual cards, or delete them.

<div><figure><picture><source srcset="/files/zvnpqvBi6xoTK4ywcORw" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FwCFn1gGgG8I0aMBNZp8G%2FScreenshot%202026-05-30%20at%2012.37.52%E2%80%AFPM.png?alt=media&amp;token=5b66aeb7-448a-4862-9fd0-f3f45752d664" alt="" width="197"></picture><figcaption></figcaption></figure> <figure><picture><source srcset="/files/PyA8SUPTo7uSzrTq9sso" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2F0xrXd8wkcS4z4vLAvepu%2FScreenshot%202026-05-30%20at%2012.37.47%E2%80%AFPM.png?alt=media&amp;token=3cc679a2-0c7e-4894-b1e1-e6c11ffa7950" alt=""></picture><figcaption></figcaption></figure></div>

## Importing Deck Data

Visit [Connecting to Google Sheets](/docs/design/decks/connecting-to-google-sheets.md) to learn about importing from Google Sheets.

<figure><picture><source srcset="/files/d9mWjElUpwbDGYYDsKQf" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FkuPHAYt5Enq5XgTEw4fj%2FScreenshot%202026-05-30%20at%2012.41.29%E2%80%AFPM.png?alt=media&amp;token=53d8d8b3-c0ca-4b18-8c36-43d1db28d7e2" alt="" width="375"></picture><figcaption></figcaption></figure>

If you have a CSV exported from another application, you can choose to upload it here, and either *Append* or *Replace* the existing data.

### Import Error Reporting

After importing, Cardstock Studio will let you know if any errors were identified, and give you information to help solve the issue. Often this will include unrecognized variable names, or column names.

Otherwise, the bottom of the Deck window will report *No Errors*.

<figure><picture><source srcset="/files/IsG8VOPRACuGvd2SElrm" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2Fl3LwjD9F4ufw69udI2YS%2FScreenshot%202026-05-30%20at%2012.45.47%E2%80%AFPM.png?alt=media&amp;token=8c3d2fe3-4cf7-4cfd-84ce-1677a79db9eb" alt="" width="563"></picture><figcaption></figcaption></figure>

## Printing and Exporting

Learn more about [Printing Decks](/docs/design/decks/printing-decks.md) and [Exporting Decks](/docs/design/decks/exporting-decks.md) at their respective pages.

{% content-ref url="/spaces/K6BdQXak9wiY4BdSf9Rq/pages/w1Bhf8Cb6WFKO1coMh6z" %}
[Printing Decks](/docs/design/decks/printing-decks.md)
{% endcontent-ref %}

{% content-ref url="/spaces/K6BdQXak9wiY4BdSf9Rq/pages/IUaEZJfYACcIZrDUIyp0" %}
[Exporting Decks](/docs/design/decks/exporting-decks.md)
{% endcontent-ref %}

***

## Deck Settings

The <picture><source srcset="/files/84jQlbqJy4oOZ59Fd21l" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FgOEQCjAZwqvOkt5g8mgU%2FScreenshot%202026-06-01%20at%206.33.13%E2%80%AFPM.png?alt=media&amp;token=4d4648dd-2aff-4f7a-9a76-731de67044d8" alt="" data-size="line"></picture> button will bring up the Deck Setting panel.

<figure><picture><source srcset="/files/X3mzwMzYLxcmMl90RqlH" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2Fnsjp5TJCb1ZPF9ABRdtX%2FScreenshot%202026-06-01%20at%206.32.40%E2%80%AFPM.png?alt=media&amp;token=e3e9f62b-43f3-4238-9162-b94759f113c5" alt="" width="375"></picture><figcaption></figcaption></figure>

Here you can set the Templates to use, or optionally Mirror the front template for the back.

### Description

Here you can describe what this deck is. If there are unique game rules such as setup steps, describe those here as well. This will help the AI confirm your rules, write your rules if you choose, and properly set up play tests.

{% hint style="success" %}
The AI will benefit from clear, descriptive language that describes the deck in full detail. Without this, it may not fully understand the purpose of the deck, and will ask questions or try to assume.
{% endhint %}

### Orientation

The *Flip Orientation* determines how prints will be organized, so that front/back pairs will "flip" the right direction — either left/right horizontally, or up/down vertically.

***

## Check in Changes

When you check in a change, you're saving a snapshot of the Deck values and settings. This way you can revert back to a checked in version if you need to.

<figure><picture><source srcset="/files/76lWfxwF66SWS1MqX6YG" media="(prefers-color-scheme: dark)"><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FiWfsAiJwjQiYM9BOFlBM%2FScreenshot%202026-06-01%20at%208.02.27%E2%80%AFPM.png?alt=media&amp;token=ff110831-eaae-4ca2-8963-573f48d281b4" alt=""></picture><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cardstock-studio.gitbook.io/docs/design/decks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
