agentleFS
forcedotcomforcedotcom/salesforcedx-vscode/.claude/skills/wireit/SKILL.md

wireit

Skill1k starsChanged 26 days agoBSD-3-ClauseView on GitHub

Author and use Wireit scripts. Use when working with Wireit configuration, package.json scripts, build pipelines, or when the user mentions Wireit.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about forcedotcom/salesforcedx-vscode

The biggest 5 of 52 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 52

Talked about on GitHub and Stack Overflow (52 times).

On GitHub · 50

45 more on GitHub

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    if something needs go (ex:compile) before another thing go (ex:bundle) that's a dependency

    line 16
  2. Very specific:

    If a package in this repo has another package as a package.json dep or devDep, it should be a wireit dep for compile

    line 19
  3. Very specific:

    If an extension has another extension as an extensionDependency, it should be a wireit dep for bundle caching: if you specify files and …

    line 20
  4. Distinctive:

    don't make circular references

    line 23
  5. Very specific:

    run commands with WIREIT_CACHE=none to avoid caching behaviors

    line 27
  6. Very specific:

    If you see "Unknown error thrown: Error: Did not expect..." or "Internal error!" from wireit — another process was running the same scripts.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Wireit

Documentation

Full documentation: https://github.com/google/wireit

Authoring Wireit Scripts

  • Wireit is very static, list dependencies explicitly (won't infer them from pnpm workspace relationships).
  • if something needs go (ex:compile) before another thing go (ex:bundle) that's a dependency
  • envs: see https://github.com/google/wireit?tab=readme-ov-file#environment-variables
  • deps can be relative ex "../../other-pkg:script-name"
  • If a package in this repo has another package as a package.json dep or devDep, it should be a wireit dep for compile
  • If an extension has another extension as an extensionDependency, it should be a wireit dep for bundle caching: if you specify files and output (even []) you'll get caching (skips when neither have changed)
  • You can have a wireit script without it being an npm script (ex: you can't execute it on its own, but it can run as a dep of another wireit script that can start from pnpm run)
  • don't make circular references

Using Wireit Scripts

  • run commands with WIREIT_CACHE=none to avoid caching behaviors
  • Agents should not run these (they won't exit)
    • any script with --watch
    • any service:true if you're an Agent, it won't exit
  • wireit can't follow stuff outside files
    • manually changing code in node_modules then running compile or bundle
    • exception: salesforcedx-vscode-services vscode:bundle tracks node_modules/@salesforce/templates/lib/**
    • npm link'd packages (ex: symlinks to node libraries locally modified)

Extra Arguments (passing CLI flags through wireit)

ref: https://github.com/google/wireit?tab=readme-ov-file#extra-arguments

  • pnpm run {script} -- {script args} — single -- forwards args to underlying command
  • ex: pnpm run build -- --verbose passes --verbose to the command in wireit.build.command

Common Patterns

  • top-level compile, lint, test: run that script in every package. New package → add to these.
  • top-level check:effect-diagnostics: dependency list only (same shape as root lint; no command, files, output, or compile dep). Effect-adopting package (effect or @effect/* dep, tsconfig.json, src/**/*.ts):
    • package check:effect-diagnostics = wireit; command node ../../scripts/effect-diagnostics.mjs . (one package-dir, resolved from cwd; missing arg exits 1); dependencies: [compile] (default cascade covers compile inputs and transitive dependencies)
    • files: only diagnostics inputs not covered by compile.files (usually ../../config/effect-diagnostics.json and ../../scripts/effect-diagnostics.mjs); output: []
    • root dep ./packages/<name>:check:effect-diagnostics

Errors

If you see "Unknown error thrown: Error: Did not expect..." or "Internal error!" from wireit — another process was running the same scripts. Re-run the command yourself to confirm it passes. DO NOT CLEAR .wireit to solve this.

Notes

each package will have its own .wireit cache, and there's also one at the top level.

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.