Ship safe

From kinncj/MAPLE · View interactive version

Ship safe is an AI agent skill from the GitHub repository kinncj/MAPLE. Run ship-safe security and quality audit on the current project. Executes npx ship-safe audit . and reports findings by severity. Use before shipping any feature or PR.

How to use this skill

Skill file

SKILL: Ship-Safe Audit

What It Does

Runs ship-safe — a pre-ship security and quality scanner that checks for secrets, vulnerabilities, and risky patterns before code reaches production.

Usage

npx ship-safe audit .

Run from the project root. No install required (npx fetches it on demand).

Opt-In

Ship-safe is disabled by default. To enable it:

When to Use

Only run if ENABLE_SHIP_SAFE=true is set. When enabled, appropriate moments are:

Output Interpretation

| Symbol / keyword | Severity | Action |

|---|---|---|

| ✓ PASS / ok / no issues | Clean | Safe to ship |

| ⚠ WARN / MEDIUM / LOW | Advisory | Review before shipping |

| ✗ FAIL / ERROR / CRITICAL / HIGH | Blocker | Must fix before shipping |

Agent Instructions

  1. Run npx ship-safe audit . from the repo root.
  2. Parse stdout for CRITICAL/HIGH findings — these are blockers.
  3. For each blocker: report the file, line, and finding description.
  4. For MEDIUM/LOW: report as advisory, do not block.
  5. If all checks pass: confirm "ship-safe: clean" and proceed.
  6. If blockers found: halt the task, report findings to Orchestrator.

Example Integration (architect / pre-ship checklist)

/ship-safe

The skill runs the audit, colors findings by severity, and surfaces blockers before any merge action.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.