agentleFS
OrchardxyzOrchardxyz/agent-skills/skills/deprecated/windows-fe-dev-setup/SKILL.md

windows-fe-dev-setup

Skill0 starsChanged 4 months agoMITView on GitHub

Set up or repair a Windows frontend development environment with NVM for Windows, Node.js 24 LTS, npm, pnpm, Claude Code, Git, VS Code CLI, PowerShell compatibility, and PATH fixes.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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. Distinctive:

    Use this skill when you need to bootstrap or repair a Windows frontend coding environment on a Windows machine.

    line 6
  2. Very specific:

    Check whether nvm, node, npm, npx, pnpm, claude, git, and code are available.

    line 32
  3. Distinctive:

    Ensure the VS Code CLI path is present if VS Code is installed.

    line 40
  4. Distinctive:

    Prefer repair over reinstall when tools are already present.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Use this skill when you need to bootstrap or repair a Windows frontend coding environment on a Windows machine.

This skill is designed to be idempotent:

  • It checks existing tools before installing.
  • It repairs PATH and PowerShell issues that commonly break git, node, npx, or code.
  • It verifies the final environment after setup.

What this skill manages:

  • nvm for Windows
  • Node.js 24 LTS as the active default version
  • Global npm tools:
    • npm
    • pnpm
    • @anthropic-ai/claude-code
  • Git for Windows
  • VS Code CLI path (code)
  • PowerShell execution policy for Node shims like npx
  • User PATH consistency

Expected environment:

  • Windows
  • PowerShell
  • Permission to install software
  • Permission to edit user environment variables

Workflow:

  1. Check whether nvm, node, npm, npx, pnpm, claude, git, and code are available.
  2. Install nvm for Windows if missing.
  3. Install and activate Node.js 24 LTS with nvm.
  4. Install or update global npm packages:
    • npm
    • pnpm
    • @anthropic-ai/claude-code
  5. Install Git if missing.
  6. Ensure the VS Code CLI path is present if VS Code is installed.
  7. Set the PowerShell execution policy for CurrentUser to RemoteSigned if needed.
  8. Repair the user PATH so the following locations are available when present:
    • %LOCALAPPDATA%\Microsoft\WindowsApps
    • %LOCALAPPDATA%\nvm
    • C:\nvm4w\nodejs
    • C:\Program Files\Git\cmd
    • %LOCALAPPDATA%\Programs\Microsoft VS Code\bin
  9. Verify:
    • git --version
    • node -v
    • npm -v
    • npx -v
    • pnpm -v
    • claude --version
    • code --version

Run: powershell -ExecutionPolicy Bypass -File .\scripts\setup.ps1

Notes:

  • A newly opened PowerShell window may be required after PATH updates.
  • npx failures in PowerShell are often caused by execution policy, not missing installation.
  • Prefer repair over reinstall when tools are already present.

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.