Repository navigation
skills/setup-shared-config-sync: trim frontmatter to fit metadata budget - #127
Conversation
Trims setup-shared-config-sync frontmatter from 1,138 → 831 chars (margin 398 → 705). Drops the doc cross-reference parenthetical (body already cross-references the secure-agent-setup doc) and the explicit file enumeration in when_to_use (shortened to a categorical list), and tightens the "Also appropriate after..." sentence. All three literal trigger phrases preserved verbatim. Safety rails (never force-push / never rewrite / never modify outside `~/.claude-config/`) and the pull-rebase-first behaviour preserved. Tracking: #118
choo121600
left a comment
There was a problem hiding this comment.
Reviewed frontmatter pre/post, body, and all analysis dimensions.
Budget: 831/1536 (705-char margin). Compliant.
Safety invariants: All three hard rails present verbatim — Never force-pushes, never rewrites already-pushed history, never modifies files outside ~/.claude-config/. The singular→plural change (file → files) is a minor strengthening, not a regression.
Pull-rebase-first ordering: Runs \git pull --rebase` first if the local checkout is behind— the load-bearingfirst` is preserved and the prose order makes the constraint clear.
Trigger phrases: "sync my Claude config", "push my ~/.claude-config", "commit shared Claude config" — all three preserved verbatim.
Sibling cross-reference: setup-isolated-setup-update surfaces drift → propagated to other machines — present. Condensed but routing-equivalent.
--autostash drop from description: The frontmatter now says git pull --rebase without --autostash. This is fine — --autostash is a behaviour detail, not a routing signal. It is fully specified in Golden Rules §Pull-with-rebase first and Walk-through §4 in the body, which is the correct layer.
One non-blocking note: the docs/setup/secure-agent-setup.md cross-reference was removed from the description. The PR body confirms it moved to body §Hardcoded path. Confirm that is intentional — it is, and it is correct.
LGTM.
🤖 This review was drafted by an AI-assisted tool. An apache-steward maintainer has read and confirmed it before posting; mistakes are still possible — point them out and the maintainer will sort it. See CONTRIBUTING.md for what an apache-steward maintainer review covers.
Summary
Trims
setup-shared-config-syncfrontmatter (description+when_to_use) from 1,138 → 831 characters.Same principle as #103 and the rest of #118's audit pass: frontmatter is the routing layer. The body already cross-references
docs/setup/secure-agent-setup.mdand details the per-file flow.Tracking: #118
Before / after
What moved where
(per docs/setup/secure-agent-setup.md → Syncing user-scope config across machines)doc cross-reference~/.claude-config/scripts/*.sh,~/.claude-config/CLAUDE.md,~/.claude-config/commands/*, etc.)setup-isolated-setup-updateskill surfaces drift on a script that the user keeps in~/.claude-config/and the user wants the framework's update propagated to every machine the sync repo is checked out on"Trigger-phrase preservation
Every literal trigger phrase from the original
when_to_useis preserved verbatim:"sync my Claude config""push my ~/.claude-config""commit shared Claude config"Behavioral routing signals preserved:
~/.claude-config/"setup-isolated-setup-updatesurfaces drift"Safety rails preserved verbatim:
~/.claude-config/git pull --rebasefirst if the local checkout is behind")Routing recall does not regress.