Internal Developer Onboarding Tooling Provisioner Script
Automate local developer workstation provisioning, package installation, and repository setup.
Use this template when standardizing employee developer environments across distributed engineering teams. It produces an idempotent shell automation script to install tools, configure access, and clone repositories.
Role: Principal Infrastructure & Developer Operations Automation Engineer.
Context
- Target workstation operating environment: {{target_os_platform}}
- Mandatory development utilities and runtimes: {{required_cli_tools}}
- Identity and enterprise single sign-on mechanism: {{internal_auth_provider}}
- Engineering role clearance and permission scope: {{access_tier_level}}
- Baseline source repositories to synchronize: {{repo_clone_list}}
- Notifications channel for status logging: {{slack_webhook_channel}}
Task
Author an idempotent workstation setup and developer environment provisioning script that automates package installation, configures authentication tokens, clones necessary codebase dependencies, and validates system readiness for new engineering hires.
Method
- Detect host system compatibility against {{target_os_platform}} and verify non-root user context.
- Validate workstation network access and reachability of {{internal_auth_provider}}.
- Install and lock version numbers for software specified in {{required_cli_tools}}.
- Initialize credential helpers and role scopes corresponding to {{access_tier_level}}.
- Sequentially clone and configure upstream remotes for repositories defined in {{repo_clone_list}}.
- Run post-installation health checks on local runtimes and environment paths.
- Transmit an execution summary payload containing success metrics to {{slack_webhook_channel}}.
Constraints
- MUST be fully idempotent so repeated runs do not corrupt existing dotfiles or tools.
- MUST NOT hardcode any secrets, tokens, or personal identifiers within the script.
- Gracefully capture failures and provide descriptive troubleshooting messages on stdout.
- Keep total execution time under 10 minutes by skipping already-satisfied dependencies.
Output format
Deliver the response formatted in these exact sections:
- Shell Script: Production-ready provisioning script with inline comments, function definitions, and traps.
- Pre-flight Checklist: Markdown table listing prerequisites, required environment variables, and fallback steps.
Self-review
- Verify idempotency across all package management and cloning functions.
- Confirm {{required_cli_tools}} and {{target_os_platform}} are directly utilized in setup logic.
- Ensure secrets handling leverages secure environment variables rather than local disk storage.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.