linear-claude-skill
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen to Use This Skill
何时使用此技能
Manage Linear issues, projects, and teams
Use this skill when working with manage linear issues, projects, and teams.
管理Linear的任务、项目与团队
当你需要管理Linear的任务、项目与团队时,使用此技能。
Linear
Linear
Tools and workflows for managing issues, projects, and teams in Linear.
用于在Linear中管理任务、项目与团队的工具和工作流。
⚠️ Tool Availability (READ FIRST)
⚠️ 工具可用性(请先阅读)
This skill supports multiple tool backends. Use whichever is available:
- MCP Tools (mcp__linear) - Use if available in your tool set
- Linear CLI (command) - Always available via Bash
linear - Helper Scripts - For complex operations
If MCP tools are NOT available, use the Linear CLI via Bash:
bash
undefined此技能支持多种工具后端。使用任何可用的工具即可:
- MCP Tools (mcp__linear) - 如果你的工具集中有此工具,请使用它
- Linear CLI(命令) - 可通过Bash随时使用
linear - 辅助脚本 - 用于复杂操作
如果MCP工具不可用,请通过Bash使用Linear CLI:
bash
undefinedView an issue
View an issue
linear issues view ENG-123
linear issues view ENG-123
Create an issue
Create an issue
linear issues create --title "Issue title" --description "Description"
linear issues create --title "Issue title" --description "Description"
Update issue status (get state IDs first)
Update issue status (get state IDs first)
linear issues update ENG-123 -s "STATE_ID"
linear issues update ENG-123 -s "STATE_ID"
Add a comment
Add a comment
linear issues comment add ENG-123 -m "Comment text"
linear issues comment add ENG-123 -m "Comment text"
List issues
List issues
linear issues list
**Do NOT report "MCP tools not available" as a blocker** - use CLI instead.
---linear issues list
**不要将“MCP工具不可用”报告为障碍** - 改用CLI即可。
---When to Use This Skill
何时使用此技能
Manage Linear issues, projects, and teams
Use this skill when working with manage linear issues, projects, and teams.
管理Linear的任务、项目与团队
当你需要管理Linear的任务、项目与团队时,使用此技能。
🔐 Security: Varlock Integration
🔐 安全性:Varlock集成
CRITICAL: Never expose API keys in terminal output or Claude's context.
至关重要:切勿在终端输出或Claude的上下文环境中暴露API密钥。
Safe Commands (Always Use)
安全命令(请始终使用)
bash
undefinedbash
undefinedValidate LINEAR_API_KEY is set (masked output)
Validate LINEAR_API_KEY is set (masked output)
varlock load 2>&1 | grep LINEAR
varlock load 2>&1 | grep LINEAR
Run commands with secrets injected
Run commands with secrets injected
varlock run -- npx tsx scripts/query.ts "query { viewer { name } }"
varlock run -- npx tsx scripts/query.ts "query { viewer { name } }"
Check schema (safe - no values)
Check schema (safe - no values)
cat .env.schema | grep LINEAR
undefinedcat .env.schema | grep LINEAR
undefinedUnsafe Commands (NEVER Use)
不安全命令(切勿使用)
bash
undefinedbash
undefined❌ NEVER - exposes key to Claude's context
❌ NEVER - exposes key to Claude's context
linear config show
echo $LINEAR_API_KEY
printenv | grep LINEAR
cat .env
undefinedlinear config show
echo $LINEAR_API_KEY
printenv | grep LINEAR
cat .env
undefinedSetup for New Projects
新项目设置
-
Createwith
.env.schemaannotation:@sensitivebash# @type=string(startsWith=lin_api_) @required @sensitive LINEAR_API_KEY= -
Addto
LINEAR_API_KEY(never commit this file).env -
Configure MCP to use environment variable:json
{ "mcpServers": { "linear": { "env": { "LINEAR_API_KEY": "${LINEAR_API_KEY}" } } } } -
Useto validate before operations
varlock load
-
创建带有注解的
@sensitive:.env.schemabash# @type=string(startsWith=lin_api_) @required @sensitive LINEAR_API_KEY= -
将添加到
LINEAR_API_KEY中(切勿提交此文件).env -
配置MCP以使用环境变量:json
{ "mcpServers": { "linear": { "env": { "LINEAR_API_KEY": "${LINEAR_API_KEY}" } } } } -
在操作前使用验证配置
varlock load
Quick Start (First-Time Users)
快速入门(首次使用者)
1. Check Your Setup
1. 检查你的设置
Run the setup check to verify your configuration:
bash
npx tsx ~/.claude/skills/linear/scripts/setup.tsThis will check:
- LINEAR_API_KEY is set and valid
- @linear/sdk is installed
- Linear CLI availability (optional)
- MCP configuration (optional)
运行设置检查以验证你的配置:
bash
npx tsx ~/.claude/skills/linear/scripts/setup.ts此命令将检查:
- LINEAR_API_KEY是否已设置且有效
- @linear/sdk是否已安装
- Linear CLI是否可用(可选)
- MCP配置是否正确(可选)
2. Get API Key (If Needed)
2. 获取API密钥(如需要)
If setup reports a missing API key:
- Open Linear in your browser
- Go to Settings (gear icon) -> Security & access -> Personal API keys
- Click Create key and copy the key (starts with )
lin_api_ - Add to your environment:
bash
undefined如果设置检查报告缺少API密钥:
- 在浏览器中打开Linear
- 进入设置(齿轮图标)-> 安全与访问 -> 个人API密钥
- 点击创建密钥并复制密钥(以开头)
lin_api_ - 将其添加到你的环境中:
bash
undefinedOption A: Add to shell profile (~/.zshrc or ~/.bashrc)
选项A:添加到shell配置文件(/.zshrc或/.bashrc)
export LINEAR_API_KEY="lin_api_your_key_here"
export LINEAR_API_KEY="lin_api_your_key_here"
Option B: Add to Claude Code environment
选项B:添加到Claude Code环境
echo 'LINEAR_API_KEY=lin_api_your_key_here' >> ~/.claude/.env
echo 'LINEAR_API_KEY=lin_api_your_key_here' >> ~/.claude/.env
Then reload your shell or restart Claude Code
然后重新加载shell或重启Claude Code
undefinedundefined3. Test Connection
3. 测试连接
Verify everything works:
bash
npx tsx ~/.claude/skills/linear/scripts/query.ts "query { viewer { name } }"You should see your name from Linear.
验证所有功能是否正常工作:
bash
npx tsx ~/.claude/skills/linear/scripts/query.ts "query { viewer { name } }"你应该会看到你在Linear中的用户名。
4. Common Operations
4. 常见操作
bash
undefinedbash
undefinedCreate issue in a project
在项目中创建任务
npx tsx scripts/linear-ops.ts create-issue "Project" "Title" "Description"
npx tsx scripts/linear-ops.ts create-issue "Project" "Title" "Description"
Update issue status
更新任务状态
npx tsx scripts/linear-ops.ts status Done ENG-123 ENG-124
npx tsx scripts/linear-ops.ts status Done ENG-123 ENG-124
Create sub-issue
创建子任务
npx tsx scripts/linear-ops.ts create-sub-issue ENG-100 "Sub-task" "Details"
npx tsx scripts/linear-ops.ts create-sub-issue ENG-100 "Sub-task" "Details"
Update project status
更新项目状态
npx tsx scripts/linear-ops.ts project-status "Phase 1" completed
npx tsx scripts/linear-ops.ts project-status "Phase 1" completed
Show all commands
查看所有命令
npx tsx scripts/linear-ops.ts help
See [Project Management Commands](#project-management-commands) for full reference.
---npx tsx scripts/linear-ops.ts help
请参阅[项目管理命令](#项目管理命令)获取完整参考。
---When to Use This Skill
何时使用此技能
Manage Linear issues, projects, and teams
Use this skill when working with manage linear issues, projects, and teams.
管理Linear的任务、项目与团队
当你需要管理Linear的任务、项目与团队时,使用此技能。
Project Planning Workflow
项目规划工作流
Create Issues in the Correct Project from the Start
从一开始就在正确的项目中创建任务
Best Practice: When planning a new phase or initiative, create the project and its issues together in a single planning session. Avoid creating issues in a catch-all project and moving them later.
最佳实践:当规划新阶段或新举措时,在同一个规划会话中同时创建项目及其任务。避免先在临时项目中创建任务,之后再移动它们。
Recommended Workflow
推荐工作流
-
Create the project first:bash
npx tsx scripts/linear-ops.ts create-project "Phase X: Feature Name" "My Initiative" -
Set project state to Planned:bash
npx tsx scripts/linear-ops.ts project-status "Phase X: Feature Name" planned -
Create issues directly in the project:bash
npx tsx scripts/linear-ops.ts create-issue "Phase X: Feature Name" "Parent task" "Description" npx tsx scripts/linear-ops.ts create-sub-issue ENG-XXX "Sub-task 1" "Description" npx tsx scripts/linear-ops.ts create-sub-issue ENG-XXX "Sub-task 2" "Description" -
Update project state when work begins:bash
npx tsx scripts/linear-ops.ts project-status "Phase X: Feature Name" in-progress
-
先创建项目:bash
npx tsx scripts/linear-ops.ts create-project "Phase X: Feature Name" "My Initiative" -
将项目状态设置为已规划:bash
npx tsx scripts/linear-ops.ts project-status "Phase X: Feature Name" planned -
直接在项目中创建任务:bash
npx tsx scripts/linear-ops.ts create-issue "Phase X: Feature Name" "Parent task" "Description" npx tsx scripts/linear-ops.ts create-sub-issue ENG-XXX "Sub-task 1" "Description" npx tsx scripts/linear-ops.ts create-sub-issue ENG-XXX "Sub-task 2" "Description" -
当工作开始时更新项目状态:bash
npx tsx scripts/linear-ops.ts project-status "Phase X: Feature Name" in-progress
Why This Matters
为什么这很重要
- Traceability: Issues are linked to their project from creation
- Metrics: Project progress tracking is accurate from day one
- Workflow: No time wasted moving issues between projects
- Organization: Linear views and filters work correctly
- 可追溯性:任务从创建时就与项目关联
- 指标:项目进度跟踪从第一天起就是准确的
- 工作流:无需浪费时间在项目之间移动任务
- 组织性:Linear的视图和筛选功能可以正常工作
Anti-Pattern to Avoid
应避免的反模式
❌ Creating issues in a "holding" project and moving them later:
bash
undefined❌ 在“临时”项目中创建任务,之后再移动它们:
bash
undefinedDon't do this
不要这样做
create-issue "Phase 6A" "New feature" # Wrong project
create-issue "Phase 6A" "New feature" # 错误的项目
Later: manually move to Phase X # Extra work
之后:手动移动到Phase X # 额外的工作
---
---Project Management Commands
项目管理命令
project-status
project-status
Update a project's state in Linear. Accepts user-friendly terminology that maps to Linear's API.
bash
npx tsx scripts/linear-ops.ts project-status <project-name> <state>Valid States:
| Input | Description | API Value |
|---|---|---|
| Not yet started | backlog |
| Scheduled for future | planned |
| Currently active | started |
| Temporarily on hold | paused |
| Successfully finished | completed |
| Will not be done | canceled |
Examples:
bash
undefined更新Linear中项目的状态。接受与Linear API映射的用户友好术语。
bash
npx tsx scripts/linear-ops.ts project-status <project-name> <state>有效状态:
| 输入值 | 描述 | API值 |
|---|---|---|
| 尚未开始 | backlog |
| 已计划在未来进行 | planned |
| 当前正在进行 | started |
| 暂时搁置 | paused |
| 已成功完成 | completed |
| 不会再进行 | canceled |
示例:
bash
undefinedStart working on a project
开始处理一个项目
npx tsx scripts/linear-ops.ts project-status "Phase 8: MCP Decision Engine" in-progress
npx tsx scripts/linear-ops.ts project-status "Phase 8: MCP Decision Engine" in-progress
Mark project complete
标记项目完成
npx tsx scripts/linear-ops.ts project-status "Phase 8" completed
npx tsx scripts/linear-ops.ts project-status "Phase 8" completed
Partial name matching works
部分名称匹配有效
npx tsx scripts/linear-ops.ts project-status "Phase 8" paused
undefinednpx tsx scripts/linear-ops.ts project-status "Phase 8" paused
undefinedlink-initiative
link-initiative
Link an existing project to an initiative.
bash
npx tsx scripts/linear-ops.ts link-initiative <project-name> <initiative-name>Examples:
bash
undefined将现有项目关联到一个举措。
bash
npx tsx scripts/linear-ops.ts link-initiative <project-name> <initiative-name>示例:
bash
undefinedLink a project to an initiative
将项目关联到举措
npx tsx scripts/linear-ops.ts link-initiative "Phase 8: MCP Decision Engine" "Q1 Goals"
npx tsx scripts/linear-ops.ts link-initiative "Phase 8: MCP Decision Engine" "Q1 Goals"
Partial matching works
部分匹配有效
npx tsx scripts/linear-ops.ts link-initiative "Phase 8" "Q1 Goals"
undefinednpx tsx scripts/linear-ops.ts link-initiative "Phase 8" "Q1 Goals"
undefinedunlink-initiative
unlink-initiative
Remove a project from an initiative.
bash
npx tsx scripts/linear-ops.ts unlink-initiative <project-name> <initiative-name>Examples:
bash
undefined将项目从举措中移除关联。
bash
npx tsx scripts/linear-ops.ts unlink-initiative <project-name> <initiative-name>示例:
bash
undefinedRemove incorrect link
移除错误的关联
npx tsx scripts/linear-ops.ts unlink-initiative "Phase 8" "Linear Skill"
npx tsx scripts/linear-ops.ts unlink-initiative "Phase 8" "Linear Skill"
Clean up test links
清理测试关联
npx tsx scripts/linear-ops.ts unlink-initiative "Test Project" "Q1 Goals"
**Error Handling:**
- Returns error if project is not linked to the specified initiative
- Returns error if project or initiative not foundnpx tsx scripts/linear-ops.ts unlink-initiative "Test Project" "Q1 Goals"
**错误处理:**
- 如果项目未关联到指定的举措,将返回错误
- 如果项目或举措未找到,将返回错误Complete Project Lifecycle Example
完整项目生命周期示例
bash
undefinedbash
undefined1. Create project linked to initiative
1. 创建关联到举措的项目
npx tsx scripts/linear-ops.ts create-project "Phase 11: New Feature" "Q1 Goals"
npx tsx scripts/linear-ops.ts create-project "Phase 11: New Feature" "Q1 Goals"
2. Set state to planned
2. 设置状态为已规划
npx tsx scripts/linear-ops.ts project-status "Phase 11" planned
npx tsx scripts/linear-ops.ts project-status "Phase 11" planned
3. Create issues in the project
3. 在项目中创建任务
npx tsx scripts/linear-ops.ts create-issue "Phase 11" "Parent task" "Description"
npx tsx scripts/linear-ops.ts create-sub-issue ENG-XXX "Sub-task 1" "Details"
npx tsx scripts/linear-ops.ts create-issue "Phase 11" "Parent task" "Description"
npx tsx scripts/linear-ops.ts create-sub-issue ENG-XXX "Sub-task 1" "Details"
4. Start work - update to in-progress
4. 开始工作 - 更新为进行中
npx tsx scripts/linear-ops.ts project-status "Phase 11" in-progress
npx tsx scripts/linear-ops.ts project-status "Phase 11" in-progress
5. Mark issues done
5. 标记任务完成
npx tsx scripts/linear-ops.ts status Done ENG-XXX ENG-YYY
npx tsx scripts/linear-ops.ts status Done ENG-XXX ENG-YYY
6. Complete project
6. 完成项目
npx tsx scripts/linear-ops.ts project-status "Phase 11" completed
npx tsx scripts/linear-ops.ts project-status "Phase 11" completed
7. (Optional) Link to additional initiative
7.(可选)关联到额外的举措
npx tsx scripts/linear-ops.ts link-initiative "Phase 11" "Q2 Goals"
---npx tsx scripts/linear-ops.ts link-initiative "Phase 11" "Q2 Goals"
---When to Use This Skill
何时使用此技能
Manage Linear issues, projects, and teams
Use this skill when working with manage linear issues, projects, and teams.
管理Linear的任务、项目与团队
当你需要管理Linear的任务、项目与团队时,使用此技能。
Tool Selection
工具选择
Choose the right tool for the task:
| Tool | When to Use |
|---|---|
| MCP (Official Server) | Most operations - PREFERRED |
| Helper Scripts | Bulk operations, when MCP unavailable |
| SDK scripts | Complex operations (loops, conditionals) |
| GraphQL API | Operations not supported by MCP/SDK |
为任务选择合适的工具:
| 工具 | 使用场景 |
|---|---|
| MCP(官方服务器) | 大多数操作 - 推荐使用 |
| 辅助脚本 | 批量操作,当MCP不可用时 |
| SDK脚本 | 复杂操作(循环、条件判断) |
| GraphQL API | MCP/SDK不支持的操作 |
MCP Server Configuration
MCP服务器配置
Use the official Linear MCP server at :
mcp.linear.appjson
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.linear.app/sse"],
"env": { "LINEAR_API_KEY": "your_api_key" }
}
}
}WARNING: Do NOT use deprecated community servers. See troubleshooting.md for details.
使用位于的官方Linear MCP服务器:
mcp.linear.appjson
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.linear.app/sse"],
"env": { "LINEAR_API_KEY": "your_api_key" }
}
}
}警告:请勿使用已弃用的社区服务器。详情请参阅troubleshooting.md。
MCP Reliability (Official Server)
MCP可靠性(官方服务器)
| Operation | Reliability | Notes |
|---|---|---|
| Create issue | ✅ High | Full support |
| Update status | ✅ High | Use |
| List/Search issues | ✅ High | Supports filters, queries |
| Add comment | ✅ High | Works with issue IDs |
| 操作 | 可靠性 | 说明 |
|---|---|---|
| 创建任务 | ✅ 高 | 完全支持 |
| 更新状态 | ✅ 高 | 直接使用 |
| 列出/搜索任务 | ✅ 高 | 支持筛选、查询 |
| 添加评论 | ✅ 高 | 支持任务ID |
Quick Status Update
快速更新状态
bash
undefinedbash
undefinedVia MCP - use human-readable state names
通过MCP - 使用易读的状态名称
update_issue with id="issue-uuid", state="Done"
update_issue with id="issue-uuid", state="Done"
Via helper script (bulk operations)
通过辅助脚本(批量操作)
node scripts/linear-helpers.mjs update-status Done 123 124 125
undefinednode scripts/linear-helpers.mjs update-status Done 123 124 125
undefinedHelper Script Reference
辅助脚本参考
For detailed helper script usage, see troubleshooting.md.
有关辅助脚本的详细用法,请参阅troubleshooting.md。
Parallel Agent Execution
并行Agent执行
For bulk operations or background execution, use the subagent:
Linear-specialistjavascript
Task({
description: "Update Linear issues",
prompt: "Mark ENG-101, ENG-102, ENG-103 as Done",
subagent_type: "Linear-specialist"
})When to use (parallel):
Linear-specialist- Bulk status updates (3+ issues)
- Project status changes
- Creating multiple issues
- Sync operations after code changes
When to use direct execution:
- Single issue queries
- Viewing issue details
- Quick status checks
- Operations needing immediate results
See sync.md for parallel execution patterns.
对于批量操作或后台执行,请使用子Agent:
Linear-specialistjavascript
Task({
description: "Update Linear issues",
prompt: "Mark ENG-101, ENG-102, ENG-103 as Done",
subagent_type: "Linear-specialist"
})何时使用(并行):
Linear-specialist- 批量状态更新(3个及以上任务)
- 项目状态变更
- 创建多个任务
- 代码变更后的同步操作
何时使用直接执行:
- 单个任务查询
- 查看任务详情
- 快速状态检查
- 需要即时结果的操作
有关并行执行模式,请参阅sync.md。
Critical Requirements
关键要求
Issues → Projects → Initiatives
任务 → 项目 → 举措
Every issue MUST be attached to a project. Every project MUST be linked to an initiative.
| Entity | Must Link To | If Missing |
|---|---|---|
| Issue | Project | Not visible in project board |
| Project | Initiative | Not visible in roadmap |
See projects.md for complete project creation checklist.
每个任务必须关联到一个项目。每个项目必须关联到一个举措。
| 实体 | 必须关联到 | 如果缺失 |
|---|---|---|
| 任务 | 项目 | 在项目看板中不可见 |
| 项目 | 举措 | 在路线图中不可见 |
完整的项目创建清单请参阅projects.md。
Conventions
约定
Issue Status
任务状态
- Assigned to me: Set
state: "Todo" - Unassigned: Set
state: "Backlog"
- 分配给我:设置
state: "Todo" - 未分配:设置
state: "Backlog"
Labels
标签
Uses domain-based label taxonomy. See docs/labels.md.
Key rules:
- ONE Type label: ,
feature,bug,refactor,chorespike - 1-2 Domain labels: ,
security,backend, etc.frontend - Scope labels when applicable: ,
blocked,breaking-changetech-debt
bash
undefined使用基于领域的标签分类法。请参阅docs/labels.md。
关键规则:
- 一个类型标签:、
feature、bug、refactor、chorespike - 1-2个领域标签:、
security、backend等frontend - 适用时使用范围标签:、
blocked、breaking-changetech-debt
bash
undefinedValidate labels
验证标签
npx tsx scripts/linear-ops.ts labels validate "feature,security"
npx tsx scripts/linear-ops.ts labels validate "feature,security"
Suggest labels for issue
为任务推荐标签
npx tsx scripts/linear-ops.ts labels suggest "Fix XSS vulnerability"
undefinednpx tsx scripts/linear-ops.ts labels suggest "Fix XSS vulnerability"
undefinedSDK Automation Scripts
SDK自动化脚本
Use only when MCP tools are insufficient. For complex operations involving loops, mapping, or bulk updates, write TypeScript scripts using . See for:
@linear/sdksdk.md- Complete script patterns and templates
- Common automation examples (bulk updates, filtering, reporting)
- Tool selection criteria
Scripts provide full type hints and are easier to debug than raw GraphQL for multi-step operations.
仅当MCP工具不足以完成任务时使用。对于涉及循环、映射或批量更新的复杂操作,请使用编写TypeScript脚本。请参阅获取:
@linear/sdksdk.md- 完整的脚本模式和模板
- 常见自动化示例(批量更新、筛选、报告)
- 工具选择标准
脚本提供完整的类型提示,对于多步骤操作,比原始GraphQL更易于调试。
GraphQL API
GraphQL API
Fallback only. Use when operations aren't supported by MCP or SDK.
See api.md for complete documentation including:
- Authentication and setup
- Example queries and mutations
- Timeout handling patterns
- MCP timeout workarounds
- Shell script compatibility
Quick ad-hoc query:
bash
npx tsx ~/.claude/skills/linear/scripts/query.ts "query { viewer { name } }"仅作为备选方案。当MCP或SDK不支持该操作时使用。
请参阅api.md获取完整文档,包括:
- 身份验证和设置
- 查询和变更示例
- 超时处理模式
- MCP超时解决方法
- Shell脚本兼容性
快速临时查询:
bash
npx tsx ~/.claude/skills/linear/scripts/query.ts "query { viewer { name } }"Projects & Initiatives
项目与举措
For advanced project and initiative management patterns, see projects.md.
Quick reference - common project commands:
bash
undefined有关高级项目和举措管理模式,请参阅projects.md。
快速参考 - 常见项目命令:
bash
undefinedCreate project linked to initiative
创建关联到举措的项目
npx tsx scripts/linear-ops.ts create-project "Phase X: Name" "My Initiative"
npx tsx scripts/linear-ops.ts create-project "Phase X: Name" "My Initiative"
Update project status
更新项目状态
npx tsx scripts/linear-ops.ts project-status "Phase X" in-progress
npx tsx scripts/linear-ops.ts project-status "Phase X" completed
npx tsx scripts/linear-ops.ts project-status "Phase X" in-progress
npx tsx scripts/linear-ops.ts project-status "Phase X" completed
Link/unlink projects to initiatives
将项目关联/取消关联到举措
npx tsx scripts/linear-ops.ts link-initiative "Phase X" "My Initiative"
npx tsx scripts/linear-ops.ts unlink-initiative "Phase X" "Old Initiative"
**Key topics in projects.md:**
- Project creation checklist (mandatory steps)
- Content vs Description fields
- Discovery before creation
- Codebase verification before work
- Sub-issue management
- Project status updates
- Project updates (status reports)
---npx tsx scripts/linear-ops.ts link-initiative "Phase X" "My Initiative"
npx tsx scripts/linear-ops.ts unlink-initiative "Phase X" "Old Initiative"
**projects.md中的关键主题:**
- 项目创建清单(必填步骤)
- 内容与描述字段
- 创建前的调研
- 工作前的代码库验证
- 子任务管理
- 项目状态更新
- 项目更新(状态报告)
---When to Use This Skill
何时使用此技能
Manage Linear issues, projects, and teams
Use this skill when working with manage linear issues, projects, and teams.
管理Linear的任务、项目与团队
当你需要管理Linear的任务、项目与团队时,使用此技能。
Sync Patterns (Bulk Operations)
同步模式(批量操作)
For bulk synchronization of code changes to Linear, see sync.md.
Quick sync commands:
bash
undefined有关代码变更与Linear的批量同步,请参阅sync.md。
快速同步命令:
bash
undefinedBulk update issues to Done
批量更新任务为完成状态
npx tsx scripts/linear-ops.ts status Done ENG-101 ENG-102 ENG-103
npx tsx scripts/linear-ops.ts status Done ENG-101 ENG-102 ENG-103
Update project status
更新项目状态
npx tsx scripts/linear-ops.ts project-status "My Project" completed
---npx tsx scripts/linear-ops.ts project-status "My Project" completed
---Reference
参考
| Document | Purpose |
|---|---|
| api.md | GraphQL API reference, timeout handling |
| sdk.md | SDK automation patterns |
| sync.md | Bulk sync patterns |
| projects.md | Project & initiative management |
| troubleshooting.md | Common issues, MCP debugging |
| docs/labels.md | Label taxonomy |
External: Linear MCP Documentation
| 文档 | 用途 |
|---|---|
| api.md | GraphQL API参考、超时处理 |
| sdk.md | SDK自动化模式 |
| sync.md | 批量同步模式 |
| projects.md | 项目与举措管理 |
| troubleshooting.md | 常见问题、MCP调试 |
| docs/labels.md | 标签分类法 |
外部资源: Linear MCP文档