/fde-core:env-bootstrapfrom fde-core
Bootstraps a working build/test/run loop in unfamiliar repos by reading CI config as ground truth, checking toolchain versions, configuring registries/proxies, and recording workarounds. Use on first day, when builds fail locally, or when onboarding docs are stale.
Ships in fde-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Getting to a green build in someone else's repository.
You cannot map, change, or verify a system you cannot run. Bootstrap is therefore the first hard gate of an engagement, and in enterprise environments it routinely eats two or three days — not because it's difficult, but because the knowledge is distributed: a version pin in one file, a registry credential in someone's shell profile, a service dependency nobody documented, and a workaround that exists only in a senior engineer's muscle memory.
The second reason this skill exists is durability. Every FDE who bootstraps a repo discovers the same six workarounds and writes down none of them. 01-environment.md is how that stops.
repo-recon doesn't require a working buildci-forensics (fde-operate)Resolve <workspace> before reading or writing artifacts: read ../_shared/workspace-conventions.md and follow its location and header rules. All artifact paths below use that resolved workspace. Preserve existing sections when appending.
Read 00-engagement.md. Check 00b-access.md too — a missing registry credential is an access problem wearing a build problem's clothes, and diagnosing it as the latter wastes a day.
The highest-value step, and the one most people skip in favour of guessing at a build command.
CI configuration is the only executable statement of how this software is actually built that has to work every day. A README records what was true when someone last cared; CI is verified continuously.
Find the real build workflow using the triage in ../_shared/stack-detection.md — mature repositories accumulate twenty automation workflows around one that builds. From it, extract:
Copy the commands verbatim rather than paraphrasing them. The flags matter — a profile or a -P argument is frequently the difference between a build that works and one that doesn't.
Follow ../_shared/stack-detection.md. Two things specifically:
Sub-manifest count. One root manifest and a hundred below it is a workspace, and building a single module may not be a supported operation. Establish this before trying.
Version pins. Run the three-layer survey in ../_shared/stack-detection.md (dedicated pin file → manifest field, including the workspace/root hoist → CI toolchain install). Compare each against what's actually installed.
An empty dedicated-file grep is not "unpinned." That command is layer 1 only. The version is often a field in the manifest you already opened, or a matrix key in the workflow from step 1.
Version mismatch is the single most common bootstrap failure, and the answer is nearly always already written down.
Use the repository's own wrapper and the lockfile's package manager — names and pins live in ../_shared/stack-detection.md. On a locked-down machine the global tool is frequently the wrong major version.
Match the package manager to the lockfile. Using the wrong one rewrites the lockfile and produces an enormous, unreviewable diff — a memorable way to introduce yourself.
If dependency resolution fails or hangs, this is usually why. See ../_shared/enterprise-constraints.md.
Check for internal registry configuration in the files ../_shared/stack-detection.md lists for this stack. Two failure modes: you lack credentials for the internal registry (an access problem — record it in 00b-access.md), or the package genuinely isn't mirrored (a request with a lead time).
Never resolve a TLS error by disabling verification. It gets committed, and it's a finding in any subsequent audit.
docker-compose.yml and the CI config's service containers tell you what must be running — databases, brokers, caches, stubbed downstreams.
If Docker isn't available, find out what the team does instead: a shared dev database, an in-memory substitute, a profile that stubs the dependency. Ask rather than inventing an approach.
Establish where configuration comes from for a local run, and where secrets come from. Record locations, never values — see ../_shared/workspace-conventions.md.
An .env.example or a application-local.yml is the intended path. Where none exists, that's a gap worth fixing on the way out — see step 9.
Work up the ladder, and keep a log while you go, not afterwards:
Write down every deviation from the documented path the moment you hit it. By the time you're finished you will have forgotten two of them, and those two are exactly what the next person needs.
Record the baseline honestly: which tests pass, which already fail, and how long the suite takes. Pre-existing failures are normal in enterprise repositories, and knowing about them now saves an hour later proving your change didn't cause them. safe-change reads this.
You don't always need the full stack. If the work is a unit-testable change in one module, compiling and running that module's tests is sufficient — spending a day getting end-to-end integration tests running against six containers is over-investment.
State explicitly what you got working and what you didn't, so a later reader knows the limits of what's been verified.
If the bootstrap took a day and the fix was three lines in a README, contribute the three lines. It's cheap, it's visible, and it's the kind of thing that makes a team glad you're there. Where the gap is bigger — a missing .env.example, a broken setup script — raise it rather than silently working around it.
Copy the verified build/test/run commands into the working guide selected by ../_shared/agent-context.md (existing project instructions, or <workspace>/repo-guide.md). That is what stops the next session rediscovering the flags. A CI-only failure after a local green build is ci-forensics (fde-operate).
Write to <workspace>/01-environment.md:
# Environment — <repo>
**Engagement:** <name>
**Author:** FDE
**Date:** <YYYY-MM-DD>
**Status:** working | partial | blocked
**Source revision:** <repo>@<short SHA>
**Confidence:** <what you got running, what you didn't>
## What works
- [x] Dependencies resolve
- [x] Compiles
- [x] Unit tests
- [ ] Integration tests — blocked, see below
- [x] Runs locally
## Quickstart
<Copy-pasteable, in order. Assume the reader has nothing.>
```bash
# 1. toolchain
# 2. dependencies
# 3. services
# 4. build
# 5. test
# 6. run
| Tool | Required | Pinned in | Notes |
|---|
| Service | How to start | Needed for |
|---|
| What | Source for local | Notes |
|---|---|---|
| DB connection | application-local.yml | |
| API credentials | Vault secret/<path> — location only |
| Problem | Symptom | Fix | Why |
|---|---|---|---|
| Wrong toolchain | Compiler rejects the crate (rust-version / engines / equivalent) | Install the version the manifest or CI named; do not invent a pin file | Global install was below the floor |
| What | Why | Needs | Tracked in |
|---|
<Missing docs, absent .env.example, broken setup script. Offer to fix rather than working around silently.>
## Common traps
**Guessing the build command instead of reading CI.** CI is the only statement of the build that's verified daily.
**Fighting a version mismatch you could have read.** Check all three pin layers before debugging the error.
**Treating a missing `.nvmrc` / `rust-toolchain.toml` as unpinned.** Layer 1 returning nothing is the same silent-zero as searching the wrong extension. Read the manifest field and the CI setup action.
**Wrong package manager for the lockfile.** Rewrites it, produces a huge diff, and is immediately visible.
**Disabling TLS verification to get past a proxy error.** It gets committed, and it's an audit finding.
**Not recording the workarounds.** The whole durable value of this skill. Write them down as you hit them — you'll forget by the end.
**Not recording pre-existing test failures.** Then spending an hour proving they aren't yours.
**Over-investing.** Getting six containers up for a change that needs one module's unit tests is a day you don't have.
**Silently working around a missing `.env.example`.** Fixing it is cheap, visible, and the sort of thing that makes a team glad you arrived.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rpraharaj/forward-deployed-engineer --plugin fde-core34 skills in this plugin
/access-and-onboardingTurn getting access into a tracked critical path instead of a passive wait. Enumerate every credential, permission, environment, and account the engagement needs, identify who approves each and its lead time, request long-lead items first, find workarounds for what is blocked, and keep a queue of useful work that does not depend on the blocker. Use in the first days at a new organization, whenever you are blocked on permissions, VPN, repository access, database grants, pipeline rights, or environment credentials, or when someone says "I'm still waiting for access". Use for access and permissions, not a failing login in application code and not a CAB that will not approve a deploy./adoption-planPlan and assess how intended end users move to a new business workflow, including barriers, process ownership, a bounded pilot, support, fallback, and successful-use measures. Use when a live solution is underused, users keep an old workaround, or rollout needs changes to daily work. Training the receiving technical team to operate the system is enablement-handoff; deploying code is deploy-runbook./blast-radiusMap everything a proposed change could break before making it - direct callers, cross-repository consumers, published contracts, event subscribers, feature flags, shared database objects, and config coupling - ending with a risk rating and the specific things to verify. Use before any non-trivial change, when asked "what breaks if we touch this", before modifying anything shared or published, or before a schema change. Do not use for a release go/no-go - that is release-readiness; this skill supplies the consumer list./change-control-navigationFind and work with the organization's change process before it blocks you - which gates apply, what evidence each requires, submission deadlines, freeze periods, release calendars, and segregation of duties - then work backwards from the release window. Use early in any engagement that will reach production, when a CAB or stage gate exists, when a release calendar or freeze period constrains the plan, or when work is technically complete and cannot ship. Discovering the process at go-live is a self-inflicted slip./characterization-testsPin the current behavior of untested legacy code before changing it - including behavior that looks like a bug, because something downstream may depend on it - using golden master and approval test patterns so a refactor or fix can be verified as behavior-preserving. Use before modifying code with thin or no test coverage, before any refactor of legacy code, when a change site has no tests and you need a safety net, or when someone says "we can't change that, nobody knows what it does". This is what makes legacy change safe rather than brave./context-strategyWork effectively in a codebase far larger than any context window, across an engagement that spans many sessions. Decide what to read versus search versus script versus delegate, maintain a durable working guide so each session does not re-derive the same map, define a working set, and hand off cleanly when context runs low. Use when a repository is too large to explore file-by-file, when context is filling up mid-task, when starting a multi-session engagement, when you catch yourself re-discovering something you already worked out, or when someone says "this repo is huge". Run before repo-recon when the tree is large; this sets the budget, it does not replace the system map.Other plugins' skills for the same job