From claude-resources
Builds and installs fresh CCResDoc Tauri app on macOS from $HOME/.claude/doc/src-tauri. Cleans cargo cache, runs cargo tauri build, kills old process, replaces /Applications bundle, clears quarantine.
npx claudepluginhub takazudo/claude-resourcesThis skill uses the workspace's default tool permissions.
Cache-clean build of the CCResDoc Tauri app at `$HOME/.claude/doc/src-tauri/`, plus safe install to `/Applications/CCResDoc.app`.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Cache-clean build of the CCResDoc Tauri app at $HOME/.claude/doc/src-tauri/, plus safe install to /Applications/CCResDoc.app.
cp -rf does NOT reliably update a macOS .app bundle — the old binary inside Contents/MacOS/ can survive the copy. And Cargo sometimes reuses the cached release binary even after frontend changes in $HOME/.claude/doc/dist/. Run the steps below in order; do not substitute cp -rf or skip the clean.
cd $HOME/.claude/doc/src-tauri && cargo clean -p ccresdoc --release
-p ccresdoc cleans only this crate's artifacts (seconds), not all Rust deps. --release is required because cargo tauri build uses the release profile.
cd $HOME/.claude/doc/src-tauri && cargo tauri build
Takes ~1–2 minutes on cold cache. Outputs:
$HOME/.claude/doc/src-tauri/target/release/bundle/macos/CCResDoc.app$HOME/.claude/doc/src-tauri/target/release/bundle/dmg/CCResDoc_0.1.0_aarch64.dmgUse mv instead of rm -rf so the old bundle is replaced atomically (and recoverable from /tmp if the copy fails). Use cp -R (not cp -rf) on a path that no longer exists.
killall ccresdoc 2>/dev/null
killall CCResDoc 2>/dev/null
sleep 1
mv /Applications/CCResDoc.app /tmp/CCResDoc-old-$$.app 2>/dev/null
cp -R $HOME/.claude/doc/src-tauri/target/release/bundle/macos/CCResDoc.app /Applications/CCResDoc.app
xattr -dr com.apple.quarantine /Applications/CCResDoc.app
xattr -dr com.apple.quarantine only strips the quarantine flag; it does not nuke all extended attributes.
stat -f "%Sm %N" /Applications/CCResDoc.app/Contents/MacOS/ccresdoc
stat -f "%Sm %N" $HOME/.claude/doc/src-tauri/target/release/bundle/macos/CCResDoc.app/Contents/MacOS/ccresdoc
The two timestamps should match within seconds (installed is slightly later — it was copied right after the build finished). If the installed binary is older than the source, the copy failed — go back to Step 3.
open /Applications/CCResDoc.app
Report the installed binary's timestamp so the user can confirm it's the fresh build.
ccresdoc (lowercase, from Cargo.toml), app name is CCResDoc.app (from tauri.conf.json productName).src-tauri/frontend/. The real doc site is served at runtime by the sidecar (node scripts/dev-stable.js) or the axum fallback reading $HOME/.claude/doc/dist/. So for pure doc-content changes, no rebuild is needed — just rebuild $HOME/.claude/doc/ (pnpm build) and re-open the app.src-tauri/src/, the loading page in src-tauri/frontend/, or Tauri config changes.