agentleFS
pvnarppvnarp/agent-skills/skills/dev-setup/SKILL.md

dev-setup

Skill1 starsChanged 9 months agoMITView on GitHub

Sets up the development environment on a new workstation. Covers required tools, dependencies, configuration, and common troubleshooting. Use when onboarding to a project or troubleshooting build environment issues.

  • Reads credentials
  • Installs packages

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start required services (docker compose up -d if applicable)

    line 34

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dev Environment Setup

Goal: clone → install → build → run in under 15 minutes. If it takes longer, the setup is broken.

Step 1: Check Prerequisites

Detect the project type from the repo and verify:

CheckHow
Runtime version.node-version, .python-version, .tool-versions, rust-toolchain.toml, build.gradle.kts
Package managerpackage-lock.json (npm), yarn.lock (yarn), pnpm-lock.yaml (pnpm), Pipfile.lock, poetry.lock, Cargo.lock, go.sum
Required servicesdocker-compose.yml, README setup section
Environment vars.env.example, .env.template

Step 2: Install Dependencies

# Detect and run the appropriate install command
# npm install / yarn / pnpm install / pip install / cargo build / go mod download

Step 3: Configure Environment

  1. Copy .env.example to .env (if exists)
  2. Fill in required values (API keys, DB connection strings)
  3. Start required services (docker compose up -d if applicable)

Step 4: Verify Build

# Run the project's build command
# Run the project's test suite

Step 5: Verify Dev Server

# Start the dev server and confirm it responds

Git Configuration

git config pull.rebase true          # Clean history
git config push.autoSetupRemote true # Auto-track branches

Common Troubleshooting

ProblemLikely CauseFix
"Module not found"Missing dependenciesRe-run install command
Version mismatchWrong runtime versionCheck version file, use version manager (nvm, pyenv, rustup)
Build failsMissing system dependencyCheck README, install OS-level packages
Port in useAnother processlsof -i :PORT to find and stop it
Permission deniedFile permissionsCheck file ownership, avoid sudo for package installs
Tests fail on fresh cloneMissing env vars or servicesCheck .env.example and docker-compose.yml

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.