Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/templates/skill-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,7 @@ export function getOpsxContinueCommandTemplate(): CommandTemplate {
**If all artifacts are complete (\`isComplete: true\`)**:
- Congratulate the user
- Show final status including the schema used
- Suggest: "All artifacts created! You can now implement this change or archive it."
- Suggest: "All artifacts created! You can now implement this change with \`/opsx:apply\` or archive it with \`/opsx:archive\`."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this possibly might be claude code specific commands? I've tried to make the instructions not specific to claude code since people use this with different coding agents.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I'd like to clarify - the change I made is in the Command template (getOpsxContinueCommandTemplate), not the Skill template.

The Command templates (returning CommandTemplate) already contain many /opsx:* references throughout. For example:

  • "Run /opsx:continue to create the next artifact"
  • "Run /opsx:apply to start implementing"

So adding the slash command hints here is consistent with the existing pattern in Command templates.

The real problem I'm trying to solve: when new team members first use OpenSpec, they don't know they need to run /opsx:apply after /opsx:continue completes all artifacts. They keep running /opsx:continue repeatedly, getting stuck in a loop. Adding explicit command hints helps them understand the next step.

The Skill templates (openspec-xxx, returning SkillTemplate) remain agent-agnostic with no command references - I didn't touch those.

- STOP
---
Expand Down Expand Up @@ -1951,7 +1951,7 @@ Working on task 4/7: <task description>
- [x] Task 2
...
All tasks complete! Ready to archive this change.
All tasks complete! You can archive this change with \`/opsx:archive\`.
\`\`\`
**Output On Pause (Issue Encountered)**
Expand Down