一键导入
expand-task
Expand a brief task description into a structured, context-rich prompt that maximizes first-attempt success. Research-only — does not make code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Expand a brief task description into a structured, context-rich prompt that maximizes first-attempt success. Research-only — does not make code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Jujutsu (jj) version control expert. Use when the project contains a `.jj/` directory, user asks about jj, jujutsu, stacking changes, bookmarks, rebasing, conflict resolution, or any VCS operations involving jj. Covers the full jj command surface including workspace concepts, operation log, revsets, and GitHub/Gerrit integration.
Set up isolated jj workspaces for parallel development in jj projects. ALWAYS use this skill — not git worktree skills — when the project contains a .jj/ directory. Use when starting feature work that needs isolation, before executing implementation plans, creating new workspaces, or any time physical directory isolation is needed in a jj repo.
Modern Dioxus 0.7 + Tailwind CSS development guide. Use when asking about Signals, Stores, ReadSignal props, async patterns, components, or Tailwind integration in Dioxus 0.7.
| name | expand-task |
| description | Expand a brief task description into a structured, context-rich prompt that maximizes first-attempt success. Research-only — does not make code changes. |
| disable-model-invocation | true |
| metadata | {"product_area":"code_authoring"} |
Takes a brief task description and produces a structured prompt enriched with codebase context, conventions, and acceptance criteria — designed to maximize the chance of one-shotting the task.
Use this skill when:
$ARGUMENTS — A brief, natural-language task description.
Examples:
"add a new field to InferencePipelineRequest""migrate the ShipmentTrackingApi.getStatus endpoint to the shipping service""add retry logic to the brand sync job""create a new setting for controlling recommendation batch size"Parse $ARGUMENTS to identify:
Perform targeted research to gather context. Do NOT edit files. Adapt the research to the task type:
For modifications to existing code:
For new code creation:
For migrations/refactors:
Always check:
styleguide/ (if in a repo with one)Output a structured prompt in the following format, enclosed in a markdown code block so the user can copy it:
## Context
[2-5 bullet points of critical context discovered during research]
- **Target**: [file path + class/function name]
- **Project**: [Gradle project path or module]
- **Related files**: [list key files: tests, protos, Guice modules, etc.]
- **Existing pattern**: [reference to similar code that should be followed]
## Task
[Clear, specific description of what to do — expanded from the original brief description.
Include the "why" if it can be inferred.]
## Requirements
[Numbered list of specific, unambiguous steps]
1. [Step 1 — be specific about file paths, class names, method signatures]
2. [Step 2]
3. ...
## Constraints
[Bullet list of rules to follow — drawn from style guides, existing patterns, and conventions]
- [Constraint from style guide]
- [Pattern observed in codebase]
- [Anti-pattern to avoid]
## Acceptance Criteria
[How to verify the task is complete]
- [ ] [Tests compile and unit tests run — do NOT run non unit tests, let CI handle that. Verify how the project definitions
- [ ] [Lint passes
- [ ] [No dead code left behind]
After outputting the structured prompt:
You have successfully used this skill when: