Skip to content

chore(dx): make L-N sequence numbering opt-in in linear-issue skill#3241

Merged
baktun14 merged 3 commits into
mainfrom
chore/dx-linear-issue-manual-ordering-default
Jun 2, 2026
Merged

chore(dx): make L-N sequence numbering opt-in in linear-issue skill#3241
baktun14 merged 3 commits into
mainfrom
chore/dx-linear-issue-manual-ordering-default

Conversation

@baktun14
Copy link
Copy Markdown
Contributor

@baktun14 baktun14 commented May 29, 2026

Why

Follow-up to #3233, which taught the linear-issue skill to always prefix multi-issue plan titles with L-1., L-2., … In practice the leading number is too intrusive:

  • The team already uses Linear's manual (drag-drop) ordering for execution order, so the title prefix is redundant.
  • A leading L-N. pollutes the title and hurts search/filtering, and—since Linear issues already have global IDs like CON-123—causes confusion.
  • Inserting an issue forces error-prone renumbering of every downstream title.

This refines the convention so manual ordering is the default and L-N. numbering is opt-in.

What

Skill-file-only change to .claude/skills/linear-issue/SKILL.md:

  • Renamed the Sequence Numbering section to Execution Order. Default is now Linear manual ordering (soft order) + native blocked by/blocks relationships (hard deps), with no title prefix — even for multi-issue plans. L-N. moved into an explicit opt-in subsection (only when the user asks for visible numbering).
  • Updated Phases 3, 4, and 5 to default to manual ordering and apply the L-N. prefix only when opted in.
  • Gated the Adding issues to a sequenced project renumber workflow on projects that already opted into L-N.; otherwise just create and let manual ordering place the issue.

No code, lint, or type impact.

Summary by CodeRabbit

  • Documentation
    • Updated Linear issue skill docs to revise multi-issue execution order guidance
    • Issue titles remain clean by default; visible sequence numbering (L-N.) is opt-in
    • Recommend manual ordering and native dependency relations (blocked by/blocks) for sequencing
    • Numbering prefixes applied only when explicitly requested; avoid adding prefixes retroactively in single-issue creates or improve edits
    • Clarified behavior for projects that already use sequence numbering and when to start a new sequence

Review Change Stack

Default to Linear's manual ordering and native blocked-by/blocks
relationships for execution order; apply L-N. title prefixes only when
the user explicitly asks. Gate the renumber workflow on projects that
already opted into L-N. Refines #3233.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 47527c48-fedf-42e4-9aa3-43ab7c701dd1

📥 Commits

Reviewing files that changed from the base of the PR and between f9197fc and ed4d644.

📒 Files selected for processing (1)
  • .claude/skills/linear-issue/SKILL.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • .claude/skills/linear-issue/SKILL.md

📝 Walkthrough

Walkthrough

The Linear issue skill documentation updates multi-issue execution order: defaults to Linear manual ordering plus native blocked by/blocks relationships; visible L-N. title prefixes are applied only when the user explicitly opts into numbered planning.

Changes

Linear Issue Skill Execution Order Policy

Layer / File(s) Summary
Core execution order policy definition
.claude/skills/linear-issue/SKILL.md
Sequence Numbering replaced with Execution Order that defaults to manual ordering and blocked by/blocks; L-N. prefixes become explicit opt-in with exclusions for single-issue creates and improve-mode edits.
Workflow phases alignment
.claude/skills/linear-issue/SKILL.md
Phase 3 updated to describe manual ordering and relationships; Phase 4 routes title prefixing conditionally (only for projects already using L-N. or when user opted in); Phase 5 checklist shows ordering via manual order + blocked by/blocks, matching L-N. only when numbering applied.
Sequenced project operations and fallback behavior
.claude/skills/linear-issue/SKILL.md
"Adding issues to a sequenced project" scoped to projects already using L-N. numbering; sequence detection treats projects without L-N. titles as unnumbered and avoids starting a new numbered sequence unless explicitly requested.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • akash-network/console#3233: Modifies the same linear-issue skill documentation with related changes to multi-issue execution ordering and L-N. prefix application.

Suggested labels

size: XS, experienced-contributor

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/dx-linear-issue-manual-ordering-default

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.claude/skills/linear-issue/SKILL.md:
- Around line 128-135: Clarify precedence between “When NOT to apply” and
“Adding issues to a sequenced project”: add one explicit sentence to the “When
NOT to apply (even within an opt-in sequence)” paragraph stating that the
“single-issue creates (one-off bug, lone chore) — un-prefixed” exception does
NOT apply if the target project already uses the L-N. sequencing, and that in
that case the “Adding issues to a sequenced project” flow governs and the new
issue must be created with the appropriate L-N. prefix and insertion/renumbering
procedure; keep the detailed insertion steps in the existing “Adding issues to a
sequenced project” section as the authoritative workflow.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6d5345a8-07ff-4a52-b5d9-6175bf3ec60a

📥 Commits

Reviewing files that changed from the base of the PR and between ef633f7 and b25bdd8.

📒 Files selected for processing (1)
  • .claude/skills/linear-issue/SKILL.md

Comment thread .claude/skills/linear-issue/SKILL.md
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.claude/skills/linear-issue/SKILL.md (1)

210-210: ⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

Clarify when the sequenced-project flow is triggered during create-mode.

Lines 210 and 270 say to apply L-N. prefixes "only if the user opted into" numbering, but the "Adding issues to a sequenced project" flow (lines 395-411) should trigger whenever the target project already uses L-N. — regardless of whether the user explicitly requested numbering in the current command.

The sequenced-project section is placed under "Improve Existing Issues," but line 134 says it applies when "adding to an already-numbered project later." This placement could cause the skill to miss triggering it during Phase 4-5 when creating new issues in a numbered project.

Consider either: (a) moving the sequenced-project flow earlier and integrating it into Phase 4, or (b) adding explicit routing logic in Phase 4 that says "if target project uses L-N., follow the sequenced-project flow instead."

Also applies to: 395-397

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.claude/skills/linear-issue/SKILL.md at line 210, The sequenced-project
routing is ambiguous: ensure the "Adding issues to a sequenced project" flow is
triggered whenever the target project already uses L-N. numbering, not only when
the user opts into numbering; update the create-mode/Phase 4 routing so that
when creating or adding issues the logic checks the target project's numbering
state and routes to the "sequenced-project" flow (the section titled "Adding
issues to a sequenced project") instead of the default create flow, and move or
reference that section out of "Improve Existing Issues" into Phase 4 or add
explicit decision logic in Phase 4 that says "if target project uses L-N.,
follow sequenced-project flow".
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.claude/skills/linear-issue/SKILL.md:
- Line 130: Update the guidance at the Improve-mode rule that currently states
"don't retrofit a prefix" (near the Improve-mode edits paragraph) to cover the
numbered-project edge case: when improving an un-prefixed issue that belongs to
a project using `L-N.` numbering, change the text to recommend the skill should
warn the user about the missing prefix and offer an explicit option to add the
correct `L-N.` prefix (or skip) rather than silently leaving it un-prefixed;
also add a cross-reference to the "Adding issues to a sequenced project" section
so readers understand sequence-consistency requirements and the available
behaviors (warn+offer-to-add, leave, or abort).

---

Outside diff comments:
In @.claude/skills/linear-issue/SKILL.md:
- Line 210: The sequenced-project routing is ambiguous: ensure the "Adding
issues to a sequenced project" flow is triggered whenever the target project
already uses L-N. numbering, not only when the user opts into numbering; update
the create-mode/Phase 4 routing so that when creating or adding issues the logic
checks the target project's numbering state and routes to the
"sequenced-project" flow (the section titled "Adding issues to a sequenced
project") instead of the default create flow, and move or reference that section
out of "Improve Existing Issues" into Phase 4 or add explicit decision logic in
Phase 4 that says "if target project uses L-N., follow sequenced-project flow".
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 33d58628-52a5-437c-ba08-87b6d0974f24

📥 Commits

Reviewing files that changed from the base of the PR and between b25bdd8 and f9197fc.

📒 Files selected for processing (1)
  • .claude/skills/linear-issue/SKILL.md

Comment thread .claude/skills/linear-issue/SKILL.md Outdated
…rojects

Clarify that L-N opt-in governs starting a sequence; continuing an
existing one is automatic. Add Phase 4 routing and improve-mode guidance
for un-prefixed issues in numbered projects.
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: chore that does not touch source code files.

@baktun14 baktun14 added this pull request to the merge queue Jun 2, 2026
Merged via the queue into main with commit 2f9ac22 Jun 2, 2026
49 checks passed
@baktun14 baktun14 deleted the chore/dx-linear-issue-manual-ordering-default branch June 2, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants