Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计通过

gitlab-issueGitLab issue 搜索

Agent Skill

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

总安装

1,599

周安装

68

GitHub Stars

3

下载量

560
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill gitlab-issue

简介

用于围绕 GitLab 仓库、Issue、合并请求、分支和代码协作流程提供辅助能力。

  • 适合查询项目状态、整理变更、辅助创建或检查协作事项,并将信息转为可执行步骤。
  • 通过命令行安装并配置 token 后,支持只读查询与写入操作。
  • 涉及修改 Issue、推送分支或访问私有仓库时,需确认权限范围和用户授权。
  • gitlab-issue 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

GitLab Issue Management

Create, retrieve, update, and manage GitLab issues with comprehensive context integration and structured workflows.

Prerequisites

GitLab Instance Configuration

This skill is configured for a self-hosted GitLab instance:

  • GitLab URL: https://gitlab-erp-pas.dedalus.lan
  • All project identifiers, URLs, and references should use this self-hosted instance
  • Ensure you have appropriate access credentials configured for this GitLab server

When to Use This Skill

Activate this skill when:

  • The user wants to create a new GitLab issue
  • The user asks to view or retrieve issue details
  • The user needs to update an existing issue
  • The user wants to list issues in a project
  • The user mentions managing issues, tickets, or tasks in GitLab
  • The user wants to close, reopen, or modify issue properties
  • The user needs to link issues to merge requests

Critical Rules

IMPORTANT: Always confirm project_id before creating or modifying issues

Always use descriptive issue titles and provide structured descriptions

Never create duplicate issues - search existing issues first when appropriate

Workflow

1. Gather Context

First, collect information about the current project and context:

  • Identify the project (project_id or URL-encoded path)
  • Understand the type of issue (bug, feature, task, etc.)
  • Gather relevant labels, milestones, and assignees if applicable

2. Project Verification

Before any operation, verify the project exists and you have the correct identifier:

Self-hosted GitLab Instance: https://gitlab-erp-pas.dedalus.lan

Use glab repo view to:

  • Confirm project exists on the self-hosted GitLab instance
  • Get project details (default branch, visibility, etc.)
  • Understand project structure
  • Verify project path format (e.g., "namespace/project")

3. Issue Operations

Creating a New Issue

When creating issues, gather complete context:

Required Information:

  • project_id: Project identifier (e.g., "namespace/project" or numeric ID)
  • title: Clear, descriptive issue title

Optional but Recommended:

  • description: Detailed description in Markdown format
  • labels: Array of label names (e.g., ["bug", "priority::high"])
  • assignee_ids: Array of user IDs to assign
  • milestone_id: Milestone ID to associate
  • due_date: Due date in YYYY-MM-DD format
  • confidential: Boolean for sensitive issues

Human-in-the-Loop - Ask for Context

Always use AskUserQuestion to clarify issue details:

Question: "What type of issue is this?"
Options:
- "Bug report - something is not working correctly"
- "Feature request - new functionality needed"
- "Task - work item to complete"
- "Documentation - documentation needs update"
- "Other - let me describe it"

Issue Description Template:

Structure descriptions for clarity:

## Summary
[Brief description of the issue]

## Current Behavior
[What is happening now - for bugs]

## Expected Behavior
[What should happen - for bugs]

## Steps to Reproduce
[For bugs - numbered steps]

## Acceptance Criteria
[For features/tasks - what defines "done"]

## Additional Context
[Screenshots, logs, related issues, etc.]

Retrieving Issue Details

Use glab issue view <iid> with:

  • <iid>: Internal issue ID (the number shown in GitLab, e.g., 42)

This returns complete issue information including:

  • Title and description
  • State (opened/closed)
  • Labels and milestone
  • Assignees and author
  • Created/updated timestamps
  • Related merge requests

Listing Issues

Use glab issue list with filters:

  • --state: "opened", "closed", or "all"
  • --label: Filter by labels
  • --milestone: Filter by milestone title
  • --assignee: Filter by assignee
  • --search: Search in title and description
  • --order-by: Sort by "created_at", "updated_at", "priority", etc.
  • --sort: "asc" or "desc"
  • --per-page: Results per page (max 100)

Updating an Issue

When updating issues, only provide changed fields:

Use glab issue update <iid> with the relevant flags for fields to change (title, description, labels, etc.)

State Changes:

  • glab issue close <iid> - Close the issue
  • glab issue reopen <iid> - Reopen the issue

4. Linking to Merge Requests

To find related merge requests:

Use glab mr list with filters to find MRs that reference the issue:

  • Search for issue number in MR titles/descriptions
  • Check MR descriptions for "Closes #XX" or "Fixes #XX" patterns

5. Execute Operations (Requires Confirmation)

CRITICAL: Confirm with user before creating or modifying issues

After gathering all information, present a summary for user approval:

Creating issue in project: namespace/project
Title: [title]
Description: [summary]
Labels: [labels]
Assignee: [assignee]

Proceed with issue creation?

Issue Type Templates

Bug Report

## Bug Description
[Clear description of the bug]

## Environment
- Version: [version]
- OS: [operating system]
- Browser: [if applicable]

## Steps to Reproduce
1. [First step]
2. [Second step]
3. [See error]

## Expected Behavior
[What should happen]

## Actual Behavior
[What actually happens]

## Screenshots/Logs
[Attach relevant files]

## Possible Solution
[Optional: if you have ideas]

Feature Request

## Feature Description
[Clear description of the requested feature]

## Problem Statement
[What problem does this solve?]

## Proposed Solution
[How should this work?]

## Alternatives Considered
[Other approaches considered]

## Acceptance Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]
- [ ] [Criterion 3]

## Additional Context
[Mockups, examples, etc.]

Task

## Task Description
[What needs to be done]

## Background
[Why is this needed?]

## Requirements
- [ ] [Requirement 1]
- [ ] [Requirement 2]

## Definition of Done
- [ ] [Criterion 1]
- [ ] [Criterion 2]

## Dependencies
[Related issues, blockers]

Examples

Example 1: Creating a Bug Report

User: "Create an issue for the login bug we discussed"

AI Workflow:

  1. Ask for project_id if not known
  2. Ask clarifying questions about the bug
  3. Generate structured description
  4. Present summary for confirmation
  5. Create issue with glab issue create --title "<title>" --description "<description>" --label "bug,priority::high,auth"

Result:

Title: [BUG] Login fails with OAuth2 when session expires

Description:
## Bug Description
Users are unable to log in using OAuth2 authentication when their
previous session has expired.

## Steps to Reproduce
1. Log in with OAuth2 (Google/GitHub)
2. Wait for session to expire (or clear cookies)
3. Attempt to log in again
4. Observe error: "Invalid state parameter"

## Expected Behavior
User should be redirected to OAuth provider and log in successfully.

## Actual Behavior
Login fails with "Invalid state parameter" error.

## Environment
- Version: 2.3.1
- Browser: Chrome 120, Firefox 121

Labels: ["bug", "priority::high", "auth"]

Example 2: Listing and Filtering Issues

User: "Show me all open bugs assigned to me"

AI Workflow:

  1. Use glab issue list --state opened --label bug --assignee @me to list matching issues

Result:

Found 3 open bug issues assigned to you:

#142 - [BUG] API timeout on large file uploads
      Labels: bug, priority::medium
      Created: 2024-01-15

#138 - [BUG] Dashboard graphs not rendering on Safari
      Labels: bug, frontend, priority::low
      Created: 2024-01-12

#125 - [BUG] Email notifications delayed by 30+ minutes
      Labels: bug, priority::high
      Created: 2024-01-08

Example 3: Updating an Issue

User: "Close issue #142 and add a comment that it's fixed in v2.4.0"

AI Workflow:

  1. First, add a note/comment to the issue: glab issue note 142 --message "Fixed in v2.4.0. Closing this issue."
  2. Then close the issue: glab issue close 142

Result:

Issue #142 "[BUG] API timeout on large file uploads" has been closed.

Example 4: Feature Request with Full Context

User: "Create a feature request for adding dark mode support"

AI Workflow:

  1. Ask clarifying questions about the feature
  2. Gather acceptance criteria
  3. Create structured issue

Result:

Title: [FEATURE] Add dark mode theme support

Description:
## Feature Description
Implement a dark mode theme option that users can toggle in their
preferences.

## Problem Statement
Users working in low-light environments experience eye strain with
the current bright interface. Dark mode would improve accessibility
and user comfort.

## Proposed Solution
- Add theme toggle in user preferences
- Implement CSS variables for theme colors
- Store preference in user settings
- Support system preference detection

## Acceptance Criteria
- [ ] User can toggle between light/dark mode in settings
- [ ] Theme preference persists across sessions
- [ ] System preference is detected on first visit
- [ ] All UI components support both themes
- [ ] No accessibility contrast issues in dark mode

## Additional Context
Reference designs: [link to mockups]
Similar implementations: GitHub, GitLab, VS Code

Labels: ["feature", "enhancement", "ux"]

Important Notes

  • Self-hosted GitLab: All operations use https://gitlab-erp-pas.dedalus.lan
  • Always verify project access - Ensure you have permission to create/modify issues on the self-hosted instance
  • Use labels consistently - Follow project labeling conventions
  • Be specific in titles - Prefix with [BUG], [FEATURE], [TASK] for clarity
  • Include reproduction steps - Essential for bug reports
  • Define acceptance criteria - Clear "definition of done" for features/tasks
  • Link related issues - Use "Related to #XX" or "Blocks #XX" in descriptions
  • Mention users with @username - For visibility and notifications
  • Use milestones - Associate issues with releases or sprints when applicable

GitLab Issue Best Practices

Writing Effective Titles

  • Be concise but descriptive
  • Include issue type prefix: [BUG], [FEATURE], [TASK], [DOCS]
  • Mention affected component if applicable
  • Avoid vague titles like "Fix bug" or "Update code"

Structuring Descriptions

  • Use Markdown formatting for readability
  • Include all relevant context upfront
  • Add screenshots or logs when helpful
  • Link to related issues, MRs, or documentation
  • Use task lists for trackable sub-items

Label Strategy

  • Use scoped labels (e.g., priority::high, status::in-progress)
  • Combine type labels (bug, feature) with area labels (frontend, api)
  • Keep label taxonomy consistent across projects

Assignment and Workflow

  • Assign issues to specific team members
  • Use milestones for sprint/release planning
  • Update issue status as work progresses
  • Close issues with reference to fixing MR: "Closes #XX"

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

30.07%
按下载量换算168

OpenCode

19.47%
按下载量换算109

github-copilot

18.65%
按下载量换算104

Cursor

11%
按下载量换算62

Gemini CLI

8.04%
按下载量换算45

Codex

3.44%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills