본문으로 건너뛰기
Skillpedia
일반 코딩6.2k · #14399

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/lightdash/lightdash/blob/main/packages/backend/src/ee/services/ai/skills/builtInSkills/reading-source-code/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬