Search for code patterns and examples from public GitHub repositories using Grep.
Search public GitHub repositories for real-world code examples using grep. Use this when you need to see how specific patterns or functions are actually implemented across different projects and languages.
/plugin marketplace add W3Dev/coding-agent/plugin install basic-development-plugin@w3devSearch for code patterns and examples from public GitHub repositories using Grep.
/search-code <pattern> [--lang=<language>]
/search-code "useState(" --lang=TypeScript
/search-code "async function" --lang=Python
/search-code "ErrorBoundary" --lang=TSX
pattern (required): The code pattern to search for (supports regex)--lang (optional): Filter by programming language (TypeScript, Python, Go, etc.)