본문으로 건너뛰기
cccskills
무료GitHub에 공개

dev

Boot and drive the tbh-meter app + reader locally to see a change working — what runs on macOS (UI only; the reader is win32-only) and how to feed the overlay/list fake data. Use when asked to run/start the meter, verify a change in the running app, screenshot the overlay, or reproduce a bug locally.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md1.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Running tbh-meter locally

The app (Electron overlay) — macOS runs UI only

cd app && pnpm dev   # electron-vite; the reader spawn is a win32+packaged no-op on macOS

On macOS the reader never spawns, but the file-watching sources still work — drive the UI by writing artifacts into ~/tbh-meter/:

  • raw/<endTsMs>.json — a finished run. The converter turns it into logs/<id>.json and the list updates.
  • live.json — the overlay snapshot. Rewrite it with an ADVANCING mtime each tick, or the overlay won't animate (engagement detection keys off mtime).

Steal real fixtures from app/src/main/**/__tests__/ or a teammate's ~/tbh-meter/. RC build uses ~/tbh-meter-rc/ instead.

Screenshot the overlay/list (CDP)

Renderer changes must be verified on real pixels, not just unit tests (app/CLAUDE.md). Launch with the debugger open and drive it over CDP:

cd app && pnpm dev -- --remote-debugging-port=9222

Then connect a CDP client to localhost:9222 and capture the window against the seeded ~/tbh-meter/ artifacts above.

The reader (Python) — Windows only

The reader reads game memory and only runs on win32 (reader/CLAUDE.md). On macOS you can lint and test it but not attach to the game:

cd reader && ruff check . && python3 -m pytest

Verify before finishing

cd app    && pnpm check && pnpm test     # eslint + tsc (both tsconfigs) + vitest
cd reader && ruff check . && python3 -m pytest

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Diagnose tbh-meter problems — reader not attaching, AV/blocked state, slow calibration, missing or invalid runs. Use when debugging meter behavior or reading meter.log / live.json / raw run records / logs records (or the legacy runs.jsonl).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mad-labs-org/tbh-meter382026년 10월 19일 업데이트

The TaskBarHero game updated (new version) and the tbh-meter reader needs re-calibration — symptoms are gold showing 0, stage mode "?", or the live party/XP/stats dropping out (party empty / no live levels / runs degraded) after a patch, or you're prepping a meter release for a new game build. Runs the diagnose→dump→diff→reseed→bump→verify playbook (the fix is usually a reseed, but a build can also change an Obscured encoding with zero offset movement — caught only by the live gate, fixed by a read-strategy change). Use when the game version changed, after a TBH patch, when a player reports gold/stage/party/XP broken following an update, or when asked to re-seed / re-calibrate the reader for a new build.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mad-labs-org/tbh-meter382026년 10월 19일 업데이트

Generate a polished release video for a tbh-meter release in the Claude-Code motion style (recreated animated UI + real game sprites + synth soundtrack), to post with a launch. Primary input is a GitHub release LINK — the skill turns it into a video named after that release, covering ONLY the features that shipped in that release, version stamped on the intro. Use when asked to make/update a release video, showcase clip, feature trailer, or promo video for a meter release, or "make the video for <release link>".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mad-labs-org/tbh-meter382026년 10월 19일 업데이트

Adversarial, security-first review of a pull request from an EXTERNAL or untrusted contributor — a fork PR, a first-time or unknown author, anyone without write access — before a maintainer merges it. Use this whenever you're reviewing, triaging, or deciding whether to merge a PR opened against tbh-meter by someone outside the maintainer team: 'review PR #123', 'someone opened a PR — is it safe to merge?', 'check this contributor's changes', 'can we take this fork PR?', 'is this contribution legit?'. This is supply-chain DEFENSE, not ordinary code review: every merged PR auto-updates onto every user's machine and ships a memory-reading .exe plus an unsandboxed Electron app, so the author and the PR description are UNTRUSTED and the diff is the only evidence. It posts its verdict as a real GitHub review — an inline comment pinned to each problematic line (via the pulls/reviews API), not just one summary comment. NOT for your own or a fellow maintainer's branch (use self-review for that), and prefer this over the generic review flow for anything coming from outside the team.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mad-labs-org/tbh-meter382026년 10월 19일 업데이트

Post-implementation self-review. Use AFTER finishing ANY code implementation or change — before declaring it done, committing, or opening a PR — to critique your own work: re-read the diff adversarially, confirm unit tests cover every branch/edge, kill duplication, follow clean-code/SOLID and the repo's own docs & invariants, decide if something should become documentation, update/prune memory, and strip outdated comments. Trigger it whenever you've just written or modified code and are about to wrap up, even if the user didn't explicitly ask for a review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mad-labs-org/tbh-meter382026년 10월 19일 업데이트

Standardized commit + PR workflow for tbh-meter. Analyzes changes, makes conventional commits (subjects feed the release changelog), and for any overlay/UI change captures a seed-driven screenshot to attach to the PR. Use when asked to commit, open a PR, or "commit this".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mad-labs-org/tbh-meter382026년 10월 19일 업데이트

mad-labs-org의 스킬 모두 보기

이 스킬의 문제 신고