shell-integration
Skill7 starsChanged 8 days agoMITView on GitHub
Use this skill whenever the resolved task scope includes shell code—including `domlib`, Fish configuration, `home/.local/bin` scripts, and `.hooks`—or adds or reconsiders a command entrypoint in this repository, including whether a Git helper should be a plain alias or a `home/.local/bin/git-*` script.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- marcus/sidecartheir own version, first seen Oct 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- marcus/sidecar★ 1.1ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- auditSkill
- harmonizeSkill
- agent-task-directoriesSkill
- agent-task-relaySkill
- agent-documentationSkill
- browser-automationSkill
- cli-subagentSkill
- full-reviewSkill
- prepushSkill
- skill-developmentSkill
- vitest-conventionsSkill
- dom-release-notes-for-humansSkill
- dom-sensible-commit-flowSkill
- dom-sensible-contribution-flowSkill
- fish-shell-scriptingSkill
- human-facing-writingSkill
- intentional-dependency-choiceSkill
- posix-shell-scriptingSkill
- refine-agent-workflowSkill
- release-notes-for-humansSkill
- sensible-commit-flowSkill
- sensible-contribution-flowSkill
- simple-github-cliSkill
- subagent-review-flowSkill
- verify-findingsSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use this skill as the canonical source for domfiles-specific shell integration, invariants, and validation.
- Very specific: line 29
Place __is_ci and __domfiles_is_ci checks, including negations, last among predicates in compound conditions so CI detection doesn’t …
- Very specific: line 30
Treat domfiles dependencies as the user-facing readiness check defined by dependency status labels.
- Very specific: line 34
Use the applicable language skill for semantic requirements and composition with human-facing-writing.
- Distinctive: line 36
Avoid first-person and subjective wording.
- Distinctive: line 38
Treat standalone headings and status labels as labels rather than sentences.
- Distinctive: line 39
Use sentence case imperative voice for action and section comments.
- Distinctive: line 45
Before adding a command entrypoint or explicitly reconsidering an existing command’s form or location, follow Command Form and Location.
- Very specific: line 47
Before reviewing a home/.local/bin/git-* entrypoint, follow Git helper form.
- Very specific: line 57
Write unquoted command substitutions as (…) as an exception to fish-shell-scripting’s $(…) template.
- Distinctive: line 66
After editing, follow Validate Shell Changes for lint, formatting, and shell integration checks.
- Distinctive: line 70
Run the applicable language skill’s read-only validation and check integration contracts.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Domfiles Shell Integration
Use this skill as the canonical source for domfiles-specific shell integration, invariants, and validation.
For every Fish target, load fish-shell-scripting for portable language policy and workflow. For every POSIX shell target, load posix-shell-scripting. Apply this skill as the narrower domfiles layer when either language skill governs the same task.
Investigate Tasks
- Classify each in-scope shell file from its hashbang and syntax rather than its extension alone, then apply
fish-shell-scriptingorposix-shell-scripting. - Evaluate
home/.config/fish/functions/clone.fishagainst the Fishcloneargument contract. Don’t report the absence of Git option parsing, option rejection, or reliable follow-up directory changes for unsupported option-bearing invocations.
For every non-Fish shell target and whenever the task touches domlib, a Fish __domfiles_* helper, shared $DOMFILES_* state, or command suppression, follow domlib Integration.
Check Supported Environment Compatibility
- Evaluate every in-scope domfiles shell script’s interpreter, external commands, options,
PATH, architecture, and default-shell assumptions against the supported environment. - Judge each requirement at its intended lifecycle stage—fresh bootstrap, synchronization, post-sync runtime, or development—and account for prerequisites that
domfiles syncprovisioned earlier. - Place
__is_ciand__domfiles_is_cichecks, including negations, last among predicates in compound conditions so CI detection doesn’t short-circuit the other checks. Preserve boolean grouping and keep CI-guarded actions conditional. - Treat
domfiles dependenciesas the user-facing readiness check defined by dependency status labels. Add a row only for an established user-facing synchronization or runtime contract. Agent-only use or installation by synchronization alone doesn’t qualify a dependency.
Apply Domfiles Shell Wording Constraints
Use the applicable language skill for semantic requirements and composition with human-facing-writing. Apply these domfiles-specific constraints after that workflow:
- Avoid first-person and subjective wording.
- Omit final punctuation from script comments and user-facing strings passed to
__print*. - Treat standalone headings and status labels as labels rather than sentences. Allow sentence case or title case, and do not require imperative voice.
- Use sentence case imperative voice for action and section comments.
Choose Command Form and Location
Don’t report an existing command solely because another supported form could express it, except when Git helper form applies.
Before adding a command entrypoint or explicitly reconsidering an existing command’s form or location, follow Command Form and Location.
Before reviewing a home/.local/bin/git-* entrypoint, follow Git helper form.
Evaluate Duplication and Reuse
- Don’t report the language-specific
home/.local/bin/domfiles-dev-lint-*entrypoints as duplication merely because each retains its own default scope and lint command. Shared discovery and execution belong indomlib. See development lint wrapper architecture for the rationale. - Consolidate shell implementations when they duplicate a substantial, virtually identical behavior pipeline that must remain aligned.
- Don’t report
__string_*helpers or equivalent inline string operations as reimplementations.
Apply Domfiles Fish Conventions
- Write unquoted command substitutions as
(…)as an exception tofish-shell-scripting’s$(…)template. Use"$(…)"only inside double quotes, where(…)does not expand.
Apply Domfiles POSIX Conventions
- Allow argumentless
echoto print a blank line as an exception toposix-shell-scripting’sprintfrequirement. - Report
findcommands that place-maxdepthanywhere other than immediately after the search path.
Validate Changes
After editing, follow Validate Shell Changes for lint, formatting, and shell integration checks.
Validate Shell Audits, Diagnoses, and Reviews
Run the applicable language skill’s read-only validation and check integration contracts. When invoked through audit, preserve its ban on linters and formatters and use only the remaining permitted checks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

