Agent SkillsYeachan-Heo/oh-my-claudecode › local-build-reminder

local-build-reminder

GitHub

在本地开发 OMC 项目时,自动检测 TypeScript 源码变更并提醒用户执行构建,确保运行环境加载最新代码。

skills/local-build-reminder/SKILL.md Yeachan-Heo/oh-my-claudecode

Trigger Scenarios

检测到 src/**/*.ts 文件被编辑 用户询问修改未生效的原因 准备重启且存在未构建的 TS 更改

Install

npx skills add Yeachan-Heo/oh-my-claudecode --skill local-build-reminder -g -y
More Options

Use without installing

npx skills use Yeachan-Heo/oh-my-claudecode@local-build-reminder

指定 Agent (Claude Code)

npx skills add Yeachan-Heo/oh-my-claudecode --skill local-build-reminder -a claude-code -g -y

安装 repo 全部 skill

npx skills add Yeachan-Heo/oh-my-claudecode --all -g -y

预览 repo 内 skill

npx skills add Yeachan-Heo/oh-my-claudecode --list

SKILL.md

Frontmatter
{
    "name": "local-build-reminder",
    "level": 1,
    "description": "Remind the user to rebuild OMC after editing TypeScript when running from a local fork. Triggered automatically by the AI whenever it notices it (or the user) just changed a src\/**\/*.ts file in an OMC dev install."
}

Local Build Reminder

Always-on reminder for OMC fork development. When OMC is running in local mode (HUD shows [OMC#X.Y.ZL] with an L suffix), Claude Code loads compiled JavaScript from dist/ — NOT TypeScript source from src/. Edits to .ts files are invisible to the running plugin until npm run build regenerates dist/.

When to invoke this skill

The AI should mention this reminder whenever any of these happens:

  1. The user (or the AI itself) just edited src/**/*.ts in this repo.
  2. The user asks "why isn't my change working?" / "I edited X but it does the same" after a TS edit.
  3. The user is about to restart Claude Code and the working tree has TS edits with no rebuild.
  4. The user runs an OMC command and expects new behavior tied to a TS edit.

What to say

Surface one clear sentence followed by the exact command. Don't repeat the reminder on every turn — once per "round" of TS editing is enough. Example:

Heads up: you edited src/.... Run npm run build before restarting Claude Code — dist/ won't reflect the change otherwise.

If multiple TS files were edited in a row, just remind once at the end.

When NOT to remind

  • The user only edited .mjs / .cjs / .md / .json — those load directly from disk, no build needed.
  • The user is in a Claude Code session that isn't running OMC locally (no L in the HUD).
  • A tsc --watch / npm run dev:full is already running in the background — those rebuild automatically on save.
  • The user just asked an unrelated question; don't shoehorn the reminder into off-topic responses.

File-type cheat sheet

Path Restart picks up edit? Needs build?
src/**/*.ts Only after build Yes
templates/hooks/**/*.mjs Yes No
scripts/**/*.mjs / *.cjs Yes No
skills/**/SKILL.md Yes No
agents/**/*.md Yes No
commands/**/*.md Yes No
.claude-plugin/plugin.json Yes (on Claude restart) No
docs/**/*.md Cosmetic only No

One-command setup for hands-free dev

If the user is iterating heavily and tired of remembering the build, suggest:

npm run dev:full

This runs tsc --watch plus all bridge builders in parallel — every save triggers a rebuild within a second, so restart Claude Code is all that's needed afterwards.

Detection signal — how the AI knows it's "local mode"

The HUD's [OMC#X.Y.ZL] suffix is the visible cue. Programmatically, the detection lives in src/lib/version.ts::isRuntimePackageLocal() and triggers on any of: .git/ at package root, src/ at package root, package reached via symlink/junction, or any ancestor is a symlink/junction.

When running inside the OMC fork repo itself, the AI is by definition in local mode — the reminder always applies.

Version History

  • 41a4c0f Current 2026-07-25 07:05

Same Skill Collection

skills/ai-slop-cleaner/SKILL.md
skills/ask/SKILL.md
skills/autopilot/SKILL.md
skills/autoresearch/SKILL.md
skills/cancel/SKILL.md
skills/ccg/SKILL.md
skills/configure-notifications/SKILL.md
skills/debug/SKILL.md
skills/deep-dive/SKILL.md
skills/deep-interview/SKILL.md
skills/deepinit/SKILL.md
skills/external-context/SKILL.md
skills/hud/SKILL.md
skills/learner/SKILL.md
skills/mcp-setup/SKILL.md
skills/merge-readiness/SKILL.md
skills/omc-doctor/SKILL.md
skills/omc-reference/SKILL.md
skills/omc-setup/SKILL.md
skills/omc-teams/SKILL.md
skills/plan/SKILL.md
skills/project-session-manager/SKILL.md
skills/ralph/SKILL.md
skills/ralplan/SKILL.md
skills/release/SKILL.md
skills/remember/SKILL.md
skills/sciomc/SKILL.md
skills/self-improve/SKILL.md
skills/setup/SKILL.md
skills/skill/SKILL.md
skills/skillify/SKILL.md
skills/team/SKILL.md
skills/trace/SKILL.md
skills/ultragoal/SKILL.md
skills/ultraqa/SKILL.md
skills/ultrawork/SKILL.md
skills/verify/SKILL.md
skills/visual-verdict/SKILL.md
skills/wiki/SKILL.md
skills/writer-memory/SKILL.md

Metadata

Files
0
Version
5aa678c
Hash
99e99de2
Indexed
2026-07-25 07:05

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 07:16
浙ICP备14020137号-1 $mapa de visitantes$