Skip to content

Remove redundant RESHAPR_ prefix from artifact type identifiers #136

@yada

Description

@yada

In the reshapr artifact list command output, the TYPE column displays the system types associated with each artifact. Currently, many entries are prefixed with RESHAPR_ (for example: RESHAPR_CUSTOM_TOOLS, RESHAPR_PROMPTS, RESHAPR_RESOURCES).

Because this data is entirely contextual to the reshapr CLI ecosystem itself, repeating the RESHAPR_ prefix on every row:

  • Adds unnecessary visual noise
  • Increases terminal table width usage
  • Reduces readability
  • Provides no additional value to the end user

Proposed Improvement

Standardize and streamline type names by removing the redundant namespace prefix.

Current Type Proposed Type
RESHAPR_CUSTOM_TOOLS CUSTOM_TOOLS
RESHAPR_PROMPTS PROMPTS
RESHAPR_RESOURCES RESOURCES

Example Comparison

Current Output

ID             NAME                             TYPE                 MAIN
0Q9JHRYRBB6SZ  GitHub GraphQL-20260410.graphql  GRAPHQL_SCHEMA       Yes
0Q9JJ14WBB73V  file                             RESHAPR_CUSTOM_TOOLS No
0QBG4EFQFB6G1  file                             RESHAPR_PROMPTS      No
0QBGBHY43B5QB  file                             RESHAPR_RESOURCES    No

Proposed Streamlined Output

ID             NAME                             TYPE                 MAIN
0Q9JHRYRBB6SZ  GitHub GraphQL-20260410.graphql  GRAPHQL_SCHEMA       Yes
0Q9JJ14WBB73V  file                             CUSTOM_TOOLS         No
0QBG4EFQFB6G1  file                             PROMPTS              No
0QBGBHY43B5QB  file                             RESOURCES            No

Where the idea is comingfrom -> reshaprio/reshapr.io@107928d

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions