thinking-orbs
하는 일
이 스킬은 AI가 바쁘게 작업 중임을 보여주는 thinking-orbs React 컴포넌트를 추가합니다. 단순한 로딩 스피너 대신 분명한 상태 표시를 원하는 채팅, 코파일럿, 검색, 음성 인터페이스 개발자를 위한 것입니다.
사용하는 경우
- ✓채팅이나 코파일럿 인터페이스가 AI가 작업 중이거나 검색 중임을 보여줘야 할 때.
- ✓일반 스피너를 AI 활동 표시기로 바꾸고 싶을 때.
- ✓음성이나 생성 기능이 듣는 중이거나 작성하는 중임을 보여줘야 할 때.
스킬 링크
https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/thinking-orbs/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“채팅 앱에서 AI가 생각하는 동안 일반 스피너 대신 작은 움직이는 구체를 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 React 프로젝트에 패키지를 설치하고, 앱의 실제 단계를 기본 제공되는 여섯 가지 상태 중 하나에 연결합니다. 크기, 테마, 라벨을 설정하고, 접근성을 위해 구체를 멈추거나 숨길 수 있는 동작 줄이기 옵션을 추가합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Thinking Orbs
Core Contract
- Use
thinking-orbsin React 18+ interfaces that need indeterminate AI activity feedback. - Map the real product lifecycle to one of the six shipped states.
- Use only the tuned
20or64pixel size. Do not stretch one preset into another. - Keep
theme="auto"unless the surrounding surface has a known fixed theme. - Pair the orb with concise visible status text when the activity matters to the user.
- Override
aria-labelwith a task-specific label, or hide the orb from assistive technology when adjacent live text already announces the same state. - Use
pausedto freeze the current frame. Do not simulate pause withspeed={0}. - Treat the orb as indeterminate feedback, never as a progress percentage or completion signal.
The package renders monochrome dots on a transparent 2D canvas. It does not expose custom colors, arbitrary sizes, or determinate progress.
Install
Inspect the project package manager, then install:
npm install thinking-orbs
The package declares react and react-dom version 18 or newer as peer dependencies. Import the component and exported types from the package root:
import {
ThinkingOrb,
type OrbSize,
type OrbState,
type OrbTheme,
type ThinkingOrbProps,
} from "thinking-orbs";
Choose the State
working— generic tool execution, multi-step work, or an activity without a more precise state.searching— retrieval, web search, file search, or knowledge lookup.solving— reasoning, analysis, calculation, or planning.listening— microphone input, speech capture, or waiting for a spoken turn.composing— writing, summarizing, drafting, or generating a text response.shaping— creating or refining an image, layout, structured artifact, or other formed output.
Prefer a truthful generic working state over a visually interesting but inaccurate state. Change the state only when the underlying activity changes.
Choose the Size
- Use
size={20}inline with text, inside buttons, or in compact status rows. - Use
size={64}at chat-avatar scale, in an empty state, or as the main visual status.
The presets have different dot counts, dot sizes, and speed tuning. They are separate designs rather than a scale factor. If the layout needs more surrounding space, size the wrapper instead of applying CSS transforms to the canvas.
Basic Usage
import { ThinkingOrb } from "thinking-orbs";
export function AgentStatus() {
return (
<ThinkingOrb
state="searching"
size={20}
theme="auto"
aria-label="Searching project files…"
/>
);
}
All other canvas props pass through, including className, style, data-*, event handlers, and ARIA attributes.
Model the Product Lifecycle
Keep product phases separate from visual states so the mapping stays explicit:
import { ThinkingOrb, type OrbState } from "thinking-orbs";
type AgentPhase =
| "idle"
| "retrieving"
| "reasoning"
| "writing"
| "creating"
| "done"
| "error";
const ORB_BY_PHASE: Partial<Record<AgentPhase, OrbState>> = {
retrieving: "searching",
reasoning: "solving",
writing: "composing",
creating: "shaping",
};
export function AgentActivity({ phase }: { phase: AgentPhase }) {
const state = ORB_BY_PHASE[phase];
if (!state) return null;
return <ThinkingOrb state={state} size={20} />;
}
Remove the orb on done, error, cancellation, or idle. Show the appropriate result, retry, or error UI instead of leaving the last activity animation running.
Announce Status Once
The component defaults to role="img" with a per-state label such as “Searching…”. When visible text describes the same state, make the text the single announcement source:
export function LiveAgentStatus() {
return (
<div role="status" aria-live="polite" className="agent-status">
<ThinkingOrb state="solving" size={20} aria-hidden="true" />
<span>Reviewing the repository…</span>
</div>
);
}
Use aria-live="polite" for ordinary phase changes. Avoid rapid label churn. Do not add another hidden live region when role="status" already owns the announcement.
Theme
Use one of:
<ThinkingOrb theme="auto" />
<ThinkingOrb theme="dark" />
<ThinkingOrb theme="light" />
autofirst checks an ancestordata-theme="dark|light"attribute ordark/lightclass.- If no ancestor theme exists,
autofollowsprefers-color-scheme.
자주 묻는 질문
작업이 얼마나 진행됐는지도 보여주나요?
아니요. 구체는 진행률이나 완료를 보여주지 않고, 불확실한 활동만 보여줍니다.
어떤 React 버전이 필요한가요?
패키지는 React 18 이상이 필요합니다.
색상을 직접 고를 수 있나요?
아니요. 스킬은 패키지가 단색 점을 그리며, 임의의 색이나 크기는 제공하지 않는다고 말합니다.
상세 정보
작성자의 원본 설명
Add accessible animated AI loading and agent-status indicators with the React thinking-orbs library. Use when a chat, copilot, voice, search, generation, or tool-running interface needs a semantic working, searching, solving, listening, composing, or shaping state; when replacing a generic spinner with an AI activity orb; or when implementing the library's size, theme, speed, pause, reduced-motion, and canvas behavior.
repo: MengTo/Skills
인기도
- GitHub 스타
- 7.2k
- 순위
- #13474
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
3d-cloth-material
7.2k에이전트가 Three.js에서 실 짜임, 부드러운 광택, 자연스러운 주름, 단, 솔기를 갖춘 실제 직물처럼 보이는 천을 만들도록 돕습니다.
3d-falling-leaves
7.2k에이전트가 3D 장면에 나뭇잎이 구르고 바람에 흩날리며 카메라 움직임에 따라 재사용되는 낙엽 효과를 추가하도록 돕습니다.
3d-four-seasons
7.2k에이전트가 3D 장면의 나무, 빛, 하늘, 눈을 바꿔 장면을 다시 만들지 않고 봄, 여름, 가을, 겨울을 표현하도록 돕습니다.
3d-high-poly-models
7.2k에이전트가 매끄러운 형태와 자연스러운 모서리를 가진 세밀한 3D 모델을 만들고, 웹에서 잘 돌아가는 가벼운 버전을 준비하도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.