Community코딩 & 개발github.com

무슨 일이 일어났는지 진단하기 (슈퍼파워 세션)

슈퍼파워 세션이 잘못되었을 때, 인간 파트너가 원인을 알고 싶어 할 때 — 반복 작업, 계획 무시, 실수, 좋지 않은 결과, 스킬이 실행되지 않음, '너무 오래 걸림', '왜 이렇게 비싸지', '뭐 하는 거지' 등 — 또는 현재 또는 과거 세션(세션 ID 또는 경로로 식별)에 대한 버그 리포트를 슈퍼파워 유지보수자에게 제출하려 할 때 사용합니다.

무슨 일이 일어났는지 진단하기 (슈퍼파워 세션)란 무엇인가요?

이 스킬은 AI 에이전트가 슈퍼파워 프레임워크 기반 세션에서 발생한 문제를 체계적으로 진단하고 보고하는 방법을 제공합니다. 세션 기록을 분석하여 '너무 오래 걸림', '계획을 무시함', '반복 작업', '비용 문제', '특정 스킬 미실행' 등 구체적인 증상을 파악하고, 증거를 바탕으로 보고서를 작성합니다. 모든 진단 결과는 반드시 파일 경로와 라인 번호(path:line)를 인용해야 하며, 추측이나 기억에 의존하지 않습니다. 사용자와의 단계별 대화를 통해 문제를 명확히 정의하고, 여러 분석 하위 에이전트를 동시에 실행하여 다양한 차원(스킬 타임라인, 계획 준수, 반복 작업, 실수 등)에서 증거를 수집합니다. 최종적으로 GitHub 이슈 작성을 지원하며, 요청 시에만 개인정보가 제거된 번들(스크러빙된 세션 데이터)을 생성합니다. 이 스킬은 슈퍼파워 자체를 진단하는 것이 아니라, 문제점을 보고하는 데에 집중하며, 보고서의 모든 내용은 트라이에이저(triager)가 판단할 수 있도록 객관적인 증거를 제시하는 데 목적이 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/alfathafp/portofolio-web-design/tree/HEAD/.agents/skills/diagnosing-superpowers

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

슈퍼파워 진단하기

개요

인간 파트너와 함께 세션에서 무엇이 잘못되었는지 정확히 파악하고, 디스크에 있는 대화록을 읽은 후 증거와 함께 무슨 일이 있었는지 보고합니다. 당신은 보고합니다. 슈퍼파워를 진단하지 않습니다. 번들이나 이슈를 트라이에이징하는 사람이 슈퍼파워 변경 여부를 결정합니다.

핵심 원칙: 모든 발견 사항은 path:line을 인용해야 합니다. 인용이 없으면 발견 사항이 아닙니다. 모든 숫자는 대화록 또는 직접 실행한 명령에서 가져와야 하며, 절대 기억에서 가져오지 않습니다.

워크플로

각 단계마다 할 일(todo)을 만듭니다. 5~7단계는 명시된 조건에서만 실행합니다.

  1. 문제 파악. 질문을 한 번에 하나씩 하여, 세션, 알려진 경우 턴 범위, 파트너가 기대한 것, 실제로 일어난 일, 그리고 그들이 중요하게 여기는 관찰 가능한 요소(실제 소요 시간, 토큰, 반복 작업, 특정 작업 하나)를 명명하는 문장을 작성할 수 있을 때까지 진행합니다. "너무 오래 걸렸다"는 불만일 뿐 문제 설명이 아닙니다. 목표가 슈퍼파워 버그 리포트인지 기록합니다.
  2. 위치 파악. references/session-discovery.md를 사용하여 각 세션을 검증된 절대 파일 시스템 경로로 확인합니다. 과거 세션의 첫 번째 프롬프트와 타임스탬프를 인용하여 확인하고, 거부한 모든 후보를 이유와 함께 나열하거나 '없음'이라고 표시합니다. 하위 에이전트 대화록도 열거합니다. ~/.superpowers/diagnosing-superpowers/<session-id>/를 만들고, 파트너에게 해당 경로를 알려준 다음, 환경 및 스킬 관찰에 대한 출처 규칙을 따라 templates/case.md를 그곳에 채웁니다.
  3. 트라이에이징. 보고된 문제 주변 영역을 직접 읽습니다. 그런 다음 각 분석 하위 에이전트를 병렬로 파견합니다. 각 에이전트에게는 케이스 파일 경로, prompts/analyst-common.md, 그리고 prompts/에 있는 차원 파일 중 하나(skill-timeline.md, plan-adherence.md, repeated-work.md, stumbles.md, quality-evidence.md, request-conflicts.md, cost-and-time.md)를 제공합니다. 대화록이 길 경우 턴 범위별로 차원을 나눕니다. path:line이 없는 발견 사항은 모두 폐기합니다.
  4. 보고. templates/report.md의 모든 섹션을 순서대로 채우고, 워크스페이스에 작성한 후 보여주고 경로를 알려줍니다. 인용된 내용이 실제로 무엇을 증명하는지 확인하고 지원하는 케이스를 보존합니다. 심볼릭 링크 별칭은 중복 복사본이 아닙니다.
  5. GitHub 이슈 — 보고서 §7에서 가능성 있음 또는 높음으로 표시되거나 파트너가 요청할 때 실행합니다. references/github-issues.md에 따라 증상에 대한 열린 이슈와 닫힌 이슈를 검색합니다. 일치하는 항목을 보여주고 해당 이슈에 보고서를 추가할 것을 제안합니다. 일치하는 항목이 없으면 templates/issue.md를 채우고 워크스페이스에 작성한 후 정확한 텍스트를 보여주고 승인 후에만 이슈를 생성합니다. gh는 파일을 첨부할 수 없습니다. 번들이 존재하면 파트너에게 브라우저에서 첨부할 수 있도록 경로를 알려줍니다.
  6. 내보내기 — 파트너가 번들을 요청할 때만 실행합니다. 요청 없이 번들을 만들지 마십시오. 파트너가 버그 리포트 작성을 목표로 했다면, 개인정보가 제거된 번들을 요청 시 제공할 수 있다고 한 번 말하고 기다립니다. 편집 수준(redaction level)을 묻고 각 수준에 포함되는 내용을 설명합니다: 스켈레톤(도구 결과 본문 없음), 증거(인용된 이벤트에 대한 본문만), 전체. templates/bundle-README.md에 따라 번들을 만들고, prompts/scrub.md를 파견한 다음 prompts/scrub-audit.md를 파견합니다. 감사가 CLEAN을 반환할 때까지 두 과정을 반복합니다. 최종 스크럽 로그, 파일 목록, 개인정보 및 증거 결과를 보여주기 전에 번들 템플릿의 증거 확인 및 조정을 완료합니다. 승인 후에만 아카이브(zip -r 또는 tar -czf)합니다. 아카이브 경로와 함께, 그 내용, 스크럽 로그가 대체된 내용을 가리키는 위치, 그리고 스크러빙이 모든 것을 놓칠 수 있으므로 공유 전에 모든 파일을 검토해야 한다는 점을 명시합니다.
  7. 유사 세션 — 요청 시 실행합니다. 확인된 발견 사항을 시그니처로 변환하고, 수정 시간(mtime)과 크기별로 후보를 나열하고, 마커 라인 번호를 찾은 후, 각 후보에 대해 병렬로 prompts/similar-session.md를 파견하고 보고서 §9에 추가합니다.

빠른 참조

일곱 명의 분석가가 항상 실행됩니다. 이 표는 3단계에서 직접 읽어야 할 영역과 평결에서 먼저 제시해야 할 발견 사항을 나타냅니다.

불만먼저 읽고, 먼저 제시할 내용
"너무 오래 걸렸어요"cost-and-time, stumbles
"왜 이런 추가 작업을 한 거죠?"repeated-work, plan-adherence
"왜 이렇게 비싼 거죠?"cost-and-time
"도대체 뭐 하는 거예요?" (아직 실행 중)skill-timeline; 커버리지에 진행 중임을 표시
"계획을 무시했어요"plan-adherence, 컴팩션 라인 우선
"스킬 X가 실행되지 않았어요"skill-timeline

엄격한 규칙

  • 컨텍스트 안전성. 대화록 한 줄이 1MB가 될 수 있습니다. 모든 세션 파일에 대해 references/context-safety.md를 항상 따릅니다.
  • 읽기 전용. 세션 파일을 절대 수정, 이동 또는 삭제하지 마십시오.
  • 하위 에이전트에 대한 정확한 경로. 하위 에이전트의 "현재 세션"은 자기 자신의 것입니다. 절대 경로와 ID를 전달하십시오.
  • 인간 프롬프트만. 후크 출력, 시스템 알림 및 도구 결과는 파트너의 말이 아닙니다. 하위 에이전트 대화록에서 "사용자"는 상위 에이전트를 의미합니다.
  • 슈퍼파워 진단 금지. 보고서 §7은 관련성을 명시하고 중단됩니다. 스킬의 결함을 언급하거나 변경을 제안하지 마십시오. 파트너가 수정을 요구해도 이 규칙은 완화되지 않습니다. 이슈 단계를 가리키고 요청 시 번들을 사용할 수 있다고 언급하십시오. 파트너에게 조언하지 마십시오.
  • 승인 게이트. 파트너가 스크럽 로그와 파일 목록을 확인하기 전에는 아카이브하지 마십시오. 파트너가 정확한 텍스트를 승인하기 전에는 이슈나 댓글을 작성하지 마십시오.
  • 분석 전 문제 파악. 2~7단계는 파트너가 답변할 때까지 시작되지 않습니다. 파트너가 자리에 없으면 질문을 작성하고 중단하십시오. 당신이 재구성한 문장은 답변이 아닙니다. 이미 범위가 지정된 요청(예: 특정 이벤트 하나, 현재 실행 중인 것, 실행할 분석)은 그 자체로 문장입니다. 이에 답변한 다음 질문하십시오. 전체 세션에 대한 "이유"는 불만입니다.

위험 신호

생각현실
"문제가 명백하니 문제 파악은 건너뛰자"문제 설명이 모든 것을 규정합니다. 질문하십시오.
"파트너가 자리에 없으니 내가 문장을 재구성하자"그들이 원했던 것을 재구성할 수 없습니다. 질문을 작성하고 중단하십시오.
"지금 다 훑어보고 마지막에 질문하자"범위 없는 훑어보기는 잘못된 질문에 예산을 소모합니다. 먼저 질문하십시오.
"버그 리포트를 원하니 지금 번들을 만들자"번들은 그들의 세션 데이터를 패키징한 것입니다. 요청 시에만 만드십시오.
"작고 목표 지향적인 편집이니 재구성이 필요 없어"아무리 작아도 당신의 결정이 아닙니다. 증거를 보고하십시오. 트라이에이저가 결정합니다.
"토큰당 가격은 잘 알려져 있다"대화록에서 계산하지 않은 숫자는 지어낸 것입니다. 인용하거나 버리십시오.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

alfathafp/portofolio-web-design

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

alfathafp/portofolio-web-design

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.

alfathafp/portofolio-web-design

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

alfathafp/portofolio-web-design

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch. Use when asked to review a diff or a pull request, even when the diff is pasted inline.

alfathafp/portofolio-web-design

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

alfathafp/portofolio-web-design

Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.

alfathafp/portofolio-web-design

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

alfathafp/portofolio-web-design

Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing.

alfathafp/portofolio-web-design

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

alfathafp/portofolio-web-design

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.

alfathafp/portofolio-web-design

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

alfathafp/portofolio-web-design

Records decisions and documentation. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

alfathafp/portofolio-web-design

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production auth, security-sensitive logic, a high-stakes migration, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later.

alfathafp/portofolio-web-design

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

alfathafp/portofolio-web-design

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

alfathafp/portofolio-web-design

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

alfathafp/portofolio-web-design

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog.

alfathafp/portofolio-web-design

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or "stress-test my plan".

alfathafp/portofolio-web-design

Delivers changes incrementally in thin, verifiable slices. Use when implementing any feature or change that touches more than one file, or when picking up the next task from a plan. Use when rolling a change out behind a feature flag, when you're about to write a large amount of code at once, or when a task feels too big to land in one step.

alfathafp/portofolio-web-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

관련 스킬