gardener-tasks
하는 일
이 가이드는 자동 AI 유지보수 작업을 설정하는 짧은 마크다운 파일인 Gardener 작업을 쓰고 점검하는 방법을 설명합니다. 저장소에서 이 작업을 관리하는 개발자를 위한 가이드입니다.
사용하는 경우
- ✓저장소에 새 Gardener 유지보수 작업을 만들고 싶을 때.
- ✓기존 Gardener 작업 파일을 바꿔야 할 때.
- ✓Gardener 점검이 실패해서 작업 형식이 무엇을 요구하는지 알아야 하는 경우.
스킬 링크
https://github.com/cloudflare/computer/blob/main/.gardener/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“문서 링크가 깨졌는지 매주 확인하고, docs 폴더만 수정하는 Gardener 작업을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 작업이 언제 실행되는지, 무엇을 읽을 수 있는지, 어떤 변경을 할 수 있는지를 정하는 헤더 섹션과 본문의 지시를 설명합니다. 생성된 워크플로 파일은 명령으로 다시 만들어지므로, 직접 고치지 말고 그 명령을 실행하라고 안내합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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 |
자주 묻는 질문
AI가 원하는 파일을 바꿀 수 있나요?
아닙니다. 작업은 헤더에 선언된 변경만 할 수 있습니다.
생성된 워크플로 파일을 고쳐야 하나요?
아닙니다. 생성기가 다시 쓰므로 직접 편집하지 말라고 가이드가 말합니다.
특정 버전의 생성기가 필요한가요?
예. 가이드는 명시된 정확한 버전을 쓰라고 합니다. 다른 버전은 점검에 실패하는 파일을 만듭니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 9.8k
- 순위
- #12209
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
cloudflare
9.8k에이전트가 작업을 시작하기 전에 Workers, Durable Objects, wrangler 등에 맞는 Cloudflare 플랫폼 가이드를 찾도록 돕습니다.
prose
9.8k에이전트가 코드 주석, 커밋 메시지, README, 문서를 평이한 영어로 쓰도록 가르칩니다. 전문 용어와 기업식 표현을 피합니다.
pull-requests
9.8k에이전트가 변경의 흐름, 해결하는 문제, 확인 방법을 설명하는 명확한 풀 리퀘스트 설명을 쓰도록 가르칩니다.
test-driven-development
9.8k에이전트가 코드를 바꾸기 전에 실패하는 테스트를 먼저 쓰고, 버그도 테스트로 먼저 재현하도록 가르칩니다. 변경이 실제로 작동하는지 확인합니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.