search_patterns
Search anti-patterns and success-patterns by keyword to learn what to avoid and what works before submitting a PR.
Instructions
Search anti-patterns and success-patterns by keyword.
Use this to find relevant patterns before submitting a PR. Anti-patterns show what NOT to do, success-patterns show what works.
Args: query: Search keyword (e.g. "duplicate PR", "missing tests", "out of scope", "breaking change") pattern_type: Filter type — "all" (default), "anti-pattern", or "success-pattern" limit: Max results to return (default 10)
Returns: list of dicts with keys: key, title, symptom, fix_action, source_pr, type, file
Example: search_patterns("duplicate PR") → finds anti-patterns about duplicate submissions search_patterns("timeout", "anti-pattern") → finds timeout-related failure patterns
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| pattern_type | No | all |