Skip to content

feat(workflow): on-demand workflow_match trigger#28

Merged
DannyNs merged 1 commit intomainfrom
feature/workflow-on-demand-trigger
Mar 19, 2026
Merged

feat(workflow): on-demand workflow_match trigger#28
DannyNs merged 1 commit intomainfrom
feature/workflow-on-demand-trigger

Conversation

@DannyNs
Copy link
Collaborator

@DannyNs DannyNs commented Mar 19, 2026

Summary

  • Changed workflow_match from automatic (every prompt) to on-demand only
  • Now triggered only when the user explicitly mentions "workflow" in their prompt
  • Reduces unnecessary MCP round-trips on every conversation turn

Files changed

  • bin/claude-md-template.js — updated priority rule and tool description in CLAUDE.md template
  • src/apps/workflow/mcp.ts — updated MCP server instructions and tool description
  • src/apps/documentation/public/page.js — updated "How Matching Works" docs

Test plan

  • Start a new Claude Code session and verify workflow_match is NOT called on regular prompts
  • Send a prompt containing "workflow" and verify workflow_match IS called
  • Run devglide setup and verify the updated template is injected into ~/.claude/CLAUDE.md

🤖 Generated with Claude Code

workflow_match is no longer called automatically on every prompt.
It is now triggered only when the user explicitly mentions "workflow"
in their prompt, reducing unnecessary MCP round-trips.
@DannyNs DannyNs merged commit 4f8d559 into main Mar 19, 2026
1 check passed
@DannyNs DannyNs deleted the feature/workflow-on-demand-trigger branch March 19, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant