setup-dev-env

A development-environment setup workflow for projects that use Node.js, pnpm, and Trunk. Trunk is a tool that manages code checkers and formatters.

In plain words
What is it for?
Checking the required Node.js version, checking for Trunk, installing project dependencies with pnpm, and installing Trunk's managed tools.
Why use it?
It catches version mismatches and installs the dependencies and coding tools needed to work on the project.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yu-iskw/coding-agent-fabric/setup-dev-env
Any agent
npx skills add yu-iskw/coding-agent-fabric --skill setup-dev-env
Clone the repo
git clone --depth 1 https://github.com/yu-iskw/coding-agent-fabric

Made for: Claude Code, Codex.

Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.00573
Opus 5 $0.00017 $0.00287
Sonnet 5 $0.00007 $0.00115
Haiku 4.5 $0.00003 $0.00057

Measured yesterday against content hash 7642d67c387b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup-dev-env scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/setup-dev-env/SKILL.md · 67 lines

How it starts

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

Setup Development Environment

This skill automates the process of setting up the development environment to ensure all tools and dependencies are correctly installed and configured.

Workflow Checklist

  • Step 1: Environment Validation
    • Check Node.js version against .node-version
    • Check for trunk installation
  • Step 2: Dependency Installation
    • Run pnpm install
  • Step 3: Tooling Setup
    • Run trunk install to fetch managed linters and formatters

Detailed Instructions

1. Environment Validation

Node.js Version

Read the .node-version file in the workspace root. Ensure the current Node.js environment matches this version. If there's a mismatch, inform the user to switch Node versions (e.g., using nvm or fnm).

Trunk CLI

Check if trunk is installed by running trunk --version. If trunk is not found, advise the user to install it. On macOS, use:

brew install trunk-io

For other platforms, refer to the Trunk installation documentation.

2. Dependency Installation

Run the following command at the workspace root to install all project dependencies. Refer to ../common-references/pnpm-commands.md for more pnpm commands.

pnpm install

3. Tooling Setup

Trunk manages linters and formatters hermetically. Run the following command to ensure all required tools are downloaded and ready. Refer to ../common-references/trunk-commands.md for more Trunk commands.

trunk install

Success Criteria

  • All pnpm dependencies are installed successfully.
  • trunk is installed and all managed tools are initialized.
  • The Node.js version matches the requirement in .node-version.

Post-Setup Verification

To ensure the environment is fully operational:

  1. Invoke Verifier: Run the verifier subagent (../../agents/verifier.md). This confirms that the freshly installed dependencies allow for a successful build, pass lint checks, and satisfy all unit tests.
  2. Handle Failure: If the verifier fails, follow its reporting to resolve environment-specific issues.

Read the full file on GitHub · 67 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. yesterday First seen · 67 lines · 35 tokens per session scan A 7642d67c387b

Subscribe to this mod's changes

setup-dev-env is a skill published in the GitHub repository yu-iskw/coding-agent-fabric (1 stars, last pushed 17d ago), licensed Apache-2.0. It adds 35 tokens to every session and 573 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.