qiaomu-goal-meta-skill — скилл для Claude Code: /goal из模糊 задачи
Превращает расплывчатую задачу в готовую команду /goal для Codex: с критериями проверки, границами записи и условиями остановки.
npx skills add joeseesun/qiaomu-goal-meta-skill --skill qiaomu-goal-meta-skill -a claude-codeЧто делает qiaomu-goal-meta-skill
Скилл собирает из вашего описания одну исполняемую команду /goal. Внутри — рабочий процесс из восьми шагов: переформулировать задачу как результат, классифицировать её по стратегии из references/default-goal-strategy.md, найти пробелы в контракте цели и при нехватке деталей предложить нумерованный выбор вариантов с уже подставленными значениями по умолчанию.
Готовая команда содержит семь полей: результат, проверку, ограничения, границы, политику итераций, доказательство завершения и условие паузы. Проверка — это конкретные команды и артефакты, а не «сделай лучше». Границы записи узкие, запрещённые пути перечислены явно. Для файловых результатов скилл прогоняет python3 scripts/lint_goal_command.py <file> — скрипт ищет незаполненные плейсхолдеры вроде [Outcome] и отсутствующие метки.
Скилл ничего не делает с вашим проектом сам: он только пишет инструкцию. Если домен незнакомый, он соберёт цель, где агент сначала изучает документацию и рантайм проекта, а не выдумывает правила. Для китайскоязычных пользователей по умолчанию выводится китайская версия с полем 推荐执行版(中文,可直接复制) и английское зеркало с теми же метками; если пишете по-английски, получите только английский черновик.
Какие задачи решает
- сформулировать проверяемую цель вместо «доделай это»
- задать агенту границы записи и запрещённые пути
- описать, когда останавливаться, а когда звать человека
- добавить в задачу команды проверки и доказательства
- разложить незнакомый домен на этап разведки перед правками
Примеры запросов агенту
- /goal сделай первую версию локального MVP для этой задачи
- Собери мне /goal для рефакторинга модуля оплаты, с проверками и границами
- Помоги превратить эту задачу в goal-инструкцию с условиями паузы
Как установить qiaomu-goal-meta-skill
1Через Skills CLI (Vercel)
npx skills add joeseesun/qiaomu-goal-meta-skill --skill qiaomu-goal-meta-skill -a claude-code2Вручную: положить файлы
~/.claude/skills/qiaomu-goal-meta-skill/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/qiaomu-goal-meta-skill/
1Через Skills CLI (Vercel)
npx skills add joeseesun/qiaomu-goal-meta-skill --skill qiaomu-goal-meta-skill -a codex2Вручную: положить файлы
.agents/skills/qiaomu-goal-meta-skill/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add joeseesun/qiaomu-goal-meta-skill --skill qiaomu-goal-meta-skill -a cursor2Вручную: положить файлы
.cursor/skills/qiaomu-goal-meta-skill/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install joeseesun/qiaomu-goal-meta-skill qiaomu-goal-meta-skill2Вручную: положить файлы
.github/skills/qiaomu-goal-meta-skill/SKILL.md1Через Skills CLI (Vercel)
npx skills add joeseesun/qiaomu-goal-meta-skill --skill qiaomu-goal-meta-skill -a gemini-cli2Командой платформы
gemini skills install https://github.com/joeseesun/qiaomu-goal-meta-skillВручную: положить файлы
.devin/skills/qiaomu-goal-meta-skill/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add joeseesun/qiaomu-goal-meta-skill --skill qiaomu-goal-meta-skill -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о qiaomu-goal-meta-skill
Как установить qiaomu-goal-meta-skill в Claude?
Выполните npx skills add joeseesun/qiaomu-goal-meta-skill --skill qiaomu-goal-meta-skill -a claude-code. После этого файл скилла лежит в ~/.claude/skills/qiaomu-goal-meta-skill/SKILL.md.
Что делает qiaomu-goal-meta-skill?
Превращает模糊 задачу в команду /goal с результатом, проверкой, ограничениями, границами, политикой итераций, доказательством завершения и условиями остановки или паузы.
Скилл сам начнёт править код?
Нет. Он создаёт только инструкцию цели и не запускает описанную в ней работу, пока вы явно не попросите.
Исходный текст
SKILL.md · MIT
--- name: qiaomu-goal-meta-skill description: | Turn vague or complex Codex tasks into strong `/goal` commands with outcome, verification, constraints, boundaries, iteration policy, completion evidence, and pause/block conditions. Use when the user asks for Codex goal instructions, Goal 指令, 目标指令, `/goal` prompts, 中文 Goal 模板, plan-to-goal interviews, success criteria, verification commands, or bounded agent work definitions. --- # Qiaomu Goal Meta Skill 把一个模糊任务,收敛成 Codex 可以持续执行、可以验证、知道何时停止和何时暂停的 `/goal` 指令。 Copyright (c) 向阳乔木 X: https://x.com/vista8 GitHub: https://github.com/joeseesun/ ## Operating Mode Run as a production-lite meta skill. Default assumptions: - The user wants a paste-ready Codex `/goal` command, not a general prompt. - The executable slash command stays `/goal`. Do not output `/目标` as the command unless the user's environment explicitly documents that alias. - The first goal block should be the best recommended executable version, not a half-filled template. Users often copy the first draft directly. - For Chinese users, output Chinese content and Chinese field names by default while keeping the command prefix `/goal`. - For Chinese users, include both `推荐执行版(中文,可直接复制)` and `Goal Draft (English-compatible)` unless the user asks for one language only. - If the task is still vague but low-risk, choose the best conservative defaults and continue. Ask only when the answer changes cost, risk, ownership, or product direction. - If the domain is unfamiliar or specialized, create a discovery-first goal that makes the agent inspect authoritative project/docs/runtime evidence before implementation instead of inventing domain rules. - If the missing detail is low-risk, make an explicit assumption and continue. - Do not start the work described by the goal unless the user explicitly asks. This skill creates the goal instruction. - Prefer concrete verification commands and artifacts over vague confidence phrases. - Prefer narrow write boundaries and explicit forbidden paths over broad permission. - Treat `Stop when` and `Pause if` as part of the same completion/blocking contract. ## Workflow 1. Restate the task as an outcome, not an activity. 2. Classify the task using `references/default-goal-strategy.md`: familiar vs unknown domain, low vs high risk, new work vs existing project. 3. Choose best defaults for low-risk unknowns and write a one-sentence reason. 4. Identify missing information across the Goal contract: - success criteria - verification commands, artifacts, or evidence - constraints that must not change - allowed writes and forbidden paths - iteration policy - completion evidence - blocked stop conditions, human decisions, or budget caps 5. If the task is under-specified, prefer numbered multiple-choice adjustments with defaults. Use `references/interview-checklist.md`. 6. For Chinese-first users, produce the Chinese recommended execution goal first, then an English-compatible mirror that preserves the same meaning and keeps English field labels. 7. Check the command against `references/goal-command-playbook.md`. 8. For file deliverables, run `python3 scripts/lint_goal_command.py <file>` before calling the goal done. ## Output Contract When enough information is known, output the best recommended command first. Do not leave placeholders in real output. ```text /goal Create a first-version local MVP for the requested task, inspect project-provided commands before changing code, implement the core user-visible workflow, and keep unrelated systems unchanged. Verification: run the smallest project-provided checks, start the local app or relevant runtime, complete the core workflow once, and capture logs/screenshots or command output as evidence. Constraints: do not add accounts, paid services, production changes, destructive operations, or unrelated features unless requested. Boundaries: write only inside the new project directory or the directly related existing project files. Iteration policy: implement one focused workflow at a time, rerun checks after meaningful changes, inspect logs before retrying, and make at most 3 focused improvement rounds before reporting remaining risks. Stop when: the core workflow is proven by runtime evidence and checks pass or missing checks are explicitly reported. Pause if: credentials, payments, production data, destructive changes, legal/medical/financial decisions, copyrighted assets, or unclear ownership is required. ``` For Chinese-first users, prefer this equivalent shape: ```text /goal 基于用户需求创建第一版本地 MVP,先读取项目已有命令和约束,实现核心用户可见流程,并避免改动无关系统。 验证:运行项目提供的最小相关检查,启动本地应用或对应运行环境,完整走通一次核心流程,并用日志、截图或命令输出作为证据。 约束:不加入账号、付费服务、生产变更、破坏性操作或无关功能,除非用户明确要求。 边界:只写入新项目目录,或只修改现有项目中与该功能直接相关的文件。 迭代策略:一次实现一个聚焦工作流,每次有意义改动后重跑检查,重试前先读日志,最多做 3 轮聚焦改进后报告剩余风险。 完成条件:核心流程有运行证据证明可用,检查通过或明确说明缺少配置。 暂停条件:需要凭证、付费、生产数据、破坏性操作、法律/医疗/金融判断、版权素材或所有权不清时暂停。 ``` When the task is vague, output: 1. `推荐执行版(中文,可直接复制)`: the best default `/goal`. 2. `默认选择理由`: one concise sentence. 3. `可选调整`: numbered choices with recommended defaults and short option labels. 4. `你可以直接回复`: an example such as `按默认` or `1B 2A 3C`. 5. `Goal Draft (English-compatible)`: a faithful English-compatible mirror with English field labels. If the user writes in English, output only the English-compatible draft unless they ask for Chinese too. Do not output long generic coaching unless the user asks for explanation. ## Quality Bar A strong goal: - has one concrete outcome - names exact checks or evidence - protects unrelated files, user data, secrets, and default branches - defines the write boundary - tells the agent how to iterate after failures - says when to stop because completion is proven - says when to pause because a human decision, credential, account state, budget, or repeated blocker is required Reject or revise a goal that: - says only `make it better`, `finish this`, or `fix bugs` - lacks verification - lets the agent edit the whole machine or repo without reason - asks for repeated retries without a new source of evidence - has no pause condition for external auth, secrets, payments, destructive actions, or ambiguous product decisions - leaves placeholders such as `[Outcome]` in user-facing executable drafts - treats vague words such as `高级`, `有质感`, or `professional` as verification instead of translating them into screenshots, runtime checks, review criteria, or iteration rules ## Reference Files - `references/goal-command-playbook.md`: the core `/goal` template, when to use it, examples, and anti-patterns. - `references/default-goal-strategy.md`: lazy-user defaults, unknown-domain discovery, risk classification, and direct-copy output rules. - `references/interview-checklist.md`: question bank for turning vague tasks into strong goals. - `scripts/lint_goal_command.py`: lightweight checker for required `/goal` labels and unresolved placeholders.
© joeseesun · MIT · joeseesun/qiaomu-goal-meta-skill