System environment setup

From akillness/jeo-skills · View interactive version

System environment setup is an AI agent skill from the GitHub repository akillness/jeo-skills. Build reproducible developer environments for real projects: local toolchains, runtime versions, Docker Compose or dev containers, onboarding flows, local service parity, bootstrap scripts, and environment troubleshooting. Use when the user needs a repo to run consistently across machines, container

How to use this skill

Skill file

System & Environment Setup

Use this skill as the repository's canonical broader environment-setup anchor.

The job is to make a project runnable and repeatable across developer machines and environments.

That usually includes some mix of:

Read references/operating-modes.md and references/scope-boundaries.md before unusual cases or when deciding whether the task belongs here or in environment-setup.

If the user mainly needs:

When to use this skill

When not to use this skill

Instructions

Step 1: Classify the setup surface

Normalize the request into this intake first:

environment_intake:
  primary_goal: runnable-local-repo | standardized-onboarding | local-service-parity | toolchain-reproducibility | setup-diagnosis | hybrid
  current_state: greenfield | partially-working | drifted | broken-on-new-machine | unknown
  runtime_shape: single-service | app-plus-services | microservices | unknown
  host_strategy: host-native | docker-compose | devcontainer | hosted-remote-dev | hybrid | unknown
  config_strategy: simple-env-files | typed-validation | secret-manager-injection | mixed | unknown
  main_pain:
    - missing-prereqs
    - runtime-version-drift
    - local-service-startup
    - secrets-bootstrap
    - onboarding-doc-rot
    - cross-platform-differences
    - local-prod-parity
    - unclear
  confidence: high | medium | low

If the request is ambiguous, prefer the broadest runnable repo interpretation and state the assumption.

Step 2: Choose one primary operating mode

Pick exactly one mode for the run:

  1. bootstrap-and-onboarding
  1. toolchain-reproducibility
  1. local-services-and-parity
  1. containerized-dev-environment
  1. setup-diagnosis-and-hardening

Step 3: Pick the smallest reproducibility stack that solves the problem

Use these rules:

Step 4: Build the environment plan

Return this exact structure:

# Environment Setup Brief

## Recommended mode
- Mode: bootstrap-and-onboarding | toolchain-reproducibility | local-services-and-parity | containerized-dev-environment | setup-diagnosis-and-hardening
- Why this mode fits: ...

## Current setup surface
- Project shape: ...
- Host/container strategy: ...
- Config/secrets strategy: ...
- Main drift or blocker: ...
- Confidence: high | medium | low

## Recommended environment stack
1. ...
2. ...
3. ...

## Commands / files to create or verify

...


## Why this is the right level of setup
- ...
- ...

## Parity gaps to acknowledge
- ...
- ...

## Watch-outs
- ...
- ...

## Adjacent handoff
- Use `environment-setup` for ...
- Use `deployment-automation` for ...
- Use `security-best-practices` for ...

Step 5: Apply mode-specific guidance

For bootstrap-and-onboarding

For toolchain-reproducibility

For local-services-and-parity

For containerized-dev-environment

For setup-diagnosis-and-hardening

Step 6: Keep boundaries sharp

Before finalizing:

Examples

Example 1: Fresh repo onboarding

Input: "Set up this repo so a new developer can run it locally with the right Node version, Postgres, and Redis."

Output: chooses bootstrap-and-onboarding, recommends pinned runtime versions plus Compose for local services, and adds a verification path.

Example 2: Containerized local standardization

Input: "Our team wants a devcontainer because everybody's local machine is different."

Output: chooses containerized-dev-environment, names which tooling should move into the container, and routes env-file details to environment-setup.

Example 3: Drift diagnosis

Input: "The README says one thing, Docker says another, and new hires still can't run the app."

Output: chooses setup-diagnosis-and-hardening, compares setup artifacts, and identifies the authoritative source plus cleanup steps.

Best practices

  1. Optimize for a runnable repo, not maximal tooling sophistication.
  2. Pick one canonical reproducibility story and make alternatives explicit.
  3. Keep secrets/config guidance connected but not conflated with machine/runtime setup.
  4. Add a verification step so onboarding is testable.
  5. Name parity gaps instead of pretending containers solve everything.
  6. Route narrower app-config questions to environment-setup.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.