agentleFS
erumkatzwanerumkatzwan/agentic-product-starter/.agents/skills/setup-integrations/SKILL.md

setup-integrations

Skill5 starsChanged 19 days agoMITView on GitHub

Use when setting up a new copy of the starter, when someone asks what third-party services, keys, IDs or accounts are needed, when turning on Sentry, Grafana Cloud, Apple, Google Play or hosting, or when code needs a new external key or setting.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read ADR-0009. Nothing here is required to build, run or test the product.

    line 8
  2. Distinctive:

    Do these in order and tell the person what each one does before running it:

    line 12
  3. Very specific:

    Check: run node scripts/setup.mjs again.

    line 24
  4. Very specific:

    Add an entry to config/integrations.json: id, name, purpose, when (optional or publish), cost, sign-up link, guide, steps, and settings …

    line 28
  5. Very specific:

    Add each key to .env.example, empty, with a comment.

    line 29
  6. Very specific:

    Read it the same way as the others: Vite define from loadEnv(mode, repoRoot, ''), a Gradle buildConfigField through integration("KEY"), …

    line 30
  7. Very specific:

    Document it in the README table under "Make it yours" and run node --test scripts/setup.test.mjs.

    line 32
  8. Very specific:

    Commit a real key, DSN, token or google-services.json, even for Dev.

    line 36
  9. Distinctive:

    Put customer data in a third-party service without the person agreeing to it.

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Set up integrations

Read ADR-0009. Nothing here is required to build, run or test the product.

A new copy of the starter

Do these in order and tell the person what each one does before running it:

  1. gh auth login (they must be an admin of the repository).
  2. node scripts/setup.mjs repo --dry-run, then node scripts/setup.mjs repo. Report any step that failed and how to set it by hand in Settings.
  3. The rename-product skill, if they have a product name.
  4. node scripts/setup.mjs and walk through what is off. Ask which services they want now; leave the rest off.

Turn a service on

  1. Show the steps and sign-up link from node scripts/setup.mjs (they come from config/integrations.json). The person creates the account; never create accounts or type passwords for them.
  2. For SYST and Prod: node scripts/setup.mjs set <KEY> --env Syst (and Prod). Secrets are prompted without echo; never paste a secret into chat or a file.
  3. To try it locally: put the key in .env.local at the repository root (copy .env.example), then rebuild the app.
  4. Check: run node scripts/setup.mjs again; the setting should show as set.

Add a new integration to the code

  1. Add an entry to config/integrations.json: id, name, purpose, when (optional or publish), cost, sign-up link, guide, steps, and settings (key, app, secret, environments, label).
  2. Add each key to .env.example, empty, with a comment.
  3. Read it the same way as the others: Vite define from loadEnv(mode, repoRoot, ''), a Gradle buildConfigField through integration("KEY"), node scripts/setup.mjs ios-xcconfig for iOS, or IConfiguration in the backend.
  4. Off when empty: the feature must work, and tests must pass, without a value.
  5. Document it in the README table under "Make it yours" and run node --test scripts/setup.test.mjs.

Never

  • Commit a real key, DSN, token or google-services.json, even for Dev.
  • Make a third-party service required for the build, the tests or CI.
  • Put customer data in a third-party service without the person agreeing to it.

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.