goal-draft
하는 일
Qwen Code 목표의 목표문을 작성합니다. 예/아니요로 답하는 완료 조건, 가드레일, 예산을 포함합니다. 명확한 결과에 도달할 때까지 에이전트가 계속 작업하기를 원하는 분들을 위한 스킬입니다.
사용하는 경우
- ✓명확한 결과가 충족될 때까지 에이전트가 계속 진행하기를 원할 때.
- ✓내가 쓴 목표가 검증자가 판단할 만큼 명확한지 확인하고 싶을 때.
- ✓끝날 때까지 계속하라고 말하고 싶을 때.
스킬 링크
https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/goal-draft/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 모듈의 단위 테스트가 모두 통과할 때까지 계속 작업하도록 명확한 목표로 써 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 원하는 결과를 묻고, 목표 하나를 번호가 매겨진 예/아니요 점검 항목과 함께 작성합니다. 각 점검은 대화 기록에 증거를 남깁니다. 에이전트는 작업 자체를 하지 않고, 승인을 위해 목표 텍스트만 초안으로 작성합니다.
기술 내용 (원본 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
자주 묻는 질문
작업을 바로 시작하나요?
아니요. 목표 텍스트만 초안으로 작성하며, 사용자가 목표를 승인한 뒤에 작업이 진행됩니다.
좋은 완료 점검은 무엇인가요?
점검은 예/아니요로 답할 수 있어야 하고, 도구 결과처럼 증거를 남겨서 검증자가 확인할 수 있어야 합니다.
세부 정보가 부족하면 어떻게 하나요?
추측하지 않고, 명확화가 필요하다고 표시한 초안을 돌려줍니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
codegraph
29k에이전트가 색인된 코드베이스를 호출 그래프, 의존성, 죽은 코드, 핫스팟, 의미 검색으로 분석하도록 돕습니다.
qwen-code-claw
29k에이전트가 코드베이스 이해, 버그 수정, 리팩터링, 새 프로젝트 생성 같은 코딩 작업을 Qwen Code에 맡기도록 돕습니다.
structured-debugging
29k에이전트가 어려운 버그를 디버깅하는 단계별 방법을 가르칩니다. 가설을 세우고, 대상 확인을 추가하고, 시험해서 실제 원인을 찾은 뒤 고칩니다.
tmux-real-user-testing
29k에이전트가 tmux 안에서 실제 사용자처럼 터미널 앱을 테스트하고, 각 동작마다 화면 캡처가 담긴 읽기 쉬운 로그를 저장하도록 돕습니다.
비슷한 스킬
writing-skills
311k에이전트를 위한 새 스킬을 작성하고, 각 스킬이 실제로 에이전트의 행동을 바꾸는지 사용하기 전에 테스트하도록 가르칩니다.
writing-for-agents
310k스킬, AGENTS.md, CLAUDE.md 등 AI 에이전트가 읽는 문서를 명확하게 쓰는 방법을 알려 주어 에이전트가 예측 가능하게 행동하도록 돕습니다.
bengali-nlp
280k에이전트가 벵골어 텍스트를 처리하도록 돕습니다. 언어를 이해하고 다루며, 텍스트를 정규화하고 고유한 특징을 처리합니다.