local-dev-setup

local-dev-setup is a skill for Claude Code from cnfeat/top-pm-skills. It costs 122 tokens per session (4,504 once invoked), scanned A, original, MIT.

A local development setup guide explains how to prepare a clean computer for working on a project. It covers prerequisites, repository setup, environment variables, local databases and other services, running the application, and running tests.

In plain words
What is it for?
Use it to document onboarding, local dependencies, database seeding, test commands, common problems, and first contributions.
Why use it?
It helps new contributors get a working environment without relying on undocumented team knowledge. It also reduces differences between developers' machines.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # Expected: no errors; binary or compiled output in [./bin/ or ./dist/].

Part of the pm-engineering plugin — 37 skills shipped together

Good fit Use it to document onboarding, local dependencies, database seeding, test commands, common problems, and first contributions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/cnfeat/top-pm-skills
agentmods
npx agentmods add skills/cnfeat/top-pm-skills/local-dev-setup

Made for: Claude Code.

Or install pm-engineering, the plugin that ships this one along with the rest of its 37 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for local-dev-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/cnfeat/top-pm-skills/local-dev-setup/github.svg)](https://agentmods.dev/skills/cnfeat/top-pm-skills/local-dev-setup)
Your own site
<a href="https://agentmods.dev/skills/cnfeat/top-pm-skills/local-dev-setup"><img src="https://agentmods.dev/badge/skills/cnfeat/top-pm-skills/local-dev-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for local-dev-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/cnfeat/top-pm-skills/local-dev-setup"><img src="https://agentmods.dev/badge/skills/cnfeat/top-pm-skills/local-dev-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,504 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00122 $0.04504
Opus 5 $0.00061 $0.02252
Sonnet 5 $0.00024 $0.00901
Haiku 4.5 $0.00012 $0.00450

Measured 5d ago against content hash 306bcc2d61f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

local-dev-setup scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| [Mock server — e.g. WireMock] | `8089` | Mocks for external APIs in tests | `curl localhost:8089/__admin` |
参考skill/pm-claude-skills-main/pm-claude-skills-main/plugins/pm-engineering/skills/local-dev-setup/SKILL.md · 493 lines

How it starts

The opening of the file, as written. The whole thing — 493 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Local Dev Setup Skill

Produce a complete local development environment setup guide for a service or project — walking a new engineer from zero (a clean laptop) to a working local environment with passing tests in under 30 minutes. A good setup guide reduces onboarding time, prevents the "it works on my machine" problem, and lets engineers make their first contribution with confidence. Write every step as a concrete command or action — not a description of what needs to happen.

Required Inputs

Ask for these if not already provided:

  • Service name and what it does
  • Tech stack — language, framework, database, cache, message queue, and any external services
  • Dependencies — databases, caches, message queues, and external services (mocked or real)
  • Test framework — how tests are run and what the test suite covers
  • CI/CD platform — GitHub Actions, CircleCI, Jenkins, etc. (for context on what "passing CI" means locally)

Output Format


Local Development Setup: [Service Name]

Tech stack: [Language + version] | [Framework] | [Database] | [Cache] Estimated setup time: [20–30 minutes] on a clean machine Last verified: [Date] on [macOS Ventura 13.x / Ubuntu 22.04] Questions? Ask in [Slack: #[team-channel]] or ping [@tech-lead-handle]

First contribution? Complete setup first (this doc), then read [CONTRIBUTING.md] for code standards and PR process.


Prerequisites

Install these tools before starting. The versions listed are the minimum required — newer patch versions are fine, newer major versions may have compatibility issues.

Required Tools

Tool Required version Install
[Git] 2.x+ Pre-installed on most systems; or brew install git
[Language runtime — e.g. Go] [1.22+] [https://go.dev/dl/ or brew install go]
[Docker] 24.x+ [https://docs.docker.com/get-docker/]
[Docker Compose] 2.x+ Included with Docker Desktop; or brew install docker-compose
[Make] Any Pre-installed on macOS/Linux
[Tool — e.g. Node.js] [20.x+] [brew install node or https://nodejs.org]
[Tool — e.g. psql client] [15+] brew install postgresql@15 (client only)

Read the full file on GitHub · 493 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 493 lines · 122 tokens per session scan A 306bcc2d61f1

Subscribe to this mod's changes

local-dev-setup is a skill published in the GitHub repository cnfeat/top-pm-skills (48 stars, last pushed 2mo ago), licensed MIT. It adds 122 tokens to every session and 4,504 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens

master-yinguang

A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.

xr843/Master-skill · 274 tokens