Command Palette

Search for a command to run...

Back to skills
skill № 18627

update-priorities

Interactively update GitHub Project #24 ("Vultron Planning") by moving items between Schedule tiers (Now/Next/Later/Someday) via the GitHub Projects API. Use…

FreeNo executable scripts
CERTCCby CERTCC★ 22 GitHub stars

Install update-priorities in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Update Priorities

Interactively update the Schedule field on issues and Epics in GitHub Project #24. Designed as a companion to check-priority-status — run the status check first to understand the current state, then use this skill to apply scheduling changes.

Quick Start

Run the update-priorities skill.

The skill will:

  1. Query Project #24 for all items and their current Schedule tiers
  2. Present options:
    • Move item(s) to a different tier (Now / Next / Later / Someday)
    • Promote Triage items (Someday items to a schedule tier)
    • Add an issue to the board (an Epic gets a Schedule; a non-Epic gets none, PAD-02-001)
    • Sync Epic children to their Epic's tier (raise Someday/off-board descendants of scheduled Epics)
    • Archive a completed Epic (close issue + history entry)
  3. For each action, apply the change live via GitHub API
  4. Commit if any notes/history files changed (board changes need no commit)

Project Board Constants

Board IDs (project node ID, Schedule field ID, Schedule option IDs) are never hardcoded — they rotate when the field's options are edited. Resolve them by name at runtime via board-id.sh; see .agents/skills/shared/README.md for the full interface:

PROJECT_ID=$(bash .agents/skills/shared/board-id.sh project)
SCHEDULE_FIELD_ID=$(bash .agents/skills/shared/board-id.sh schedule-field)
# Option ID for a given tier (Focus|Now|Next|Later|Someday):
SCHEDULE_OPTION_ID=$(bash .agents/skills/shared/board-id.sh schedule "${TIER}")

Workflows

Move Item to a Different Tier

  1. Identify the issue or Epic number. Before moving an Epic to Now or Focus, run the blind content audit on it (calve-epics § "Before promoting an epic to Now") and fix what it finds first.

  2. Resolve board IDs and find the item's project item ID:

    PROJECT_ID=$(bash .agents/skills/shared/board-id.sh project)
    ITEM_ID=$(gh api graphql -f query='{
      node(id:"'"$PROJECT_ID"'") {
        ... on ProjectV2 {
          items(first:100) {
            nodes {
              id
              content { ... on Issue { number } }
            }
          }
        }
      }
    }' --jq ".data.node.items.nodes[] \
      | select(.content.number == ${ISSUE_NUMBER}) | .id")
    
  3. Apply the Schedule field update (resolve the target tier's option ID by name, e.g. bash .agents/skills/shared/board-id.sh schedule Now):

    SCHEDULE_FIELD_ID=$(bash .agents/skills/shared/board-id.sh schedule-field)
    SCHEDULE_OPTION_ID=$(bash .agents/skills/shared/board-id.sh schedule "${TIER}")
    gh api graphql -f query="mutation {
      updateProjectV2ItemFieldValue(input: {
        projectId: \"${PROJECT_ID}\"
        itemId: \"${ITEM_ID}\"
        fieldId: \"${SCHEDULE_FIELD_ID}\"
        value: { singleSelectOptionId: \"${SCHEDULE_OPTION_ID}\" }
      }) { projectV2Item { id } }
    }"
    

Add Issue to Board

Add an Epic to Project #24 and set its Schedule in one call via the shared helper (single source of truth for board/field/option IDs; accepts Focus | Now | Next | Later | Someday):

bash .agents/skills/shared/add-to-project.sh "${ISSUE_NUMBER}" "${SCHEDULE:-Someday}"

Add a non-Epic with no Schedule: its tier is its Epic's (PAD-02-001).

gh project item-add 24 --owner CERTCC \
  --url "https://github.com/CERTCC/Vultron/issues/${ISSUE_NUMBER}"

To re-tier an item already on the board, resolve its existing project item ID and set the Schedule field directly (resolve every ID by name via board-id.sh — see the "Move Item to a Different Tier" workflow above and .agents/skills/shared/README.md).

Sync Epic Children to Their Epic's Tier

New issues default to Someday even when filed under a scheduled Epic, so a Now-tier Epic's children drift into Triage. Raise every open descendant (recursively) that sits below its Epic's tier:

# Dry run first: prints RAISE / SKIP-* lines, changes nothing
bash .agents/skills/shared/sync-epic-schedules.sh
# Then apply (defaults to Epics in Focus, Now, Next; or name Epics explicitly)
bash .agents/skills/shared/sync-epic-schedules.sh --apply [<EPIC>...]
# Include Later Epics (--tiers is ignored when Epics are named)
bash .agents/skills/shared/sync-epic-schedules.sh --tiers "Focus Now Next Later"

The script only raises, never lowers, and only raises the un-prioritized states: Someday, on-board with no Schedule, and off-board. It reports but does not touch the rest, which need a human call: a child ranked above its Epic (deliberate prioritization), a child at Later (deliberate deferral, unlike the Someday default), and any non-tier value such as Completed (SKIP-OTHER). Present those to the user rather than changing them.

Archive a Completed Epic

  1. Confirm all sub-issues are closed.

  2. Invoke the archive-history skill:

    TYPE    = priority
    TITLE   = <Epic title>
    SOURCE  = EPIC-<number>
    BODY    = <Epic summary, l
    
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • REFERENCE.md

FAQ

What does the update-priorities skill do?

Interactively update GitHub Project #24 ("Vultron Planning") by moving items between Schedule tiers (Now/Next/Later/Someday) via the GitHub Projects API. Use when you want to schedule issues, promote triage items, or rebalance tiers based on findings from check-priority-status.

How do I install the update-priorities skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the update-priorities skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare update-priorities with