跳到正文
cccskills
免费在 GitHub 公开

ship-safe

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.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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:

  • CI/CD: set the repository variable ENABLE_SHIP_SAFE=true in GitHub → Settings → Variables
  • Agents / local: set env var ENABLE_SHIP_SAFE=true before invoking /ship-safe

When to Use

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

  • Before opening a PR
  • After adding new dependencies
  • Before merging any feature branch to main
  • After touching auth, secrets handling, or infra config

Output Interpretation

Symbol / keywordSeverityAction
✓ PASS / ok / no issuesCleanSafe to ship
⚠ WARN / MEDIUM / LOWAdvisoryReview before shipping
✗ FAIL / ERROR / CRITICAL / HIGHBlockerMust 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Run WCAG 2.2 Level AA accessibility audits against generated UI. Use when a story has ui:true or when asked to audit accessibility.

中文简介正在准备中。当前显示原文说明。

kinncj/Heimdall702026年9月2日 更新

Generate a complete component file tree wired to design tokens with tests and Gherkin spec. Use when scaffolding a new UI component.

中文简介正在准备中。当前显示原文说明。

kinncj/Heimdall702026年9月2日 更新

Extract Gherkin scenarios from story markdown files into runnable .feature files and generate step definition stubs. Use when syncing stories to test suites.

中文简介正在准备中。当前显示原文说明。

kinncj/Heimdall702026年9月2日 更新

Read and write design tokens in W3C DTCG format (tokens.json) and emit CSS, Tailwind, and Mantine outputs. Use when modifying or generating design tokens.

中文简介正在准备中。当前显示原文说明。

kinncj/Heimdall702026年9月2日 更新

Apply Docker and Docker Compose best practices for containerising services. Use when writing or reviewing Dockerfiles and compose configs.

中文简介正在准备中。当前显示原文说明。

kinncj/Heimdall702026年9月2日 更新

Identify and annotate cloud cost implications of architectural decisions. Use when reviewing infrastructure changes or designing new services.

中文简介正在准备中。当前显示原文说明。

kinncj/Heimdall702026年9月2日 更新

查看 kinncj 的全部技能

报告此技能的问题