work-on-linear-issue
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWork on Linear Issue
处理Linear工单
Fetches issue details from Linear and guides you through creating a comprehensive implementation plan.
从Linear获取工单详情,并引导你制定全面的实施计划。
When to Use
适用场景
- When starting work on a Linear issue
- When you need to analyze and plan implementation for an issue
- When onboarding to a new task from Linear
- 开始处理Linear工单时
- 需要分析并规划工单的实施工作时
- 接手来自Linear的新任务时
Prerequisites
前提条件
- environment variable must be set (can also be in
LINEAR_API_KEYfile).env - and
curlmust be installedjq
- 必须设置环境变量(也可存储在
LINEAR_API_KEY文件中).env - 必须安装和
curl工具jq
Usage
使用方法
bash
builtin:///skills/scripts/work-on-linear-issue <issue-abbreviation>Examples:
bash
builtin:///skills/scripts/work-on-linear-issue MC-123
builtin:///skills/scripts/work-on-linear-issue https://linear.app/abc/issue/MC-123/issue-titlebash
builtin:///skills/scripts/work-on-linear-issue <issue-abbreviation>示例:
bash
builtin:///skills/scripts/work-on-linear-issue MC-123
builtin:///skills/scripts/work-on-linear-issue https://linear.app/abc/issue/MC-123/issue-titleWorkflow
工作流程
"AI models are geniuses who start from scratch on every task." — Noam Brown
Onboard yourself to the current task:
• Use ultrathink.
• Explore the codebase.
• Ask questions if needed.
Goal: Be fully prepared to start working on the task.
Take as long as you need to prepare. Over-preparation is better than under-preparation.
“AI模型是在每项任务中都从零开始的天才。”——诺姆·布朗
快速上手当前任务:
• 使用ultrathink工具。
• 探索代码库。
• 如有需要可提出问题。
目标:为开始处理任务做好充分准备。
准备时间可自行安排,过度准备好过准备不足。
Planning Tasks
规划任务
-
Review the issue details fetched from Linear
-
Examine relevant parts of the codebase
-
Analyze existing patterns and potential issues
-
Create a comprehensive plan considering:
- Required code changes
- Potential impacts on other parts of the system
- Necessary tests to be written or updated
- Documentation updates
- Performance considerations
- Security implications
- Backwards compatibility (if applicable)
- Reference links to featurebase or user request sources
-
Think deeply about edge cases, potential challenges, and best practices
-
ASK FOR EXPLICIT APPROVAL before starting on the TODO list
Remember: Your task is to create a plan, not to implement changes. Focus on providing a thorough, well-thought-out strategy, then ASK FOR APPROVAL BEFORE STARTING WORK.
-
查看从Linear获取的工单详情
-
检查代码库的相关部分
-
分析现有模式和潜在问题
-
制定全面计划时需考虑以下方面:
- 所需的代码变更
- 对系统其他部分的潜在影响
- 需要编写或更新的测试用例
- 文档更新
- 性能考量
- 安全影响
- 向后兼容性(如适用)
- 功能库或用户请求来源的参考链接
-
深入思考边缘案例、潜在挑战和最佳实践
-
在开始处理待办事项前,务必明确请求批准
注意:你的任务是制定计划,而非实施变更。专注于提供周全、经过深思熟虑的策略,然后在开始工作前请求批准。