docs: add Tasks Core Principles Page (#19878)

---------

Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com>
Co-authored-by: Ben Potter <ben@coder.com>
Co-authored-by: Atif Ali <atif@coder.com>
This commit is contained in:
david-fraley
2025-09-30 10:49:39 -05:00
committed by GitHub
co-authored by blink-so[bot] Ben Potter Atif Ali
parent 4e7b518b65
commit 95aa16df1b
4 changed files with 190 additions and 3 deletions
-3
View File
@@ -41,9 +41,6 @@ Try prompts such as:
To import the template and begin configuring it, follow the [documentation in the Coder Registry](https://registry.coder.com/templates/coder-labs/tasks-docker)
> [!NOTE]
> The Tasks tab will appear automatically after you add a Tasks-compatible template and refresh the page.
### Option 2&rpar; Create or Duplicate Your Own Template
A template becomes a Task template if it defines a `coder_ai_task` resource and a `coder_parameter` named `"AI Prompt"`. Coder analyzes template files during template version import to determine if these requirements are met. Try adding this terraform block to an existing template where you'll add our Claude Code module. Note: the `coder_ai_task` resource is defined within the [Claude Code Module](https://registry.coder.com/modules/coder/claude-code?tab=readme), so it's not defined within this block.