/gloria:documenting-service-dependenciesfrom gloria
Use to map, document, and register a codebase's service dependencies with gloria.dev so they are monitored. Fires for plain requests to sync a dependency or project with gloria — "register this dependency", "register this project", "register/sync our services with gloria", "start monitoring this service", "add this integration to gloria", "sync my project with gloria" — and to inventory them — "document our integrations/dependencies", "what external services does this connect to", "make a health-check doc". Also fires whenever you add, remove, or swap an external service, SaaS API, SDK, API client, database, queue, or internal endpoint. Produces four dependency Markdown docs (external SaaS inventory + health checks, internal systems inventory + health checks) plus, on a first-time pass, a project explainer and (for monorepos) a package/workspace map, and pushes all of it to gloria.dev via its MCP tools (register_project, put_dependency, put_document).
Ships in gloria. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When the user says "register", "registering", or "sync" a dependency,
service, integration, or project with gloria (e.g. "register this
dependency", "register this project", "sync my services with gloria", "start
monitoring this API"), that means calling the gloria MCP tools —
register_project for the project and put_dependency for each dependency —
not just writing a Markdown note or editing config. Syncing the inventory to
gloria.dev is what makes monitoring actually start; it is the point of this skill.
For a single, obvious dependency the user points you at ("register the Stripe
API we just added"), you don't have to regenerate all four Markdown docs first —
resolve the project (register_project if needed), then put_dependency for that
one service. The full four-doc inventory below is for a first-time or whole-repo
pass. Either way, the gloria MCP call is the deliverable, not optional.
Scan a codebase for every system it talks to, classify each as external SaaS or internal system, and write four Markdown documents:
| File | Contents |
|---|---|
EXTERNAL_SAAS.md | Inventory of third-party SaaS reached over the public internet |
EXTERNAL_SAAS_HEALTHCHECKS.md | An up/down probe for each service in EXTERNAL_SAAS.md |
INTERNAL_SYSTEMS.md | Inventory of internal systems (datastores, gateways, AWS platform services, the app's own services) |
INTERNAL_SYSTEMS_HEALTHCHECKS.md | An up/down probe for each system in INTERNAL_SYSTEMS.md |
Generate all four by default. Cross-link them (each inventory links to its health-check doc and vice versa; the two inventories link to each other).
On a first-time or whole-repo pass, also generate PROJECT_EXPLAINER (and, for monorepos, PACKAGE_MAP — see below) alongside the four dependency docs. Skip both for a single-dependency touch-up, same carve-out as the four dependency docs above.
Document only — never execute the health-check commands. Write them from code evidence (endpoints, auth headers, env vars). Do not run them or require live credentials.
Then sync the inventory to gloria.dev (whose Canary tool monitors dependencies) via its MCP server so the dependencies are watched continuously — see Syncing the inventory to gloria.dev. This is a required final step, not optional: once the four Markdown docs exist, push the structured inventory (and the docs) so monitoring actually starts. The organization is taken from your authenticated gloria.dev session — you never supply or ask for an org slug. The only time you stop at the Markdown docs is when the gloria.dev MCP server isn't connected in your environment; say so explicitly.
This decides which file every system lands in — but first apply the inclusion gate: most false positives come from inventorying things the app never actually calls.
Only inventory a service the application makes a live outbound network connection to at runtime — an actual request the app sends (or, for infrastructure, a live connection/binding it reads or writes). Require evidence of a call, not merely a dependency in the manifest: a base URL that is fetched, an SDK/client that is instantiated and invoked, a DSN/connection that is opened.
Do not inventory:
package.json / go.mod is not evidence of an outbound connection. Example: a webhook library like Svix used only to verify an inbound webhook's signature — the app never calls svix.com, so Svix is not a dependency. The webhook sender (e.g. Clerk) is, if the app calls it elsewhere.When in doubt, trace the call to where the URL is actually requested or the client method actually invoked. No outbound call found → it does not belong in the inventory; say so rather than listing it.
api.github.com, slack.com, api.openai.com).localhost, a private IP (10./172.16./192.168.), a link-local address (169.254.), an internal-only AWS endpoint (Bedrock internal URLs, ECS task metadata), the application's own services, an infrastructure component regardless of address (databases, caches, search engines, message queues, LLM gateways), OR a first-party service of the app's own hosting/cloud platform — the provider the app deploys on and its built-in managed services for storage, secrets, config, compute, encryption, and logging.First-party platform services are internal even when reached over the provider's public API. Identify the app's host platform first (Cloudflare Workers, AWS/ECS/Lambda, GCP, Azure, Vercel, Fly.io, …); its own managed services are infrastructure, not third-party SaaS, regardless of the URL they're reached at:
https://api.cloudflare.com/client/v4/.... That host is Cloudflare's control plane for your own resources; managing your own secret store there is the Cloudflare counterpart of AWS Secrets Manager (which this skill already treats as internal), not a third-party API you're a customer of.The deciding question is ownership, not URL: are you calling the management/control plane of a resource that belongs to you on your own platform (→ internal), or a separate product you're a customer of (→ external)? A public, different-domain URL alone does not make something external — api.cloudflare.com for your secret store is internal; api.stripe.com for Stripe's product is external. When a single managed cloud genuinely has both faces (a product you also consume independently of your own deployment), split it and note the ambiguity; otherwise classify by ownership and by how the app reaches it in production.
*_URL, *_BASE_URL, *_API_KEY, *_TOKEN, *_DSN), docker-compose/IaC files, and config loaders. Use parallel search agents for breadth.Each inventory doc (EXTERNAL_SAAS.md, INTERNAL_SYSTEMS.md) has:
> Notes blockquote for caveats (runtime vs CI-only, dev defaults vs prod env vars).## Architecture — a short prose explanation, then a Mermaid flowchart showing the app's components and how they reach each system (group services into subgraphs by category; show inbound webhooks/events with dotted -.-> edges). Add a small sequenceDiagram if an interaction pattern recurs.## Authentication & Identity, ## Git Hosting, ## Data Stores, ## LLM / AI, ## AWS Platform Services, etc.) — each a table. External tables: | Service | Purpose | Primary URL(s) |. Internal tables: | System | Purpose | Address / Config | Auth | (Address / Config names the env var and its dev default).## Development / Test Only or ## Local Dev Emulators section for non-production dependencies.Bold service names. Put endpoints and env vars in `code`.
Each health-check doc (EXTERNAL_SAAS_HEALTHCHECKS.md, INTERNAL_SYSTEMS_HEALTHCHECKS.md) has:
Intro — state that it covers every service in the matching inventory and links to it; emphasize each probe hits and authenticates against the real endpoint the application uses, parameterized by env vars so it's portable.
## How to read the result — a status-interpretation table:
| Result | Meaning |
|---|---|
2xx | Up — reachable and credentials valid |
401 / 403 | Up, but credentials invalid/expired |
404 | Up, but the target resource is wrong |
429 / 5xx | Reachable, but rate-limited or erroring |
| connection refused / DNS failure / timeout | Down / unreachable |
One subsection per service, in the same category order as the inventory. Each: a one-line note on what the probe does, then a fenced code sample.
curl -sS -o /dev/null -w '%{http_code}\n' ....Authorization: Bearer, x-api-key, PRIVATE-TOKEN, basic auth, raw key, etc.) and hit a cheap "whoami"/list//models//health endpoint.$GITHUB_TOKEN, ${BASE_URL:-default}), never hard-coded secrets.200 (check a JSON ok field with grep); CLI-only auth (aws sts get-caller-identity, az ...); session-token tools with no REST probe (start-and-teardown); TCP-only liveness fallback with nc -z -w3 host port for datastores and gateways.gloria.dev runs a remote MCP server that lets a coding agent push the inventory you produced into your gloria.dev organization, where the web service monitors each dependency. Syncing is the required final step of this skill whenever the server is connected — it complements, it does not replace, the four Markdown docs.
Connection. Point your MCP client at https://mcp.gloria.dev/mcp (Streamable HTTP). Auth is Clerk OAuth — the client does the handshake; you act as the already-authenticated user. The organization is your session's active org — no tool takes an orgSlug, and you never ask for or guess one. Your session role governs access (reads need inventory:read, writes need inventory:write). If the session has no active organization, the server returns an error telling you to select one — surface that to the user rather than working around it.
Data model. An organization contains projects; each project has a dependency inventory. The dependency model mirrors this skill's own classification exactly: external SaaS ↔ kind: "external_saas", internal system ↔ kind: "internal_system".
All tools act on your session's active org; none take an orgSlug.
| Tool | Args | Does | Perm |
|---|---|---|---|
get_info | {} | Return org { id, name, slug }. Use as an access sanity check. | inventory:read |
list_projects | {} | List the org's projects. | inventory:read |
register_project | { project } | Upsert a project by slug. | inventory:write |
list_dependencies | { projectSlug } | List a project's dependencies as summaries. | inventory:read |
get_dependency | { projectSlug, slug } | Return one dependency's full detail. | inventory:read |
put_dependency | { projectSlug, dependency, statusPageUrl? } | Upsert one dependency by slug. Project must already exist. statusPageUrl optional — see below. | inventory:write |
delete_dependency | { projectSlug, slug } | Remove a dependency by slug. Idempotent (missing = success). | inventory:write |
put_document | { projectSlug, document } | Upsert a Markdown doc by name. Project must already exist. | inventory:write |
All slug fields are kebab-case (^[a-z0-9]+(?:-[a-z0-9]+)*$).
project:
{
"slug": "acme-api",
"name": "Acme API",
"description": "…",
"repoUrl": "https://github.com/acme/api",
"docsUrl": "https://docs.acme.dev",
} // repoUrl, docsUrl optional
slug and name are required; description, repoUrl, and docsUrl are optional. description is backfilled from what you learned while exploring (a one-or-two-sentence summary of what the project is and does) when the project has none — but an existing non-empty description is never overwritten without the user's consent. docsUrl follows the same backfill-only rule — see Resolving the project.
dependency is a discriminated union on kind. Shared fields plus a kind-specific details:
{
"kind": "external_saas", // or "internal_system"
"slug": "github",
"name": "GitHub",
"category": "git_hosting", // enum, see below
"purpose": "How the app uses it.",
"endpoints": [{ "label": "REST API", "url": "https://api.github.com" }],
"details": {
/* kind-specific, see below */
},
"healthCheck": {
/* optional probe gloria.dev runs on a schedule — pick the TYPE from how the code uses the service; see "Choosing the embedded health-check probe" */
},
}
category ∈ auth_identity, git_hosting, issue_tracking, communication, cloud_storage, llm_ai, observability, datastore, llm_gateway, aws_platform, app_service, dev_tooling. No "other" — pick the closest. aws_platform is the bucket for any hosting platform's first-party managed services (despite the AWS-specific name) — a Cloudflare D1/R2/KV/Queues/Secrets Store or a GCP/Azure equivalent goes here too. (A platform-native datastore may instead use datastore when that fits better; either way it stays an internal_system.)details: { "webhooks": [{ "event": "push", "direction": "inbound" }], "provider"?: "github" }. webhooks is required — send [] when there are none. Always set provider on an external SaaS dependency: a kebab-case canonical vendor key (github, resend, openai, stripe, …). gloria keys vendor-level data (including the status page, below) on provider; if you omit it, gloria falls back to the dependency slug, so make slug the vendor key when in doubt.details: { "reachability": "vpc_internal", "addressEnv"?: "DATABASE_URL" }. reachability ∈ public, vpc_internal, link_local, in_task_only, localhost_dev.healthCheck is optional and is a discriminated union on type. Choose the type from how the application reaches the service — see Choosing the embedded health-check probe. Defaults across every type: enabled: true, timeoutMs: 5000.details is strict — unknown fields are rejected, not ignored. Non-HTTP probe detail you can't model in the embedded probe (TCP nc checks, aws sts/CLI auth, JSON-body ok-field checks, header styles the probe types below don't cover) still belongs only in the Markdown docs. details has no slot for auth mechanism / credential env vars (beyond an internal system's addressEnv name) and no runtime-vs-CI flag — don't try to smuggle that into details or into healthCheck.
statusPageUrl)put_dependency takes an optional sibling arg statusPageUrl — the vendor's public status page (e.g. https://www.githubstatus.com, https://status.openai.com). gloria stores it once per vendor (keyed on provider) and shows a "status ↗" link in the dependency row, so a human can jump straight to the vendor's incident page. It is display-only metadata — not a health check: do not put a status page in endpoints or healthCheck (the probe-selection rules above still say never probe a status page; that is unchanged).
statusPageUrl only for external SaaS dependencies, and only when you actually know the vendor's status page. Do not guess a URL — omit it instead.statusPageUrl mainly for long-tail vendors not in that set.statusPageUrl you pass is only recorded when gloria has no entry yet for that provider.Always probe authenticated whenever an authenticated check exists for the service. An authenticated probe verifies both that the service is up and that your credentials still reach the real resource; an unauthenticated probe only proves the service is up. So an authenticated probe is the default, and an unauthenticated http probe is the last resort — valid only for a service that has no authenticated check at all: one the app calls with no credentials, against an endpoint that takes no token. Read how the app authenticates to the service, then pick the matching probe type. An unauthenticated probe against a resource that has credentials is a defect: it either can't see the real resource or returns a misleading status (a 401/404 reads as "up" to a probe that never sent a token), so the dependency looks healthy when your actual access is broken.
A public liveness endpoint existing is never a reason to skip authentication. If the app reaches the service with a credential — or the service exposes an account / whoami / token-gated endpoint — use the authenticated probe against the real resource, not the public /health or status page. The public endpoint tells you the vendor is up; it tells you nothing about whether your access still works.
The probe types an agent can sync through MCP are:
type | Auth | Fields (beyond the enabled / timeoutMs defaults) | Use when |
|---|---|---|---|
"http-bearer" | Bearer token | same as http, plus token (a secret — see below) | Default whenever it fits — but only when the service has no dedicated connector (if one exists, the connector wins; omit healthCheck). The service is reachable with an Authorization: Bearer … token — the app holds a Bearer token for it (token-gated API, private resource). Prefer this over http whenever a Bearer-authenticated endpoint exists, even if a public liveness endpoint also exists. |
"http" | none | url (required); method (GET|HEAD|POST, default GET); expectedStatus (default {min:200,max:299}) | Fallback only. The service has no authenticated check at all — the app calls it with no credentials and it exposes no account / token-gated endpoint — but it does have a genuinely public liveness endpoint (/health, status page, or unauthenticated API root). |
The selection rule (a typed connector always wins; then authenticated beats unauthenticated): First ask does a dedicated typed connector exist for this service — see the list under When neither embedded type fits below (GitHub, GitLab, Bitbucket, OpenAI, Anthropic, Notion, Linear, Slack, Clerk, Atlassian/Jira, AWS STS/KMS/Bedrock/CloudWatch Logs/Secrets Manager). If yes, the connector always wins: omit healthCheck entirely and steer the user to attach the connector in the web UI — never emit an embedded probe for that service, and above all never an unauthenticated "http" one, no matter what public endpoint it also exposes. Only when no connector exists do you reach for an embedded probe, and there authenticated wins: does the app hold a credential for the service, or does it offer an account / whoami / token-gated endpoint? If yes, use "http-bearer" against that endpoint (token declared as a secret), or, when the auth style can't be expressed as an embedded probe, omit healthCheck. Use "http" only when the answer to both is no — no connector, no credential, no authenticated endpoint. Concretely: if hitting the endpoint the app relies on without a credential would not prove your access works, do not use "http". Example: a vendor API your app calls with a Bearer token that has no dedicated connector — e.g. Resend. https://api.resend.com being reachable says nothing about whether your key still works, so probe an authenticated endpoint like https://api.resend.com/domains with type: "http-bearer" so a revoked/expired key surfaces as a real failure. (For a service that does have a connector — a private GitHub repo, say — omit healthCheck and use the connector instead of any embedded probe.)
Declaring the token (and never the value). In http-bearer, set token to a bare secret declaration — { "kind": "secret", "hint": "GitHub PAT" } — and nothing else. The agent never transmits a secret value, ref, or configured flag; strict validation rejects a stray value/ref/configured. gloria.dev mints the ref server-side, the user enters the value on the project's Configure-secrets page (the tool returns a configUrl deep-linked to the dependency), and the runner resolves it at probe time. Until the value is entered the dependency sits in needs_config and is not probed — that's expected, not a failure. (You may instead pass a literal { "kind": "literal", "value": "…" } token, but don't — that hard-codes a secret; always declare it.)
When neither embedded type fits — and connector precedence. Some services authenticate in a way the embedded probe can't model: an API-key header (x-api-key, PRIVATE-TOKEN), HTTP Basic, AWS SigV4, or a vendor SDK call, and non-HTTP datastores (TCP-only). gloria.dev ships dedicated authenticated connectors for many of them — GitHub, GitLab, Bitbucket, OpenAI, Anthropic, Notion, Linear, Slack, Clerk, Atlassian/Jira, and AWS STS/KMS/Bedrock/CloudWatch Logs/Secrets Manager — each running a real authenticated probe in the web UI.
Whenever a dedicated connector exists for the service, the connector always wins — even over an http-bearer probe you could express: never emit an embedded probe of any kind for that service, and least of all an unauthenticated http probe just because it also has a public endpoint. Omit healthCheck, keep the authenticated probe in the Markdown health-check doc, and tell the user to attach the connector in the web UI. The same holds for any service whose authenticated check the embedded probe can't express even without a named connector — omit healthCheck rather than downgrade to a misleading unauthenticated http probe. So in practice the agent-sync path emits only http/http-bearer: the server mints a secret for an http-bearer token, but it does not provision credentials for the connector probe types, so a connector-typed healthCheck synced over MCP can't become configurable — attach those connectors in the web UI instead. Richer connectors are a web-UI upgrade.
So "http" is reserved for a service with none of these: no Bearer-token endpoint, no dedicated connector, and no credential the app holds — a genuinely public, unauthenticated dependency.
document (for put_document):
{ "name": "EXTERNAL_SAAS", "markdown": "# External SaaS\n…" } // name = file basename WITHOUT `.md`
name is a single safe path segment (alphanumeric ends, inner ./_/- allowed, no /); it becomes the R2 key docs/<orgId>/<projectSlug>/<name>.md, which is exactly what the project page renders. document is also .strict(). This is how the four Markdown docs (including the health-check ones) reach gloria.dev — the server stores them, it never runs the probes.
get_info() to confirm access and that your session has an active org (cheap sanity check). A no-active-org error here is what you surface to the user.put_dependency / put_document, both of which require the project to exist. See Resolving the project below.put_dependency once per dependency from both inventory docs — map external SaaS → external_saas, internal systems → internal_system. Reusing the doc's section/category for category, the captured URLs for endpoints, and the classification's reachability for internal details. Attach a healthCheck authenticated whenever an authenticated check exists — http-bearer (token declared as a secret) whenever the app reaches the service with a Bearer token; no healthCheck (point the user to a web-UI connector) when an authenticated check exists but the embedded probe can't express it (api-key header, SigV4, SDK) or a dedicated connector exists; and http only for a service with no authenticated check at all. Never emit an unauthenticated http probe for a service that has any authenticated check (see Choosing the embedded health-check probe). The gloria.dev web service runs the check on a schedule. Don't disable a check — disabling is a user action in the web UI.put_document once per Markdown doc (EXTERNAL_SAAS, EXTERNAL_SAAS_HEALTHCHECKS, INTERNAL_SYSTEMS, INTERNAL_SYSTEMS_HEALTHCHECKS) so the rendered docs show on the project page alongside the structured inventory.list_dependencies / get_dependency to verify, delete_dependency to prune.register_project is an upsert keyed by slug, so it both creates a missing project and updates an existing one. Don't call it blindly — first work out which project this codebase is, and never clobber a description a human may have edited. Four phases:
1. Identify (from the git remote, with fallback). Read origin's URL.
repoUrl = that URL normalized to https://…/owner/repo (strip a trailing .git); slug = the kebab-cased repo basename (lowercase, every non-alphanumeric run → a single -, trimmed — must satisfy ^[a-z0-9]+(?:-[a-z0-9]+)*$); name = the humanized basename (e.g. gloria-dev → "Gloria Dev").slug / name from the working-directory name the same way; omit repoUrl.2. Match (slug first, repoUrl fallback). Call list_projects(), then:
slug equals the derived slug → that's the project (exists).repoUrl is non-empty and some project's repoUrl equals it → that's the project (exists). The slug differs, so keep using the existing project's slug for every later call — don't fork a duplicate.register_project with the derived slug / name / repoUrl, silently (it's an idempotent upsert).repoUrl matches a different one, prefer the slug match (it's the upsert key) and note the ambiguity in your final report — don't guess or create a third.3. Describe (backfill, or update only with consent). Look at the resolved project's description:
4. Docs URL (backfill, or update only with consent). Look at the resolved project's docsUrl:
docsUrl — look for
evidence anywhere in the repo, not just one file: homepage in
package.json (root, then the primary app/web workspace if the root has
none); a docs-site link in the README (a "Documentation" section or badge);
an llms.txt (per llmstxt.org) or agents.txt
pointing at a docs site; and a hardcoded "Docs" link in the app's own
header, footer, or marketing/nav components. register_project's fetched
GitHub repo metadata does not carry a homepage or description field
today, so it isn't a usable source here — check the repo's Website
field GitHub's own page surfaces instead (the same concept as
package.json's homepage), if you're looking there anyway; the repo's
text description is not a URL and is not evidence for docsUrl. Do
not guess — a URL only counts as evidence if you can point at exactly
where you found it; if a genuine search of all of the above turns up
nothing, ask the user directly whether the project has a docs site,
and skip docsUrl entirely if they don't have one or don't answer
(non-interactive run).docsUrl — do not overwrite it silently.
Same consent rule as description: show the user the current value and your
candidate and ask before replacing.When setting/updating description and/or docsUrl on a project that already
has a name / repoUrl, send those alongside the changed field(s) in the
register_project call so the upsert doesn't blank them.
register_project, put_dependency, and put_document are upserts keyed by slug/name, so re-running them after the code changes keeps the inventory current — that's the intended way to resync.
On a first-time or whole-repo registration pass (not a single-dependency
touch-up), after resolving the project and before syncing dependencies, write
and push a PROJECT_EXPLAINER document — a plain-language answer to "what is
this project and how is it built," for someone who has never seen the repo:
graph TD or flowchart)
showing the major components/services and how they talk to each other —
reuse the dependency picture you already built for EXTERNAL_SAAS.md /
INTERNAL_SYSTEMS.md as your source of truth for the edges, so the diagram
never contradicts the inventory docs.package.json, go.mod,
requirements.txt, …) and config (wrangler.jsonc, Dockerfile,
docker-compose.yml), not guessed.Push it with put_document, name PROJECT_EXPLAINER. Start the markdown
with # Project Explanation, not the project name — the overview page that
renders this doc already shows the project name, so a leading # <Project Name> heading would be duplicative:
{
"name": "PROJECT_EXPLAINER",
"markdown": "# Project Explanation\n\n## What it does\n…\n\n## Architecture\n```mermaid\ngraph TD\n …\n```\n\n## Tech stack\n…\n",
}
put_document is an upsert by name — re-running this after the code changes
significantly (new service, major refactor) is the intended way to keep it
current, same as the dependency docs.
Monorepos only — skip entirely for a single-package repo (no
workspaces in package.json, no pnpm-workspace.yaml, no Cargo/Go
workspace file). On a first-time or whole-repo pass, write and push a
PACKAGE_MAP document listing every package/workspace and its role.
Derive it the same way mapping-packages-for-coding-agents derives its
routing block — the internal dependency graph (who imports whom) and each
package's real role — but write it as a descriptive list, not routing
triggers: this doc answers "what does each package contain and do," for a
project-overview page, not "which package does my change belong in." For
each package: its path, a one-line role, and the dependency direction
relative to the rest of the workspace. If you (or a teammate) already ran
mapping-packages-for-coding-agents for this repo and have its output handy,
reuse the derived graph and per-package one-liners directly instead of
re-deriving them — don't paste its routing-trigger bullets ("Put here when…",
"Do NOT put here") verbatim, they answer the wrong question for this doc.
List only the repo's real, user-facing packages — not every entry in a
workspaces glob. Small tooling/plugin workspaces that exist to support the
build (a version-check hook, a publish-guard script, a bundled editor plugin)
aren't packages someone registering this project needs listed. If the repo's
own instructions (CLAUDE.md/AGENTS.md, a monorepo-structure doc) already
name and describe the official package set, prefer that curated list over the
raw manifest glob when the two disagree — the manifest may include workspaces
the maintainers don't consider part of the public structure.
Push it with put_document, name PACKAGE_MAP:
{
"name": "PACKAGE_MAP",
"markdown": "# Package Map\n\n<one-line dependency-direction summary>\n\n## `<package>` (`<path>`)\n\n<one-line role>\n\n… one section per package …\n",
}
https://api.cloudflare.com/client/v4/accounts/.../secrets_store/... — that's Cloudflare's control plane for your own Secrets Store (the Cloudflare counterpart of AWS Secrets Manager), so it's internal, not external SaaS. Classify platform services by ownership, not by whether the URL is public.orgSlug — no tool takes one; the org comes from your authenticated session. If the session has no active org, surface the server's error instead of guessing.put_dependency or put_document before register_project for that project, or adding fields the details / document schema doesn't define (auth keys, runtime flags) — strict validation rejects them.type: "http" probe for a service that has any authenticated check — a private GitHub repo, an endpoint that 401s without a token, or a service the app reaches with a credential that also exposes a public /health / status page. The public endpoint only proves the vendor is up, not that your access works, so the dependency looks healthy while your real access is broken. Use type: "http-bearer" (token declared as a secret) against an authenticated endpoint, or omit healthCheck and rely on a web-UI connector. Reserve http for services with no authenticated check at all. Authenticated wins whenever one exists.healthCheck and steer the user to it; never emit an http-bearer probe you could express, and least of all an unauthenticated http probe, just because the service also has a public or Bearer endpoint.ref, or configured flag in a http-bearer token — declare only { "kind": "secret", "hint": "…" }; the value is entered by the user in the web UI, never transmitted by the agent.repoUrl — match on repoUrl and reuse the existing project's slug.put_document), but it never executes the curl probes.docsUrl — only set it from actual evidence (package.json
homepage, a README docs link, a user's direct confirmation); never guess a
plausible-looking URL.docsUrl without asking — same consent
rule as description.PACKAGE_MAP for a single-package (non-monorepo) repo — that
document is scoped to monorepos only.mapping-packages-for-coding-agents's routing-trigger bullets
("Put here when…") into PACKAGE_MAP verbatim — that doc is agent routing
instructions; PACKAGE_MAP is a descriptive overview for a human reading the
project page. Reuse the derived graph, not the routing prose.The four docs in the gloria.dev project (EXTERNAL_SAAS.md, EXTERNAL_SAAS_HEALTHCHECKS.md, INTERNAL_SYSTEMS.md, INTERNAL_SYSTEMS_HEALTHCHECKS.md) are canonical examples of the target format. The original prompts that produced them are in gloria-prompts.example.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sandgardenhq/plugins --plugin gloria12 skills in this plugin
/checking-coding-standardsUse to check code against a project's registered gloria Coding Standards. Fires for plain requests to compare code with the rules — "check this against our standards", "does this drift from our rules/conventions", "are we following our own standards", "review this for standards compliance", "check this PR against our standards", "run a standards check", "audit the repo for drift", "has our code drifted from the rules" — including before or after implementing a change in a project that has registered standards. Runs diff-scoped checks (the per-PR workhorse), cheap metadata checks (render stamp + rule-evidence staleness), or a full audit (snippet staleness included), and reports findings to the gloria drift ledger via report_check_run. Read-only: findings, never edits./debugging-production-errorsUse to investigate production problems through gloria's log debugging tools. Fires for plain requests about live behavior — "why is X failing in production", "what happened at 2pm", "debug these 500s", "is anything erroring right now", "check the logs", "what broke after the last deploy", "why are checkouts timing out" — for any project with a gloria log connection configured. Queries the org's own log provider live via the gloria MCP tools (get_log_provider_status, get_log_stats, list_error_groups, query_logs): find the spike, group the errors, correlate with the deploy, pull the stack trace, map it to source. Read-only over logs; never asks for credentials in chat./deriving-agent-code-styleUse when asked to turn a codebase's linter, formatter, and compiler configuration into agent-facing code style instructions — "write code style rules for agents", "summarize our lint rules as best practices", "add a Code Style section to CLAUDE.md / AGENTS.md", "what conventions should an agent follow in this repo". Reads every config layer per package, detects where linting silently doesn't run, mines observed conventions from the source, and emits an imperative Code Style section with each rule labeled by what enforces it./extracting-coding-standardsUse to set up or register gloria Coding Standards for a project. Fires for plain requests to register or sync standards with gloria — "register our coding standards with gloria", "sync our conventions with gloria", "save our rules to gloria", "register our coding conventions" — and to derive them — "extract our coding standards", "derive rules and snippets from this repo", "set up the standards library". Orchestrates deriving-agent-code-style and mapping-packages-for-coding-agents, structures their findings into stable rules (slug ids, authority labels, scope, evidence), mines one canonical placeholder-ized snippet per rule-implied pattern, registers everything via the gloria MCP tools (register_standard, put_rule, put_snippet) with per-item approval, and renders a version-stamped Coding Standards section into CLAUDE.md/AGENTS.md./identifying-skills-for-a-projectUse when asked which agent skills a project already uses and which additional ones would help the people and agents working on it, or to stock your org's gloria.dev skills library from a project's needs. Inventories the skills in play (session list + `.claude/` config + CLAUDE.md), profiles the stack, recommends the gaps, then — only with consent — saves the useful ones to the library by reusing, copying, or authoring a bundle, and offers a local or global install./investigating-production-incidentsUse to turn a production incident into a durable, shareable investigation folder in the repo — not just a chat answer. Fires for "investigate this", "write up this incident", "create an investigation for X", "start an investigation into checkouts failing", or any debugging-production-errors session the user wants preserved for handoff. Wraps the debugging-production-errors query methodology (get_log_provider_status, get_log_stats, list_error_groups, query_logs) with folder lifecycle: opens investigations/<date>-<slug>/, saves the specific evidence (redacted) that supports the diagnosis into evidence/, and writes INVESTIGATION.md with the root cause, deploy correlation, and fix recommendation. Read-only over logs; never asks for credentials in chat.