本地代码智能检索
code-search
按意图路由本地代码查找:字面标识符、语法、仓库布局或语义。适用于开展广泛代码研究之前使用。
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- code-search
- related
- [ "[[plugin/10x-swe/code-research/SKILL]]" ]
- metadata
- { "skill-graph-id": "plugin/10x-swe/code-search", "skill-graph-uses": "", "skill-graph-used-by": "plugin/10x-swe/code-research" }
- description
- Routes local code lookup by intent: literal identifiers, syntax, repository layout, or meaning. Use before broad code research.
02 资源文件 9
- 参考文档references/ast-grep-rules.md1.7 KB
- 参考文档references/ast-grep.md2.6 KB
- 参考文档references/osgrep.md836 B
- 参考文档references/repo-discovery.md664 B
- 参考文档references/tool-selection.md797 B
- 参考文档workflows/repo-discovery.md954 B
- 参考文档workflows/semantic-search.md1.2 KB
- 参考文档workflows/structural-search.md1.2 KB
- 参考文档workflows/text-search.md767 B
03 SKILL.md 正文
Find code
Infer the search route from the request; ask only when the intent is ambiguous. Respect the project's configured search tools and index policy.
| Need | Route | Evidence required |
|---|---|---|
| Exact identifier or text | workflows/text-search.md |
Read the matching source and callers |
| Syntax or safe rewrite | workflows/structural-search.md |
Confirm the AST match and inspect the diff |
| Repository layout | workflows/repo-discovery.md |
Locate real entrypoints and project documentation |
| Meaning or concept | workflows/semantic-search.md |
Verify index coverage, then read returned source |
Use available tools. Do not download models, install packages, start servers, or rebuild an expensive index merely because a preferred tool is missing. Report the limitation and choose a bounded fallback. A search miss is not proof of absence. For cross-repository/API evidence, continue with [[plugin/10x-swe/code-research/SKILL]].
Read only the selected workflow and its relevant reference. Return source anchors, what they establish, and unresolved coverage. Search results are hints, not proof.
04 同仓库更多 Skills
10x-mode
Route a hard engineering task to one existing workflow. Use for a bug fix, refactor, feature, architecture or investigation, parallel work, or finishing a branch or pull request, including when the user asks for 10x-mode.
turnstile-spin
Set up Cloudflare Turnstile end-to-end in a project. Scan the codebase, create the widget via the Cloudflare API, embed it where user requests need bot verification (form submissions, SPA actions, API endpoints, download links, comment or vote submissions, etc.), wire canonical server-side siteverify in the customer's existing backend, validate, and persist the skill. Load this when a user asks to add Turnstile, set up CAPTCHA, protect a form or endpoint from bots, or fix a Turnstile integration. Uses Cloudflare's documented Turnstile contract.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
来源证据与洞察管理
source-insights
整理已检查的来源证据,保留精确引用,并将审阅后的洞察发布到明确的本地库中。
技能图谱发现
skill-graph
通过独立的词汇搜索、关系路径和终端图谱来发现技能与工作流。
会话记录检索
session-search
召回公开的会话轮次,附带精确来源、有限摘录和独立的管道导出。