agentleFS
mahik504mahik504/orchestra-workflow/skills/ship-safe/SKILL.md

ship-safe

Skill1 starsChanged 18 days agoMITView on GitHub

Defensive security and CI/CD baseline for the user's own apps. Use when adding auth, APIs, env vars, GitHub Actions, deploy, or when they ask to harden, scan, or ship. Not for attacking third-party systems.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only the user's apps and repos: If they point at a live URL they do not own, refuse.

    line 10
  2. Distinctive:

    Do this on every Play Store build.

    line 30
  3. Distinctive:

    Keep one workflow until the app needs more:

    line 34
  4. Distinctive:

    Do not add matrix pyramids, OIDC, or self-hosted runners unless they asked.

    line 42
  5. Distinctive:

    When they want a real scan of their code or their deployed app:

    line 46
  6. Very specific:

    Use Strix skills (penetration-testing-with-strix, then fix-security-vulnerabilities-with-strix).

    line 48
  7. Very specific:

    Write findings into the vault at projects/<slug>/security.md.

    line 50
  8. Distinctive:

    If Docker/Strix is not installed yet, say so and give the install steps.

    line 53
  9. Distinctive:

    When you add security or CI, also add a short review note in the vault so Claude/Antigravity can audit it later.

    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

Ship safe

You do not know this area well. Be concrete, boring, and complete. No theater.

Only the user's apps and repos. If they point at a live URL they do not own, refuse.

Before ship (minimum)

  • Secrets only in env / GitHub Actions secrets, never committed
  • Auth on every mutating API; IDs authorized as well as authenticated
  • User input validated at the boundary; parameterized queries; no raw HTML from users
  • CORS, cookies (HttpOnly, Secure, SameSite), and HTTPS assumed in production
  • Rate limit login and other expensive routes
  • Error messages do not leak stack traces to clients
  • Dependency install is lockfile-based
  • CI runs lint, tests, and build on every PR

Android (Expo) extra

  • Tokens in expo-secure-store, not plain AsyncStorage
  • No API keys in the app binary; use your backend
  • Auth session expires; logout actually clears storage
  • Play: release signing / Play App Signing, not a debug keystore in git

Do this on every Play Store build. Strix still only on apps they own, when Docker works.

CI/CD default (GitHub Actions)

Keep one workflow until the app needs more:

  • checkout with fetch-depth: 0 if a security scan needs diffs
  • setup the real runtime (Node/Python) with cache
  • npm ci / equivalent
  • lint + test + build
  • fail the job on failure

Do not add matrix pyramids, OIDC, or self-hosted runners unless they asked.

Security scans

When they want a real scan of their code or their deployed app:

  1. Use Strix skills (penetration-testing-with-strix, then fix-security-vulnerabilities-with-strix).
  2. For PR gating, ci-security-scanning-with-strix.
  3. Write findings into the vault at projects/<slug>/security.md.
  4. Fix in code. Re-scan. Do not ship “we will fix later” on auth/injection issues.

If Docker/Strix is not installed yet, say so and give the install steps. Do not fake a pentest.

API connections

  • One client module per external API
  • Timeouts and retries with jitter
  • Never log tokens
  • Webhook routes verify signatures

Output

When you add security or CI, also add a short review note in the vault so Claude/Antigravity can audit it later.

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.