Skip to content

OPENCODE: Three-source unified slash-command namespace #435

@Hmbown

Description

@Hmbown

Summary

Native commands, user-config commands, MCP prompts, and skills all share the /foo namespace with template substitution and per-command options.

Acceptance criteria

  • All sources visible in /help.
  • Clear precedence and conflict resolution.
  • Positional args parsed with $1, $2, and $ARGUMENTS.

Files

crates/tui/src/commands/mod.rs + new resolver

Size

M

Source

Source tag: OPENCODE. Add exact upstream/opencode source links during implementation if they are not already known. Do not copy external code blindly; port the behavior into this repo's architecture.

Filed from 2026-05-02 v0.8.8 intake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv0.9.0Targeting v0.9.0

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions