linear-dev-accelerator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Linear Development Accelerator

Linear开发加速器

A comprehensive skill for accelerating software development using Linear project management with MCP server integration. This skill enables rapid project setup, intelligent issue management, and streamlined development workflows for web and mobile applications.
这是一项通过Linear项目管理与MCP服务器集成来加速软件开发的综合技能。该技能支持Web和移动应用的快速项目搭建、智能问题管理以及精简的开发工作流。

When to Use This Skill

何时使用此技能

Use this skill when:
  • Starting a new software development project and need to set up Linear project management
  • Managing issues, tasks, and features for frontend, backend, or full-stack applications
  • Organizing development work into sprints/cycles with proper tracking
  • Collaborating with development teams on software projects
  • Automating project management tasks during development
  • Tracking bugs, features, and technical debt systematically
  • Building applications with structured project management workflows
  • Integrating Linear with GitHub for PR-based development
在以下场景中使用此技能:
  • 启动新的软件开发项目,需要搭建Linear项目管理体系
  • 管理前端、后端或全栈应用的问题、任务和功能需求
  • 将开发工作组织到迭代周期(sprint/cycles)中并进行适当跟踪
  • 与开发团队协作开展软件项目
  • 在开发过程中自动化项目管理任务
  • 系统地跟踪Bug、功能需求和技术债务
  • 采用结构化项目管理工作流构建应用
  • 集成Linear与GitHub,实现基于PR的开发

Core Concepts

核心概念

Linear Project Management Philosophy

Linear项目管理理念

Linear emphasizes speed, clarity, and focus for software teams:
  • Issues as First-Class Citizens: Every unit of work is an issue with rich metadata
  • Cycles for Sprint Planning: Time-boxed iterations for focused execution
  • Projects for Product Planning: Higher-level initiatives and roadmaps
  • Teams for Organization: Workspaces for different functions or products
  • Workflows for Process: Custom statuses matching your development process
Linear为软件团队强调速度、清晰性和专注度:
  • 问题作为核心对象:每一项工作单元都是带有丰富元数据的问题
  • 周期用于迭代规划:时间盒式的迭代,聚焦执行效率
  • 项目用于产品规划:更高层级的举措和路线图
  • 团队用于组织管理:不同职能或产品的工作空间
  • 工作流用于流程管控:匹配开发流程的自定义状态

Key Linear Entities

Linear关键实体

  1. Teams: Organizational units (e.g., Frontend, Backend, Mobile)
  2. Issues: Individual tasks, bugs, features, or improvements
  3. Projects: Collections of related issues for larger initiatives
  4. Cycles: Time-boxed iterations (similar to sprints)
  5. Labels: Categorization and filtering mechanism
  6. Statuses: Issue states (Backlog, Todo, In Progress, In Review, Done, Canceled)
  7. Comments: Collaboration and discussion on issues
  8. Documents: Long-form documentation integrated with issues
  1. 团队:组织单元(例如:前端团队、后端团队、移动团队)
  2. 问题:单个任务、Bug、功能需求或改进项
  3. 项目:用于大型举措的相关问题集合
  4. 周期:时间盒式迭代(类似Sprint)
  5. 标签:分类和筛选机制
  6. 状态:问题的状态(待办、计划中、进行中、审核中、已完成、已取消)
  7. 评论:针对问题的协作与讨论
  8. 文档:与问题集成的长格式文档

MCP Server Tools Reference

MCP服务器工具参考

Issue Management

问题管理

list_issues

list_issues

List and filter issues in your workspace.
Common Parameters:
team: Team name or ID
assignee: User ID, name, email, or "me" for your issues
state: Status name or ID (e.g., "In Progress", "Done")
label: Label name or ID for filtering
project: Project name or ID
query: Search in title/description
limit: Number of results (max 250, default 50)
orderBy: "createdAt" or "updatedAt" (default)
includeArchived: Include archived issues (default: true)
Examples:
undefined
列出并筛选工作区中的问题。
常用参数:
team: 团队名称或ID
assignee: 用户ID、名称、邮箱,或使用"me"指代当前用户的问题
state: 状态名称或ID(例如:"In Progress"、"Done")
label: 用于筛选的标签名称或ID
project: 项目名称或ID
query: 在标题/描述中搜索
limit: 结果数量(最大250,默认50)
orderBy: "createdAt"或"updatedAt"(默认)
includeArchived: 是否包含已归档问题(默认:true)
示例:
undefined

Get my current issues

获取我当前处理的问题

assignee: "me" state: "In Progress" limit: 10
assignee: "me" state: "In Progress" limit: 10

Find bugs in a specific project

查找特定项目中的Bug

label: "bug" project: "Mobile App" state: "Todo"
label: "bug" project: "Mobile App" state: "Todo"

Search for authentication-related issues

搜索与认证相关的问题

query: "authentication" team: "Backend"
undefined
query: "authentication" team: "Backend"
undefined

create_issue

create_issue

Create a new issue with full metadata.
Required Parameters:
title: Issue title (clear and concise)
team: Team name or ID
Optional Parameters:
description: Markdown description with details
assignee: User ID, name, email, or "me"
state: State type, name, or ID
priority: 0=None, 1=Urgent, 2=High, 3=Normal, 4=Low
labels: Array of label names or IDs
project: Project name or ID
cycle: Cycle name, number, or ID
parentId: Parent issue ID for sub-issues
dueDate: ISO format date
links: Array of {url, title} objects
Example:
title: "Implement user authentication"
team: "Backend"
description: |
  ## Overview
  Add JWT-based authentication to the API

  ## Tasks
  - [ ] Design auth flow
  - [ ] Implement JWT tokens
  - [ ] Add refresh token logic
  - [ ] Write tests

  ## Acceptance Criteria
  - Secure token generation
  - Token expiration handling
  - Proper error responses
assignee: "me"
priority: 2  # High
labels: ["feature", "authentication", "backend"]
project: "API v2.0"
创建带有完整元数据的新问题。
必填参数:
title: 问题标题(清晰简洁)
team: 团队名称或ID
可选参数:
description: 包含详细信息的Markdown描述
assignee: 用户ID、名称、邮箱,或使用"me"
state: 状态类型、名称或ID
priority: 0=无,1=紧急,2=高,3=普通,4=低
labels: 标签名称或ID数组
project: 项目名称或ID
cycle: 周期名称、编号或ID
parentId: 子问题对应的父问题ID
dueDate: ISO格式日期
links: {url, title}对象数组
示例:
title: "实现用户认证功能"
team: "Backend"
description: |
  ## 概述
  为API添加基于JWT的认证机制

  ## 任务
  - [ ] 设计认证流程
  - [ ] 实现JWT令牌生成
  - [ ] 添加刷新令牌逻辑
  - [ ] 编写测试用例

  ## 验收标准
  - 安全的令牌生成
  - 令牌过期处理
  - 正确的错误响应
assignee: "me"
priority: 2  # 高优先级
labels: ["feature", "authentication", "backend"]
project: "API v2.0"

update_issue

update_issue

Update an existing issue.
Required:
id
(issue ID)
Updatable Fields:
title, description, assignee, state, priority, labels,
project, cycle, parentId, dueDate, estimate, links
Example:
id: "issue-uuid-here"
state: "In Progress"
assignee: "me"
labels: ["feature", "in-development"]
更新现有问题。
必填项:
id
(问题ID)
可更新字段:
title, description, assignee, state, priority, labels,
project, cycle, parentId, dueDate, estimate, links
示例:
id: "issue-uuid-here"
state: "In Progress"
assignee: "me"
labels: ["feature", "in-development"]

get_issue

get_issue

Get detailed issue information including attachments and git branch.
Parameters:
id: Issue ID
Returns: Full issue details with attachments, git branch name, related data
获取包含附件和Git分支的详细问题信息。
参数:
id: 问题ID
返回: 包含附件、Git分支名称及相关数据的完整问题详情

Project Management

项目管理

list_projects

list_projects

List and filter projects.
Parameters:
team: Team name or ID
state: State name or ID
member: User ID, name, email, or "me"
initiative: Initiative name or ID
query: Search project names
limit: Number of results (max 250, default 50)
orderBy: "createdAt" or "updatedAt"
includeArchived: Include archived (default: false)
列出并筛选项目。
参数:
team: 团队名称或ID
state: 状态名称或ID
member: 用户ID、名称、邮箱,或使用"me"
initiative: 举措名称或ID
query: 搜索项目名称
limit: 结果数量(最大250,默认50)
orderBy: "createdAt"或"updatedAt"
includeArchived: 是否包含已归档项目(默认:false)

create_project

create_project

Create a new project.
Required Parameters:
name: Project name
team: Team name or ID
Optional Parameters:
description: Full Markdown description
summary: Concise plaintext summary (max 255 chars)
lead: Project lead (User ID, name, email, or "me")
state: Project state
priority: 0-4 (None, Urgent, High, Medium, Low)
startDate: ISO format date
targetDate: ISO format date
labels: Array of label names or IDs
Example:
name: "Mobile App v2.0"
team: "Mobile"
summary: "Complete redesign of mobile app with new features"
description: |
  # Mobile App v2.0

  ## Goals
  - Modern UI/UX redesign
  - Offline-first architecture
  - Push notifications
  - Real-time sync

  ## Timeline
  Q1 2025 - Design & Planning
  Q2 2025 - Development
  Q3 2025 - Testing & Launch
lead: "me"
priority: 2
startDate: "2025-01-15"
targetDate: "2025-09-30"
labels: ["mobile", "redesign", "major-release"]
创建新项目。
必填参数:
name: 项目名称
team: 团队名称或ID
可选参数:
description: 完整的Markdown描述
summary: 简洁的纯文本摘要(最多255字符)
lead: 项目负责人(用户ID、名称、邮箱,或使用"me")
state: 项目状态
priority: 0-4(无、紧急、高、中、低)
startDate: ISO格式日期
targetDate: ISO格式日期
labels: 标签名称或ID数组
示例:
name: "移动应用v2.0"
team: "Mobile"
summary: "完成移动应用的全面重设计并添加新功能"
description: |
  # 移动应用v2.0

  ## 目标
  - 现代化UI/UX重设计
  - 离线优先架构
  - 推送通知
  - 实时同步

  ## 时间线
  2025年第一季度 - 设计与规划
  2025年第二季度 - 开发
  2025年第三季度 - 测试与发布
lead: "me"
priority: 2
startDate: "2025-01-15"
targetDate: "2025-09-30"
labels: ["mobile", "redesign", "major-release"]

update_project

update_project

Update existing project details.
Required:
id
(project ID)
Updatable: name, description, summary, lead, state, priority, startDate, targetDate, labels
更新现有项目详情。
必填项:
id
(项目ID)
可更新字段: name, description, summary, lead, state, priority, startDate, targetDate, labels

get_project

get_project

Get detailed project information.
Parameters:
query: Project ID or name
获取详细的项目信息。
参数:
query: 项目ID或名称

Labels & Categorization

标签与分类

list_issue_labels

list_issue_labels

List available labels.
Parameters:
team: Team name or ID (optional, for team-specific labels)
name: Filter by label name
limit: Number of results (max 250)
orderBy: "createdAt" or "updatedAt"
列出可用标签。
参数:
team: 团队名称或ID(可选,用于团队专属标签)
name: 按标签名称筛选
limit: 结果数量(最大250)
orderBy: "createdAt"或"updatedAt"

create_issue_label

create_issue_label

Create new label for categorization.
Required:
name: Label name
Optional:
color: Hex color code (e.g., "#10B981")
description: Label description
teamId: Team UUID (omit for workspace label)
isGroup: true for label groups (default: false)
parentId: Parent label UUID for hierarchical labels
Example:
name: "frontend"
color: "#3B82F6"
description: "Frontend-related tasks and features"
teamId: "team-uuid-here"
创建用于分类的新标签。
必填项:
name: 标签名称
可选项:
color: 十六进制颜色代码(例如:"#10B981")
description: 标签描述
teamId: 团队UUID(留空则为工作空间标签)
isGroup: 是否为标签组(默认:false)
parentId: 层级标签的父标签UUID
示例:
name: "frontend"
color: "#3B82F6"
description: "与前端相关的任务和功能"
teamId: "team-uuid-here"

Workflow & Status Management

工作流与状态管理

list_issue_statuses

list_issue_statuses

List available statuses for a team.
Parameters:
team: Team name or ID (required)
Returns: Array of statuses with id, type, name
  • Types: backlog, unstarted, started, completed, canceled
列出团队的可用状态。
参数:
team: 团队名称或ID(必填)
返回: 包含id、type、name的状态数组
  • 类型:backlog(待办)、unstarted(未开始)、started(进行中)、completed(已完成)、canceled(已取消)

get_issue_status

get_issue_status

Get detailed status information.
Parameters:
id: Status ID
name: Status name
team: Team name or ID (required)
获取详细的状态信息。
参数:
id: 状态ID
name: 状态名称
team: 团队名称或ID(必填)

Collaboration

协作功能

list_comments

list_comments

List comments on an issue.
Parameters:
issueId: Issue ID (required)
列出问题的评论。
参数:
issueId: 问题ID(必填)

create_comment

create_comment

Add comment to an issue.
Parameters:
issueId: Issue ID (required)
body: Markdown comment content (required)
parentId: Parent comment ID for replies (optional)
Example:
issueId: "issue-uuid-here"
body: |
  Great progress! A few notes:

  - Consider edge case for expired tokens
  - Add integration test for refresh flow
  - Document the auth header format
为问题添加评论。
参数:
issueId: 问题ID(必填)
body: Markdown格式的评论内容(必填)
parentId: 回复对应的父评论ID(可选)
示例:
issueId: "issue-uuid-here"
body: |
  进展很棒!几点建议:

  - 考虑令牌过期的边缘情况
  - 为刷新流程添加集成测试
  - 记录认证请求头格式

Team & User Management

团队与用户管理

list_teams

list_teams

List all teams in workspace.
Parameters:
query: Search query (optional)
limit: Number of results (max 250)
includeArchived: Include archived teams (default: false)
列出工作空间中的所有团队。
参数:
query: 搜索关键词(可选)
limit: 结果数量(最大250)
includeArchived: 是否包含已归档团队(默认:false)

get_team

get_team

Get detailed team information.
Parameters:
query: Team UUID, key, or name
获取详细的团队信息。
参数:
query: 团队UUID、标识或名称

list_users

list_users

List users in workspace.
Parameters:
query: Filter by name or email (optional)
列出工作空间中的用户。
参数:
query: 按名称或邮箱筛选(可选)

get_user

get_user

Get user details.
Parameters:
query: User ID, name, email, or "me"
获取用户详情。
参数:
query: 用户ID、名称、邮箱,或使用"me"

Cycles (Sprint Planning)

迭代周期(Sprint规划)

list_cycles

list_cycles

Get cycles for a team.
Parameters:
teamId: Team ID (required)
type: "current", "previous", "next", or omit for all
获取团队的迭代周期。
参数:
teamId: 团队ID(必填)
type: "current"(当前)、"previous"(上一个)、"next"(下一个),留空则返回所有

Documentation

文档管理

list_documents

list_documents

List Linear documents.
Parameters:
query: Search query
creatorId: Creator user ID
projectId: Project ID
initiativeId: Initiative ID
limit: Number of results (max 250)
orderBy: "createdAt" or "updatedAt"
includeArchived: Include archived (default: false)
列出Linear文档。
参数:
query: 搜索关键词
creatorId: 创建者用户ID
projectId: 项目ID
initiativeId: 举措ID
limit: 结果数量(最大250)
orderBy: "createdAt"或"updatedAt"
includeArchived: 是否包含已归档文档(默认:false)

get_document

get_document

Get document by ID or slug.
Parameters:
id: Document ID or slug
通过ID或别名获取文档。
参数:
id: 文档ID或别名

Development Workflow Patterns

开发工作流模式

Pattern 1: New Feature Development

模式1:新功能开发

Scenario: Building a new feature for a web application
workflow
1. Create feature issue
   - Use create_issue with:
     - Clear title: "Add dark mode toggle"
     - Detailed description with tasks and acceptance criteria
     - Assign to yourself or team member
     - Add labels: ["feature", "frontend", "ui"]
     - Link to project: "Q1 Features"
     - Set priority based on urgency

2. Break down into sub-tasks (if complex)
   - Create child issues with parentId
   - Each sub-task is a manageable unit of work
   - Example sub-tasks:
     - "Design dark mode color scheme"
     - "Implement theme context in React"
     - "Add toggle button component"
     - "Persist theme preference"

3. Track progress
   - Update issue state as you work:
     - Todo → In Progress → In Review → Done
   - Add comments with updates and blockers
   - Link PR when ready for review

4. Complete and review
   - Update state to "In Review"
   - Add links to PR, deployed preview
   - Mark as Done when merged and deployed
场景: 为Web应用开发新功能
workflow
1. 创建功能需求问题
   - 使用create_issue接口,参数包括:
     - 清晰的标题:"添加深色模式切换按钮"
     - 包含任务和验收标准的详细描述
     - 分配给自己或团队成员
     - 添加标签:["feature", "frontend", "ui"]
     - 关联项目:"Q1功能集合"
     - 根据紧急程度设置优先级

2. 拆分子任务(如果功能复杂)
   - 使用parentId创建子问题
   - 每个子任务都是可管理的工作单元
   - 子任务示例:
     - "设计深色模式配色方案"
     - "在React中实现主题上下文"
     - "添加切换按钮组件"
     - "持久化主题偏好设置"

3. 跟踪进度
   - 在工作过程中更新问题状态:
     - 待办 → 进行中 → 审核中 → 已完成
   - 添加评论更新进展和阻塞问题
   - 准备好审核时关联PR

4. 完成与审核
   - 将状态更新为"审核中"
   - 添加PR链接和部署预览地址
   - 合并并部署后标记为"已完成"

Pattern 2: Bug Triage and Fix

模式2:Bug分类与修复

Scenario: Handling bug reports efficiently
workflow
1. Create bug issue
   - title: Clear description of the bug
   - description: Steps to reproduce, expected/actual behavior
   - labels: ["bug", "priority:high"] if critical
   - assignee: Developer responsible for that area
   - Add links to error logs, screenshots

2. Investigation
   - Update to "In Progress"
   - Add comments with findings
   - Link to related issues if discovered
   - Update priority if needed

3. Fix implementation
   - Reference issue in commit messages
   - Link PR to issue
   - Add comment explaining fix approach

4. Verification and closure
   - State: "In Review" during QA
   - State: "Done" after verification
   - Add comment confirming fix is deployed
场景: 高效处理Bug报告
workflow
1. 创建Bug问题
   - 标题:清晰描述Bug现象
   - 描述:复现步骤、预期/实际行为
   - 标签:["bug", "priority:high"](如果是严重Bug)
   - 分配给负责该模块的开发人员
   - 添加错误日志、截图链接

2. 调查分析
   - 将状态更新为"进行中"
   - 添加评论记录调查结果
   - 如果发现关联问题,添加链接
   - 必要时更新优先级

3. 修复实现
   - 在提交信息中引用Linear问题
   - 将PR链接到问题
   - 添加评论说明修复方案

4. 验证与关闭
   - QA阶段设置状态为"审核中"
   - 验证通过后设置为"已完成"
   - 添加评论确认修复已部署

Pattern 3: Sprint/Cycle Planning

模式3:迭代周期规划

Scenario: Planning a 2-week development cycle
workflow
1. Review backlog
   - list_issues with state: "Backlog"
   - Filter by priority and labels
   - Identify issues ready for development

2. Create or select cycle
   - list_cycles to see current cycle
   - Organize selected issues into cycle

3. Assign and prioritize
   - Distribute issues across team
   - Set priorities: Urgent (1) → High (2) → Normal (3)
   - Balance workload across team members

4. Daily tracking
   - list_issues with assignee: "me", state: "In Progress"
   - Update issue states as work progresses
   - Add comments for standup updates
   - Move blocked issues back to Todo

5. Cycle review
   - List completed issues in cycle
   - Review metrics (velocity, completion rate)
   - Move incomplete issues to next cycle or backlog
场景: 规划2周的开发周期
workflow
1. 评审待办列表
   - 使用list_issues接口,state设置为"Backlog"
   - 按优先级和标签筛选
   - 确定可进入开发的问题

2. 创建或选择迭代周期
   - 使用list_cycles查看当前周期
   - 将选中的问题加入周期

3. 分配与优先级设置
   - 将问题分配给团队成员
   - 设置优先级:紧急(1) → 高(2) → 普通(3)
   - 平衡团队成员的工作量

4. 日常跟踪
   - 使用list_issues接口,assignee为"me",state为"In Progress"
   - 工作进展时更新问题状态
   - 添加评论用于站会更新
   - 将阻塞的问题移回待办

5. 周期评审
   - 列出周期内已完成的问题
   - 评审指标(交付速度、完成率)
   - 将未完成的问题移至下一个周期或待办列表

Pattern 4: Project Setup for New Application

模式4:新应用项目搭建

Scenario: Starting a new mobile app project
workflow
1. Create project
   - name: "Mobile App - iOS & Android"
   - description: Full project scope, goals, timeline
   - Set lead, dates, labels
   - Link to design docs, PRD

2. Set up project structure
   - Create initial issues for setup:
     - "Setup React Native project"
     - "Configure CI/CD pipeline"
     - "Design component architecture"
     - "Setup state management"
   - Assign to team members
   - Add to project

3. Create epics (major features)
   - Authentication system
   - User profile management
   - Core app functionality
   - Push notifications
   - Each epic is a parent issue with sub-issues

4. Organize into cycles
   - Cycle 1: Project setup & architecture
   - Cycle 2-3: Core features
   - Cycle 4: Polish & testing
   - Assign issues to appropriate cycles

5. Track progress
   - Update project description with status
   - Weekly reviews with get_project
   - Adjust priorities and timeline as needed
场景: 启动新的移动应用项目
workflow
1. 创建项目
   - 名称:"移动应用 - iOS & Android"
   - 描述:完整的项目范围、目标、时间线
   - 设置负责人、日期、标签
   - 关联设计文档、产品需求文档(PRD)

2. 搭建项目结构
   - 创建初始化设置的问题:
     - "搭建React Native项目"
     - "配置CI/CD流水线"
     - "设计组件架构"
     - "搭建状态管理系统"
   - 分配给团队成员
   - 关联到项目

3. 创建史诗级需求(主要功能)
   - 认证系统
   - 用户资料管理
   - 核心应用功能
   - 推送通知
   - 每个史诗级需求作为父问题,包含子问题

4. 组织到迭代周期
   - 周期1:项目搭建与架构设计
   - 周期2-3:核心功能开发
   - 周期4:优化与测试
   - 将问题分配到对应周期

5. 跟踪进度
   - 更新项目描述以反映状态
   - 使用get_project进行每周评审
   - 根据需要调整优先级和时间线

Pattern 5: GitHub Integration Workflow

模式5:GitHub集成工作流

Scenario: Linking Linear issues with GitHub PRs
workflow
1. Create issue in Linear
   - Get git branch name from issue: issue.gitBranchName
   - Example: "cetiaiservices/cet-95-create-benchmark-methodology-guide"

2. Create branch using Linear's suggested name
   - Ensures automatic linking
   - Linear tracks PR status automatically

3. Development
   - Commit with Linear issue reference: "CET-95: Add benchmark docs"
   - Linear updates issue automatically when PR created

4. Code review
   - PR opened → Linear sets state to "In Review"
   - Comments on PR can sync to Linear
   - Review feedback tracked in both systems

5. Merge and deploy
   - PR merged → Linear can auto-complete issue
   - Deployment triggers update Linear with links
   - Full traceability from issue → PR → deployment
场景: 关联Linear问题与GitHub PR
workflow
1. 在Linear中创建问题
   - 从问题中获取Git分支名称:issue.gitBranchName
   - 示例:"cetiaiservices/cet-95-create-benchmark-methodology-guide"

2. 使用Linear建议的名称创建分支
   - 确保自动关联
   - Linear会自动跟踪PR状态

3. 开发阶段
   - 提交信息中引用Linear问题:"CET-95: 添加基准测试文档"
   - 创建PR时Linear自动更新问题状态

4. 代码评审
   - PR创建后 → Linear将问题状态设置为"审核中"
   - PR中的评论可同步到Linear
   - 评审反馈在两个系统中跟踪

5. 合并与部署
   - PR合并后 → Linear可自动标记问题为完成
   - 部署触发时更新Linear并添加链接
   - 实现从问题→PR→部署的完整可追溯性

Accelerated Development Strategies

加速开发策略

Strategy 1: Batch Issue Creation

策略1:批量创建问题

When starting a project, create all known issues in one go:
example
// Create multiple related issues
const features = [
  "User registration and login",
  "Password reset flow",
  "Email verification",
  "Social auth (Google, GitHub)",
  "Two-factor authentication"
];

// For each feature, create issue with:
- Consistent labeling: ["auth", "feature"]
- Link to parent project: "Authentication System"
- Assign to team members based on expertise
- Set due dates based on project timeline
启动项目时,一次性创建所有已知问题:
example
// 创建多个相关问题
const features = [
  "用户注册与登录",
  "密码重置流程",
  "邮箱验证",
  "社交账号登录(Google、GitHub)",
  "双因素认证"
];

// 为每个功能创建问题,包含:
- 统一标签:["auth", "feature"]
- 关联父项目:"认证系统"
- 根据专业技能分配给团队成员
- 根据项目时间线设置截止日期

Strategy 2: Smart Filtering for Focus

策略2:智能筛选聚焦工作

Use filters to reduce cognitive load:
example
// Morning: What do I need to work on today?
assignee: "me"
state: "In Progress"
orderBy: "updatedAt"

// Planning: What's in the backlog for my team?
team: "Frontend"
state: "Backlog"
priority: 2  // High priority items
labels: ["ready-for-dev"]

// Review: What needs my attention?
assignee: "me"
state: "In Review"
orderBy: "createdAt"  // Oldest first
使用筛选减少认知负担:
example
// 早晨:今天需要处理的工作
assignee: "me"
state: "In Progress"
orderBy: "updatedAt"

// 规划:团队待办列表中的内容
team: "Frontend"
state: "Backlog"
priority: 2  // 高优先级项
labels: ["ready-for-dev"]

// 评审:需要我关注的内容
assignee: "me"
state: "In Review"
orderBy: "createdAt"  // 先处理最早的

Strategy 3: Template-Based Issue Creation

策略3:基于模板创建问题

Create consistent issues using templates:
example
// Bug report template
title: "[BUG] {concise description}"
description: |
  ## Bug Description
  {What's wrong?}

  ## Steps to Reproduce
  1. {Step 1}
  2. {Step 2}
  3. {Step 3}

  ## Expected Behavior
  {What should happen}

  ## Actual Behavior
  {What actually happens}

  ## Environment
  - Browser: {browser}
  - OS: {OS}
  - Version: {version}

  ## Additional Context
  {Screenshots, logs, etc.}
labels: ["bug", "needs-triage"]
priority: 3  // Default to normal, adjust after triage

// Feature request template
title: "[FEATURE] {feature name}"
description: |
  ## Feature Description
  {What feature do you want?}

  ## User Story
  As a {user type}
  I want {goal}
  So that {benefit}

  ## Acceptance Criteria
  - [ ] {Criterion 1}
  - [ ] {Criterion 2}
  - [ ] {Criterion 3}

  ## Design Notes
  {Link to designs, wireframes}

  ## Technical Notes
  {Implementation considerations}
labels: ["feature", "needs-refinement"]
使用模板创建格式统一的问题:
example
// Bug报告模板
title: "[BUG] {简洁描述}"
description: |
  ## Bug描述
  {问题是什么?}

  ## 复现步骤
  1. {步骤1}
  2. {步骤2}
  3. {步骤3}

  ## 预期行为
  {应该发生什么}

  ## 实际行为
  {实际发生了什么}

  ## 环境信息
  - 浏览器:{浏览器}
  - 操作系统:{OS}
  - 版本:{version}

  ## 额外信息
  {截图、日志等}
labels: ["bug", "needs-triage"]
priority: 3  // 默认普通优先级,分类后调整

// 功能需求模板
title: "[FEATURE] {功能名称}"
description: |
  ## 功能描述
  {你需要什么功能?}

  ## 用户故事
  作为{用户类型}
  我希望{目标}
  以便{收益}

  ## 验收标准
  - [ ] {标准1}
  - [ ] {标准2}
  - [ ] {标准3}

  ## 设计说明
  {设计稿、线框图链接}

  ## 技术说明
  {实现注意事项}
labels: ["feature", "needs-refinement"]

Strategy 4: Automated Status Updates

策略4:自动化状态更新

Update issues as part of your development workflow:
example
// In CI/CD pipeline:
- Tests passing → Add comment with test results
- Deploy to staging → Update with staging URL
- Deploy to production → Mark as Done, add production URL

// In git hooks:
- Pre-commit: Verify issue reference in commit message
- Post-merge: Update Linear issue status
- Tag creation: Link release to completed issues
将问题更新融入开发工作流:
example
// 在CI/CD流水线中:
- 测试通过 → 添加评论附上测试结果
- 部署到预发布环境 → 更新问题并添加预发布地址
- 部署到生产环境 → 标记为已完成,添加生产地址

// 在Git钩子中:
- 提交前:验证提交信息中是否引用了问题
- 合并后:更新Linear问题状态
- 创建标签:将版本与已完成的问题关联

Strategy 5: Cross-Functional Coordination

策略5:跨职能协调

Use Linear for coordinating frontend/backend/mobile work:
example
// Create parent issue for full-stack feature
Parent: "User Dashboard Feature"
  ├─ Child: "[Backend] Dashboard API endpoints"
  │   └─ labels: ["backend", "api"]
  ├─ Child: "[Frontend] Dashboard React components"
  │   └─ labels: ["frontend", "react"]
  └─ Child: "[Mobile] Dashboard mobile screens"
      └─ labels: ["mobile", "flutter"]

// Track dependencies
- Backend issue must complete first
- Frontend/Mobile can work in parallel after API ready
- Use "blocked" relation type to track dependencies
使用Linear协调前端/后端/移动端工作:
example
// 为全栈功能创建父问题
父问题:"用户仪表盘功能"
  ├─ 子问题:"[后端] 仪表盘API接口"
  │   └─ 标签:["backend", "api"]
  ├─ 子问题:"[前端] 仪表盘React组件"
  │   └─ 标签:["frontend", "react"]
  └─ 子问题:"[移动端] 仪表盘移动端界面"
      └─ 标签:["mobile", "flutter"]

// 跟踪依赖关系
- 后端问题必须先完成
- API就绪后,前端/移动端可并行开发
- 使用"blocked"关系类型跟踪依赖

Best Practices

最佳实践

Issue Creation

问题创建

  1. Clear Titles: Start with verb (Add, Fix, Update, Refactor)
  2. Rich Descriptions: Use markdown, checklists, code blocks
  3. Proper Labeling: Consistent label taxonomy
  4. Right Sizing: Issues should be completable in 1-3 days
  5. Acceptance Criteria: Always define "done"
  1. 清晰的标题:以动词开头(添加、修复、更新、重构)
  2. 丰富的描述:使用Markdown、任务列表、代码块
  3. 规范的标签:统一的标签分类体系
  4. 合理的粒度:问题应在1-3天内可完成
  5. 明确的验收标准:始终定义“完成”的标准

Project Organization

项目组织

  1. One Project Per Initiative: Don't create too many projects
  2. Use Labels for Categorization: More flexible than projects
  3. Regular Cleanup: Archive completed projects
  4. Clear Ownership: Every project needs a lead
  5. Linked Documentation: Keep project descriptions updated
  1. 每个举措对应一个项目:不要创建过多项目
  2. 使用标签进行分类:比项目更灵活
  3. 定期清理:归档已完成的项目
  4. 明确的所有权:每个项目都需要负责人
  5. 关联文档:保持项目描述更新

Workflow Management

工作流管理

  1. Limit Work in Progress: Max 3 "In Progress" issues per person
  2. Update Status Promptly: Keep issues current
  3. Use Comments Liberally: Document decisions and blockers
  4. Link Related Issues: Build context through relations
  5. Complete Issues Fully: Don't leave zombie issues
  1. 限制在办工作:每人最多3个“进行中”问题
  2. 及时更新状态:保持问题状态最新
  3. 充分使用评论:记录决策和阻塞问题
  4. 关联相关问题:通过关系构建上下文
  5. 彻底完成问题:不要遗留“僵尸问题”

Team Collaboration

团队协作

  1. Assign Clearly: Every issue should have one owner
  2. Use @mentions: Tag people in comments for visibility
  3. Regular Reviews: Weekly project/cycle reviews
  4. Celebrate Wins: Mark milestones and achievements
  5. Share Context: Link to PRs, docs, designs
  1. 明确分配:每个问题应有唯一负责人
  2. 使用@提及:在评论中标记相关人员以提高可见性
  3. 定期评审:每周进行项目/周期评审
  4. 庆祝成果:标记里程碑和成就
  5. 共享上下文:关联PR、文档、设计稿

Label Taxonomy

标签分类体系

Recommended label categories:
Type Labels:
- feature, bug, improvement, docs, refactor, test

Priority Labels:
- priority:urgent, priority:high, priority:normal, priority:low

Area Labels:
- frontend, backend, mobile, devops, design, qa

Status Labels:
- blocked, ready-for-dev, needs-review, waiting-on-qa

Technology Labels:
- react, flutter, python, node, postgres, redis
推荐的标签类别:
类型标签:
- feature, bug, improvement, docs, refactor, test

优先级标签:
- priority:urgent, priority:high, priority:normal, priority:low

领域标签:
- frontend, backend, mobile, devops, design, qa

状态标签:
- blocked, ready-for-dev, needs-review, waiting-on-qa

技术标签:
- react, flutter, python, node, postgres, redis

Integration with Development Tools

与开发工具的集成

GitHub Integration

GitHub集成

  • Use Linear's suggested git branch names
  • Reference Linear issues in commit messages: "CET-123: Add feature"
  • PRs automatically link to Linear issues
  • PR status updates Linear issue status
  • Merge events can auto-complete issues
  • 使用Linear建议的Git分支名称
  • 在提交信息中引用Linear问题:"CET-123: 添加功能"
  • PR自动关联到Linear问题
  • PR状态更新Linear问题状态
  • 合并事件可自动完成问题

CI/CD Integration

CI/CD集成

  • Post test results as comments on Linear issues
  • Update issues on deploy events
  • Link deployment URLs in issue comments
  • Track deployment status per issue
  • 将测试结果作为评论发布到Linear问题
  • 部署事件时更新问题
  • 在问题评论中关联部署地址
  • 跟踪每个问题的部署状态

Slack Integration

Slack集成

  • Get notifications for assigned issues
  • Update Linear from Slack
  • Share issue links in team channels
  • Daily standup reminders with your issues
  • 获取分配给自己的问题通知
  • 从Slack更新Linear
  • 在团队频道中共享问题链接
  • 每日站会提醒你的待办问题

Common Workflows for Application Types

不同类型应用的通用工作流

Frontend Application Development

前端应用开发

workflow
1. Design → Development workflow:
   - Create issue from design handoff
   - labels: ["frontend", "ui", "design-ready"]
   - Link to Figma/design files
   - Break into component-level issues

2. Component development:
   - Parent: "User Profile Page"
     ├─ "ProfileHeader component"
     ├─ "ProfileStats component"
     ├─ "ProfileSettings component"
     └─ "Profile routing and layout"

3. Integration and testing:
   - Create issues for:
     - Integration testing
     - Accessibility audit
     - Performance optimization
     - Browser compatibility testing
workflow
1. 设计→开发工作流:
   - 根据设计交付创建问题
   - 标签:["frontend", "ui", "design-ready"]
   - 关联Figma/设计文件
   - 拆分为组件级问题

2. 组件开发:
   - 父问题:"用户资料页面"
     ├─ "ProfileHeader组件"
     ├─ "ProfileStats组件"
     ├─ "ProfileSettings组件"
     └─ "资料页面路由与布局"

3. 集成与测试:
   - 创建以下问题:
     - 集成测试
     - 可访问性审计
     - 性能优化
     - 浏览器兼容性测试

Full-Stack Application Development

全栈应用开发

workflow
1. Feature planning:
   - Parent issue: "Payment Processing Feature"
   - Children:
     - Database schema design
     - API endpoint implementation
     - Frontend payment form
     - Payment provider integration
     - Error handling and logging
     - Testing (unit, integration, E2E)

2. Parallel development:
   - Backend team: API and database
   - Frontend team: UI components (mocked API)
   - Coordinate through Linear comments
   - Track blockers and dependencies

3. Integration phase:
   - Create integration testing issue
   - Link all related issues
   - Coordinate deployment
workflow
1. 功能规划:
   - 父问题:"支付处理功能"
   - 子问题:
     - 数据库表结构设计
     - API接口实现
     - 前端支付表单
     - 支付服务商集成
     - 错误处理与日志
     - 测试(单元、集成、端到端)

2. 并行开发:
   - 后端团队:开发API和数据库
   - 前端团队:开发UI组件(使用模拟API)
   - 通过Linear评论协调
   - 跟踪阻塞和依赖关系

3. 集成阶段:
   - 创建集成测试问题
   - 关联所有相关问题
   - 协调部署

Mobile Application Development

移动应用开发

workflow
1. Platform-specific tracking:
   - labels: ["ios", "android", "shared"]
   - Track platform-specific bugs separately
   - Share code issues labeled "shared"

2. Release management:
   - Project per release: "iOS v2.1.0"
   - Issues per feature/fix in release
   - Track App Store/Play Store submissions
   - Link to release notes

3. Testing workflow:
   - Device testing: Track per device type
   - OS version compatibility
   - Performance on different hardware
   - Beta testing feedback
workflow
1. 平台专属跟踪:
   - 标签:["ios", "android", "shared"]
   - 单独跟踪平台专属Bug
   - 共享代码问题标记为"shared"

2. 版本管理:
   - 每个版本对应一个项目:"iOS v2.1.0"
   - 版本中的每个功能/修复对应一个问题
   - 跟踪App Store/Play Store提交状态
   - 关联版本说明

3. 测试工作流:
   - 设备测试:按设备类型跟踪
   - 操作系统版本兼容性
   - 不同硬件上的性能
   - Beta测试反馈

Troubleshooting

故障排除

Common Issues

常见问题

Issue not appearing in filters
  • Check if archived: Set includeArchived: true
  • Verify team name/ID is correct
  • Check status matches expected state
Cannot create issue
  • Ensure team parameter is provided (required)
  • Verify label names exist if using labels
  • Check project name/ID is valid
  • Ensure assignee exists in workspace
Cannot update issue
  • Verify issue ID is correct (use get_issue first)
  • Check you have permission to modify issue
  • Ensure state name is valid (use list_issue_statuses)
  • Verify label names exist
Projects not loading
  • Check includeArchived setting
  • Verify team filter is correct
  • Try without filters to see all projects
问题未出现在筛选结果中
  • 检查是否已归档:设置includeArchived为true
  • 验证团队名称/ID是否正确
  • 检查状态是否与预期匹配
无法创建问题
  • 确保提供了team参数(必填)
  • 如果使用标签,验证标签名称是否存在
  • 检查项目名称/ID是否有效
  • 确保被分配人存在于工作空间中
无法更新问题
  • 验证问题ID是否正确(先使用get_issue确认)
  • 检查你是否有修改问题的权限
  • 确保状态名称有效(使用list_issue_statuses查看)
  • 验证标签名称是否存在
项目无法加载
  • 检查includeArchived设置
  • 验证团队筛选条件是否正确
  • 尝试不使用筛选查看所有项目

Advanced Usage

高级用法

Automated Project Setup

自动化项目搭建

Create a complete project structure programmatically:
example
1. Create project
2. Create label set for project
3. Create epic issues (parent issues)
4. Create sub-issues for each epic
5. Assign issues to team members
6. Organize into first cycle
7. Generate project documentation
通过编程方式创建完整的项目结构:
example
1. 创建项目
2. 为项目创建标签集
3. 创建史诗级问题(父问题)
4. 为每个史诗级问题创建子问题
5. 将问题分配给团队成员
6. 组织到第一个迭代周期
7. 生成项目文档

Metrics and Reporting

指标与报告

Track development metrics:
example
// Velocity tracking
- Issues completed per cycle
- Average time to complete
- Blockers frequency

// Quality metrics
- Bug rate per feature
- Time to fix bugs
- Reopened issues

// Team metrics
- Issues per team member
- Workload balance
- Completion rates
跟踪开发指标:
example
// 交付速度跟踪
- 每个周期完成的问题数量
- 平均完成时间
- 阻塞问题频率

// 质量指标
- 每个功能的Bug率
- Bug修复时间
- 重新打开的问题数量

// 团队指标
- 每个团队成员的问题数量
- 工作量平衡
- 完成率

Custom Workflows

自定义工作流

Design workflows matching your process:
example
// Example: Feature flag workflow
States:
1. Backlog (unstarted)
2. Ready for Dev (unstarted)
3. In Development (started)
4. In Review (started)
5. In QA (started)
6. Deployed with Flag (started)
7. Flag Enabled (started)
8. Monitoring (started)
9. Flag Removed (completed)
10. Done (completed)
设计匹配自身流程的工作流:
example
// 示例:功能开关工作流
状态:
1. 待办(未开始)
2. 准备开发(未开始)
3. 开发中(进行中)
4. 审核中(进行中)
5. QA中(进行中)
6. 已部署并启用开关(进行中)
7. 开关已启用(进行中)
8. 监控中(进行中)
9. 开关已移除(已完成)
10. 已完成(已完成)

Quick Reference

快速参考

Essential Shortcuts

常用快捷筛选

My active work:
  assignee: "me", state: "In Progress"

Team backlog:
  team: "{team-name}", state: "Backlog", orderBy: "updatedAt"

High priority issues:
  priority: 2, state: "Todo", orderBy: "createdAt"

Recently updated:
  orderBy: "updatedAt", limit: 20

Bugs needing triage:
  label: "bug", state: "Backlog", orderBy: "createdAt"
我的当前工作:
  assignee: "me", state: "In Progress"

团队待办列表:
  team: "{team-name}", state: "Backlog", orderBy: "updatedAt"

高优先级问题:
  priority: 2, state: "Todo", orderBy: "createdAt"

最近更新的问题:
  orderBy: "updatedAt", limit: 20

需要分类的Bug:
  label: "bug", state: "Backlog", orderBy: "createdAt"

Issue Creation Template

问题创建模板

title: "[TYPE] Clear, actionable title"
description: |
  ## Overview
  {What and why}

  ## Tasks
  - [ ] Task 1
  - [ ] Task 2

  ## Acceptance Criteria
  - Criterion 1
  - Criterion 2
team: "{team-name}"
assignee: "me"
labels: ["{type}", "{area}", "{priority}"]
project: "{project-name}"
priority: 3
title: "[类型] 清晰、可执行的标题"
description: |
  ## 概述
  {内容和原因}

  ## 任务
  - [ ] 任务1
  - [ ] 任务2

  ## 验收标准
  - 标准1
  - 标准2
team: "{team-name}"
assignee: "me"
labels: ["{type}", "{area}", "{priority}"]
project: "{project-name}"
priority: 3

Resources

资源


Skill Version: 1.0.0 Last Updated: October 2025 Skill Category: Project Management, Development Acceleration, Team Collaboration Compatible With: Linear MCP Server, GitHub, CI/CD pipelines

技能版本:1.0.0 最后更新:2025年10月 技能分类:项目管理、开发加速、团队协作 兼容工具:Linear MCP Server、GitHub、CI/CD流水线