사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/painhardcore/pstack --skill how시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
How
Build a working mental model from the code. Explain entry points, data flow, ownership, boundaries, and non-obvious behavior. Use why when the user wants historical motivation.
Choose the mode
- Explain. Trace and explain the current system.
- Critique. Explain first, then identify architectural problems and practical improvements.
Treat one module or symbol as simple. Treat a flow across several modules or services as complex.
Explore
For a simple question, inspect and explain inline.
For a complex question, divide the system into two to four non-overlapping slices. If the host supports subagents and the user permits them, assign each slice to a read-only subagent using the parent model. Use different available models only for an explicitly requested multi-model critique. If delegation is unavailable or forbidden, inspect the slices inline in the same order.
Each slice must:
- Find the real entry point.
- Trace callers, callees, state, and types from input to output.
- Read code instead of inferring behavior from file names.
- Record specific files and symbols.
- Note behavior a newcomer would probably misunderstand.
Use references/explorer-prompt.md for delegated exploration and references/explainer-prompt.md for synthesis.
Explain
Reconcile the slices into one account. Resolve contradictions by reading the code. Do not paste raw exploration reports.
Use only the sections the question needs:
- Overview. What the subsystem does and why it exists.
- Key concepts. The small set of types, services, or abstractions needed to follow the flow.
- How it works. The trigger, ordered steps, decisions, state changes, and output.
- Where things live. The files and symbols a maintainer should open first.
- Gotchas. Hidden state, surprising coupling, or edge cases.
Critique
Explain the system before judging it. When permitted, ask two or more read-only critics to assess the same explanation and source files independently. Prefer different available model families when the host supports model selection. Otherwise perform one inline critique against the same rubric.
Read references/critique-rubric.md and references/critic-prompt.md. Classify each finding:
- Act on. A current correctness, security, or maintainability problem.
- Consider. A real concern whose value is uncertain.
- Noted. Valid but low priority.
- Dismissed. Incorrect, context-free, or only stylistic.
Present the explanation first. Then present the critique and cite the files that support each finding.




