Skip to content
ha-emby-issue-selector logo

Home Assistant Emby Issue Selector

ha-emby-issue-selector

Use when starting work to select the next issue - queries GitHub project board, applies priority logic, and routes to the appropriate workflow (bug-triage or issue-executor).

SKILL.md

Full skill instructions

Home Assistant Emby Issue Selector

Overview

Select the next issue to work on using priority-based logic and route to the appropriate workflow.

This skill queries the GitHub project board, prioritizes issues, and directs you to either bug investigation or implementation based on issue type and status.

When to Use

  • Starting a work session
  • Completed an issue and need the next one
  • User asks "what should I work on?"
  • User asks to "pick up the next issue"

Priority Order

Issues are selected in this priority order:

PriorityCriteriaAction
1priority: critical + bug + confirmedFix immediately
2priority: high + bug + confirmedFix next
3priority: critical + bug + ai-triagedInvestigate to confirm
4priority: high + bug + ai-triagedInvestigate to confirm
5status: in-progress + assigned to meResume existing work
6priority: critical + enhancementImplement high-value feature
7priority: high + enhancementImplement important feature
8priority: medium + bug + confirmedFix medium bugs
9priority: medium + bug + ai-triagedInvestigate medium bugs
10priority: medium + enhancementMedium features
11priority: low + anyLow priority items
12Oldest unassignedBacklog items

Selection Workflow

Step 1: Check for In-Progress Work

# Check if I have work in progress
gh issue list \
  --label "status: in-progress" \
  --assignee @me \
  --state open \
  -L 5

# Also check episodic memory for session context

If in-progress work exists: Resume that issue first.

Step 2: Query High-Priority Items

# Critical confirmed bugs (highest priority)
gh issue list \
  --label "bug" \
  --label "confirmed" \
  --label "priority: critical" \
  --state open \
  -L 5

# High-priority confirmed bugs
gh issue list \
  --label "bug" \
  --label "confirmed" \
  --label "priority: high" \
  --state open \
  -L 5

# Critical bugs needing investigation
gh issue list \
  --label "bug" \
  --label "ai-triaged" \
  --label "priority: critical" \
  --state open \
  -L 5

# High-priority bugs needing investigation
gh issue list \
  --label "bug" \
  --label "ai-triaged" \
  --label "priority: high" \
  --state open \
  -L 5

Step 3: Query Enhancement Requests

# High-priority enhancements
gh issue list \
  --label "enhancement" \
  --label "priority: high" \
  --state open \
  -L 5

# Medium-priority enhancements
gh issue list \
  --label "enhancement" \
  --label "priority: medium" \
  --state open \
  -L 5

Step 4: Check Medium/​Low Priority

# Medium-priority bugs
gh issue list \
  --label "bug" \
  --label "priority: medium" \
  --state open \
  -L 5

# Low-priority items
gh issue list \
  --label "priority: low" \
  --state open \
  -L 5

Step 5: Fallback - Oldest Issues

# Oldest unassigned open issues
gh issue list \
  --state open \
  --json number,title,labels,createdAt \
  --jq 'sort_by(.createdAt) | .[0:5]'

Routing Logic

After selecting an issue, route to the appropriate skill:

┌─────────────────────────────────────────────────────────────────┐
│                      ROUTING DECISION                           │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Has label "bug"?                                               │
│       │                                                         │
│       ├── YES ──► Has label "confirmed"?                        │
│       │                │                                        │
│       │                ├── YES ──► ha-emby-issue-executor       │
│       │                │           (Fix the bug)                │
│       │                │                                        │
│       │                └── NO ───► ha-emby-bug-triage           │
│       │                            (Investigate first)          │
│       │                                                         │
│       └── NO ───► Has label "enhancement" or "feature"?         │
│                        │                                        │
│                        ├── YES ──► ha-emby-issue-executor       │
│                        │           (Implement feature)          │
│                        │                                        │
│                        └── NO ───► Has label "question"?        │
│                                        │                        │
│                                        ├── YES ──► Answer or    │
│                                        │           skip         │
│                                        │                        │
│                                        └── NO ───► Evaluate     │
│                                                    case-by-case │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Skip Conditions

Skip issues with these labels:

LabelReason
needs-infoWaiting on reporter
status: blockedExternal dependency
upstreamEmby server issue
ha-coreHome Assistant core issue
status: wontfixWon't be addressed
status: duplicateAlready handled elsewhere
# Exclude blocked issues from query
gh issue list \
  --label "bug" \
  --label "confirmed" \
  --state open \
  --json number,title,labels \
  --jq '[.[] | select(.labels | map(.name) | contains(["needs-info"]) | not)]'

Output Format

After selecting an issue, announce:

## Selected Issue

**Issue:** #42 - WebSocket disconnects on server restart
**Type:** Bug (confirmed)
**Priority:** High
**Components:** websocket, api
**Assigned:** @me

**Routing to:** ha-emby-issue-executor

**Next steps:**
1. Create branch: `issue-42-websocket-reconnect`
2. Review issue details and comments
3. Begin TDD implementation

Or for bugs needing investigation:

## Selected Issue

**Issue:** #43 - Media player shows wrong album art
**Type:** Bug (needs investigation)
**Priority:** Medium
**Components:** media-player, api
**Assigned:** @me

**Routing to:** ha-emby-bug-triage

**Next steps:**
1. Start local HA environment
2. Configure to match reporter's setup
3. Attempt reproduction
4. Gather evidence
5. Update issue with findings

Claim the Issue

Before routing, claim the issue:

# Assign to self
gh issue edit {N} --add-assignee @me

# Update status
gh issue edit {N} --add-label "status: investigating"
# or
gh issue edit {N} --add-label "status: in-progress"

# Comment that work is starting
gh issue comment {N} --body "Starting investigation on this issue."

Memory Integration

Check episodic memory first:

  • Previous work on this issue?
  • Related issues already investigated?
  • Decisions made in prior sessions?

After selecting:

  • Record selected issue in memory
  • Note routing decision
  • Track session start

Common Scenarios

Scenario: User says "work on bugs"

# Focus query on bugs only
gh issue list \
  --label "bug" \
  --state open \
  --json number,title,labels \
  -L 20

# Apply priority ordering
# Route based on confirmed/​unconfirmed

Scenario: User says "what's the most urgent?"

# Query critical first
gh issue list --label "priority: critical" --state open -L 5

# Then high priority
gh issue list --label "priority: high" --state open -L 5

Scenario: User says "continue where I left off"

# Check in-progress first
gh issue list --label "status: in-progress" --assignee @me --state open

# Check memory for last session's work

Scenario: User points to specific issue

Skip selection, validate the issue exists, claim it, and route directly.

Related Skills

Routing ToSkillWhen
Bug investigationha-emby-bug-triageBug without confirmed label
Implementationha-emby-issue-executorConfirmed bugs, features
GitHub queriesha-emby-githubCLI commands, labels

Cross-references:

  • For priority label meanings → See ha-emby-github § "Priority Labels"
  • For component labels → See ha-emby-github § "Component Labels"
  • For status labels → See ha-emby-github § "Status Labels"

The Bottom Line

  1. Check in-progress work first
  2. Query by priority order
  3. Skip blocked/​waiting issues
  4. Claim before routing
  5. Route to correct workflow:
    • Unconfirmed bugs → ha-emby-bug-triage
    • Confirmed bugs → ha-emby-issue-executor
    • Features → ha-emby-issue-executor

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View