skills/developer-tools-integrations/goal-meta-skill/SKILL.md
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.
npx skillsauth add bahayonghang/my-claude-code-settings goal-meta-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
把一个模糊任务,收敛成 Codex 可以持续执行、可以验证、知道何时停止和何时暂停的 /goal 指令。
In the commands below,
<skill-dir>is this skill's base directory, announced when the skill loads. Substitute the literal path; it is not an environment variable. The script self-locates, so only the path to it must resolve.
Run as a production-lite meta skill.
Default assumptions:
/goal command, not a general prompt./goal. Do not output /目标 as the command unless the user's environment explicitly documents that alias./goal <text> sets a persistent goal, /goal views the current goal, and /goal pause, /goal resume, and /goal clear manage it. If the user asks to inspect, pause, resume, or clear an existing goal, give the relevant management command instead of drafting a new objective./goal is missing from the slash command list, tell the user to enable features.goals in Codex config or run the equivalent Codex feature enable command for their environment./goal that points at a local instruction file and put the long contract in that file content or a separate copy block./goal.推荐执行版(中文,可直接复制) and Goal Draft (English-compatible) unless the user asks for one language only.Stop when and Pause if as part of the same completion/blocking contract.references/default-goal-strategy.md: familiar vs unknown domain, low vs high risk, new work vs existing project.references/interview-checklist.md.references/goal-command-playbook.md./goal, /goal pause, /goal resume, or /goal clear guidance rather than inventing a replacement goal./goal objective within the 4,000 character limit. When the contract is longer, use a file-pointer pattern such as /goal Follow the task contract in .planning/<task>.md and stop only when its verification section is satisfied.python "<skill-dir>/scripts/lint_goal_command.py" <file> or py -3 "<skill-dir>/scripts/lint_goal_command.py" <file> before calling the goal done. Add --require-chinese-companion when validating Chinese-first output.When enough information is known, output the best recommended command first. Do not leave placeholders in real output.
/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:
/goal 基于用户需求创建第一版本地 MVP,先读取项目已有命令和约束,实现核心用户可见流程,并避免改动无关系统。
验证:运行项目提供的最小相关检查,启动本地应用或对应运行环境,完整走通一次核心流程,并用日志、截图或命令输出作为证据。
约束:不加入账号、付费服务、生产变更、破坏性操作或无关功能,除非用户明确要求。
边界:只写入新项目目录,或只修改现有项目中与该功能直接相关的文件。
迭代策略:一次实现一个聚焦工作流,每次有意义改动后重跑检查,重试前先读日志,最多做 3 轮聚焦改进后报告剩余风险。
完成条件:核心流程有运行证据证明可用,检查通过或明确说明缺少配置。
暂停条件:需要凭证、付费、生产数据、破坏性操作、法律/医疗/金融判断、版权素材或所有权不清时暂停。
When the task is vague, output:
推荐执行版(中文,可直接复制): the best default /goal.默认选择理由: one concise sentence.可选调整: numbered choices with recommended defaults and short option labels.你可以直接回复: an example such as 按默认 or 1B 2A 3C.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.
If the user asks how to manage an existing Codex goal, answer with the minimal command:
/goal to view the current goal./goal pause to pause it./goal resume to continue it./goal clear to remove it.Do not output long generic coaching unless the user asks for explanation.
A strong goal:
Reject or revise a goal that:
make it better, finish this, or fix bugs[Outcome] in user-facing executable drafts高级, 有质感, or professional as verification instead of translating them into screenshots, runtime checks, review criteria, or iteration rulesreferences/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, unresolved placeholders, and optional Chinese-first companion sections.tools
文献深度解读助手,像研究生导师一样交互式解读 Zotero 库中的学术论文,面向计算机科学、深度学习、自动化等方向(个人向)。当用户提供文献题目、DOI、PDF 或要求解读某篇论文时触发,通过 Zotero MCP 优先获取全文,并根据用户意图自动选择快速筛选、导师深读或研究复盘模式。完整深读时先完成叙事类型判断、阅读前预检、novelty 校准和作者思考路径重建,再整体概览,并基于图例、正文和表格逐图详细解读(Zotero MCP 无法提取 PDF 图片,解读基于文字信息,必要时提醒上传图片)。适用于:(1)快速判断文献是否值得深读 (2)深入理解某篇论文 (3)学习文章中的方法和技术 (4)批判性分析研究设计 (5)寻找研究灵感。需要多篇论文综合、对比或找研究空白,或 arXiv/DOI 批量规范化时,改用 paper-workbench。
development
Review Codex, Claude, OpenAI, or other agent skill directories as reusable capability packages. Use when asked to audit, review, improve, score, rewrite, debrand, package, or document a SKILL.md, skill package, marketplace skill, or agent skill directory, especially when the user wants a comprehensive findings-first report with concrete patch recommendations and validation steps.
tools
Write, debug, and validate ast-grep structural code search rules. Use this skill when the user needs syntax-aware code search, AST pattern matching, structural refactor discovery, language-construct queries, or searches that plain text tools like rg can miss, such as finding functions with particular descendants, calls inside specific contexts, missing error handling, React hook shapes, decorators, or other Tree-sitter-backed code structures.
development
Use when the user asks to ground an ambitious proposal, avoid over-grand designs, make a bold direction executable, pressure-test feasibility, prevent "too much vision and too little landing", or turn a strategy/refactor/product idea into the smallest verifiable first move with stop rules. Trigger for requests such as 落地, 先落地, 别太飘, 收一收, 可执行, 可验证, 止损, and for follow-ups after geju-style big-picture thinking. Do not trigger for ordinary code review or implementation unless the user explicitly asks to ground or shrink the plan first.