Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

linear-issue-workflowLinear issue 工作流

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

272

周安装

11

GitHub Stars

2

下载量

85
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alexanderguy/skills --skill linear-issue-workflow

简介

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。

  • 适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项。
  • 使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue 时需确认 token 权限。
  • 访问私有仓库或推送分支时应确认用户授权和目标仓库范围。
  • 安装方式:通过 npx skills add 命令从 GitHub 仓库安装。

SKILL.md

Linear Issue Workflow

Use this skill when implementing features or fixes tracked in Linear.

Phase 1: Understand the Issue

Fetch the Linear issue using the linear subagent:

Task(subagent_type="linear", prompt="Fetch issue <ISSUE-ID> including title, description, status, and acceptance criteria")

Ask the user clarifying questions if the scope is unclear before proceeding.

Phase 2: Explore and Plan

  1. Use the explore subagent to understand the codebase:

- Where changes need to be made - Existing patterns to follow - Related code that might be affected

  1. Create an implementation plan covering:

- Files to modify - New functions/types to add - Tests to write

  1. Present the plan to the user and ask if they would like any changes before proceeding. Do not start implementation until the user approves the plan.
  2. Optionally attach the plan to the Linear issue: Task(subagent_type="linear", prompt="Attach this implementation plan as a document to <ISSUE-ID>: <plan>")
  3. Mark the issue as "In Progress": Task(subagent_type="linear", prompt="Update issue <ISSUE-ID> status to In Progress")

Phase 3: Set Up Worktree

Get the branch name from Linear:

Task(subagent_type="linear", prompt="Get the git branch name for issue <ISSUE-ID>")

Determine the repository's default branch:

git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'

Fetch the latest changes and create a worktree based on the remote default branch:

git fetch origin
git worktree add ../worktree/<branch-name> -b <branch-name> origin/<default-branch>

Important: Always base new branches on origin/<default-branch> (where <default-branch> is main, master, or whatever the repository uses). This ensures your branch starts from the latest remote state, even if your local default branch is out of date.

After creating the worktree:

cd ../worktree/<branch-name>

Then install local dependencies (look at developer documentation for how to do this).

Worktrees share the .git directory but have their own working directory. The node_modules directory is NOT shared, so each worktree needs its own dependency installation.

All subsequent work happens in the worktree directory.

Phase 4: Implement

  1. Use TodoWrite to track implementation tasks
  2. Implement changes, marking todos as complete as you go
  3. Write tests for new functionality
  4. Run the project's build/verification command

Phase 5: Verify

If the changes affect critical paths or integration points, run the project's test suite or integration tests as appropriate for the changes made.

Phase 6: Commit and PR

Squash commits if needed

If you made multiple commits that should be one:

git reset --soft HEAD~<n> && git commit -m "<message>"

Self-review

Before pushing, load the code-review skill and perform a self-review of your changes. If serious issues are found that would prohibit merging, fix them before proceeding. Do not push until the review passes.

After the review passes, ask the user for confirmation before pushing and creating the PR.

Post review to PR

After creating the PR, post a summary of the code review as a comment:

gh pr comment <PR-NUMBER> --body "$(cat <<'EOF'
## Self-Review Summary

<summary of what was reviewed and any issues found/fixed>

### Files Reviewed

- `path/to/file.ts`: <brief assessment>

### Issues Found and Resolved

<list any issues found during self-review and how they were fixed, or "None">
EOF
)"

Push and create PR

Fetch the latest changes and rebase before pushing:

git fetch origin
git rebase origin/<default-branch>

Verify the build still passes after rebasing, then push:

git push -u origin <branch-name>

Create the PR:

gh pr create \
  --title "<title>" \
  --reviewer <REVIEWER> \
  --body "$(cat <<'EOF'
## Summary

<1-3 bullet points>

## Changes

- `path/to/file.ts`: <what changed>

## Testing

<how it was tested>

Closes <ISSUE-ID>
EOF
)"

Phase 7: Cleanup After Merge

After the PR has been merged, clean up the worktree and local branch:

# From the main repository directory (not the worktree)
git fetch origin
git worktree remove ../worktree/<branch-name>
git branch -d <branch-name>

If the worktree directory was already manually deleted, prune stale worktree references:

git worktree prune

Linear Subagent Patterns

Common operations:

ActionPrompt
Fetch issueFetch issue <ISSUE-ID> with full details
Get branch nameGet the git branch name for issue <ISSUE-ID>
Update statusUpdate issue <ISSUE-ID> status to In Progress
Attach documentAttach this as a document titled "X" to <ISSUE-ID>: <content>
Add commentAdd a comment to <ISSUE-ID>: <comment>

Always use subagent_type="linear" when calling the Task tool for Linear operations.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.09%
按下载量换算30

Claude

29.85%
按下载量换算25

Cursor

16.02%
按下载量换算14

Gemini CLI

9.31%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills