Global Skills Bootstrap
Purpose
Create a repeatable initialization flow so a new project can be onboarded with one request and consistently route through global governance skills.
Trigger phrase
If the user asks to "include all global-skills in your initialization process", run this skill in mode=init.
Preferred command:
global-skills-bootstrap-repo /absolute/path/to/repo initglobal-skills-bootstrap-repo /absolute/path/to/repo audit
What this skill installs
- Repository-global instruction file at
.github/instructions/global-skills.instructions.md. - Local governance check script at
.github/scripts/check-global-governance.sh. - Optional Git hooks at
.githooks/pre-commitand.githooks/pre-push. - CI workflow gate at
.github/workflows/global-governance-presence.yml. - OpenClaw overlay at
.github/instructions/openclaw-universal.instructions.md. - Local git
core.hooksPathset to.githookswhen the repo is a git repository.
Required routing contract
The generated instruction file must require this order:
repo-standards-routernetwork-platform-resourceswhen task may benefit from remote execution or offloadingopenrouter-free-failoverwhen configuring or troubleshooting OpenClaw/OpenRouter modelsweb-regression-governancewhen repo type iswebsite-staticorweb-appgithub-ops-tree-routerfor rulesets/required checks/governance controlsworkflow-self-annealonly after failures/process driftllm-wiki-opswhen querying compiled knowledge from~/.copilot/wiki/
Hard constraints
- Do not overwrite existing files without preserving user content.
- Additive changes only unless user explicitly requests replacement.
- CI gate must fail if required global-governance files are missing.
- Hooks are advisory acceleration; server-side CI/ruleset checks remain authoritative.
- Prefer one canonical bootstrap path over multiple parallel installers to reduce drift and missed skills.
Output format
GLOBAL_SKILLS_BOOTSTRAP_REPORT
repo_path: <absolute path>
mode: <init|audit>
profile: <strict|standard>
created_files:
- <list>
updated_files:
- <list>
hook_status:
- pre_commit: <installed|missing>
- pre_push: <installed|missing>
ci_presence_gate: <installed|missing>
routing_contract: <present|missing>
decision:
- <apply|defer|NO_CHANGE>
next_steps:
- <ordered actionable steps>