rcode-cross-platform-auditor

Detect cross-platform compatibility issues in shell scripts, Node.js code, and workflow markdown.

2|1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/hanzlahabib/rcode --skill rcode-cross-platform-auditor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rcode-cross-platform-auditor
Source: https://github.com/hanzlahabib/rcode/tree/main/rcode/skills/agents/rcode-cross-platform-auditor
Command: npx skills add https://github.com/hanzlahabib/rcode --skill rcode-cross-platform-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill audits code and workflow files for portability issues that break on macOS, Linux, or Windows, helping you catch cross-platform bugs before they land.

Core Features & Use Cases

  • Shell Script Audit: Spots bash-only syntax in scripts that are meant to run under POSIX sh.
  • Platform Compatibility Review: Flags BSD versus GNU command differences, hardcoded absolute paths, and Windows path separator mistakes in Node.js or workflow files.
  • Line Ending Check: Detects CRLF line endings that can cause unexpected behavior in shell and markdown files.
  • Use Case: A developer preparing a release can run this Skill on a repository to get a file-by-file report of portability risks without changing any code.

Quick Start

Ask the skill to audit the repository for cross-platform compatibility issues and summarize every portability finding by file, line, and severity.

Frequently Asked Questions about rcode-cross-platform-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit my Node.js code for cross-platform compatibility issues?

To audit Node.js code for cross-platform compatibility, you can scan your repository to detect hardcoded absolute paths, Windows path separator mistakes, and CRLF line endings, receiving file-level findings with severity labels without modifying any code.

What are common bash-isms that break shell script portability on POSIX sh?

Common bash-isms that break shell script portability on POSIX sh include using bash-only syntax in scripts meant to run under POSIX sh, which an audit can identify along with BSD versus GNU command flag differences.

How do I check my repository for CRLF line ending issues in markdown and shell scripts?

You can check your repository for CRLF line ending issues by running a portability audit that detects CRLF endings in shell and markdown files, reporting unexpected behavior risks file-by-file without changing the code.

Does this cross-platform portability audit modify my source code to fix issues?

No, this cross-platform portability audit stays audit-only and avoids any code changes, returning a file-by-file report of portability risks with severity labels so you can fix them yourself.

Can I detect BSD versus GNU command flag differences before shipping to macOS, Linux, and Windows?

Yes, you can detect BSD versus GNU command flag differences before shipping to macOS, Linux, and Windows by running a portability audit that flags these platform-specific command differences in your shell scripts and workflow markdown.

What is the best way to find hardcoded absolute paths causing portability bugs in my workflow files?

The best way to find hardcoded absolute paths causing portability bugs in workflow files is to run a cross-platform audit that identifies hardcoded paths, path separator mistakes, and platform-specific command differences across macOS, Linux, and Windows.