debug
Debug an Apps in Toss mini-app across two environments — local browser (devtools panel, `window.__ait`, browser DevTools) and…
Print the harness entry-point map right after plugin install, and check the local environment/integration state (git, Node/npm/npx, cwd shape, MCP wiring) to suggest or hand off the next concrete step — since `/plugin install` itself prints no next step. Station-0→1 hand-off.
Claude Code
$ npx -y skills add toss/apps-in-toss-harness --skill welcome --agent claude-code
Codex
$ npx skills add toss/apps-in-toss-harness --skill welcome -a codex -y
Cursor
$ npx skills add toss/apps-in-toss-harness --skill welcome -a cursor -y
Gemini CLI
$ npx skills add toss/apps-in-toss-harness --skill welcome -a gemini-cli -y
GitHub Copilot
$ npx skills add toss/apps-in-toss-harness --skill welcome -a github-copilot -y
OpenCode
$ npx skills add toss/apps-in-toss-harness --skill welcome -a opencode -y
Windsurf
$ npx skills add toss/apps-in-toss-harness --skill welcome -a windsurf -y
name: welcome description: | Print the harness entry-point map right after plugin install, and check the local environment/integration state (git, Node/npm/npx, cwd shape, MCP wiring) to suggest or hand off the next concrete step — since `/plugin install` itself prints no next step. Station-0→1 hand-off. Triggered by `/ait:welcome`, no args. argument-hint: '' adapter-note: 'Step 1-c is host-branched MCP introspection — Claude Code uses its own tool list, `/mcp` and project `.mcp.json`; Cursor uses its own tool list (naming rule unverified, so match on the server name) and `.cursor/mcp.json`. Other targets replace 1-c with that agent’s MCP configuration surface. Steps 1-d and 1-e are Claude Code-only — they read the Claude Code plugin state directory (CLAUDE_CONFIG_DIR or ~/.claude); other targets skip them entirely.'
`/plugin install`은 `/ait` 명령을 설치하지만 "이제 뭘 하라"는 신호를 인쇄하지 않는다. 이 skill은 그 station-0→1 hand-off를 메운다 — 설치 직후 사용자가 harness 전체 흐름을 한눈에 보고 첫 station(`/ait:new`)으로 곧장 들어가게 한다.
여기 더해 이 skill은 **현재 환경·연동 상태를 가볍게 점검**하고, 그 결과에 따라 다음 조치를 권유·제안하거나(사용자 동의 시) 전담 skill로 이어간다 — git· Node/npm/npx 존재, cwd가 빈 디렉토리인지/기존 프로젝트인지, docs·콘솔 MCP 노출 여부, 프로젝트 `.mcp.json`의 `ait-debugger` 배선 여부가 대상이다.
빈 디렉토리부터 앱인토스 미니앱 출시까지 에이전트를 떠나지 않고 완주하는 흐름을 `/ait` 명령으로 엮는다.
읽기 전용이다 — 아무 파일도 쓰지 않는다.
**a. 로컬 도구** — 한 번의 Bash 호출로 묶어 실행한다:
{ echo "git: $(git --version 2>&1)"; \
echo "node: $(node --version 2>&1)"; \
echo "npm: $(npm --version 2>&1)"; \
echo "npx: $(npx --version 2>&1)"; \
echo "package.json: $(test -f package.json && echo 있음 || echo 없음)"; \
echo "Packages/manifest.json: $(test -f Packages/manifest.json && echo 있음 || echo 없음)"; \
echo ".git: $(test -d .git && echo 있음 || echo 없음)"; \
echo "cwd entries: $(ls -A | wc -l | tr -d ' ')"; \
echo "config: ${CLAUDE_CONFIG_DIR:-$HOME/.claude}"; \
echo "plugin cache: $(ls "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/cache/apps-in-toss/ait" 2>/dev/null | tr '\n' ' ')"; \
echo "marketplace clone: $(test -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/apps-in-toss" && echo 있음 || echo 없음)"; \
} 2>&1각 명령이 실패하거나(`command not found` 류) 버전 문자열을 못 내면 그 도구가 없는 것으로 본다 — 구체적인 최소 버전은 강제하지 않는다(harness가 검증한 유일한 하한은 `new-miniapp/SKILL.md`의 "Node 24+"이고, 그건 create-ait-app `engines.node >=24` 근거다 — scaffold를 실제로 돌리는 `/ait:new`에서 재확인된다). 이 skill 단계에서는 실행 실패 시 설치/업그레이드를 권유하는 수준으로만 안내한다.
**b. cwd 상태** — 위 출력의 `cwd entries`·`.git`과 프로젝트 표지 파일로 판단한다. 스택을 미리 가정하지 않는다. 기존 프로젝트면 루트의 `package.json`(scripts· 의존성)이나 프로젝트 파일, 있으면 README를 읽어 어떤 종류의 프로젝트인지 파악하고, 모호하면 사용자에게 묻는다. 여기서 정한 종류는 안내 문구를 고르는 데만 쓰고 파일은 쓰지 않는다.
보임) → 다음 제안은 `/ait:inject-devtools`(devtools 미배선 시) 또는 `/ait:setup-debugger`(디버깅 계획 시). 번들러가 무엇이든 배선 방법은 `inject`가 패키지 README에서 읽어 정한다.
`/ait:test-on-device`다.
→ 웹 번들러용 `inject`의 devtools·debugger-client facet 대상이 아니다. 기능 구현은 `/ait:feature`, 빌드한 결과의 실기기 확인은 `/ait:test-on-device`로 안내한다. Unity 쪽 빌드 메뉴와 `.ait` 산출 경로는 웹과 달라서 `feature`가 읽는 `../feature/references/stack-pitfalls.md`와 docs MCP를 기준으로 삼는다.
스택이다. 같은 이유로 `inject` 대상이 아니며, 기능 구현은 `/ait:feature`, 실기기 확인은 `/ait:test-on-device`로 안내하되 엔진별 제약은 단정하지 말고 docs MCP로 확인한다고 알린다.
이 skill은 `git init`을 실행하지 않는다).
**c. MCP 연동** (호스트 분기 — adapter-note 참조):
Claude Code:
`ait-console`이 포함된 도구가 보이는지 확인한다 — 직접 등록 형태 (`mcp__ait-docs__searchDocumentation` 등)와 이 플러그인의 정규 설치 경로(`/plugin install`)에서 실제로 뜨는 플러그인 경유 형태 (`mcp__plugin_<pluginName>_ait-docs__searchDocumentation`, `mcp__plugin_<pluginName>_ait-console__miniapp_create` 등 — 이 플러그인의 manifest 등록 이름은 `ait`) **둘 다** 서버 키 부분 문자열로 잡는다(plugin 세그먼트는 마켓플레이스 설치명에 따라 달라질 수 있어 고정하지 않는다 — `eval/e2e/driver.ts`의 `isConsoleMcpTool` 판정과 동일 관례). 앞쪽 형태만 보면 설치 형상에서 상시 "미노출"로 오판한다 — 실제 도구를 호출하지 않는다, 목록 존재 여부만 본다.
인가를 권유한다. 문서 MCP는 무인증이라 보통 바로 보인다.
`mcpServers.ait-debugger` 항목이 있는지 확인한다(파일이 없으면 "미배선"으로 본다). 옛 키 `mcpServers.ait-devtools`(0.3.0 이하 이름)나 `package.json`의 `@apps-in-toss/debug-console`이 있으면 "미배선"이 아니라 **이름 변경 업그레이드 필요**로 본다 (`../setup-debugger/references/upgrade-check.md` 0절). 둘 다 없으면 "디버깅 쓸 계획이면 `/ait:setup-debugger`"를 제안 목록에 넣는다 — 강제하지 않는다(디버깅 계획이 없는 세션도 많다).
debugger Release URL 버전을 `../setup-debugger/references/upgrade-check.md` 1단계 규칙대로 판별하고, 이 플러그인의 기준(`setup-debugger/SKILL.md` 4단계 URL)보다 낮을 때만 제안 목록에 "`/ait:setup-debugger`로 debugger 업그레이드 점검"을 넣는다. 같거나 높거나, 그 URL 형태가 아닌 항목(커스텀 런처 등)은 말없이 지나간다. 비교·동의·적용 절차는 그 reference가 정본이라 여기서 되풀이하지 않으며, 이 skill은 파일을 고치지 않는다.
Cursor:
`searchDocumentation` 등 bare 이름으로 노출) — 개별 도구명 대조 대신, 도구 목록에서 `ait-docs` 서버에서 온 도구가 **하나라도** 보이면 docs MCP 연결로 본다. 콘솔 MCP도 같은 방식으로 `ait-console` 서버 도구 존재 여부만 확인한다 — 미인가 상태에서는 그 서버 도구가 `mcp_auth` 1종뿐이다 (그게 미인가 신호다).
경유 서버의 인가는 Cursor 데스크톱 에디터에서만 완료된다(CLI에서 `mcp_auth`를 호출하면 "Interactive MCP authentication is only available in the Cursor desktop IDE"가 돌아온다 — 실측). CLI 세션에서 콘솔 MCP를 쓰려면 `.cursor/mcp.json`에 서버를 직접 등록한 뒤 `agent mcp login ait-console` 으로 인가한다(`.github/other-hosts.md` Cursor 절 참고).
`mcpServers.ait-debugger` 항목이 있는지 확인한다. 옛 키 `ait-devtools`나 옛 패키지 `@apps-in-toss/debug-console`이 있으면 Claude Code와 같이 이름 변경 업그레이드 필요로 본다. 모두 없으면 동일하게 "디버깅 쓸 계획이면 `/ait:setup-debugger`"를 제안 목록에 넣는다.
u
앱인토스 미니앱을 AI 코딩 에이전트와 대화하며 만드는 플러그인 ait가 들어 있는 저장소입니다. "출석 체크 미니앱 만들고 싶어"라고 말하면 에이전트가 기획을 정리하고, 프로젝트를 만들고, 화면을 그리고, 내 폰의 토스 앱에 띄워 보여 줍니다. 검수 요청도 에이전트 안에서 합니다. Claude Code, Codex, Cursor에서 쓸 수 있습니다. 0.3.x 이하에서 올라오는 분은 먼저 .github/updating.md를 읽어 주세요.
Debug an Apps in Toss mini-app across two environments — local browser (devtools panel, `window.__ait`, browser DevTools) and…
Build and fix mini-app screens. Run it for "화면 만들어줘", "출석 체크 화면 그려줘", "화면이 구린데 예쁘게 해줘", "디자인 좀 봐줘" — it writes and edits the…
Implement an Apps in Toss SDK feature in the user's existing project: banner / interstitial / rewarded ads, in-app purchase…
Patch an existing Apps in Toss mini-app's build setup. Three facets: `/ait:inject-devtools` adds the `@apps-in-toss/devtools`…
Pre-launch check, review request and rejection handling for an Apps in Toss mini-app (검수 = the Apps in Toss app review, not code…
Scaffold a new Apps in Toss mini-app by driving the official `create-ait-app` CLI non-interactively (`--inline`, always…
Expert assistance for next-forge — a production-grade Turborepo template for Next.js SaaS apps. Triggers on questions about…
Build or change an app on EveryApp: create one, add a feature, a page, a table, an AI tool, a capability, a public route or a…
Use when the user mentions Nubase broadly, wants a backend for an AI-generated app, or needs to deploy/publish generated code…