agentleFS
aradmanamnaoonaradmanamnaoon/vibe-coding-skills/skills/deployment/cross-platform-readiness-auditor/SKILL.md

cross-platform-readiness-auditor

Skill0 starsChanged 19 days agoMITView on GitHub

Find shell, path, case, newline, permission, encoding, and runtime assumptions that break on Windows, macOS, or Linux. Use for cross-platform projects or platform-specific failures.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    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:

    Read applicable repository instructions before edits.

    line 20
  2. Distinctive:

    Check path joining/quoting, executable extensions, environment-variable syntax, temp/home directories, and newline/encoding handling.

    line 35
  3. Distinctive:

    Check filename case collisions and assumptions about symlinks/permissions.

    line 36
  4. Distinctive:

    Run the narrow cross-platform tests locally for the current OS and inspect/execute CI matrices for other OSes.

    line 37
  5. Distinctive:

    Add fixtures for spaces, Unicode, long paths, and line endings where they touch changed code.

    line 38
  6. Distinctive:

    Do not weaken filesystem permissions or security controls solely for cross-platform convenience.

    line 47
  7. Distinctive:

    If a target OS runner is unavailable, do not claim runtime validation for it.

    line 64

≈ “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

Purpose

Catch portability defects before they appear only on another developer/runner machine.

When to activate

A project targets multiple desktop/server OSes or a platform-specific failure is reported.

When not to activate

The software intentionally targets one documented OS only.

Preconditions

  • Read applicable repository instructions before edits.
  • Preserve unrelated working-tree changes and establish a baseline when the workflow can modify code.
  • Identify which tools and environments are actually available; do not claim unavailable checks ran.

Required inputs

  • Supported OS/runtime matrix
  • Build/test scripts
  • Filesystem/process code
  • CI matrix

Workflow

  1. Identify scripts and code paths that invoke shells, binaries, paths, permissions, symlinks, signals, encodings, line endings, or case-sensitive filenames.
  2. Replace shell-specific composition with language/package-manager APIs where practical or provide explicit platform branches.
  3. Check path joining/quoting, executable extensions, environment-variable syntax, temp/home directories, and newline/encoding handling.
  4. Check filename case collisions and assumptions about symlinks/permissions.
  5. Run the narrow cross-platform tests locally for the current OS and inspect/execute CI matrices for other OSes.
  6. Add fixtures for spaces, Unicode, long paths, and line endings where they touch changed code.
  7. Report unsupported platforms explicitly rather than claiming parity from static inspection.

Relevant tools

CI matrix, shell/process tests, path fixtures, target OS runners when available.

Safety restrictions

Do not weaken filesystem permissions or security controls solely for cross-platform convenience.

Validation

  • Current-host tests pass with portability fixtures.
  • CI or real target-host results are observed for claimed supported platforms where accessible.
  • Remaining static-only platform claims are labeled unverified.

Expected output

  • Platform assumption list
  • Portability fixes
  • Local/CI matrix evidence
  • Unsupported/unverified targets

Failure handling

If a target OS runner is unavailable, do not claim runtime validation for it; provide the exact CI/host check needed.

Completion criteria

The skill is complete only when every applicable validation item above has observed evidence or is explicitly marked not executed with the concrete blocker. Do not replace missing evidence with confidence language.

Research mapping

This skill was selected from research problems: P054. See research/vibe-coding-problems.md and research/problem-evidence.csv in the Vibe Coding Skills repository.

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.