[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74CKA6SGNA6APNJE2FYZ2VZ":3,"skill-same:01M74CKA6SGNA6APNJE2FYZ2VZ":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M74CKA6SGNA6APNJE2FYZ2VZ","codebase-search",null,"Search and navigate large codebases efficiently. Use when finding specific code patterns, tracing function calls, understanding code structure, or locating bugs. Handles semantic search, grep patterns, AST analysis.","tamarillo-ai\u002Ftheta","tamarillo-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F264659913?v=4","01M732W8TW61PS979NJ2W4Z6XZ","tamarillo.ai","01M732W8VRBBGT4F0Q3B2HNGTQ",15,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcodex-cli\u002Fregression\u002FAWLF\u002F.codex\u002Fskills\u002Fcodebase-search\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: codebase-search\ndescription: Search and navigate large codebases efficiently. Use when finding specific code patterns, tracing function calls, understanding code structure, or locating bugs. Handles semantic search, grep patterns, AST analysis.\nallowed-tools: [Read, Grep, Glob, Bash]\ntags: [codebase-search, grep, code-navigation, pattern-matching]\nplatforms: [Claude, ChatGPT, Gemini]\n---\n\n# Codebase Search\n\n## When to use this skill\n- Finding specific functions or classes\n- Tracing function calls and dependencies\n- Understanding code structure and architecture\n- Finding usage examples\n- Identifying code patterns\n- Locating bugs or issues\n- Code archaeology (understanding legacy code)\n- Impact analysis before changes\n\n## Instructions\n\n### Step 1: Understand what you're looking for\n\n**Feature implementation**:\n- Where is feature X implemented?\n- How does feature Y work?\n- What files are involved in feature Z?\n\n**Bug location**:\n- Where is this error coming from?\n- What code handles this case?\n- Where is this data being modified?\n\n**API usage**:\n- How is this API used?\n- Where is this function called?\n- What are examples of using this?\n\n**Configuration**:\n- Where are settings defined?\n- How is this configured?\n- What are the config options?\n\n### Step 2: Choose search strategy\n\n**Semantic search** (for conceptual questions):\n```\nUse when: You understand what you're looking for conceptually\nExamples:\n- \"How do we handle user authentication?\"\n- \"Where is email validation implemented?\"\n- \"How do we connect to the database?\"\n\nBenefits:\n- Finds relevant code by meaning\n- Works with unfamiliar codebases\n- Good for exploratory searches\n```\n\n**Grep** (for exact text\u002Fpatterns):\n```\nUse when: You know exact text or patterns\nExamples:\n- Function names: \"def authenticate\"\n- Class names: \"class UserManager\"\n- Error messages: \"Invalid credentials\"\n- Specific strings: \"API_KEY\"\n\nBenefits:\n- Fast and precise\n- Works with regex patterns\n- Good for known terms\n```\n\n**Glob** (for file discovery):\n```\nUse when: You need to find files by pattern\nExamples:\n- \"**\u002F*.test.js\" (all test files)\n- \"**\u002Fconfig*.yaml\" (config files)\n- \"src\u002F**\u002F*Controller.py\" (controllers)\n\nBenefits:\n- Quickly find files by type\n- Discover file structure\n- Locate related files\n```\n\n### Step 3: Search workflow\n\n**1. Start broad, then narrow**:\n```\nStep 1: Semantic search \"How does authentication work?\"\nResult: Points to auth\u002F directory\n\nStep 2: Grep in auth\u002F for specific function\nPattern: \"def verify_token\"\nResult: Found in auth\u002Fjwt.py\n\nStep 3: Read the file\nFile: auth\u002Fjwt.py\nResult: Understand implementation\n```\n\n**2. Use directory targeting**:\n```\n# Start without target (search everywhere)\nQuery: \"Where is user login implemented?\"\nTarget: []\n\n# Refine with specific directory\nQuery: \"Where is login validated?\"\nTarget: [\"backend\u002Fauth\u002F\"]\n```\n\n**3. Combine searches**:\n```\n# Find where feature is implemented\nSemantic: \"user registration flow\"\n\n# Find all files involved\nGrep: \"def register_user\"\n\n# Find test files\nGlob: \"**\u002F*register*test*.py\"\n\n# Understand the implementation\nRead: registration.py, test_registration.py\n```\n\n### Step 4: Common search patterns\n\n**Find function definition**:\n```bash\n# Python\ngrep -n \"def function_name\" --type py\n\n# JavaScript\ngrep -n \"function functionName\" --type js\ngrep -n \"const functionName = \" --type js\n\n# TypeScript\ngrep -n \"function functionName\" --type ts\ngrep -n \"export const functionName\" --type ts\n\n# Go\ngrep -n \"func functionName\" --type go\n\n# Java\ngrep -n \"public.*functionName\" --type java\n```\n\n**Find class definition**:\n```bash\n# Python\ngrep -n \"class ClassName\" --type py\n\n# JavaScript\u002FTypeScript\ngrep -n \"class ClassName\" --type js,ts\n\n# Java\ngrep -n \"public class ClassName\" --type java\n\n# C++\ngrep -n \"class ClassName\" --type cpp\n```\n\n**Find class\u002Ffunction usage**:\n```bash\n# Python\ngrep -n \"ClassName(\" --type py\ngrep -n \"function_name(\" --type py\n\n# JavaScript\ngrep -n \"new ClassName\" --type js\ngrep -n \"functionName(\" --type js\n```\n\n**Find imports\u002Frequires**:\n```bash\n# Python\ngrep -n \"from.*import.*ModuleName\" --type py\ngrep -n \"import.*ModuleName\" --type py\n\n# JavaScript\ngrep -n \"import.*from.*module-name\" --type js\ngrep -n \"require.*module-name\" --type js\n\n# Go\ngrep -n \"import.*package-name\" --type go\n```\n\n**Find configuration**:\n```bash\n# Config files\nglob \"**\u002F*config*.{json,yaml,yml,toml,ini}\"\n\n# Environment variables\ngrep -n \"process\\\\.env\\\\.\" --type js\ngrep -n \"os\\\\.environ\" --type py\n\n# Constants\ngrep -n \"^[A-Z_]+\\\\s*=\" --type py\ngrep -n \"const [A-Z_]+\" --type js\n```\n\n**Find TODO\u002FFIXME**:\n```bash\ngrep -n \"TODO|FIXME|HACK|XXX\" -i\n```\n\n**Find error handling**:\n```bash\n# Python\ngrep -n \"try:|except|raise\" --type py\n\n# JavaScript\ngrep -n \"try|catch|throw\" --type js\n\n# Go\ngrep -n \"if err != nil\" --type go\n```\n\n### Step 5: Advanced techniques\n\n**Trace data flow**:\n```\n1. Find where data is created\n   Semantic: \"Where is user object created?\"\n\n2. Search for variable usage\n   Grep: \"user\\\\.\" with context lines\n\n3. Follow transformations\n   Read: Files that modify user\n\n4. Find where it's consumed\n   Grep: \"user\\\\.\" in relevant files\n```\n\n**Find all callsites of a function**:\n```\n1. Find function definition\n   Grep: \"def process_payment\"\n   Result: payments\u002Fprocessor.py:45\n\n2. Find all imports of that module\n   Grep: \"from payments.processor import\"\n   Result: Multiple files\n\n3. Find all calls to the function\n   Grep: \"process_payment\\\\(\"\n   Result: All callsites\n\n4. Read each callsite for context\n   Read: Each file with context\n```\n\n**Understand a feature end-to-end**:\n```\n1. Find API endpoint\n   Semantic: \"Where is user registration endpoint?\"\n   Result: routes\u002Fauth.py\n\n2. Trace to controller\n   Read: routes\u002Fauth.py\n   Find: Calls to AuthController.register\n\n3. Trace to service\n   Read: controllers\u002Fauth.py\n   Find: Calls to UserService.create_user\n\n4. Trace to database\n   Read: services\u002Fuser.py\n   Find: Database operations\n\n5. Find tests\n   Glob: \"**\u002F*auth*test*.py\"\n   Read: Test files for examples\n```\n\n**Find related files**:\n```\n1. Start with known file\n   Example: models\u002Fuser.py\n\n2. Find imports of this file\n   Grep: \"from models.user import\"\n\n3. Find files this imports\n   Read: models\u002Fuser.py\n   Note: Import statements\n\n4. Build dependency graph\n   Map: All related files\n```\n\n**Impact analysis**:\n```\nBefore changing function X:\n\n1. Find all callsites\n   Grep: \"function_name\\\\(\"\n\n2. Find all tests\n   Grep: \"test.*function_name\" -i\n\n3. Check related functionality\n   Semantic: \"What depends on X?\"\n\n4. Review each usage\n   Read: Each file using function\n\n5. Plan changes\n   Document: Impact and required updates\n```\n\n### Step 6: Search optimization\n\n**Use appropriate context**:\n```bash\n# See surrounding context\ngrep -n \"pattern\" -C 5  # 5 lines before and after\ngrep -n \"pattern\" -B 3  # 3 lines before\ngrep -n \"pattern\" -A 3  # 3 lines after\n```\n\n**Case sensitivity**:\n```bash\n# Case insensitive\ngrep -n \"pattern\" -i\n\n# Case sensitive (default)\ngrep -n \"Pattern\"\n```\n\n**File type filtering**:\n```bash\n# Specific type\ngrep -n \"pattern\" --type py\n\n# Multiple types\ngrep -n \"pattern\" --type py,js,ts\n\n# Exclude types\ngrep -n \"pattern\" --glob \"!*.test.js\"\n```\n\n**Regex patterns**:\n```bash\n# Any character: .\ngrep -n \"function.*Name\"\n\n# Start of line: ^\ngrep -n \"^class\"\n\n# End of line: $\ngrep -n \"TODO$\"\n\n# Optional: ?\ngrep -n \"function_name_?()\"\n\n# One or more: +\ngrep -n \"[A-Z_]+\"\n\n# Zero or more: *\ngrep -n \"import.*\"\n\n# Alternatives: |\ngrep -n \"TODO|FIXME\"\n\n# Groups: ()\ngrep -n \"(get|set)_user\"\n\n# Escape special chars: \\\ngrep -n \"function\\(\\)\"\n```\n\n## Best practices\n\n1. **Start with semantic search**: For unfamiliar code or conceptual questions\n2. **Use grep for precision**: When you know exact terms\n3. **Combine multiple searches**: Build understanding incrementally\n4. **Read surrounding context**: Don't just look at matching lines\n5. **Check file history**: Use `git blame` for context\n6. **Document findings**: Note important discoveries\n7. **Verify assumptions**: Read actual code, don't assume\n8. **Use directory targeting**: Narrow scope when possible\n9. **Follow the data**: Trace data flow through the system\n10. **Check tests**: Tests often show usage examples\n\n## Common search scenarios\n\n### Scenario 1: Understanding a bug\n```\n1. Find error message\n   Grep: \"exact error message\"\n\n2. Find where it's thrown\n   Read: File with error\n\n3. Find what triggers it\n   Semantic: \"What causes X error?\"\n\n4. Find related code\n   Grep: Related function names\n\n5. Check tests\n   Glob: \"**\u002F*test*.py\"\n   Look: For related test cases\n```\n\n### Scenario 2: Learning a new codebase\n```\n1. Find entry point\n   Semantic: \"Where does the application start?\"\n   Common files: main.py, index.js, app.py\n\n2. Find main routes\u002Fendpoints\n   Grep: \"route|endpoint|@app\\\\.\"\n\n3. Find data models\n   Semantic: \"Where are data models defined?\"\n   Common: models\u002F, entities\u002F\n\n4. Find configuration\n   Glob: \"**\u002F*config*\"\n\n5. Read README and docs\n   Read: README.md, docs\u002F\n```\n\n### Scenario 3: Refactoring preparation\n```\n1. Find all usages\n   Grep: \"function_to_change\"\n\n2. Find tests\n   Grep: \"test.*function_to_change\"\n\n3. Find dependencies\n   Semantic: \"What does X depend on?\"\n\n4. Check imports\n   Grep: \"from.*import.*X\"\n\n5. Document scope\n   List: All affected files\n```\n\n### Scenario 4: Adding a feature\n```\n1. Find similar features\n   Semantic: \"How is similar feature implemented?\"\n\n2. Find where to add code\n   Semantic: \"Where should new feature go?\"\n\n3. Check patterns\n   Read: Similar implementations\n\n4. Find tests to emulate\n   Glob: Test files for similar features\n\n5. Check documentation\n   Grep: \"TODO.*new feature\" -i\n```\n\n## Tools integration\n\n**Git integration**:\n```bash\n# Who changed this line?\ngit blame filename\n\n# History of a file\ngit log -p filename\n\n# Find when function was added\ngit log -S \"function_name\" --source --all\n\n# Find commits mentioning X\ngit log --grep=\"feature name\"\n```\n\n**IDE integration**:\n- Use \"Go to Definition\" for quick navigation\n- Use \"Find References\" for usage\n- Use \"Find in Files\" for broad search\n- Use symbol search for classes\u002Ffunctions\n\n**Documentation**:\n- Check inline comments\n- Look for docstrings\n- Read README files\n- Check architecture docs\n\n## Troubleshooting\n\n**No results found**:\n- Check spelling and case sensitivity\n- Try semantic search instead of grep\n- Broaden search scope (remove directory target)\n- Try different search terms\n- Check if files are in .gitignore\n\n**Too many results**:\n- Add directory targeting\n- Use more specific patterns\n- Filter by file type\n- Use exact phrases (quotes)\n\n**Wrong results**:\n- Be more specific in query\n- Use grep instead of semantic for exact terms\n- Add context to semantic queries\n- Check file types\n\n## References\n\n- [Ripgrep User Guide](https:\u002F\u002Fgithub.com\u002FBurntSushi\u002Fripgrep\u002Fblob\u002Fmaster\u002FGUIDE.md)\n- [Regular Expressions Tutorial](https:\u002F\u002Fregexone.com\u002F)\n- [Git Blame Guide](https:\u002F\u002Fgit-scm.com\u002Fdocs\u002Fgit-blame)\n\n## Examples\n\n### Example 1: Basic usage\n\u003C!-- Add example content here -->\n\n### Example 2: Advanced usage\n\u003C!-- Add advanced example content here -->\n","# Codebase Search\n\n## When to use this skill\n- Finding specific functions or classes\n- Tracing function calls and dependencies\n- Understanding code structure and architecture\n- Finding usage examples\n- Identifying code patterns\n- Locating bugs or issues\n- Code archaeology (understanding legacy code)\n- Impact analysis before changes\n\n## Instructions\n\n### Step 1: Understand what you're looking for\n\n**Feature implementation**:\n- Where is feature X implemented?\n- How does feature Y work?\n- What files are involved in feature Z?\n\n**Bug location**:\n- Where is this error coming from?\n- What code handles this case?\n- Where is this data being modified?\n\n**API usage**:\n- How is this API used?\n- Where is this function called?\n- What are examples of using this?\n\n**Configuration**:\n- Where are settings defined?\n- How is this configured?\n- What are the config options?\n\n### Step 2: Choose search strategy\n\n**Semantic search** (for conceptual questions):\n```\nUse when: You understand what you're looking for conceptually\nExamples:\n- \"How do we handle user authentication?\"\n- \"Where is email validation implemented?\"\n- \"How do we connect to the database?\"\n\nBenefits:\n- Finds relevant code by meaning\n- Works with unfamiliar codebases\n- Good for exploratory searches\n```\n\n**Grep** (for exact text\u002Fpatterns):\n```\nUse when: You know exact text or patterns\nExamples:\n- Function names: \"def authenticate\"\n- Class names: \"class UserManager\"\n- Error messages: \"Invalid credentials\"\n- Specific strings: \"API_KEY\"\n\nBenefits:\n- Fast and precise\n- Works with regex patterns\n- Good for known terms\n```\n\n**Glob** (for file discovery):\n```\nUse when: You need to find files by pattern\nExamples:\n- \"**\u002F*.test.js\" (all test files)\n- \"**\u002Fconfig*.yaml\" (config files)\n- \"src\u002F**\u002F*Controller.py\" (controllers)\n\nBenefits:\n- Quickly find files by type\n- Discover file structure\n- Locate related files\n```\n\n### Step 3: Search workflow\n\n**1. Start broad, then narrow**:\n```\nStep 1: Semantic search \"How does authentication work?\"\nResult: Points to auth\u002F directory\n\nStep 2: Grep in auth\u002F for specific function\nPattern: \"def verify_token\"\nResult: Found in auth\u002Fjwt.py\n\nStep 3: Read the file\nFile: auth\u002Fjwt.py\nResult: Understand implementation\n```\n\n**2. Use directory targeting**:\n```\n# Start without target (search everywhere)\nQuery: \"Where is user login implemented?\"\nTarget: []\n\n# Refine with specific directory\nQuery: \"Where is login validated?\"\nTarget: [\"backend\u002Fauth\u002F\"]\n```\n\n**3. Combine searches**:\n```\n# Find where feature is implemented\nSemantic: \"user registration flow\"\n\n# Find all files involved\nGrep: \"def register_user\"\n\n# Find test files\nGlob: \"**\u002F*register*test*.py\"\n\n# Understand the implementation\nRead: registration.py, test_registration.py\n```\n\n### Step 4: Common search patterns\n\n**Find function definition**:\n```bash\n# Python\ngrep -n \"def function_name\" --type py\n\n# JavaScript\ngrep -n \"function functionName\" --type js\ngrep -n \"const functionName = \" --type js\n\n# TypeScript\ngrep -n \"function functionName\" --type ts\ngrep -n \"export const functionName\" --type ts\n\n# Go\ngrep -n \"func functionName\" --type go\n\n# Java\ngrep -n \"public.*functionName\" --type java\n```\n\n**Find class definition**:\n```bash\n# Python\ngrep -n \"class ClassName\" --type py\n\n# JavaScript\u002FTypeScript\ngrep -n \"class ClassName\" --type js,ts\n\n# Java\ngrep -n \"public class ClassName\" --type java\n\n# C++\ngrep -n \"class ClassName\" --type cpp\n```\n\n**Find class\u002Ffunction usage**:\n```bash\n# Python\ngrep -n \"ClassName(\" --type py\ngrep -n \"function_name(\" --type py\n\n# JavaScript\ngrep -n \"new ClassName\" --type js\ngrep -n \"functionName(\" --type js\n```\n\n**Find imports\u002Frequires**:\n```bash\n# Python\ngrep -n \"from.*import.*ModuleName\" --type py\ngrep -n \"import.*ModuleName\" --type py\n\n# JavaScript\ngrep -n \"import.*from.*module-name\" --type js\ngrep -n \"require.*module-name\" --type js\n\n# Go\ngrep -n \"import.*package-name\" --type go\n```\n\n**Find configuration**:\n```bash\n# Config files\nglob \"**\u002F*config*.{json,yaml,yml,toml,ini}\"\n\n# Environment variables\ngrep -n \"process\\\\.env\\\\.\" --type js\ngrep -n \"os\\\\.environ\" --type py\n\n# Constants\ngrep -n \"^[A-Z_]+\\\\s*=\" --type py\ngrep -n \"const [A-Z_]+\" --type js\n```\n\n**Find TODO\u002FFIXME**:\n```bash\ngrep -n \"TODO|FIXME|HACK|XXX\" -i\n```\n\n**Find error handling**:\n```bash\n# Python\ngrep -n \"try:|except|raise\" --type py\n\n# JavaScript\ngrep -n \"try|catch|throw\" --type js\n\n# Go\ngrep -n \"if err != nil\" --type go\n```\n\n### Step 5: Advanced techniques\n\n**Trace data flow**:\n```\n1. Find where data is created\n   Semantic: \"Where is user object created?\"\n\n2. Search for variable usage\n   Grep: \"user\\\\.\" with context lines\n\n3. Follow transformations\n   Read: Files that modify user\n\n4. Find where it's consumed\n   Grep: \"user\\\\.\" in relevant files\n```\n\n**Find all callsites of a function**:\n```\n1. Find function definition\n   Grep: \"def process_payment\"\n   Result: payments\u002Fprocessor.py:45\n\n2. Find all imports of that module\n   Grep: \"from payments.processor import\"\n   Result: Multiple files\n\n3. Find all calls to the function\n   Grep: \"process_payment\\\\(\"\n   Result: All callsites\n\n4. Read each callsite for context\n   Read: Each file with context\n```\n\n**Understand a feature end-to-end**:\n```\n1. Find API endpoint\n   Semantic: \"Where is user registration endpoint?\"\n   Result: routes\u002Fauth.py\n\n2. Trace to controller\n   Read: routes\u002Fauth.py\n   Find: Calls to AuthController.register\n\n3. Trace to service\n   Read: controllers\u002Fauth.py\n   Find: Calls to UserService.create_user\n\n4. Trace to database\n   Read: services\u002Fuser.py\n   Find: Database operations\n\n5. Find tests\n   Glob: \"**\u002F*auth*test*.py\"\n   Read: Test files for examples\n```\n\n**Find related files**:\n```\n1. Start with known file\n   Example: models\u002Fuser.py\n\n2. Find imports of this file\n   Grep: \"from models.user import\"\n\n3. Find files this imports\n   Read: models\u002Fuser.py\n   Note: Import statements\n\n4. Build dependency graph\n   Map: All related files\n```\n\n**Impact analysis**:\n```\nBefore changing function X:\n\n1. Find all callsites\n   Grep: \"function_name\\\\(\"\n\n2. Find all tests\n   Grep: \"test.*function_name\" -i\n\n3. Check related functionality\n   Semantic: \"What depends on X?\"\n\n4. Review each usage\n   Read: Each file using function\n\n5. Plan changes\n   Document: Impact and required updates\n```\n\n### Step 6: Search optimization\n\n**Use appropriate context**:\n```bash\n# See surrounding context\ngrep -n \"pattern\" -C 5  # 5 lines before and after\ngrep -n \"pattern\" -B 3  # 3 lines before\ngrep -n \"pattern\" -A 3  # 3 lines after\n```\n\n**Case sensitivity**:\n```bash\n# Case insensitive\ngrep -n \"pattern\" -i\n\n# Case sensitive (default)\ngrep -n \"Pattern\"\n```\n\n**File type filtering**:\n```bash\n# Specific type\ngrep -n \"pattern\" --type py\n\n# Multiple types\ngrep -n \"pattern\" --type py,js,ts\n\n# Exclude types\ngrep -n \"pattern\" --glob \"!*.test.js\"\n```\n\n**Regex patterns**:\n```bash\n# Any character: .\ngrep -n \"function.*Name\"\n\n# Start of line: ^\ngrep -n \"^class\"\n\n# End of line: $\ngrep -n \"TODO$\"\n\n# Optional: ?\ngrep -n \"function_name_?()\"\n\n# One or more: +\ngrep -n \"[A-Z_]+\"\n\n# Zero or more: *\ngrep -n \"import.*\"\n\n# Alternatives: |\ngrep -n \"TODO|FIXME\"\n\n# Groups: ()\ngrep -n \"(get|set)_user\"\n\n# Escape special chars: \\\ngrep -n \"function\\(\\)\"\n```\n\n## Best practices\n\n1. **Start with semantic search**: For unfamiliar code or conceptual questions\n2. **Use grep for precision**: When you know exact terms\n3. **Combine multiple searches**: Build understanding incrementally\n4. **Read surrounding context**: Don't just look at matching lines\n5. **Check file history**: Use `git blame` for context\n6. **Document findings**: Note important discoveries\n7. **Verify assumptions**: Read actual code, don't assume\n8. **Use directory targeting**: Narrow scope when possible\n9. **Follow the data**: Trace data flow through the system\n10. **Check tests**: Tests often show usage examples\n\n## Common search scenarios\n\n### Scenario 1: Understanding a bug\n```\n1. Find error message\n   Grep: \"exact error message\"\n\n2. Find where it's thrown\n   Read: File with error\n\n3. Find what triggers it\n   Semantic: \"What causes X error?\"\n\n4. Find related code\n   Grep: Related function names\n\n5. Check tests\n   Glob: \"**\u002F*test*.py\"\n   Look: For related test cases\n```\n\n### Scenario 2: Learning a new codebase\n```\n1. Find entry point\n   Semantic: \"Where does the application start?\"\n   Common files: main.py, index.js, app.py\n\n2. Find main routes\u002Fendpoints\n   Grep: \"route|endpoint|@app\\\\.\"\n\n3. Find data models\n   Semantic: \"Where are data models defined?\"\n   Common: models\u002F, entities\u002F\n\n4. Find configuration\n   Glob: \"**\u002F*config*\"\n\n5. Read README and docs\n   Read: README.md, docs\u002F\n```\n\n### Scenario 3: Refactoring preparation\n```\n1. Find all usages\n   Grep: \"function_to_change\"\n\n2. Find tests\n   Grep: \"test.*function_to_change\"\n\n3. Find dependencies\n   Semantic: \"What does X depend on?\"\n\n4. Check imports\n   Grep: \"from.*import.*X\"\n\n5. Document scope\n   List: All affected files\n```\n\n### Scenario 4: Adding a feature\n```\n1. Find similar features\n   Semantic: \"How is similar feature implemented?\"\n\n2. Find where to add code\n   Semantic: \"Where should new feature go?\"\n\n3. Check patterns\n   Read: Similar implementations\n\n4. Find tests to emulate\n   Glob: Test files for similar features\n\n5. Check documentation\n   Grep: \"TODO.*new feature\" -i\n```\n\n## Tools integration\n\n**Git integration**:\n```bash\n# Who changed this line?\ngit blame filename\n\n# History of a file\ngit log -p filename\n\n# Find when function was added\ngit log -S \"function_name\" --source --all\n\n# Find commits mentioning X\ngit log --grep=\"feature name\"\n```\n\n**IDE integration**:\n- Use \"Go to Definition\" for quick navigation\n- Use \"Find References\" for usage\n- Use \"Find in Files\" for broad search\n- Use symbol search for classes\u002Ffunctions\n\n**Documentation**:\n- Check inline comments\n- Look for docstrings\n- Read README files\n- Check architecture docs\n\n## Troubleshooting\n\n**No results found**:\n- Check spelling and case sensitivity\n- Try semantic search instead of grep\n- Broaden search scope (remove directory target)\n- Try different search terms\n- Check if files are in .gitignore\n\n**Too many results**:\n- Add directory targeting\n- Use more specific patterns\n- Filter by file type\n- Use exact phrases (quotes)\n\n**Wrong results**:\n- Be more specific in query\n- Use grep instead of semantic for exact terms\n- Add context to semantic queries\n- Check file types\n\n## References\n\n- [Ripgrep User Guide](https:\u002F\u002Fgithub.com\u002FBurntSushi\u002Fripgrep\u002Fblob\u002Fmaster\u002FGUIDE.md)\n- [Regular Expressions Tutorial](https:\u002F\u002Fregexone.com\u002F)\n- [Git Blame Guide](https:\u002F\u002Fgit-scm.com\u002Fdocs\u002Fgit-blame)\n\n## Examples\n\n### Example 1: Basic usage\n\u003C!-- Add example content here -->\n\n### Example 2: Advanced usage\n\u003C!-- Add advanced example content here -->\n",{"name":5,"tags":24,"platforms":28,"description":7,"allowed-tools":32},[5,25,26,27],"grep","code-navigation","pattern-matching",[29,30,31],"Claude","ChatGPT","Gemini",[33,34,35,36],"Read","Grep","Glob","Bash","main","08c084f718b2b842cd53622ce0b1a1fb2888ccef","test\u002Fcast-fixtures\u002Fcodex-cli\u002Fregression\u002FAWLF\u002F.codex\u002Fskills\u002Fcodebase-search",1,"https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai","2026-07-15 23:48:12",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add tamarillo-ai\u002Ftheta --skill codebase-search",{"tool":50,"command":51},"bunx","bunx skills add tamarillo-ai\u002Ftheta --skill codebase-search",{"tool":53,"command":54},"pnpm","pnpm dlx skills add tamarillo-ai\u002Ftheta --skill codebase-search","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcodex-cli\u002Fregression\u002FAWLF\u002F.codex\u002Fskills\u002Fcodebase-search\u002FSKILL.md",true,[58],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"SKILL.toon","OTHER","其他",615,"https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcodex-cli\u002Fregression\u002FAWLF\u002F.codex\u002Fskills\u002Fcodebase-search\u002FSKILL.toon",[65,72,79,87,94,101],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M74FCAJ0RRFRJRQES26329E7","deploy-app","Deploy the application to staging or production environments.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcursor\u002Fskills\u002Fbasic\u002F.cursor\u002Fskills\u002Fdeploy-app\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M74FC8GPJGCS0KTGKS1CJZZS","deploy","Deploy the application to environments.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcursor\u002Fcombined\u002Ffull-config\u002F.cursor\u002Fskills\u002Fdeploy\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M74FC5RT3VTNZEK1F7NX5380","building-native-ui","Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.","MIT","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcopilot\u002Fskills\u002Fwith-references\u002F.github\u002Fskills\u002Fbuilding-native-ui\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M74FC1ZGP5R44HPGWWSW6P3B","create-section","Use when creating a new section for the AI Workshop presentation. Guides through title slide setup, layout choices, and content gathering. Activates when user wants to add a new topic section to the slideshow.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcopilot\u002Fskills\u002Fbasic\u002F.github\u002Fskills\u002Fcreate-section\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M74FBZXSZ7GVP0HCGNR1BVNH","ship-checker","Run a full pre-ship review for this repo. Use when asked if a change is ready to deploy, publish, or ship.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcopilot\u002Fcombined\u002Feverything\u002F.github\u002Fskills\u002Fship-checker\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M74FBY4N2E3ZERWBRM4S3DE6","lint-check","Run repository linters and report failures.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcodex-cli\u002Fskills\u002Fagents-path\u002F.agents\u002Fskills\u002Flint-check\u002FSKILL.md",[],[]]