원클릭으로
cadence-rules-init-user
Use when installing the 6 universal user-level rules to ~/.claude/rules/workbench/. Self-destructs after running.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when installing the 6 universal user-level rules to ~/.claude/rules/workbench/. Self-destructs after running.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when installing the complete set of universal and language/tool rules to the user-level workbench directory in one pass.
Use when installing rules into a project's .claude/rules/workbench/ with path-scoping — detects project languages or lets you choose manually.
| name | cadence-rules:init-user |
| description | Use when installing the 6 universal user-level rules to ~/.claude/rules/workbench/. Self-destructs after running. |
| allowed-tools | Read, Write, Bash |
| license | MIT |
| metadata | {"author":"cameronsjo","version":"1.0"} |
Install all 6 universal rules from this plugin to $HOME/.claude/rules/workbench/.
OLD_DEST="$HOME/.claude/rules"
NEW_DEST="$HOME/.claude/rules/workbench"
mkdir -p "$NEW_DEST"
echo "=== MIGRATE ==="
for old in "$OLD_DEST"/rules-*.md; do
[ -f "$old" ] || continue
basename="${old##*/}"
stripped="${basename#rules-}"
if [ ! -f "$NEW_DEST/$stripped" ]; then
mv "$old" "$NEW_DEST/$stripped"
echo "MIGRATED $basename -> workbench/$stripped"
else
rm "$old"
echo "REMOVED $basename (already exists in workbench/)"
fi
done
DEST="$HOME/.claude/rules/workbench"
echo "=== UNIVERSAL ==="
for src in "${CLAUDE_PLUGIN_ROOT}"/rules/user/*.md; do
[ -f "$src" ] || continue
name="$(basename "$src")"
dest="$DEST/$name"
if [ ! -f "$dest" ]; then
echo "NEW $name"
elif [ "$(md5 -q "$src")" = "$(md5 -q "$dest")" ]; then
echo "UNCHANGED $name"
else
echo "UPDATED $name"
fi
done
| File | Status |
|---|---|
engineering-standards.md | NEW / UNCHANGED / UPDATED |
If everything is UNCHANGED, report "All universal rules are up to date." and skip to step 6.
NEW: Copy the source file to the destination:
cp "$src" "$DEST/$(basename "$src")"
UPDATED: Read both the source (plugin) file and the destination (installed) file using the Read tool. Merge: incorporate plugin updates while preserving user customizations (added rules, modified wording, extra sections). Write the merged result to the destination using the Write tool.
UNCHANGED: Skip.
rm -f "$HOME"/.claude/plugins/cache/*/rules/*/commands/init-user.md
Tell the user: "The /rules:init-user command has been removed from cache. It will reappear when the rules plugin updates."
${CLAUDE_PLUGIN_ROOT}/rules/user/ — Destination: ~/.claude/rules/workbench/workbench/ are user-managed and never touched