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

ticket-drafting-guidelines票据起草指南

Agent Skill

用于处理 Jira 项目、任务、缺陷、Sprint、负责人和状态流转。它适合让 Agent 辅助查询工单、汇总迭代进展、创建任务或整理需求和缺陷信息。使用时要确认项目权限、字段配置和工作流规则,不同团队的 Issue 类型、状态和必填字段可能不同;涉及批量改状态、改负责人或创建工单时,应先预览变更内容再执行。

总安装

269

周安装

11

GitHub Stars

28

下载量

86
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ticket-drafting-guidelines(票据起草指南)
来源仓库:https://github.com/laurigates/claude-plugins
仓库路径:skills/ticket-drafting-guidelines
安装命令:
npx skills add https://github.com/laurigates/claude-plugins --skill ticket-drafting-guidelines
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill ticket-drafting-guidelines

简介

用于处理 Jira 项目、任务和缺陷流转。

  • 适合查询工单、汇总迭代进展或创建新任务。
  • 使用时需确认项目权限、字段配置和工作流规则。
  • 安装命令:npx skills add https://github.com/laurigates/claude-plugins --skill ticket-drafting-guidelines
  • 涉及批量改状态或负责人时应先预览变更内容。

SKILL.md

Ticket Drafting Guidelines

Expert guidance for drafting clear, concise, and well-structured tickets for GitHub issues, pull requests, and technical documentation.

Core Expertise

  • Structured Format: What/Why/How organization for clarity
  • Concise Writing: Brief descriptions with reference links
  • Markdown Standards: Proper formatting and link syntax
  • Positive Framing: Affirmative language without negative phrasing
  • Neutral Tone: Factual communication without claims or estimates
  • Reference Integration: Links to official documentation

When to Use

ScenarioUse this skillAlternative
Drafting a GitHub issue or ticketYes--
Writing a bug reportYes--
Structuring a feature requestYes--
Writing PR descriptionsYes--
Formatting text for Google ChatNoUse google-chat-formatting
Writing commit messagesNoFollow conventional commits rules
Writing long-form documentation or READMEsNoUse standard Markdown conventions

Ticket Structure

Main Headings

Every ticket uses three primary sections:

## What

[Concise description of the subject]

## Why

[Context and motivation]

## How

[Implementation approach or resolution steps]

What Section

Purpose: Describe the subject clearly and concisely.

Guidelines:

  • State what the ticket addresses in 1-3 sentences
  • Include relevant technical terms
  • Link to related issues or PRs using [#123](URL) format
  • Reference official documentation where applicable

Example:

## What

Add support for TypeScript configuration in the build pipeline. This enables type checking during CI/CD runs and improves code quality. Related to [#456](https://github.com/owner/repo/issues/456).

See [TypeScript compiler options](https://www.typescriptlang.org/tsconfig) for configuration reference.

Why Section

Purpose: Explain the motivation and context.

Guidelines:

  • Describe the problem or opportunity
  • Explain benefits of addressing this
  • Include relevant background information
  • Link to discussions or requirements docs

Example:

## Why

Current build pipeline only validates JavaScript syntax. TypeScript type checking catches errors earlier in development and provides better IDE support. This reduces runtime errors and improves developer experience.

The team adopted TypeScript in [#234](https://github.com/owner/repo/pull/234) but hasn't enabled type checking in CI yet.

How Section

Purpose: Outline the approach or solution.

Guidelines:

  • Use simple bullet points
  • List concrete steps or components
  • Include technical details as needed
  • Reference implementation examples or patterns

Example:

## How

- Add TypeScript compiler to CI workflow
- Configure `tsconfig.json` with strict mode
- Update GitHub Actions workflow to run `tsc --noEmit`
- Document type checking process in CONTRIBUTING.md

Reference implementation: [GitHub Actions TypeScript](https://github.com/actions/typescript-action)

Formatting Standards

Markdown Elements

Headings:

## What
### Subsection if needed

Links:

[#123](https://github.com/owner/repo/issues/123)
[PR #456](https://github.com/owner/repo/pull/456)
[Official docs](https://example.com/docs)

Lists:

- Simple bullet points
- One item per line
- Clear and actionable

Code blocks:

code example here

Emphasis:

**bold** for important terms
`code` for technical names

Reference Links

Include links to:

  • Official documentation
  • Related issues and PRs
  • Relevant examples or patterns
  • API references or specifications

Format:

See [TypeScript Configuration](https://www.typescriptlang.org/tsconfig) for details.
Related: [#123](https://github.com/owner/repo/issues/123)
Example: [typescript-action](https://github.com/actions/typescript-action)

Writing Style

Positive Framing

Use affirmative language:

✅ Enable TypeScript type checking in CI
✅ Add validation for user input
✅ Implement caching for API responses

Describe what to do rather than what not to do:

✅ Use environment variables for configuration
✅ Validate input before processing
✅ Handle errors with clear messages

Neutral Tone

Maintain factual, objective language:

✅ "This adds TypeScript support to the build pipeline"
❌ "This amazing feature will revolutionize our build process"

✅ "Enables type checking during CI runs"
❌ "Dramatically improves code quality by 80%"

✅ "Reduces configuration complexity"
❌ "Makes configuration incredibly simple and super easy"

Key principles:

  • State facts without exaggeration
  • Describe capabilities objectively
  • Provide context without making claims
  • Use measured language

Concise Descriptions

Keep content brief:

  • 1-3 sentences per paragraph
  • Simple bullet lists
  • Direct language
  • Essential details only

Expand with links:

## What

Add Redis caching layer for API responses. This reduces database load and
improves response times. See [Redis documentation](https://redis.io/docs/)
for architecture details.

Progress and Estimates

What to include:

✅ Concrete steps or tasks
✅ Components to implement
✅ Dependencies between tasks

Keep scope factual and concrete:

✅ Concrete steps or tasks
✅ Measurable acceptance criteria
✅ Observable behavior changes
✅ Verifiable outcomes

Example:

## How

- Configure Redis connection
- Implement cache middleware
- Add cache invalidation logic
- Update API handlers to use cache

Complete Examples

Feature Request

## What

Add dark mode support to the web interface. This provides an alternative
color scheme that reduces eye strain in low-light conditions. Related to
[#789](https://github.com/owner/repo/issues/789).

Reference: [CSS color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme)

## Why

Users requested dark mode in the feedback survey. Many users work in
low-light environments where bright interfaces cause discomfort. Dark mode
is standard in modern web applications.

## How

- Add theme toggle component to navigation
- Create CSS custom properties for color scheme
- Implement system preference detection
- Store user preference in localStorage
- Update documentation with theme customization guide

Example implementation: [theme-switcher](https://web.dev/prefers-color-scheme/)

Bug Report

## What

Authentication token expires before refresh occurs. Users see login prompt
during active sessions. Occurs in [#234](https://github.com/owner/repo/issues/234).

See [JWT best practices](https://tools.ietf.org/html/rfc8725) for reference.

## Why

Token refresh logic waits until expiration before requesting new token.
Network latency causes gap between expiration and refresh completion. This
interrupts user workflows and creates poor experience.

## How

- Update refresh trigger to occur before expiration
- Add buffer time of 60 seconds before token expires
- Implement retry logic for failed refresh attempts
- Log refresh timing for monitoring
- Add unit tests for refresh timing edge cases

Reference: [Auth0 token refresh](https://auth0.com/docs/secure/tokens/refresh-tokens)

Refactoring Task

## What

Migrate build system from webpack to Vite. This updates the development
tooling and build configuration. Related to [PR #567](https://github.com/owner/repo/pull/567).

See [Vite guide](https://vitejs.dev/guide/) for migration details.

## Why

Current webpack configuration requires significant maintenance. Vite provides
faster development server and simpler configuration. The team approved
tooling modernization in the Q4 planning discussion.

## How

- Install Vite and remove webpack dependencies
- Create `vite.config.ts` based on current webpack config
- Update package.json scripts for dev and build
- Migrate environment variable handling
- Update CI/CD pipeline build commands
- Document new development workflow

Migration guide: [webpack to Vite](https://vitejs.dev/guide/migration.html)

Integration with Other Skills

This skill works alongside:

  • Git Commit Workflow - Consistent commit messages for ticket work
  • Git Branch PR Workflow - PR descriptions match ticket structure
  • Release Please Protection - References to automated changelog updates
  • GitHub Actions - CI/CD workflow integration in tickets

Best Practices

Before Writing

  • Understand the full context
  • Identify relevant documentation
  • Find related issues or PRs
  • Note technical requirements

While Writing

  • Follow What/Why/How structure
  • Keep descriptions concise
  • Add reference links
  • Use positive framing
  • Maintain neutral tone

After Writing

  • Verify all links work
  • Check markdown rendering
  • Ensure clarity and completeness
  • Confirm positive language throughout

Common Patterns

Linking Issues and PRs

Related to [#123](https://github.com/owner/repo/issues/123)
Fixes [#456](https://github.com/owner/repo/issues/456)
Implements [#789](https://github.com/owner/repo/issues/789)
See [PR #234](https://github.com/owner/repo/pull/234)

Linking Documentation

See [official docs](https://example.com/docs)
Reference: [API documentation](https://api.example.com)
Guide: [configuration reference](https://example.com/config)

Listing Steps

- Single action per bullet
- Clear and specific
- Actionable items
- Logical order

Code References

Update `config.ts` with new options
Modify the `handleRequest` function
Add tests in `auth.test.ts`

Agentic Optimizations

ContextCommand
List open issues for contextgh issue list --state open --json number,title,labels --limit 10
View existing issue for referencegh issue view N --json number,title,body
Create issue from drafted contentgh issue create --title "title" --body "body"
Find related issuesgh search issues "keyword" --repo owner/repo --json number,title --limit 5
View PR templatecat.github/PULL_REQUEST_TEMPLATE.md

Skill Configuration

Located in exact_dot_claude/skills/ticket-drafting-guidelines/ which becomes ~/.claude/skills/ticket-drafting-guidelines/ after chezmoi apply:

  • SKILL.md - This file (skill definition and guidelines)

Success Indicators

This skill is working properly when:

✅ Tickets follow What/Why/How structure consistently ✅ Descriptions remain concise with reference links ✅ Language uses positive framing throughout ✅ Tone stays neutral without claims or estimates ✅ Markdown formatting renders correctly ✅ All links point to valid resources

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.5%
按下载量换算32

Claude

31.49%
按下载量换算27

Cursor

18.7%
按下载量换算16

Gemini CLI

9.07%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills