Skip to content

[Feature]: Configurable start prompt template for ticket-linked workspaces #16066

Description

@jaedle

[Feature]: Configurable start prompt template for ticket-linked workspaces

Problem or use case

When I open a workspace from a linked ticket, the session always starts with a fixed, hardcoded prompt: for Linear it's Linked Linear issue: <id>\n<url>, for the other supported providers (GitHub, GitLab, Jira) it's just a raw URL appended as Linked work items:\n- <url>. I use custom skills to plan out my sessions, and there is no way to have the new session invoke one automatically. I have to retype the same prefix on every workspace I create from a ticket.

The need goes beyond planning: some tickets are already refined and ready for implementation. For those I'd want to launch a specific implementation agent or skill instead of a planning one, but today both cases get the identical fixed prompt. I assume this is a generalized need: many users have custom planning or implementation skills and prefer them over built-in planning tools, especially in multi-agent setups, and want their agent bootstrapped with the right context from the start.

Proposed solution

Make the start prompt for ticket-linked workspaces configurable as a template with placeholders, e.g. {identifier}, {url}, {title}:

Work on ticket {identifier} ({url}).
/start-plan

The template would be applied wherever the current hardcoded block is produced (buildLinearLaunchContextBlock / getLinkedWorkItemPromptContext in src/renderer/src/lib/linked-work-item-context.ts, consumed by buildAgentPromptWithContext in src/renderer/src/lib/new-workspace.ts), with the existing format as the default. This should work provider-agnostically: one template mechanism covering all supported task providers (GitHub, GitLab, Linear, Jira), optionally with per-provider templates using the same placeholder set. A user-defined prefix/suffix (before/after the linked-ticket block) already covers the core use case.

Ideally the template can be picked per launch (or matched to the ticket's workflow state), so a ready ticket can start with an implementation prompt while an unrefined one starts with a planning prompt (e.g. a quick choice in the create dialog, or per-state templates).

Alternatives or additional context

Current workaround: typing a note in the quick-create dialog every time; it is prepended before the linked-ticket block (resolveQuickCreateLinkedWorkItemPrompt), but it is per-workspace manual input and cannot add a suffix. Security-wise, the template should follow the existing rule that only stable identity/link fields reach the terminal draft (ticket prose stays untrusted); the placeholders above fit that constraint.

Activity

  1. lukassh-7 commented on Sep 8, 2026

    @lukassh-7

    Opened #19555 for the no-ticket case. Same underlying need, different entry point: this issue templates the prompt Orca already injects for a linked ticket, #19555 asks for a plain optional prompt field when you create a worktree without one.

  2. added
    enhancement
    on Sep 19, 2026
  3. added theissue type on Sep 19, 2026
  4. xelagr commented on Nov 11, 2026

    @xelagr

    I ended up writing a custom Claude Code UserPromptSubmit hook as a workaround. It essentially fires after you submit a prompt consisting only of a JIRA link in Orca; the hook checks whether the prompt has only a JIRA link and adds your custom prompt to it.

  5. jaedle commented on Nov 15, 2026

    @jaedle
    Author

    I ended up starting workspace from agents and moved on to t3.
    Closing this as I have no need for this anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions