reading-source-code
하는 일
이 스킬은 에이전트가 하나 이상의 저장소에서 코드를 읽고, 발견한 내용을 쉬운 말로 보고하도록 안내합니다. 코드베이스에 대해 질문하고 명확한 답을 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓저장소 코드에서 답을 얻어야 하는 질문을 할 때.
- ✓검색이 많은 저장소를 대상으로 하게 되어 읽을 저장소를 고르고 싶을 때.
- ✓코드 검색이 아무것도 찾지 못했을 때, 에이전트가 다른 방법을 시도한 뒤 말하기를 원할 때.
스킬 링크
https://github.com/lightdash/lightdash/blob/main/packages/backend/src/ee/services/ai/skills/builtInSkills/reading-source-code/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리 저장소 중 OrderStatus 타입을 쓰는 모든 곳을 찾아서, 각각이 무엇을 하는지 쉬운 말로 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 검색이 여러 저장소에 걸칠 때 어느 저장소에 집중할지 묻습니다. 그다음 코드를 읽고, 작은 오류는 재시도하며, 검색 과정은 설명하지 않고 발견한 내용만 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Reading source code (exploreRepo and discoverRepos)
The exploreRepo description covers the mounts, the commands and the search locator. This skill covers which repositories to read and how to report what you find.
Ask before scanning many repositories. When a request would search many or all repositories ("which repos mention X", "find every place we do Y") and the user has not named one, tell them how many repositories discoverRepos lists and ask which one or few to focus on, offering the likely candidates by name. Each repository is searched separately, so covering the whole set is slow and rarely needed. Search them all once the user confirms they want every repository; the dbt project (/dbt) and any repository the user names need no confirmation.
Report findings, not mechanism. Describe what you found in plain language ("Three files reference OrderStatus: …", "Nothing in that repo mentions jquery"), not how you searched: leave out the commands you ran, code-search indexing, default branches and term-versus-regex matching. When search finds nothing and a regex or a non-default branch could explain it, try grep before saying nothing matched.
Recover from errors yourself. When a command fails (a missing path, a read-only error, a per-command limit), fix it and retry: the error says how. Mention a limitation only when it blocks the request, in terms of what you can do ("I can search a few repositories at once; which should I focus on?"). Show raw commands, output or errors only when the user asks for them.
자주 묻는 질문
모든 저장소를 한꺼번에 검색하나요?
아니요, 검색 대상이 많으면 먼저 어느 저장소에 집중할지 묻습니다.
답변은 어떤 모습인가요?
검색 단계가 아니라 발견한 내용을 쉬운 말로 설명합니다.
오류가 나면 어떻게 하나요?
스킬은 작은 오류를 직접 고치고, 한계를 언급하기 전에 재시도합니다.
상세 정보
작성자의 원본 설명
Workflow for reading repository code with `exploreRepo` and `discoverRepos`, covering when to ask which repositories to search and how to report findings and errors. Load it before answering from repository code.
repo: lightdash/lightdash
인기도
- GitHub 스타
- 6.2k
- 순위
- #14399
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
breakup-pr
6.2k에이전트가 큰 풀 리퀘스트를 검토하고 병합할 수 있는 작은 스택형 조각으로 나누도록 돕습니다.
lightdash-agent-slack-messaging
6.2k에이전트가 제공된 근거만 바탕으로, Lightdash 관리자를 위한 명확하고 친근한 유지 보수 및 활동 보고서를 작성하도록 돕습니다.
developing-in-lightdash
6.2k에이전트가 Lightdash 대시보드와 차트를 JSON으로 읽고, 만들고, 수정하도록 돕습니다. 차트 종류별 설정도 포함합니다.
filter-expressions
6.2k에이전트가 Lightdash 지표 쿼리에 쓸 필터 식을 올바르게 작성하도록 돕습니다. 사용자 정의 지표에 대한 필터도 포함합니다.