gardener-tasks
यह क्या करती है
यह गाइड बताती है कि Gardener टास्क कैसे लिखें और जाँचें। ये छोटी markdown फ़ाइलें हैं जो अपने-आप चलने वाले AI रखरखाव काम सेट करती हैं। यह उन डेवलपर्स के लिए है जो रिपॉज़िटरी में ये टास्क संभालते हैं।
कब इस्तेमाल करें
- ✓जब आप रिपॉज़िटरी में नया Gardener रखरखाव टास्क बनाना चाहें।
- ✓जब आपको मौजूदा Gardener टास्क फ़ाइल बदलनी हो।
- ✓जब कोई Gardener जाँच विफल हो और आपको जानना हो कि टास्क फ़ॉर्मेट में क्या चाहिए।
Skill का लिंक
https://github.com/cloudflare/computer/blob/main/.gardener/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक Gardener टास्क बनाइए जो हर हफ़्ते हमारे दस्तावेज़ों में टूटे लिंक जाँचे और सिर्फ़ docs फ़ोल्डर बदले।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल हेडर अनुभाग समझाती है, जो तय करता है कि टास्क कब चले, क्या पढ़ सकता है और कौन से बदलाव कर सकता है, साथ ही मुख्य भाग के निर्देश भी। जनरेट की गई workflow फ़ाइलें एक कमांड से दोबारा लिखी जाती हैं, इसलिए स्किल आपको उन्हें हाथ से बदलने की बजाय वह कमांड चलाने को कहती है।
तकनीकी सामग्री (मूल 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 कोई भी फ़ाइल बदल सकता है?
नहीं। टास्क सिर्फ़ वही बदलाव कर सकता है जो उसके हेडर में घोषित हों।
क्या मुझे जनरेट की गई workflow फ़ाइलें बदलनी चाहिए?
नहीं। जनरेटर उन्हें दोबारा लिखता है, इसलिए गाइड कहती है कि उन्हें हाथ से कभी न बदलें।
क्या मुझे जनरेटर का कोई खास वर्ज़न चाहिए?
हाँ। गाइड बताए गए सटीक वर्ज़न इस्तेमाल करने को कहती है, क्योंकि दूसरे वर्ज़न ऐसी फ़ाइलें बनाते हैं जो जाँच में विफल होती हैं।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
cloudflare
9.8kयह आपके एजेंट को काम शुरू करने से पहले Workers, Durable Objects, wrangler और दूसरी सेवाओं के लिए सही Cloudflare प्लेटफ़ॉर्म गाइड की ओर इशारा करती है।
prose
9.8kयह आपके एजेंट को कोड कमेंट, कमिट संदेश, README और दस्तावेज़ों के लिए सादी अंग्रेज़ी में लिखना सिखाती है। जार्गन, संक्षेपों और कॉर्पोरेट भाषा से बचती है।
pull-requests
9.8kयह आपके एजेंट को pull request विवरण लिखना सिखाती है, जो बदलाव की कहानी, उससे ठीक होने वाली समस्या और उसे जाँचने का तरीका बताए।
test-driven-development
9.8kयह आपके एजेंट को कोड बदलने से पहले एक विफल होने वाला टेस्ट लिखना सिखाती है, और बग को पहले टेस्ट से दोहराना। यह साबित करने में मदद करती है कि बदलाव सच में काम करते हैं।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।