feat: add workflow slash triggers

✅ merged · #280 · open-legal-products/mike ← zenzen-sol/mike · opened 1mo ago by zenzen-sol · merged 1mo ago by willchen96 · +555-9 across 12 files · ↗ on GitHub

From the PR description

Summary

  • define an optional metadata.mike-slash-trigger field for assistant workflow SKILL.md frontmatter
  • expose declared triggers for system and installed workflows
  • show matching workflow commands in the chat composer and execute the selected workflow through the existing workflow message field

Protocol

metadata:
  mike-slash-trigger: "/contract-intake"

Triggers must begin with / and contain only lowercase letters, numbers, and hyphens.

Validation

  • npm test in frontend: 52 tests passed
  • npm test in backend: 276 tests passed, 14 skipped
  • npm run build in backend
  • npx next build --webpack in frontend
  • npm run lint in frontend: 0 errors

Our analysis

Add slash triggers for assistant workflows — read the full analysis →

Think the analysis missed something the PR description covers?

Commits in this PR (5)

SHA Subject Author Date
9db99e1c feat: add workflow slash triggers Sol Irvine 2026-08-02 ↗ GitHub
d54684d6 feat: show empty slash command state Sol Irvine 2026-08-03 ↗ GitHub
75a10f08 fix: pass through slash without commands Sol Irvine 2026-08-03 ↗ GitHub
942a9ff6 refactor: derive workflow slash commands from names willchen96 2026-08-03 ↗ GitHub
8a92e1c2 style: refine workflow slash menu willchen96 2026-08-03 ↗ GitHub

Capture this PR into my fork

Download a Markdown prompt that tells Claude how to port every commit in this PR into your working tree. Run it via claude -p < capture-pull-280.md from inside the repo you want the changes in.

⬇ Download capture-pull-280.md