agentleFS
kienbui1995kienbui1995/magic-powers/skills/environment-setup/SKILL.md

environment-setup

Skill0 starsChanged 8 months agoMITView on GitHub

Use when bootstrapping new projects, setting up dev environments, writing onboarding docs, or configuring local development tooling

  • Reads credentials
  • Installs packages

5 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, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every project needs a README.md with these exact steps.

    line 25

“Common” is measured: kept by at least 6 in 10 of the 3 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

Environment Setup

Overview

A new developer should go from git clone to running the app in under 15 minutes. If it takes longer, your setup is broken.

When to Use

  • Starting a new project from scratch
  • Onboarding new team members
  • Standardizing dev environments across team
  • Writing setup documentation

The 15-Minute Rule

git clone → install deps → copy env → start → working app

Every project needs a README.md with these exact steps. If any step requires tribal knowledge, document it.

Essential Project Files

FilePurpose
README.mdSetup instructions, architecture overview
.env.exampleAll env vars with dummy values and comments
.editorconfigConsistent formatting across editors
.gitignoreExclude build artifacts, deps, secrets
Makefile or package.json scriptsCommon commands (make dev, npm run dev)
docker-compose.ymlLocal services (DB, Redis, etc.)

.env.example Pattern

# Database
DATABASE_URL=postgresql://user:pass@localhost:5432/myapp

# Auth
JWT_SECRET=change-me-in-production

# External APIs
STRIPE_KEY=sk_test_...

Rule: .env.example committed to git, .env in .gitignore.

One-Command Setup

# Makefile
setup:
	cp .env.example .env
	docker-compose up -d
	npm install
	npm run db:migrate
	npm run db:seed
	@echo "Ready! Run 'make dev' to start."

dev:
	npm run dev

Checklist

  • README.md has step-by-step setup instructions
  • .env.example has all required variables with comments
  • make setup or equivalent one-command bootstrap
  • Local services via docker-compose (DB, cache, etc.)
  • Seed data for development
  • Works on macOS and Linux (document Windows if supported)

Integration

  • magic-powers:docker-containerization — containerized dev environment
  • magic-powers:technical-writing — write clear onboarding docs
  • magic-powers:dependency-management — lock file and version management

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.