This skill should be used when drafting GitHub issues for the Positron repository. It provides workflows for searching duplicates, selecting appropriate labels, gathering complete context through questioning, and writing terse, fluff-free issues that precisely describe what is needed or wrong. The skill prepares issues for manual submission by the user. Use this skill when the user asks to draft or prepare an issue for Positron.
This skill guides the drafting of high-quality GitHub issues for the Positron IDE repository. It ensures issues are:
Use this skill when:
Do NOT use this skill for:
positron-intake-rotation instead)Read operations (ALLOWED):
gh CLIgh CLIWrite operations (NOT ALLOWED):
gh issue createInstead: Prepare issues in markdown files or clipboard-ready format for manual user submission.
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:
Before drafting anything, ensure all necessary information is available. Use iterative questioning if needed.
For Bug Reports, obtain:
For Feature Requests, obtain:
Ask specific questions when information is missing:
Never make assumptions. If unclear, ask rather than guess.
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:
Present findings to user:
If duplicate found:
If no duplicates:
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 functionalityarea: notebook - Jupyter notebook integrationarea: editor - Text editor functionalityarea: plots - Plot viewer and visualizationarea: data-explorer - Data viewer and explorerarea: connections - Database connectionsarea: help - Help pane and documentationarea: ui - General UI/UX issuesfetch_labels.sh for complete optionsType label (select 1):
Bug - Something doesn't work as intendedFeature Request - New capability or enhancementDocumentation - Documentation improvementsPerformance - Works but too slowlyOther considerations:
Use the templates in references/issue_templates.md as starting points, but adapt to the specific issue.
Load templates when needed:
Follow writing guidelines from references/writing_guidelines.md:
Core principles:
Title guidelines:
[Component] fails when [condition]Add [feature] to [component]Body structure:
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:
Review checklist before presenting:
Show the complete drafted issue including:
Ask user: "Does this accurately capture the issue? Would you like any changes before I create it?"
Allow for iteration:
Make requested changes and show updated draft.
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?"
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'
---