ace-search

Use when the task is read-only codebase discovery/search (查找/搜索/定位): find files, functions, classes, call sites, tests, or "where is X implemented" questions; prefer Augment Context Engine MCP (augment-context-engine) codebase retrieval over grep/rg.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ace-search" with this command: npx skills add pandaddkai/panda-skills/pandaddkai-panda-skills-ace-search

Ace Search

Overview

Use Augment Context Engine (ACE) semantic retrieval to quickly locate where things live in a codebase and explain how code is organized, without making edits.

Core principle: search semantically first; cite concrete file paths + symbols; iterate queries; stay read-only.

Workflow

  1. Restate the search goal in one sentence (what you’re looking for + the expected shape: file, symbol, call site, test, config).
  2. Decide tool:
    • Use mcp__augment-context-engine__codebase-retrieval for semantic questions: “where is X implemented?”, “how does Y work?”, “what calls Z?”
    • Use rg/grep only for exact, non-semantic string needs (e.g., an error message, a literal config key) where “ALL occurrences” matters.
  3. Run ACE retrieval with a specific query that names:
    • the concept (feature/domain),
    • the likely artifact type (handler, CLI command, API route, config loader, test),
    • any known identifiers (function/class/module names).
  4. Summarize results anchored to facts:
    • List key files (path/to/file.ext) and the relevant symbols/functions/classes.
    • Describe relationships (caller/callee, entrypoints, config flow) at a high level.
  5. If results are weak, refine once:
    • add constraints (language/framework, directory, module name),
    • ask a single clarifying question if needed (e.g., product name, endpoint name, exact error text).
  6. Stop before editing:
    • If the user asks to modify code, ask whether they want a separate edit-focused pass; do not call apply_patch in this skill.

Query Patterns (Copy/Paste)

  • “Where is {feature} implemented? List entrypoints and main modules.”
  • “Find the CLI command / subcommand handling {name} and its code path.”
  • “How is {concept} configured? Identify config loading + env var parsing + defaults.”
  • “Where are the tests for {feature}? List unit/integration/e2e tests and helpers.”
  • “Trace the call path from {entrypoint} to {target} (functions/classes/modules).”
  • “Find all call sites / usages of {identifier} and summarize patterns.”

Output Standard

  • Prefer file paths + symbol names over generalities.
  • If you reference a file, include enough context in words so the user can open it and confirm quickly.
  • If you are unsure, say what’s missing and ask one targeted question.

Quick Reference

NeedDo
“Where is X implemented?” / “How does X work?”Use mcp__augment-context-engine__codebase-retrieval
“Show me every occurrence of this exact string”Use rg/grep (exact match)
“Find definition/constructor of Foo” (exact symbol)Use mcp__augment-context-engine__codebase-retrieval first; use rg only if you truly need exact-match enumeration
“And now change it”Stop; ask to switch to an edit-focused workflow

Example

User: “在这个仓库里,rollback 是在哪里实现的?列出入口和主要调用路径。”

ACE query to run:

  • “Find where rollback is implemented. Identify the CLI entrypoint/command, the function(s) performing rollback, and any backup/restore modules. Return key files and symbols.”

Then respond with:

  • Key files + symbols (entrypoint + implementation + helpers)
  • High-level call flow (who calls what)
  • Any relevant tests

Common Mistakes

  • Using rg/grep for semantic discovery (“where is X implemented?”) instead of ACE.
  • Writing an overly vague ACE query (“find auth”) and not refining it.
  • Reporting conclusions without anchoring them to file paths + symbols.
  • Making edits “while you’re here” when the task is explicitly search-only.

Rationalization Table

RationalizationCounter
rg is faster; I’ll just grep quickly.”Speed is irrelevant if the query is semantic; use ACE to avoid missing the right entrypoint/symbols.
“I already know where it is.”Prove it with a retrieval-backed file + symbol list; don’t guess.
“I might as well fix it now.”This skill is read-only; stop and ask to switch workflows before editing.

Red Flags (Stop)

  • Reaching for rg/grep before attempting ACE retrieval
  • Not listing file paths/symbols in the answer
  • Editing files (or proposing patches) during a search-only request
  • “I’m sure it’s in src/ somewhere” (guessing without retrieval evidence)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-tools

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Archived SourceRecently Updated
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated