用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill linear命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | linear |
| description | Linear — issue ops, status transitions, cycle management. |
Activate this skill when any of the following are present:
LINEAR_API_KEY environment variable is setENG-123, INFRA-456)Backlog → Todo → In Progress → In Review → Done
→ Cancelled (if abandoned)
# Get teams, projects, and cycles
query {
teams {
nodes {
id
name
states { nodes { id name type } }
labels { nodes { id name } }
activeCycle { id number startsAt endsAt }
}
}
}
Use the returned state.id, label.id, and cycle.id when creating issues — never hardcode IDs.
mutation CreateIssue($input: IssueCreateInput!) {
issueCreate(input: $input) {
success
issue { id identifier title url }
}
}
Required fields: teamId, title
Recommended fields: description, priority, labelIds, assigneeId, cycleId
Priority values: 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low
mutation UpdateIssue($id: String!, $stateId: String!) {
issueUpdate(id: $id, input: { stateId: $stateId }) {
success
issue { id identifier state { name } }
}
}
mutation AddComment($issueId: String!, $body: String!) {
commentCreate(input: { issueId: $issueId, body: $body }) {
success
comment { id }
}
}
When creating a branch for a Linear issue, use:
feat/ENG-123-short-description
fix/ENG-456-bug-description
chore/ENG-789-task-description
When adding a progress comment to a Linear issue, use this structure:
**Done:** [what was implemented or changed]
**Decisions:** [key choices made and why — omit if none]
**Blockers:** [anything blocking next steps — omit if none]
**Next:** [remaining work or recommended next action]
activeCycle.id from the team query — do not ask the user for the cycle IDENG-123)