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

how

하는 일

이 스킬은 어시스턴트가 코드 한 부분이 어떻게 작동하는지, 누가 소유하는지, 새 코드가 어디에 있어야 하는지 설명하게 합니다. 프로젝트에 새로 합류하거나 변경을 계획하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓변경하기 전에 코드베이스의 한 부분이 어떻게 작동하는지 물을 때.
  • ✓새 코드를 어느 패키지나 계층이 소유해야 하는지 알아야 할 때.
  • ✓한 하위 시스템에 처음 들어가서 작동하는 머릿속 모델이 필요할 때.

스킬 링크

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/how/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

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

AI에게 요청하는 예시

“우리 코드베이스에서 결제 재시도 시스템은 어떻게 작동하나요? 새 재시도 규칙은 어디에 두어야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

어시스턴트는 관련 코드를 살펴본 뒤, 설계, 실행 흐름, 소유 관계를 시니어 엔지니어가 새 팀원에게 설명하는 수준으로 설명합니다. 한 줄씩 주석을 다는 방식은 아닙니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

How

In Claude Code, read the Claude Code adapter once per session before you follow this skill. It maps the Cursor names in pstack skills to Claude Code.

Explore the codebase to answer "how does X work?" questions. Produce architectural explanations at the level of a senior engineer onboarding onto a subsystem, enough to build a working mental model, not so much that it reads like annotated source code.

Every spawn is a Task subagent with subagent_type: generalPurpose and readonly: true. Explorers use the how explorer line in the pstack-models.mdc rule (default grok-4.7-xhigh-fast), and every explainer uses the how explainer line (default claude-opus-5-5-xhigh). Set model to that line's value, or to the default if the rule or the line is missing. Leave model unset when the value is auto or inherit-parent. If the Task tool rejects a slug, use the default and say so. If it rejects the default, use the closest valid slug of the same family from its error message. Pick each subagent's reasoning level and fast or standard speed for the job, per the Subagents section of the poteto-mode skill.

1. Assess complexity

If the scope is ambiguous, state your interpretation and explore. The user can redirect.

  • Simple (a single module, a small utility, a narrow question such as "how does function X work"): no explorers. Spawn one explainer that explores and explains in one pass, built from references/explainer-prompt.md without the explorer-findings section. Go to step 4.
  • Complex (a subsystem spanning multiple files or services, a cross-cutting feature, a full architectural overview): go to step 2.

When in doubt, take the simple path.

2. Explore (complex only)

Decompose the question into 2 to 4 angles, each a distinct slice of the subsystem. Spawn all explorers in a single message, each with references/explorer-prompt.md and its angle filled in.

3. Synthesize (complex only)

Once all explorers have returned, spawn one explainer with references/explainer-prompt.md and every explorer's findings filled in.

4. Present

Present the explainer's output. Light edits for clarity or context from the conversation are fine. Do not substantially rewrite it.

Output format

The explanation uses the sections defined in references/explainer-prompt.md, dropping any that do not apply: Overview, Key Concepts, How It Works, Where Things Live, Gotchas.

자주 묻는 질문

코드를 바꾸나요?

이 스킬은 설명을 위한 것입니다. 무언가를 바꾸기 전에 코드를 이해하도록 돕습니다.

설명은 얼마나 깊나요?

모든 줄을 주석으로 설명하는 것이 아니라 작동하는 머릿속 모델을 목표로 합니다.

코드가 왜 이런 모양인지는요?

그것은 별도의 질문입니다. 스킬은 동기와 역사를 다루는 짝 스킬을 가리킵니다.

상세 정보

작성자의 원본 설명

Use for \"how does X work\", code walkthroughs before changing something, and placement / ownership / layering questions (\"where should this live\", \"which package owns this\", \"is this the right layer\"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.

repo: cursor/plugins

인기도

GitHub 스타
15k
순위
#10963
라이선스
—
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬