Skip to content

pi.dev integration bugs: prompt template name, args passing #912

@NikitaIT

Description

@NikitaIT

1. In pi.dev, prompts need to have a different format

Problem: In pi, file name used as command name.

Example:

-.pi/prompts/opsx-propose.md
+.pi/prompts/opsx:propose.md

So that /opsx:propose becomes /opsx:propose in cli, not /opsx-propose.

2. Prompts are templates, not "pre-skills" like in claude

Problem: agent can't see /opsx:propose my text line, because it's template function call.

Fix: Add args into the input section in every template:

Example: The change name is: $@ or The argument is: $@

@badlogic fyi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions