Linear Archive Issues

归档 Linear Issue。用户要求归档指定 Issue、批量归档已完成或已取消的 Issue,或核实程序化归档能力时使用;通过 GraphQL issueArchive 执行并回读 archivedAt。

107 stars 21 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Dimon94/skills --skill linear-archive-issues
Manual install
git clone --depth 1 https://github.com/Dimon94/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/linear-archive-issues ~/.claude/skills/linear-archive-issues

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Linear Issue 归档

归档保留 Issue 历史与工作流状态。归档动作由 Linear GraphQL API 执行;成功以持久字段 `archivedAt` 为准。

## 1. 锁定目标

读取调用方项目的 tracker 规则,确定 workspace、team、project 与已授权的 Issue 集合。用户只要求调查能力时保持只读。

通过已授权的 Linear MCP 或 API 读取每张票的 UUID、identifier、title、status、archivedAt、URL 与所属项目。批量请求先完成筛选与分页,将目标固定为 UUID 清单;筛选范围有实质歧义时先澄清。

已归档的票记为跳过。其余票仅在用户授权覆盖它们时进入写入步骤。归档不替代验收;保持现有工作流状态。

完成条件:每个待写 UUID 都对应用户授权范围内的确切 Issue,且连接的 workspace 已核对。

## 2. 选择接口与凭证

先检查实际 MCP 工具 schema。存在明确的 Issue 归档工具时按其合同调用;仅有 `save_issue`、`includeArchived` 或可读 `archivedAt` 不代表支持归档写入。MCP 未暴露归档工具时,直接调用 `https://api.linear.app/graphql`。

GraphQL 使用 Personal API Key,Authorization header 直接放 Key。MCP OAuth 凭证不能假定可用于 GraphQL。遇到认证失败时报告缺失的授权。

本机 Refresh 的既有凭证位于 macOS 钥匙串:service 为 `refresh-linear-api-key`,account 为当前登录用户。凭证仅在进程内读取并传给 Linear;日志、聊天、仓库与临时证据只保留脱敏结果。

该 Key 的 Write scope 可执行归档,但读取 GraphQL Issue 还需要 Read scope。只有 Write 时,通过已授权 MCP 核对身份、读取目标并回读结果。缺少凭证时,引导用户在 Linear 的 Security & access 创建限定目标 Team 的 Key;授予 Write,需要同一 Key 回读时另加 Read,并存入系统凭证库。

完成条件:归档凭证可用,且存在可读取目标与结果的授权通道。

## 3. 执行归档

一次处理一个已核对的 UUID。以下命令仅在目标与写入授权已核对后执行,将末尾 UUID 替换成当前目标;Key 不进入命令参数。
Read the full skill on GitHub

Details

Skill name
linear-archive-issues
Repository
Dimon94/skills
Path
skills/linear-archive-issues/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Linear Archive Issues skill do?

归档 Linear Issue。用户要求归档指定 Issue、批量归档已完成或已取消的 Issue,或核实程序化归档能力时使用;通过 GraphQL issueArchive 执行并回读 archivedAt。

How do I install the Linear Archive Issues skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dimon94/skills --skill linear-archive-issues. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Linear Archive Issues popular?

It lives in Dimon94/skills, which has 107 GitHub stars and 21 forks.

Related skills

Maintain Verification Skill

107

Dimon94/skills

Periodic pass that keeps a project's verification skill and feature map honest: parallel source readers per feature, one live session driving every feature, at most one PR of proven corrections. Use for /maintain-verification-skill or "audit the verify skill".

Git & Code ReviewIn 2 lists21

Create Verification Skill

107

Dimon94/skills

Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform. Use for /create-verification-skill, "make a control skill for this repo", or when a project has no scripted way to prove UI/CLI/service behavior.

Software DevelopmentIn 2 lists21

How

107

Dimon94/skills

Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.

Software DevelopmentIn 2 lists21

No Comments

107

Dimon94/skills

清理无用注释,保留必要的外部约束与公开合同,并从根因消除注释掩盖的绕路代码。用于用户显式调用 /no-comments 或 $no-comments。

Other21

In Your Own Words

107

Dimon94/skills

用自己的话复述用户真正的目标和想解决的问题。用于用户显式调用 /in-your-own-words 或 $in-your-own-words。

Other21

Pi Loop

107

Dimon94/skills

在 pi 里按节奏重复跑同一条提示词或 skill(/loop)。用户要在 pi 中定时轮询、按间隔或 cron 重复任务、让 issue-sweep 这类 skill 自定节奏持续跑,或安装、排查、卸载 pi-loop 扩展时使用。

Other21

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.