AGENT SKILL

create-ticket

Create or update a GitHub issue for Pulse using the `gh` CLI. Use when the user asks to "file a bug", "create a feature request", "open a GitHub issue", or "update an existing one". Supports feature, bug, and refactor issue types with structured templates; shows a draft for confirmation before creating or editing; looks up existing issues by number or URL for updates.

License 许可
MIT
所属仓库
Miragon/pulse
最近更新
2026-11-14
Stars
★ 8
Forks
0

01 前言 Front Matter

name
create-ticket
description
Create or update a GitHub issue for Pulse using the `gh` CLI. Use when the user asks to "file a bug", "create a feature request", "open a GitHub issue", or "update an existing one". Supports feature, bug, and refactor issue types with structured templates; shows a draft for confirmation before creating or editing; looks up existing issues by number or URL for updates.
allowed-tools
Bash(gh *), AskUserQuestion
argument-hint
[feature|bug|refactor] "<description>" | update <issue-number-or-url>

03 SKILL.md 正文

Skill: create-ticket

Create or update a GitHub issue for this repository (feature request, bug report, or refactor task).

IMPORTANT

  • Always use gh-cli to create or update tickets.
  • Never call the api directly.
  • If gh-cli not available, abort the execution and ask the user to install it. The user must restart the skill then.
  • When any gh call fails, ask the user what to do (repeat, stop, do something else).

Instructions

Step 1: Determine mode

Inspect $ARGUMENTS:

  • If context contains update and/or an issue number or GitHub issue URL, use update-mode.
  • Otherwise use create-mode.
  • If create-mode does not make sense based on your context, use AskUserQuestion to ask the user for more context.

Step 2: Gather information

For a new issue:

  • Extract the issue type (feature, bug, refactor) from $ARGUMENTS; if missing, ask the user.
  • For feature: understand the desired behaviour and why it is needed.
  • For bug: understand the current vs. expected behaviour and reproduction steps; ask about server version, affected module (engine/core/ui), and process engine (Camunda 7/CIB seven) if relevant.
  • For refactor: understand the scope, motivation, and target state.

For an issue that needs to be updated:

  • Fetch the issue using gh issue view <number-or-url>.

Step 3: Research (optional)

If the issue involves a specific library, framework version, API, or configuration that you are not fully certain about, ask the user: "Should I search online for [topic] to get accurate details (e.g. exact property names, migration guides) before drafting?" If yes, use WebSearch / WebFetch to collect relevant facts, then incorporate them into the draft. Skip this step if you already have sufficient knowledge.

Step 4: Draft

Read the matching issue template from .github/ISSUE_TEMPLATE/ to get the exact sections and labels:

  • feature → .github/ISSUE_TEMPLATE/feature_request.yml
  • bug → .github/ISSUE_TEMPLATE/bug_report.yml
  • refactor → .github/ISSUE_TEMPLATE/refactoring.yml

Extract the title prefix, labels, and every textarea/input/dropdown field (label + description) from the YAML to compose the issue body. Fill each section with the information gathered in Step 2.

Step 5: Show and confirm

Use AskUserQuestion to present the full draft (create) or the current state + proposed changes (update) and ask whether to proceed, edit, or cancel. Apply any requested edits and ask again before continuing.

Step 6: Create or update

Using the GitHub CLI:

  • Create: gh issue create --title "<title>" --body "<body>" --label "<label>"
  • Update (use whichever commands apply):
    gh issue edit <number> --title "<title>" --body "<body>"
    gh issue edit <number> --add-label "<label>" --remove-label "<label>"
    gh issue comment <number> --body "<comment>"
    gh issue close <number>
    gh issue reopen <number>
    

Step 7: Report

Run gh issue view <number> and show the final issue state with its URL.

04 同仓库更多 Skills

Miragon
Miragon/pulse

setup-server

Set up, configure, run, brand, and deploy this composed MCP server. Use whenever connecting a Camunda 7 / CIB seven engine, selecting modules or toolsets (`MCP_ACTIVE_MODULES`), renaming the `@acme` scope, building the Docker image, running behind an MCP gateway, or troubleshooting boot warnings or inspector issues.

★ 8
Miragon
Miragon/pulse

create-module

暂无简介

★ 8
Miragon
Miragon/pulse

add-widget

Step-by-step house pattern for adding an interactive widget to a module (the React component built from the design kit `@miragon/pulse-ui` and widget-shell's view runtime, the `show_*` widget tool, the app-only `*_data` feed, the view map keyed by the show tool's name, and a widget test under `TestViewHost`). Use whenever adding or changing widgets, `show_*` tools, `*_data` feeds, in-widget data fetching, or when debugging a widget that renders empty, unstyled, or hangs on "Loading…".

★ 8
Miragon
Miragon/pulse

pulse-cli

Inspect and operate Camunda 7, Operaton and CIB seven process engines through their REST API with the Pulse CLI (deployments, process instances, user tasks, external tasks, incidents, jobs, history, variables, decisions), and drive process instances with its workflow commands (inspect, wait, advance, retry, deploy, status). Use it whenever a task needs to read or change the state of such an engine.

★ 8
Miragon
Miragon/pulse

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".

★ 8
Miragon
Miragon/pulse

mcp-apps-builder

Where to look before changing MCP server code in this repo (tools, resources, prompts, widgets, auth). Points to the house skills, the CLAUDE.md invariants, widget-shell's view runtime and the official MCP SDK's typings and docs; it teaches no framework API itself.

★ 8