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
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- backend/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- architecture-decisionsSkill
- ask-mattSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- dora-metricsSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- observabilitySkill
- prototypeSkill
- prSkill
- rename-productSkill
- researchSkill
- retroSkill
- security-auditSkill
- setup-matt-pocock-skillsSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- update-dependenciesSkill
- wait-whatSkill
- wayfinderSkill
- wizardSkill
- writing-for-agentsSkill
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
- Distinctive: line 8
Read ADR-0009. Nothing here is required to build, run or test the product.
- Distinctive: line 12
Do these in order and tell the person what each one does before running it:
- Very specific: line 24
Check: run node scripts/setup.mjs again.
- Very specific: line 28
Add an entry to config/integrations.json: id, name, purpose, when (optional or publish), cost, sign-up link, guide, steps, and settings …
- Very specific: line 29
Add each key to .env.example, empty, with a comment.
- Very specific: line 30
Read it the same way as the others: Vite define from loadEnv(mode, repoRoot, ''), a Gradle buildConfigField through integration("KEY"), …
- Very specific: line 32
Document it in the README table under "Make it yours" and run node --test scripts/setup.test.mjs.
- Very specific: line 36
Commit a real key, DSN, token or google-services.json, even for Dev.
- Distinctive: line 38
Put customer data in a third-party service without the person agreeing to it.
≈ “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.
Files
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:
gh auth login(they must be an admin of the repository).node scripts/setup.mjs repo --dry-run, thennode scripts/setup.mjs repo. Report any step that failed and how to set it by hand in Settings.- The
rename-productskill, if they have a product name. node scripts/setup.mjsand walk through what is off. Ask which services they want now; leave the rest off.
Turn a service on
- Show the steps and sign-up link from
node scripts/setup.mjs(they come fromconfig/integrations.json). The person creates the account; never create accounts or type passwords for them. - For SYST and Prod:
node scripts/setup.mjs set <KEY> --env Syst(andProd). Secrets are prompted without echo; never paste a secret into chat or a file. - To try it locally: put the key in
.env.localat the repository root (copy.env.example), then rebuild the app. - Check: run
node scripts/setup.mjsagain; the setting should show as set.
Add a new integration to the code
- Add an entry to
config/integrations.json: id, name, purpose,when(optionalorpublish), cost, sign-up link, guide, steps, and settings (key,app,secret,environments,label). - Add each key to
.env.example, empty, with a comment. - Read it the same way as the others: Vite
definefromloadEnv(mode, repoRoot, ''), a GradlebuildConfigFieldthroughintegration("KEY"),node scripts/setup.mjs ios-xcconfigfor iOS, orIConfigurationin the backend. - Off when empty: the feature must work, and tests must pass, without a value.
- 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.
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
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.

