gardener-tasks
O que ela faz
Este guia explica como escrever e verificar tarefas do Gardener, que são arquivos Markdown curtos para configurar trabalhos automáticos de manutenção com IA. É para desenvolvedores que gerenciam essas tarefas em um repositório.
Quando usar
- ✓Quando você quer criar uma nova tarefa de manutenção do Gardener em um repositório.
- ✓Quando você precisa mudar um arquivo de tarefa do Gardener já existente.
- ✓Quando uma verificação do Gardener falha e você precisa saber o que o formato da tarefa exige.
Link da skill
https://github.com/cloudflare/computer/blob/main/.gardener/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Crie uma tarefa do Gardener que verifique toda semana se a documentação tem links quebrados e que só edite a pasta de docs.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill explica a seção de cabeçalho, que define quando a tarefa roda, o que ela pode ler e quais mudanças pode fazer, além das instruções do corpo. Os arquivos de fluxo de trabalho gerados são reescritos por um comando, então a skill manda você rodar esse comando em vez de editá-los.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Gardener tasks
Gardener runs AI maintenance tasks on this repository from GitHub Actions. Each task is one Markdown file: YAML frontmatter says when it runs, what the model may read, and exactly which changes it may make; the body is the model's instructions. A planning job runs the model with only the declared tools and lets it plan only the declared effects. A separate job then applies that plan. Nothing outside the declaration is possible, whatever the instructions say.
Files
.gardener/
gardener.json project settings (release pin, optional "handle"); edit only "handle"
gardener.lock.json generated; never edit
SKILL.md this file; generated
tasks/<dir>/TASK.md one task per directory; the only files you write
.github/workflows/
gardener-<id>.yml generated, one per task; never edit
gardener-sync.yml generated (or the "syncWorkflow" name in gardener.json); never edit
Workflow
- Create
.gardener/tasks/<dir>/TASK.md. Start from the template below or an existing task. - Run
npx @scuffi/gardener@0.1.21 generatefrom the repository root (or the repository's ownpackage.jsonscript, if it has one). Use this exact version: a different one produces files the pull request's Check tasks check rejects. - Fix every error
generateprints and read its warnings. Repeat until it succeeds. - Commit the
TASK.md,.gardener/gardener.lock.jsonand the.github/workflows/gardener-*.ymlchanges together. When they reach the default branch, the sync workflow enables the task.
To change a task, edit its TASK.md and run generate again. To remove one, delete its
directory and run generate. Never hand-edit generated files.
Template
---
schema: gardener.task/v1
id: bug-intake
name: Bug intake
description: Asks issue authors for missing reproduction details.
trigger:
event: github.issue.opened
labels-all: [bug]
tools:
- repository.list_files
- repository.read_file
effects:
- issue.comment.create
network:
default: deny
allow: []
deny: []
limits:
runtime-seconds: 300
max-turns: 12
max-tool-calls: 16
input-tokens: 60000
output-tokens: 16000
---
Read the issue and the code it mentions. If it is missing reproduction steps, expected behaviour or
a version, comment once (`issue.comment.create`) asking for exactly what is missing. Otherwise
change nothing. Then finish.
Frontmatter
Unknown keys are errors.
| Key | Required | Meaning |
|---|---|---|
schema |
yes | Always gardener.task/v1. |
id |
yes | Stable identity: lowercase letters, digits, ., _, -. Names the workflow gardener-<id>.yml. Unique per repository. |
name |
yes | Short human name (up to 100 characters). |
description |
yes | One or two sentences (up to 1,000 characters). |
trigger / triggers |
exactly one | A single trigger object, or a list of them. See Triggers. |
tools |
yes | What the model may read or run. At least one. See Tools. |
effects |
no | What the task may change. Omit or [] for a read-only task. See Effects. |
network |
yes | Must be exactly as in Network. |
limits |
yes | Run budget. See Limits. |
model |
no | Model ID. Defaults to "@cf/zai-org/glm-5.3". Quote IDs starting with @. |
draft |
no | true makes the task run only by hand. See Trying a task. |
checkout |
no | pull-request-head checks out a pull request's head instead of GitHub's merge preview, also for comments on a pull request and manual runs naming one. Needs a pull request or issue comment trigger. Implied by commit.merge_base, and when commit.create may write beyond gardener/**. |
reactions |
no | false stops the 👀 reaction while the task works on an issue or comment, and the 🚀 or 😕 it leaves after. On by default. |
effect-scope |
no | trigger confines every run to the issue or pull request that triggered it, even a maintainer's. See Who a run may act on. |
Triggers
Each trigger is event: plus optional filters. A task may use each event at most once.
| Event | Filters |
|---|---|
github.issue.opened, github.issue.edited |
labels-all, mentions, authors |
github.issue.labeled, .unlabeled, .reopened |
labels-all, `op |
Perguntas frequentes
A IA pode mudar qualquer arquivo que quiser?
Não. Uma tarefa só pode fazer as mudanças que o cabeçalho declara.
Devo editar os arquivos de fluxo de trabalho gerados?
Não. O gerador os reescreve, então o guia diz para nunca editá-los à mão.
Preciso de uma versão específica do gerador?
Sim. O guia pede a versão exata indicada, já que outras versões geram arquivos que falham na verificação.
Detalhes
Descrição original do autor
How to write, change and check Gardener tasks (.gardener/tasks/*/TASK.md), the AI maintenance tasks this repository runs from GitHub Actions. Use before creating or editing anything under .gardener/.
repo: cloudflare/computer
Popularidade
- Estrelas no GitHub
- 9,8 mil
- Posição no ranking
- #12209
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
cloudflare
9,8 milAponta seu agente para o guia certo da plataforma Cloudflare para Workers, Durable Objects, wrangler e outros serviços antes de começar o trabalho.
prose
9,8 milEnsina seu agente a escrever em linguagem simples para comentários de código, mensagens de commit, READMEs e documentação. Evita jargão, siglas e linguagem corporativa.
pull-requests
9,8 milEnsina seu agente a escrever descrições claras de pull requests, que contam a história de uma mudança, o problema que ela resolve e como verificá-la.
test-driven-development
9,8 milEnsina seu agente a escrever um teste que falha antes de mudar o código e a reproduzir bugs com um teste primeiro. Ajuda a provar que as mudanças funcionam.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.