Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

linearLinear 项目管理

Agent Skill

用于处理 Linear 项目、Issue、团队、周期和产品开发任务流。它适合让 Agent 辅助查询任务状态、整理需求队列、创建缺陷或汇总迭代进展。使用时需要确认 workspace、team、label、assignee 和状态流转规则;涉及批量创建或修改任务时,应先核对字段和目标团队,避免把草稿需求直接写入正式项目。

总安装

791

周安装

17

GitHub Stars

4

下载量

140
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:linear(Linear 项目管理)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/linear
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill linear
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill linear

简介

该技能用于 Linear 项目管理系统,支持 Issue 跟踪、迭代规划与 Git 集成。

  • 适用于自动化创建任务、同步代码提交状态或汇总 Sprint 进展。
  • 通过 GitHub 仓库安装,适用于 Codex、Claude、Cursor、Gemini CLI。
  • 操作前需确认 workspace、团队与字段映射关系,避免误写入正式项目。
  • 批量修改任务时建议先测试,防止状态流转错误。

SKILL.md

linear

Purpose

This skill enables the AI to interact with Linear's API for issue tracking, cycle management, project roadmaps, Git integrations, SLA monitoring, and API-driven workflows, specifically for engineering teams.

When to Use

Use this skill when automating engineering workflows, such as creating issues from code changes, updating project roadmaps, tracking SLAs for tickets, or syncing Git commits with Linear issues. Apply it in scenarios involving team collaboration, like querying issues during sprint planning or integrating with CI/CD pipelines.

Key Capabilities

  • Issue Management: Create, update, and query issues using Linear's GraphQL API at https://api.linear.app/graphql.
  • Cycle and Project Handling: Manage cycles via mutations like cycleCreate and projects with queries for roadmaps.
  • Git Integration: Link Git commits to issues using webhooks or API; for example, associate a commit SHA with an issue ID.
  • SLA Tracking: Monitor service level agreements by querying issue states and timestamps.
  • API Access: Authenticate with a personal API key and perform operations like fetching issues with filters (e.g., state: "todo").
  • Config Formats: Store API keys in environment variables like $LINEAR_API_KEY; use JSON for payload structures in requests.

Usage Patterns

To accomplish tasks, always authenticate first by setting $LINEAR_API_KEY in your environment. For querying data, use GraphQL queries; for mutations, provide input objects. Pattern for issue creation: Authenticate → Prepare mutation payload → Send request → Handle response. For integrations, combine with Git tools by parsing commit messages and mapping to Linear issues. Always validate inputs, like ensuring issue titles are under 255 characters, before sending requests.

Common Commands/API

  • Query Issues: Use this GraphQL query to fetch open issues: query {issues(filter: {state: {name: {eq: "todo"}}}) {nodes {id title}}} Send via curl: curl -H "Authorization: Bearer $LINEAR_API_KEY" -X POST https://api.linear.app/graphql -d '{"query": "above query"}'
  • Create an Issue: Execute this mutation to add a new issue: mutation {issueCreate(input: {title: "Fix bug in login", description: "Details here"}) {issue {id}}} Command: curl -H "Authorization: Bearer $LINEAR_API_KEY" -X POST https://api.linear.app/graphql -d '{"query": "above mutation"}'
  • Update Project Roadmap: Query projects first, then mutate: mutation {projectUpdate(id: "proj_123", name: "Updated Roadmap") {project {id}}}
  • Git Integration Command: To link a Git commit, use: git log --format="%H %s" | awk '{print $1}' | xargs -I {} curl -H "Authorization: Bearer $LINEAR_API_KEY" -X POST https://api.linear.app/graphql -d '{"query": "mutation {issueUpdate(id: \"iss_456\", branch: \"{}\") {issue {id}}}"}'
  • SLA Check: Query: query {issues(filter: {createdAt: {gt: "2023-01-01"}}) {nodes {id slaViolated}}}

Integration Notes

Set up authentication by exporting $LINEAR_API_KEY from your Linear account settings. For Git integration, configure webhooks in Linear to trigger on issue updates and parse payloads in scripts (e.g., using Python's requests library). Config format: Use a.env file with LINEAR_API_KEY=your_key_here, then load it in scripts via os.environ.get('LINEAR_API_KEY'). To integrate with other tools, chain API calls; for example, after a Git push, run a script that queries Linear issues and updates them. Ensure rate limits (e.g., 100 requests/min) are respected by adding delays in loops.

Error Handling

Check for authentication errors (e.g., 401 status) by verifying $LINEAR_API_KEY before requests; if failed, prompt user to set the env var. For GraphQL errors, parse the "errors" field in responses (e.g., if "message" contains "Invalid input", validate payloads like ensuring required fields are present). Handle network issues with retries: Use a loop with exponential backoff, like for i in 1..3; do curl...; if [$? -ne 0]; then sleep $((2**i)); fi; done. For SLA violations, catch query errors by checking if issues return null values and log them. Always wrap API calls in try-catch blocks in code, e.g.:

try { response = requests.post('https://api.linear.app/graphql', headers={'Authorization': f'Bearer {os.environ["LINEAR_API_KEY"]}'}, json={'query': '...'}) } catch e { print(f'Error: {e}') }

Concrete Usage Examples

  1. Automate Issue Creation from Code Review: When a pull request is opened in GitHub, use this script to create a Linear issue: Set $LINEAR_API_KEY, then run curl -H "Authorization: Bearer $LINEAR_API_KEY" -X POST https://api.linear.app/graphql -d '{"query": "mutation {issueCreate(input: {title: \"Review PR #123\", description: \"Fixes in branch main\"}) {issue {id}}}"}'. This links the PR to a new issue for tracking.
  2. Track SLA for Overdue Issues: Query and notify on SLA breaches: First, export $LINEAR_API_KEY, then execute curl -H "Authorization: Bearer $LINEAR_API_KEY" -X POST https://api.linear.app/graphql -d '{"query": "query {issues(filter: {slaViolated: true}) {nodes {id title}}}"}' | jq '.data.issues.nodes' > overdue_issues.json. Process the JSON to send alerts, ensuring issues older than 48 hours are flagged.

Graph Relationships

  • Related to: "git" (for commit integrations), "issues" (for tracking workflows), "engineering" (for team management), "project" (for roadmap syncing).
  • Connections: This skill can chain with "git" skills via API calls for automated linking; integrates with "engineering" for broader tool ecosystems.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.61%
按下载量换算48

Claude

29.87%
按下载量换算42

Cursor

19.38%
按下载量换算27

Gemini CLI

8.64%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills