Skip to content
Productivity
Command

/search

Search the pro-workflow learnings database using full-text search (BM25).

From plugin
pro-workflow
2.9k23 skills8 agents23 commands24 hooks
Install
> /plugin marketplace add rohitg00/pro-workflow
> /plugin install pro-workflow@pro-workflow

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/search

Context preview

What this command does when you run it.

Search the pro-workflow learnings database using full-text search (BM25).

Command definition

search.md

/search <query> - Search Learnings

Search the pro-workflow learnings database using full-text search (BM25).

Usage

/search testing
/search "file paths"
/search git commit

Search Features

  • **BM25 ranking**: Results are ranked by relevance
  • **Prefix matching**: "test" matches "testing", "tests", etc.
  • **Phrase search**: Use quotes for exact phrases
  • **Multiple terms**: Space-separated terms are OR'd together

Output Format

Found 3 learnings matching "testing":

#1 [Testing] Always run tests before commit
   Mistake: Pushed broken code
   Applied: 5 times

#2 [Testing] Use --related flag to run only affected tests
   Mistake: Ran full test suite unnecessarily
   Applied: 2 times

#3 [Quality] Mock external APIs in tests
   Mistake: Tests failed due to network issues
   Applied: 1 time

Options

  • **Category filter**: `/search testing category:Quality`
  • **Project filter**: `/search testing project:my-app`
  • **Limit results**: Results are limited to top 10 by default

Related Commands

  • `/learn` - Add a new learning to the database
  • `/list` - List all learnings (no search filter)
  • `/stats` - Show learning analytics (coming soon)

---

**Trigger:** Use when user asks "how did I handle...", "what was the rule for...", or needs to recall a past learning.

Ships withpro-workflow

Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.

Get the whole plugin

Other commands on pro-workflow.