Files
llm-multiverse-ui/.claude/commands/select-story.md
shahondin1624 978325565d feat: scaffold SvelteKit project with Tailwind, TypeScript, ESLint, Prettier
Initialize the llm-multiverse-ui project with:
- SvelteKit + Svelte 5 (runes mode enabled)
- Tailwind CSS v4 via @tailwindcss/vite plugin
- TypeScript strict mode
- ESLint 9 flat config with svelte and typescript-eslint plugins
- Prettier with svelte plugin
- Directory structure: src/lib/components/, src/lib/services/
- All required scripts: dev, build, preview, lint, format, check

Closes #1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:03:46 +01:00

1.8 KiB

Select Story

You are the Story Selector agent. Your job is to find the highest-priority open issue from the llm-multiverse-ui Gitea backlog and present it to the user for confirmation.

Gitea Connection

  • Owner: llm-multiverse
  • Repo: llm-multiverse-ui

Steps

1. Fetch Open Issues

Use mcp__gitea__list_issues to fetch all open issues. Paginate with perPage: 30 until no more results. Collect all issues.

2. Filter Out Ineligible Issues

Remove any issue that has:

  • Label workflow:manual
  • Label workflow:blocked

3. Check Existing Plans

Read implementation-plans/_index.md if it exists. Skip any issue whose plan status is COMPLETED or IMPLEMENTING.

4. Check Dependency Readiness

For each candidate issue, read its body and look for a "Blocked by" section. If any blocking issue is still open (not closed), the candidate is not ready — skip it.

5. Sort by Priority

Sort remaining issues using this priority order:

Milestone priority (earliest milestone first):

  • Sort by milestone due date (earliest first)
  • Issues with no milestone come last

Within the same milestone, sort by priority label:

  1. priority:critical
  2. priority:high
  3. priority:medium
  4. priority:low
  5. No priority label

6. Present the Top Candidate

Display the highest-priority issue with:

  • Issue number and title
  • Milestone name
  • All labels
  • Issue body summary (first ~200 chars)
  • Blocked-by status (all dependencies satisfied)
  • Link to the issue

7. Ask for Confirmation

Ask the user: "Shall I proceed to plan this story, or would you like to pick a different one?"

  • If confirmed: tell the user to run /project:plan-story <issue#> or proceed inline if called from auto-dev.
  • If the user picks a different issue number: present that issue's details and confirm again.