goal-draft
यह क्या करती है
यह Qwen Code लक्ष्य के लिए उद्देश्य का पाठ तैयार करती है, जिसमें हाँ-या-ना वाली पूर्णता जाँचें, सुरक्षा नियम और बजट हों। यह उन लोगों के लिए है जो चाहते हैं कि एजेंट तब तक काम करता रहे जब तक कोई साफ़ परिणाम न आ जाए।
कब इस्तेमाल करें
- ✓जब आप चाहें कि एजेंट तब तक चलता रहे जब तक कोई खास परिणाम न मिले।
- ✓जब आप जाँचना चाहें कि आपका लिखा लक्ष्य परखे जाने लायक स्पष्ट है या नहीं।
- ✓जब आप कहें कि तब तक जारी रखो जब तक काम पूरा न हो।
Skill का लिंक
https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/goal-draft/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं चाहता हूँ कि एजेंट तब तक काम करता रहे जब तक इस module के सारे unit tests पास न हो जाएँ। इसे एक स्पष्ट लक्ष्य के रूप में लिखने में मेरी मदद कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट परिणाम पूछता है, फिर एक उद्देश्य लिखता है जिसमें क्रमांकित हाँ-या-ना जाँचें हों, जो transcript में सबूत छोड़ें। वह खुद काम नहीं करता, केवल मंज़ूरी के लिए पाठ का मसौदा बनाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
/goal-draft — write a Goal the verifier can judge
You are already inside the loaded goal-draft skill — do not call the skill tool to invoke it again; start with Step 0.
You are drafting the text for /goal set. You are NOT doing the work the goal describes. Do not edit files, do not run the checks, do not start on the task. Deliver a concise objective for approval or a command the user can run; if essential information is missing, deliver only a draft marked "Needs clarification".
How Goals are judged (why the format below matters)
An active Goal is re-fed to the model every turn, and its completion is judged by an independent verifier that sees ONLY transcript evidence, read from the most recent record backwards until its request is full:
- Visible assistant output, tool results, and the user's own messages recorded for the Goal count as evidence; a user message proves only what the user said, chose, or approved. The objective itself and hidden reasoning do not, and in a long Goal the oldest records no longer reach the verifier.
delivered_outputevidence proves only that text was printed. It cannot prove that tests passed, files changed, or remote state changed — those need a directly recorded tool result in the transcript (anexternal_fact), not a script's or an aggregate wrapper's summary of one.- A claim that the user confirmed, chose, or approved something needs a real user message as evidence; otherwise the completion proposal is rejected.
- Vague, subjective, or open-ended conditions never produce decisive evidence; the loop then runs until a limit is hit.
So a good objective makes the agent PRODUCE evidence at the end: run the named check immediately before proposing completion and paste the decisive output line. A check that ran long before may have to run again when completion is proposed.
Step 0 — should this be a Goal at all?
Say no, briefly, when the request is a normal one-shot task, needs a design or product judgement call, or has no way to be checked from the agent's own output. Offer to just do it, or to write a plan instead. A goal that cannot be checked is a prompt, not a goal.
Step 1 — check the active Goal
Call get_goal. If a Goal is active, preserve the user's explicit choice to edit it (same goal, tighter wording → /goal edit) or replace it (/goal set). If that choice is unclear, include it in Step 3's single round of questions; do not choose on the user's behalf. Never draft a second concurrent goal.
Step 2 — ground the draft in the workspace
Before asking anything, verify what you can with read_file, glob, and grep_search: that named files and packages exist, and what the real check commands are (package.json scripts, Makefile, CI workflow, test config). Use those exact commands in "Done when". Never invent paths, IDs, or commands; write <TODO: …> for anything you cannot confirm.
Read only what is needed to establish the scope and verification path. Stop exploring once those are grounded; do not audit the implementation, reproduce failures, run builds or tests, install dependencies, or start services while drafting. A requested new output file is a proposed destination, not evidence that the file already exists.
Step 3 — at most one round of questions
Ask with ask_user_question, 1–3 questions in one call, each with options and a recommended default. Ask only when the answer changes the check, the scope, or the budget. Typical questions:
- Which check defines success: a test command, a build, a metric threshold, a file or state assertion?
- Which environment: local, CI, staging?
- What is off limits: which files, which actions (push, delete, publish)?
- How long to try before stopping as blocked?
Rules for the questions:
- Never ask what you could find out by reading the workspace.
- Batch them into one
ask_user_questioncall; do not drip one per turn. - Only ask things only the user can answer: what counts as done, what is off limits, how long to try.
- If you cannot find a concrete way to verify the outcome, you MUST ask, offering 2–3 candidate checks. Do not skip this and do not invent one.
If you cannot ask (headless, or a client without prompts), use a recommended default only for nonessential choices and mark it [ASSUMPTION] in Context. An unknown success criterion, unverified command or input path, or unresolved edit-versus-replace choice stays <TODO: …>; do not invent an answer just to finish the hand-off. If ess
अक्सर पूछे जाने वाले सवाल
क्या यह काम शुरू करती है?
नहीं। यह केवल लक्ष्य का पाठ तैयार करती है, और आपके लक्ष्य को मंज़ूरी देने के बाद काम बाद में होता है।
अच्छी पूर्णता जाँच क्या बनाती है?
जाँच हाँ-या-ना वाली होती है और सबूत छोड़ती है, जैसे दर्ज tool परिणाम, ताकि सत्यापनकर्ता उसे पुष्ट कर सके।
अगर मैंने पर्याप्त विवरण न दिया हो तो?
स्किल अनुमान लगाने के बजाय एक मसौदा लौटाती है, जिस पर स्पष्टीकरण की ज़रूरत चिह्नित होती है।
जानकारी
लेखक का मूल विवरण
Turn a fuzzy intention into a /goal objective the Goal verifier can actually judge - one outcome, numbered binary "Done when" checks that leave evidence in the transcript, guardrails, a budget, and a block protocol. Use when the user wants to set or define a goal, asks whether a goal is good enough, or says "keep going until X". Usage - /goal-draft <what you want done>, or /goal-draft <existing goal> to tighten it. This skill only writes the objective; it never starts the work.
repo: QwenLM/qwen-code
लोकप्रियता
- GitHub स्टार
- 29k
- रैंकिंग में स्थान
- #9781
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
codegraph
29kयह आपके एजेंट को इंडेक्स किए कोडबेस का विश्लेषण करने में मदद करती है, उसके कॉल ग्राफ़, निर्भरताओं, बेकार कोड, हॉटस्पॉट और अर्थ-आधारित खोज के ज़रिए।
qwen-code-claw
29kयह आपके एजेंट को कोडिंग के काम Qwen Code को सौंपने में मदद करती है, जैसे कोडबेस समझना, बग ठीक करना, कोड रीफ़ैक्टर करना या नया प्रोजेक्ट बनाना।
structured-debugging
29kयह आपके एजेंट को कठिन बग ढूँढने का चरण-दर-चरण तरीका सिखाती है: परिकल्पना बनाना, लक्षित जांच करना, परखना और ठीक करने से पहले असली कारण ढूँढना।
tmux-real-user-testing
29kयह आपके एजेंट को tmux के अंदर टर्मिनल ऐप को असली यूज़र की तरह टेस्ट करने में मदद करती है, हर कदम की स्क्रीन-तस्वीर के साथ पढ़ने योग्य लॉग सहेजकर।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।