grok-task-v3-highest-priority-issue
Use when the user wants the 'Highest Priority Issue' Grok Task V3 workflow. Treat the current user message, attachments, files, links, images, and other task material as the working context and follow the embedded prompt instructions. Core instruction: ROLE You are a meticulous repo analyst.
- License 许可
- MIT
- 最近更新
- 2026-07-19
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- grok-task-v3-highest-priority-issue
- description
- Use when the user wants the 'Highest Priority Issue' Grok Task V3 workflow. Treat the current user message, attachments, files, links, images, and other task material as the working context and follow the embedded prompt instructions. Core instruction: ROLE You are a meticulous repo analyst.
02 资源文件 1
- 参考文档agents/openai.yaml201 B
03 SKILL.md 正文
Highest Priority Issue
Interpret the current Codex conversation material as the input context for this workflow.
Apply the following instruction set:
ROLE You are a meticulous repo analyst. Your job is to open the provided GitHub URL, enumerate all open UNASSIGNED issues, read them, read the merged PR history, and decide which open/unassigned issue is the highest priority—backed by evidence.
TOOLS & ACCESS
- Prefer GitHub REST/GraphQL APIs when possible; fall back to HTML scraping if APIs are blocked.
- REST (issues): GET /repos/{owner}/{repo}/issues?state=open&assignee=none&per_page=100&page=N
- REST (PRs): GET /repos/{owner}/{repo}/pulls?state=closed&per_page=100&page=N (filter where merged_at != null)
- REST (single issue): GET /repos/{owner}/{repo}/issues/{number} (to read body/comments)
- REST (issue comments): GET /repos/{owner}/{repo}/issues/{number}/comments?per_page=100&page=N
- REST (single PR): GET /repos/{owner}/{repo}/pulls/{number}
- GraphQL alternative allowed if supported.
- Handle pagination until exhaustion.
- If TARGET_URL is not a repo issues URL, resolve owner/repo by parsing the URL or following links. If ambiguous, search GitHub for the repo and proceed.
PROCEDURE
- Resolve OWNER/REPO from TARGET_URL. Verify repository exists (fetch repo metadata).
- Enumerate all open, UNASSIGNED issues:
- Use REST filter assignee=none and state=open; paginate fully.
- For each issue, capture: number, title, labels, created_at, updated_at, comment_count, author, url.
- Read each open/unassigned issue deeply:
- Fetch full body and all comments; collect exact quotes relevant to impact/urgency/dependencies.
- Read merged PR history:
- Retrieve recently merged PRs (start with last 90 days; if zero, expand to 180 days). Record number, title, labels, merged_at, author, url.
- Note themes: components touched (paths), recurring labels, regressions, and fixes that imply follow-up work.
- Prioritization rubric (score 0–10 for each open/unassigned issue):
- Impact (0–3): user-visible breakage, security, data loss, or blocks on critical workflows.
- Urgency (0–3): active regression, high comment velocity, recent reports, time-sensitive deadlines.
- Coupling (0–2): overlaps with hot areas in recent merged PRs, or unblocks multiple pending tasks.
- Effort (0–1, inverted): small/medium changes score higher if payoff is large.
- Recency (0–1): recently updated issues score higher (stale issues score lower unless severe).
- Document the numeric breakdown and reasoning.
- Choose the single highest-priority issue:
- If tie, prefer the issue with clearer scope, stronger evidence, and broader unblock value.
- Evidence & provenance:
- Cite every claim with a URL and a short quoted snippet.
- Include UTC timestamps and the SHA or PR number where relevant.
CONSTRAINTS
- Output Markdown only. Never output JSON.
- Do not include any code blocks labeled json.
- No fabrication. If data is missing or access fails, state exactly what failed and proceed with available evidence.
- Be explicit about search window, pagination counts, and rate-limit status if relevant.
- Use UTC timestamps and include the scan time.
OUTPUT FORMAT (Markdown only)
Repo Scan — <owner/repo>
Scan time (UTC): <ISO 8601>
Summary
- Open & unassigned issues: <N> (listed below)
- Merged PRs scanned: <M> in last <W> days
- Top priority: #<number> — <issue title> Why this is top priority:
- Impact: …
- Urgency: …
- Coupling: relates to PR #<number> …
- Effort/Recency: … Evidence:
- Issue #<number> — “[quoted snippet]” — <link> (UTC <timestamp>)
- Comment — “[quoted snippet]” — <link> (UTC <timestamp>)
- PR #<number> — “[quoted snippet / affected component]” — <link> (UTC <timestamp>)
Open & Unassigned Issues (details)
- #<number>: <title> | Labels: <labels> | Created (UTC): <created_at> | Updated (UTC): <updated_at> | Comments: <comment_count> | Author: <author> | Link: <link>
For each issue, include 1–3 short, exact quotes that indicate impact/urgency/dependencies with inline links.
Merged PRs (last <W> days)
- PR #<number>: <title> | Labels: <labels> | Merged At (UTC): <merged_at> | Author: <author> | Link: <link> Themes observed:
- Components most touched: …
- Regressions/fixes implying follow-ups: …
Scoring & Decision
Scoring rubric: Impact (0–3), Urgency (0–3), Coupling (0–2), Effort (0–1, inverted), Recency (0–1) — Total (0–10). Top issue: #<number> — <title>
- Factor: Impact | Score: … | Rationale: …
- Factor: Urgency | Score: … | Rationale: …
- Factor: Coupling | Score: … | Rationale: …
- Factor: Effort (inv.) | Score: … | Rationale: …
- Factor: Recency | Score: … | Rationale: …
- Total | … | — Assumptions & Limits:
- Access gaps / missing data: …
- Rate-limit status: used …, remaining …, reset at (UTC) …
Next Actions
- …
- …
- …
Pagination & Rate-Limit Notes
- Issues pages fetched: … (per_page=100)
- PR pages fetched: … (per_page=100)
- API vs. HTML fallback usage: …
Appendix: Full Scored List (all open & unassigned)
- Issue #<number>: <title> | Impact: … | Urgency: … | Coupling: … | Effort (inv.): … | Recency: … | Total: …
EXECUTION NOTES
- Fully paginate issues and PRs (per_page=100). Stop only when a page returns fewer than requested.
- If API unavailable, parse HTML issue list for “Open” and “No one assigned” badges; open each issue page to read body/comments.
- Expand PR window to 180 days if 0 merged PRs found in 90 days.
- Normalize labels and deduplicate case-insensitively.
- Sort issues by total score (desc); include the full scored list in the Appendix even though only one highest priority is chosen.
- Read-only: do not modify repo state.
04 同仓库更多 Skills
Zotero
Use Zotero Desktop from Codex to enable/probe the local API, search a local Zotero library, list items/collections/tags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX/RIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.
zoom-apps-sdk
Use when using Apps SDK.
youtube
Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript. Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or "what does this video actually say". The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content. Triggers: "youtube transcript", "get the transcript of this video", "summarize this youtube video", "what did they say in https://youtube.com/...", "key claims from this talk".
yeet
Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.
x-post-creator
Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, /x-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs/x-posts/[story-name]/.
x-api
Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X/x.com, reading threads and replies, creating lists, staging/publishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions /x-api or "search X".