Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

django-ticket-triageDjango ticket triage 搜索

Agent Skill

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

总安装

212

周安装

9

GitHub Stars

7

下载量

74
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/2ykwang/agent-skills --skill django-ticket-triage

简介

用于分析 Django 项目中的工单并提供分类建议,支持 Trac 或 Jira 等平台的任务流转。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中辅助查询工单、汇总迭代进展或推荐处理优先级。
  • 使用时需确认工单系统类型、字段映射和工作流规则,避免误操作批量状态变更。
  • 安装依赖 Python3 和 GitHub CLI,若缺少 django/ 目录则跳过源码分析步骤。
  • django-ticket-triage 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Analyze Django ticket and provide triage recommendations.

Prerequisites:

  • python3 (standard library only; no extra Python packages required)
  • gh — GitHub CLI (install). Run gh auth login to authenticate.
  • Django source code — git clone https://github.com/django/django.git in the working directory (for Step 5: source code analysis)

Before starting, verify python3 and gh are available. If gh is missing, show the install link and stop. If django/ directory is missing, warn the user and skip Step 5 (source code browsing).

Arguments:

  • $ARGUMENTS: Trac ticket number (required, e.g., 36812, 2750)

IMPORTANT:

  • DO NOT use WebFetch or Fetch for GitHub URLs. ALWAYS use the gh CLI command instead.
  • For commits: gh api repos/<owner>/django/commits/<sha>
  • For PRs: gh pr view <number> --repo django/django or gh api repos/django/django/pulls/<number>
  • See references/gh-examples.md for more examples.

Note: ./scripts/ paths are relative to this SKILL.md file. Use the actual resolved path when executing.


Step 1: Fetch Ticket Details

python3 ./scripts/trac.py get $ARGUMENTS

Identify the following:

  • Basic info: summary, reporter, owner, component, version
  • Status: status, resolution, triage_stage, has_patch
  • Keywords: Extract key terms from keywords field
  • Ticket type: Bug report / Feature request / Documentation / Cleanup
  • History: Review comments for previous discussions, related PRs, prior patch attempts

Step 2: Search for Duplicates and Related Tickets

2-1. Trac Search (at least 2-3 queries)

# Search by key keywords
python3 ./scripts/trac.py search "<key keywords>"

# Search by error message or class/function name
python3 ./scripts/trac.py search "<error message or class name>"

# Search by component + keyword combination
python3 ./scripts/trac.py search "<component> <keyword>"

2-2. Review Potentially Related Tickets

Fetch details for related tickets found (top 3-5):

python3 ./scripts/trac.py get <related_ticket_id>

Step 3: Search Related PRs (GitHub)

Find PRs linked to the ticket:

# Search PRs mentioning ticket number in title/body
gh search prs "Fixed #$ARGUMENTS" --repo django/django --limit 10
gh search prs "#$ARGUMENTS" --repo django/django --limit 10

# Or search by Trac ticket URL
gh search prs "code.djangoproject.com/ticket/$ARGUMENTS" --repo django/django --limit 10

If related PRs exist, review details:

gh pr view <pr_number> --repo django/django --json title,state,body,comments

Step 4: Search Django Forum

Check for forum discussions related to the ticket:

# Search by ticket number
python3 ./scripts/forum.py ticket $ARGUMENTS

# If no results, search internals category by keywords
python3 ./scripts/forum.py search "<key keywords>" --category=internals

Step 5: Browse Related Source Code (If Applicable)

For tickets requiring code changes, check related code in django/ directory:

Find related files:

  • Use the Glob tool with pattern django/**/<relevant_file>.py to find files by name
  • Use the Grep tool with pattern <class or function name> in django/ to search code

Find related tests:

  • Use the Glob tool with pattern tests/**/test_*.py to find test files
  • Use the Grep tool with pattern <related keyword> in tests/ to search test code

Identify:

  • Location of the problematic code
  • Existing test coverage
  • Scope of changes needed

Step 6: Validity Assessment

For Bug Reports

CheckQuestion
ReproducibilityAre reproduction steps clear? Is there minimal reproduction code?
VersionDoes it occur on latest version (main branch)?
Django's responsibilityIs this a Django bug or user code/configuration issue?
Intended behaviorDoes it differ from documented behavior? Is it by design?
Supported versionIs this a supported Django version?
SecurityIs this a security issue? (Should NOT be on Trac)

For Feature Requests

CheckQuestion
GeneralityIs this useful to enough users?
Django philosophyDoes it align with Django's design philosophy?
AlternativesCan this be solved with a third-party package?
Backwards compatibilityDoes it break existing code?
ComplexityIs the maintenance burden worth the value?
DEP requiredIs this a large change requiring a DEP?

Red Flags (Likely Invalid)

  • Security issue reported on public Trac (should go to security@djangoproject.com)
  • Only affects unsupported Django versions
  • "Only I need this" type of feature
  • Works as documented (user misunderstanding)
  • Third-party package issue, not Django core

Step 7: Triage Decision

Read references/triage-stages.md for stage definitions and duplicate criteria.


Step 8: Save Report and Output Summary

8-1. Save Full Report to File

Create directory if needed and save the full report:

mkdir -p triage-reports

Read references/report-template.md and use it as the report format. Write the full report to triage-reports/<ticket_id>.md using the Write tool.

8-2. Output Summary to Terminal

Read the terminal summary format from references/report-template.md and output a brief summary.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.93%
按下载量换算27

Claude

31.02%
按下载量换算23

Cursor

18.31%
按下载量换算14

Gemini CLI

9.9%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/2ykwang/agent-skills --skill django-ticket-triage 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills