Skip to content

An /orbit slash command for creating, finding and looking up issues #188

Closed as not planned

Description

@imshashank

There is no way to type anything into Slack and have Orbit respond. Add a slash command.

The command surface

/orbit with subcommands. Keep it small, because a slash command that does everything is a command nobody remembers.

  • /orbit new <title> opens the create modal, pre-filled with the title. Same modal as the message shortcut, so build one and share it.
  • /orbit <IDENTIFIER> posts a summary of that issue: title, state, assignee, priority, link. Ephemeral by default, with a "share to channel" button, so looking something up does not spam the channel.
  • /orbit search <text> returns the top few matches, ephemeral, each with a share button.
  • /orbit mine lists the caller's open issues, ephemeral.
  • /orbit help lists the above.

Anything unrecognised should say what it does understand rather than failing silently.

Details

Ephemeral by default. Almost every use of this is somebody checking something for themselves. Posting to the channel should be a deliberate second action.

Identifier parsing. issue_identifier_alias exists in packages/db/src/schema/work.ts, which means an issue can be found by an old identifier after a team move. Use the same resolution path the web app uses rather than matching on issue.identifier directly, or renamed teams will break lookups.

Search. apps/web/src/lib/query/issue-search.ts and the trigram indexes on issue.title and issue.description are what backs search today. Reuse the same query path so Slack results match in-app results.

Permissions. Results are filtered to what the calling user may read, not to what the Slack workspace may read. A guest in Orbit who is in the Slack channel must not be able to search their way into a team they cannot see. packages/shared/src/policy is the only place that decision gets made.

Three second acknowledgement. Acknowledge, then respond via response_url if the work takes longer.

Unmapped Slack users get an ephemeral message explaining how to connect their account, and no data. Same rule as the message shortcut issue.

Files

  • A new interactivity and command route under apps/web/src/app/api/webhooks/slack/
  • packages/services/src/ for the Slack client
  • packages/shared/src/validators/ for the command payload schema
  • packages/core/src/work/ for the reads and writes
  • docs/integrations.md needs the command list and the setup step for registering it

Depends on

Nothing hard, but it shares the create modal with the message shortcut issue and shares account mapping with the whole milestone. If both are picked up at once, agree on this thread who owns the shared pieces.

Activity

  1. added this to the Slack, properly milestone on Aug 8, 2026
  2. added
    enhancement
    help wanted
    p2 medium
    area: integrations
    on Aug 8, 2026
  3. moved this to Backlog in Orbit roadmapon Aug 8, 2026
  4. added
    size: large
    points: 5
    on Aug 8, 2026
  5. imshashank commented on Sep 6, 2026

    @imshashank
    ContributorAuthor

    Merged into #187. The shortcut and the slash command share the modal, the interactivity route and the account mapping, so one PR builds both. Closing this as the duplicate; the /orbit subcommand list above is copied onto #187.

  6. added
    duplicate
    on Sep 6, 2026
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

    area: integrationsduplicateenhancementhelp wantedp2 mediumpoints: 5size: large

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions