/gloria:identifying-skills-for-a-projectfrom gloria
Use 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.
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.
Run inside a coding agent on a target project to answer two questions and act on them:
Core principle: ground every recommendation in the project's actual stack and workflows, reuse before you author, and never write to the shared library (or the user's disk) without consent.
The library search/publish mechanics live in a separate skill. REQUIRED SUB-SKILL: use using-the-skills-library for search_skills / get_skill / publish_skill. To author a brand-new bundle, REQUIRED SUB-SKILL: writing-skills.
Not for: documenting service dependencies (use documenting-service-dependencies); project-only conventions that belong in CLAUDE.md, not a shared skill.
Classify every skill into exactly one — this is the spine of the report:
| Bucket | Meaning | Action |
|---|---|---|
| In play | Available to this project today | Report it. Nothing to publish. |
| Useful — already in the library | A recommended skill the org already has | Reuse / install. Don't duplicate. |
| Useful — missing | A recommended skill not yet in the library | Copy an available bundle, or author one, then publish. |
"Available in your session" is not the same as "in use by the project." A skill the project's .claude/ or CLAUDE.md references is in use; a skill merely present in your session is only available. Report them distinctly.
From three concrete signals:
.claude/ config — .claude/skills/ (installed local skills), and .claude/settings.json / settings.local.json for enabled plugins / marketplaces (skills the org already gets wholesale — e.g. a superpowers plugin) and .mcp.json servers.CLAUDE.md (root and nested) — skills and runbooks it names or implies.Separate in-use (referenced by config/CLAUDE.md) from merely available (in your session only).
Read the signals that reveal recurring work: package.json/manifests and scripts, lockfiles, framework/infra config (next.config, vercel.json, wrangler.toml, Dockerfiles), prisma/, .github/workflows/, payment/auth/webhook code, datastore and queue usage, test setup. The recommendations must come from what the project actually does, not guesswork.
A skill is worth recommending only if it is all of:
superpowers set) — they're already everywhere.Rank: strong (publish) vs. propose-and-ask (thinner / opinionated / overlapping).
Per using-the-skills-library: search_skills with 2–3 synonym queries per candidate (the substring query matches name/description only), and narrow with the tags filter (AND semantics) to catch relevant skills a substring query would miss — a no-args search_skills lists every skill and surfaces the tags already in use. get_skill on near-matches to read scope. A match → move it to the already-in-library bucket. This is what prevents duplicate publishes.
Remember the org ships pre-seeded with gloria.dev system skills (read-only, author gloria.dev). They're a third "already covered" source alongside the enabled plugins/marketplaces from step 1 — a candidate satisfied by a seeded system skill belongs in already-in-library, not missing, and must not be re-authored (a republish over a system skill is rejected with 409).
Three ways to produce a bundle — prefer the cheapest that fits:
| Path | When | How |
|---|---|---|
| Reuse | Already in the library | Nothing to assemble — just install (step 7). |
| Copy | A good bundle exists on disk (an available session/local skill the library lacks and you're allowed to share) | Locate its SKILL.md + supporting files (search ~/.claude/skills, .claude/skills, plugin caches) and copy the files verbatim into staging. Scrub anything project-specific. |
| Author | No suitable source exists | Write a new bundle via writing-skills, grounded in the step-2 evidence. |
Stage bundle files under the workspace's gitignored .context/skills/<slug>/ so nothing lands in the project's git tree by accident.
Stop and show the user the proposed list (each bucket, each bundle's path = reuse/copy/author, and the actual SKILL.md for new ones). Ask explicitly whether to save them to the gloria.dev skills library before publishing. Publishing writes a new immutable version to a shared, org-wide resource — do it only on consent, one skill at a time, via publish_skill (see using-the-skills-library for slug derivation and the admin/versioning rules). Then verify with search_skills/get_skill.
Independently of publishing, ask the user whether to install each kept skill locally, and where:
<project>/.claude/skills/<slug>/SKILL.md (+ supporting files). Available to anyone (and any agent) working in this repo. Ask whether to commit it or leave it gitignored.~/.claude/skills/<slug>/SKILL.md. Available across all of the user's projects.For an org-authored or gloria.dev skill, installing = writing the staged bundle files into the chosen directory. External marketplace skills are different — their content is never copied; if a kept skill came from a marketplace:<id> source (its search_skills summary carries source/plugin/supportedAgents), don't write files. Install it through the host agent's native marketplace via install_skill per using-the-skills-library Workflow C, and note it pulls in the whole plugin.
Publishing to the library and installing locally are separate choices — a user may want one, both, or neither.
A short report with the three buckets, plus — for what the user approved — the published library versions and any local installs. Name what you excluded and why (already covered by a plugin, too project-specific, couldn't author with confidence).
superpowers-style skills).CLAUDE.md..context/skills/.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./documenting-service-dependenciesUse 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)./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./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.