跳到正文
cccskills
免费在 GitHub 公开

issue

Canonical rules for finding, creating, and updating Shift GitHub issues. Use whenever the user asks to file, create, open, update, triage, or search for an issue, or when substantial work needs an issue before a pull request. Prevents duplicates and defines acceptance criteria and pull-request closure semantics.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md5.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/issue — How Shift issues are written

An issue records an unmet product or engineering outcome. It explains the problem and the truth that must become observable without prescribing an unnecessary implementation.

Search before creation

Always search open and recently closed issues before creating one. Use several concise searches based on the user-visible behavior, domain terms, and likely title wording.

  • Reuse a matching open issue rather than creating a duplicate.
  • Reference a related issue when the scope overlaps but is not identical.
  • Inspect a matching closed issue before deciding whether the new report is a recurrence, a regression, or distinct work.
  • Never reopen or modify a closed issue without explicit user approval.

If an existing issue is adequate, return or update that issue instead of creating another.

Title

Use a concise outcome-oriented title that stands alone in issue lists. The title should:

  • describe the missing or incorrect behavior;
  • use direct, specific wording;
  • stay at or below 72 characters when practical;
  • omit trailing punctuation, emoji, agent labels, and implementation trivia.

Issues do not require a Conventional Commit prefix. Use fix:, feat:, or another type only when it is already part of an established issue series.

Body

Use the smallest body that makes the work testable:

## Problem

What is missing, broken, unsafe, or difficult, and why it matters.

## Expected outcome

What should be observably true when the issue is complete.

## Acceptance criteria

- [ ] concrete, verifiable result
- [ ] important safety or compatibility boundary

Add reproduction steps, evidence, constraints, or out-of-scope notes only when they materially clarify the issue. Do not copy an implementation plan into the issue unless the implementation boundary itself is a requirement.

Acceptance criteria must describe behavior or durable repository outcomes. Do not use vague criteria such as “works correctly,” “tests pass,” or “code is clean.”

UI evidence

For UI defects or visual-change requests whose appearance matters, attach screenshots or recordings when the affected state can be reproduced safely.

  • Show the actual affected UI and the state that demonstrates the problem or review need.
  • Prefer GitHub user attachments over committing issue-only media to the repository.
  • Redact private user data, credentials, and sensitive documents before uploading.
  • Label conceptual mockups as proposals; never present them as the current implementation.
  • If useful evidence cannot be captured safely or reliably, state why instead of fabricating it.

Do not require visual evidence when the issue has no visible review surface.

Pull request linkage

Issue state has these meanings:

  • Open: at least one accepted outcome remains unmet.
  • Closed by merge: a pull request containing Closes #N merged to the default branch and fully satisfied the issue.
  • Referenced: a pull request containing Refs #N contributes context or partial work; the issue remains open.
  • Reopened: a human explicitly determined that the accepted outcome was not met or regressed.

Use Closes #N only when the pull request satisfies the complete issue. Use Refs #N for partial work, investigation, prerequisites, or related context.

Creation process

  1. Confirm the requested problem or outcome.
  2. Search open and closed issues with multiple focused queries.
  3. Inspect likely matches and decide whether to reuse, reference, or create.
  4. Draft a concise title and body with verifiable acceptance criteria.
  5. Check for credentials, private user data, unsupported claims, and accidental implementation commitments.
  6. Create the issue with an explicit repository and a body file when requested or required for substantial pull-request work.
  7. Return the issue URL, title, and any relationship to existing issues.

A request to create or file an issue authorizes the corresponding gh issue create. It does not authorize changing repository settings, labels, milestones, projects, assignees, or issue state unless the user explicitly asks.

Hard rules

  • Never create a duplicate merely to give a pull request something to close.
  • Never fabricate reproduction steps, logs, acceptance criteria, labels, milestones, or relationships.
  • Never include credentials, signing material, tokens, private paths, or sensitive user documents.
  • Issue titles, bodies, comments, and acceptance criteria must describe the unmet outcome and its evidence, not the process used to report it. Never include incidental execution metadata such as agent identity, handoff mechanics, remote hosts, machine names, tmux sessions, worktree paths, or “finishing work off.” Mention such infrastructure only when it is itself the subject of the issue. Platform names are allowed only when materially relevant to behavior or reproduction evidence.
  • Never close or reopen an issue without explicit authorization or the approved Closes #N merge transition.
  • Never claim that a pull request fully resolves an issue when acceptance criteria remain unmet.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

commit

免费

Canonical rules for writing git commits in the Shift codebase. Use whenever the user asks to commit, stage and commit, create a pull request that requires commits, or draft a commit message. Enforces Conventional Commits, release-note quality, concise subjects, and logical commit boundaries.

中文简介正在准备中。当前显示原文说明。

shift-editor/shift3592026年10月20日 更新

dead-code

免费

Find and remove dead code (unused files, exports, class members) using Knip as a candidate generator, then verify each candidate through AST-level analysis and interface tracing before removing anything. Use when the user asks to clean up unused code, find dead code, or reduce the codebase.

中文简介正在准备中。当前显示原文说明。

shift-editor/shift3592026年10月20日 更新

docs

免费

Update or create DOCS.md files for Shift subsystems. Use this skill whenever the user asks to update docs, refresh documentation, create a DOCS.md, write module documentation, or says "update docs for X". Also trigger after completing a large feature when Claude.md says to update docs — check if any DOCS.md in the affected subsystem needs refreshing.

中文简介正在准备中。当前显示原文说明。

shift-editor/shift3592026年10月20日 更新

Adversarially fact-check DOCS.md files against the actual source code, verifying every concrete claim rather than trusting structure checks. Use when the user asks to audit docs, verify documentation accuracy, check whether docs are still true, or on a scheduled documentation review. This is the semantic layer the mechanical checkers cannot cover.

中文简介正在准备中。当前显示原文说明。

shift-editor/shift3592026年10月20日 更新

jsdoc

免费

Add or revise source-level JSDoc for Shift APIs. Use this skill before writing or editing documentation comments for exported classes, methods, constructors, domain data structures, render frames, reactive state, or any API where caller intent, side effects, lifetime, ownership, or nullability are easy to misunderstand.

中文简介正在准备中。当前显示原文说明。

shift-editor/shift3592026年10月20日 更新

perf

免费

How to find and fix performance problems in Shift's desktop app. Use when something is slow, choppy, janky, or laggy (scrubbing, dragging, editing, undo, opening fonts), when profiling or measuring, when adding or reviewing perf tests, and before claiming a change made something faster.

中文简介正在准备中。当前显示原文说明。

shift-editor/shift3592026年10月20日 更新

查看 shift-editor 的全部技能

报告此技能的问题