Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计提醒

positron-issue-creator正电子问题创造者

Agent Skill

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

总安装

1,152

周安装

49

GitHub Stars

4,030

下载量

404
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:positron-issue-creator(正电子问题创造者)
来源仓库:https://github.com/posit-dev/positron
仓库路径:skills/positron-issue-creator
安装命令:
npx skills add https://github.com/posit-dev/positron --skill positron-issue-creator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/posit-dev/positron --skill positron-issue-creator

简介

positron-issue-creator 用于围绕 GitHub 仓库、Issue、PR 等协作流程提供辅助能力。

  • 适合查询项目状态、整理变更、创建协作事项并生成可执行下一步。
  • 使用时需区分只读查询与写入操作,避免越权修改。
  • 涉及创建 PR、修改 Issue 或推送分支时,应确认 token 权限和仓库范围。
  • 建议在私有仓库操作前获取用户明确授权。

SKILL.md

Positron Issue Creator

Purpose

This skill guides the drafting of high-quality GitHub issues for the Positron IDE repository. It ensures issues are:

  • Thoroughly checked for duplicates before drafting
  • Properly labeled for efficient triage
  • Written with complete, specific information
  • Free of unnecessary fluff and filler
  • Actionable by the development team
  • Ready for manual submission by the user

When to Use This Skill

Use this skill when:

  • User explicitly asks to draft, create, file, or report an issue
  • User describes a bug or feature request that should be tracked
  • Drafting documentation or improvement requests
  • User says "can you draft an issue for..." or similar

Do NOT use this skill for:

  • Intake rotation duties (use positron-intake-rotation instead)
  • Responding to existing issues
  • General Positron development tasks

GitHub Access Policy

Read operations (ALLOWED):

  • Search for existing issues and discussions via gh CLI
  • Fetch repository labels via gh CLI
  • View issue details for duplicate checking
  • Read any public repository information

Write operations (NOT ALLOWED):

  • Creating issues directly via gh issue create
  • Commenting on issues
  • Modifying labels on existing issues
  • Any other GitHub write operations

Instead: Prepare issues in markdown files or clipboard-ready format for manual user submission.

Core Workflow

Important: This skill prepares issues for manual submission. It does NOT automatically create GitHub issues. The user maintains full control over submitting to GitHub.

Follow this workflow for every issue drafting request:

1. Gather Complete Context

Before drafting anything, ensure all necessary information is available. Use iterative questioning if needed.

For Bug Reports, obtain:

  • Positron version (Help > About or specific build number)
  • Operating system and version
  • Session details (R/Python version)
  • Exact steps to reproduce
  • Expected vs. actual behavior
  • Error messages (from UI, Output panel, or Developer Console)
  • Screenshots if relevant

For Feature Requests, obtain:

  • Clear description of the desired feature
  • Use case (why it's needed, what problem it solves)
  • Proposed behavior (how it should work)
  • Any related issues or examples from other tools

Ask specific questions when information is missing:

  • "What Positron version are you using? Check Help > About"
  • "What's the exact error message displayed?"
  • "What did you expect to happen vs. what actually happened?"
  • "Can you provide the specific steps to reproduce this?"

Never make assumptions. If unclear, ask rather than guess.

2. Search for Duplicates

Use scripts/search_duplicates.sh to search for existing issues and discussions:

cd /path/to/positron/.claude/skills/positron-issue-creator
./scripts/search_duplicates.sh "keywords from issue"

Review results carefully:

  • Check both open and closed issues
  • Look at discussions as well
  • Consider variations of the search terms

Present findings to user:

  • Show all potentially related issues
  • Highlight any that seem very similar
  • Ask user to confirm whether these are duplicates
  • For uncertain matches, explicitly ask: "Is this the same issue as #1234?"

If duplicate found:

  • Inform user that issue already exists
  • Provide link to existing issue
  • Suggest they add a comment or 👍 reaction if they want to track it
  • Do NOT create new issue

If no duplicates:

  • Proceed to drafting the issue
  • Reference any related issues in the draft

3. Select Appropriate Labels

Use scripts/fetch_labels.sh to retrieve current repository labels:

cd /path/to/positron/.claude/skills/positron-issue-creator
./scripts/fetch_labels.sh

Choose labels based on:

Area labels (select 1-2):

  • area: console - Console/REPL functionality
  • area: notebook - Jupyter notebook integration
  • area: editor - Text editor functionality
  • area: plots - Plot viewer and visualization
  • area: data-explorer - Data viewer and explorer
  • area: connections - Database connections
  • area: help - Help pane and documentation
  • area: ui - General UI/UX issues
  • Review full list from fetch_labels.sh for complete options

Type label (select 1):

  • Bug - Something doesn't work as intended
  • Feature Request - New capability or enhancement
  • Documentation - Documentation improvements
  • Performance - Works but too slowly

Other considerations:

  • Avoid adding priority labels (set during triage)
  • Don't add status labels (will be set by team)
  • Multiple area labels are acceptable if issue spans components

4. Draft the Issue

Use the templates in references/issue_templates.md as starting points, but adapt to the specific issue.

Load templates when needed:

  • Bug reports: Reference bug report structure
  • Feature requests: Reference feature request structure
  • Hybrid cases: Adapt as appropriate

Follow writing guidelines from references/writing_guidelines.md:

Core principles:

  1. Be terse - Every word serves a purpose
  2. Be fluff-free - No apologies, preambles, or unnecessary politeness
  3. Be specific - Exact versions, precise steps, concrete details
  4. Be direct - Get to the point immediately

Title guidelines:

  • Bug: [Component] fails when [condition]
  • Feature: Add [feature] to [component]
  • Complete sentence that tells the full story
  • Scannable and searchable

Body structure:

  1. What - The issue itself (1 sentence)
  2. Why - Impact/context (1-2 sentences if not obvious)
  3. How - Steps or proposed solution (bullet points)
  4. Details - System info, errors, screenshots (as needed)

Example bug report:

Title: Console freezes when printing dataframes with 100k+ rows

The console becomes unresponsive when printing large dataframes.

## Steps to reproduce

1. Create dataframe: `df = pd.DataFrame({'a': range(100000)})`
2. Print it: `print(df)`
3. Console freezes, UI becomes unresponsive

## System details

- Positron 2024.10.0 Build 123
- macOS 14.5
- Python 3.11.6

## Error messages

Developer Console shows: "Maximum call stack size exceeded"

Example feature request:

Title: Add keyboard shortcut to insert markdown cell in notebooks

Currently inserting markdown cells requires clicking the dropdown menu.
Keyboard shortcut would improve notebook authoring workflow.

## Proposed behavior

- Add keyboard shortcut (e.g., Cmd+M or Ctrl+M)
- Should work when focus is in notebook
- Should insert cell below current cell

## Context

Similar to Jupyter's 'M' key in command mode. Notebook workflows
frequently alternate between code and markdown cells.

Common anti-patterns to avoid:

  • Unnecessary background or preambles
  • Vague descriptions ("it doesn't work", "sometimes crashes")
  • Combining multiple unrelated issues
  • Apologetic or overly polite language
  • Missing concrete details (exact versions, error messages)
  • Long-winded explanations when concise ones suffice

Review checklist before presenting:

  • Title is complete and specific
  • Body starts with the core issue
  • Reproduction steps are clear (for bugs)
  • System details included (for bugs)
  • Error messages are exact quotes
  • No unnecessary fluff
  • Each sentence adds value
  • Single, focused topic
  • Appropriate labels selected

5. Present Draft to User

Show the complete drafted issue including:

  • Title
  • Full body text
  • Proposed labels

Ask user: "Does this accurately capture the issue? Would you like any changes before I create it?"

Allow for iteration:

  • User may want to adjust wording
  • May remember additional details
  • May want to emphasize different aspects

Make requested changes and show updated draft.

6. Prepare Issue for Manual Submission

Once user approves the draft, offer options for how they want to use it:

Ask the user: "How would you like me to prepare this issue?"

  • Option 1: Save to a markdown file
  • Option 2: Format for clipboard (provide text ready to copy)

Option 1: Save to Markdown File

Create a markdown file with all issue details:

# Create file with timestamp in name for uniqueness
cat > "positron-issue-$(date +%Y%m%d-%H%M%S).md" <<'EOF'
---
title: Issue title here
labels: area: console, Bug
repository: posit-dev/positron
---

Full issue body here
with multiple lines
EOF

After saving:

  • Show the file path
  • Remind user to manually create the issue on GitHub
  • Provide quick link: https://github.com/posit-dev/positron/issues/new

Option 2: Format for Clipboard

Present the issue in a format ready to copy:

**Title:**
Issue title here

**Labels:**
area: console, Bug

**Body:**
Full issue body here
with multiple lines

---
Create this issue at: https://github.com/posit-dev/positron/issues/new

After presenting:

  • Explain that user should copy this text
  • Remind them to paste into GitHub's new issue form
  • Note that they'll need to manually select labels in the UI

Important Guidelines

Duplicate Detection

Be thorough but not pedantic:

  • Search with multiple keyword combinations
  • Check both issues and discussions
  • Look at closed items too (might be fixed or wontfix)

When uncertain:

  • Show user the potentially similar issues
  • Ask explicitly: "Is this the same as what you're reporting?"
  • Err on the side of creating new issues rather than incorrectly marking as duplicate

Context Gathering

Never guess or assume:

  • If version is unclear, ask specifically
  • If steps are vague, request clarification
  • If error message is paraphrased, ask for exact text

Be patient with iteration:

  • Users may not have all information immediately
  • May need to reproduce issue to get details
  • It's better to ask multiple questions than create incomplete issue

Writing Style

Optimize for scanability:

  • Busy developers need to quickly understand the issue
  • Put most important information first
  • Use formatting (headings, lists, code blocks) appropriately

Respect reader's time:

  • No unnecessary pleasantries beyond "Thanks for reporting"
  • No apologetic language
  • No marketing-speak or enthusiasm
  • Just clear, factual information

Be precise:

  • Use exact versions, not "latest" or "recent"
  • Quote error messages exactly
  • Number steps clearly
  • State actual behavior, not interpretations

Special Cases

Security Issues

If user describes a security vulnerability:

  1. Do NOT create public issue
  2. Inform user: "This appears to be a security issue. Please report it privately to security@posit.co instead of creating a public issue"
  3. Do NOT proceed with issue creation

Documentation Issues

Treat as feature requests but focus on:

  • What documentation is missing or incorrect
  • Where users would look for this information
  • Suggested improvements

Label with Documentation type.

Performance Issues

Use bug report template but emphasize:

  • What operation is slow
  • How long it takes vs. expected time
  • System details including hardware
  • Data size or complexity

Label with Performance type.

Multiple Related Issues

If user describes several related but distinct issues:

  1. Identify each separate issue
  2. Explain to user: "This sounds like 3 separate issues. I'll help create each one individually."
  3. Create issues one at a time
  4. Cross-reference in issue bodies if related

Scripts Reference

scripts/fetch_labels.sh

Retrieves all repository labels for categorization.

Usage:

./scripts/fetch_labels.sh          # Human-readable output
./scripts/fetch_labels.sh --json   # JSON output for parsing

scripts/search_duplicates.sh

Searches for potential duplicate issues and discussions.

Usage:

./scripts/search_duplicates.sh "search terms"
./scripts/search_duplicates.sh "search terms" --limit 30

Returns:

  • Matching issues (open and closed)
  • Related discussions
  • Direct links to review

References

Load these reference documents when drafting issues:

  • references/issue_templates.md - Templates for bugs, features, and hybrid issues
  • references/writing_guidelines.md - Detailed writing guidance, anti-patterns, examples

Common Mistakes to Avoid

  1. Creating duplicate issues - Always search first, show results to user
  2. Incomplete information - Ask questions until all details are gathered
  3. Verbose writing - Cut all fluff, be direct and specific
  4. Vague titles - Titles should tell the complete story
  5. Multiple issues in one - Split into separate, focused issues
  6. Assuming context - Ask user to confirm unclear details
  7. Skipping labels - Always fetch and apply appropriate labels
  8. Preparing without user approval - Always show draft and get confirmation before preparing files

Success Criteria

A successful issue draft means:

  • No duplicates exist (or user confirmed it's distinct)
  • All necessary information is included
  • Issue is terse and free of fluff
  • Title accurately summarizes the issue
  • Appropriate labels identified
  • User approved the draft
  • Issue prepared in user's preferred format (markdown file or clipboard text)
  • User has clear instructions for manual submission to GitHub

Workflow Summary

1. Gather Context
   ↓
   Ask specific questions until all info available
   ↓
2. Search Duplicates
   ↓
   Run scripts/search_duplicates.sh
   ↓
   Show results to user, confirm not duplicate
   ↓
3. Select Labels
   ↓
   Run scripts/fetch_labels.sh
   ↓
   Choose appropriate area and type labels
   ↓
4. Draft Issue
   ↓
   Use templates from references/
   ↓
   Follow writing guidelines (terse, specific, direct)
   ↓
5. Present Draft
   ↓
   Show complete draft to user
   ↓
   Iterate based on feedback
   ↓
6. Prepare for Submission
   ↓
   Offer markdown file or clipboard format
   ↓
   Save to file OR format for copying
   ↓
   Provide GitHub link and submission instructions

Remember: The goal is to draft clear, actionable issues that respect both the reporter's intent and the development team's time. The user maintains full control over the final submission to GitHub.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

27.03%
按下载量换算109

windsurf

23.03%
按下载量换算93

trae

18.01%
按下载量换算73

OpenCode

13.02%
按下载量换算53

Codex

7.16%
按下载量换算29

Antigravity

3.35%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills