Catalog
Yeachan-Heo/local-build-reminder

Yeachan-Heo

local-build-reminder

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.

global
New~847
v1.0Saved Jun 5, 2026

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.

Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

87/100

Grade

A

Excellent

Safety

92

Quality

86

Clarity

88

Completeness

82

Summary

A guidance skill that reminds developers to rebuild compiled JavaScript after editing TypeScript source files in a local OMC (OpenMind Code) fork development environment. It surfaces a one-time reminder with the exact rebuild command when TypeScript changes are detected, and provides clear rules for when the reminder applies and when to skip it.

Detected Capabilities

read source file pathsdisplay contextual reminderssuggest shell commands

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

omc local developmenttypescript rebuilddist changes not reflectednpm run buildomc fork changes

Use Cases

  • Developing OMC plugins locally with TypeScript edits and noticing changes don't take effect
  • Rebuilding after source file modifications before restarting Claude Code
  • Understanding which file types require a build step versus loading directly from disk
  • Setting up hands-free development with automatic watching and rebuilding
  • Debugging why recent code changes aren't visible in the running plugin

Quality Notes

  • Clear, domain-specific documentation for a narrow use case (OMC local development)
  • Comprehensive file-type reference table eliminates ambiguity about which files need rebuilds
  • Explicit rules for when NOT to remind prevent reminder fatigue
  • Includes exact detection signal explanation (HUD suffix and programmatic checks)
  • Provides escalation option (npm run dev:full) for iterative development workflows
  • Practical example sentence demonstrates appropriate tone and specificity
  • Well-scoped to a single decision point—whether to suggest a build step—making it lightweight and composable
Model: claude-haiku-4-5-20251001Analyzed: Jun 5, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Add Yeachan-Heo/local-build-reminder to your library

Command Palette

Search for a command to run...