Use for private overlay path resolution, SectionLoader overlay merging, overlay script resources, or dynamic OverlayScriptTask discovery. Not for ordinary repository scripts or public config alone.
Scanned 8/31/2026
Install to Claude Code
npx -y skills add sneivandt/dotfiles --skill overlay-scripts --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Overlay Scripts?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/sneivandt-overlay-scripts)More formats (shields.io, HTML) on the badges page.
---
name: overlay-scripts
description: >
Use for private overlay path resolution, SectionLoader overlay merging,
overlay script resources, or dynamic OverlayScriptTask discovery. Not for
ordinary repository scripts or public config alone.
---
# Overlay Scripts
Never copy private overlay content into this repository or its skills.
## Overlay resolution
Resolve once at startup:
```text
--overlay > DOTFILES_OVERLAY > repository dotfiles.overlay
```
An explicit linked worktree (`.git` is a file) requires interactive `[y/N]`
confirmation before use or persistence. Empty input and non-interactive runs
decline it.
## Config and scripts
- `SectionLoader` appends optional overlay sections to public desired state
under the same category rules; overlays extend rather than replace.
- Script paths are overlay-relative. Reject absolute paths and `..`.
- Scripts implement apply, `--check`, `--dryrun`, and `--remove`.
- Check exits 0 when correct, 1 when apply is needed, and another non-zero on
failure. Every mode propagates failures.
- Shell scripts are POSIX `sh`; PowerShell runs non-interactively.
- All subprocesses use the executor.
## Dynamic task discovery
Build one `OverlayScriptTask` per active entry from the immutable startup
configuration. Dynamic tasks are not catalog entries. The catalog-registered
reporting task is internal. Preserve config order and stable
`script-<normalized-name>` selectors.
When repository synchronization changes the checkout, the guarded child process
reloads configuration and rebuilds the entire task set. Do not add mid-run
configuration reload or late task discovery.
Test merge order, categories, path rejection, all exit mappings, dry-run
failure, startup discovery, and restart selection.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!