/corgi:corgi-describefrom corgi
Reads corgi-compose.yml and generates a compact Markdown description of all services, DB services, and their relationships, including a Mermaid diagram.
Ships in corgi. Installing the plugin adds it to Claude Code.
Produce a compact human-readable description of the corgi project in the current working directory: db_services, services, required tools, relationships. Output must stay small - skip empty fields, no boilerplate, no placeholders.
Read-only. Do not modify corgi-compose.yml, do not run corgi run, do not start containers.
corgi-compose.yml in cwd (or path via $ARGUMENTS). If $ARGUMENTS ends in .yml/.yaml, treat as input file. Else treat as output path.docs/corgi-services.md. Create docs/ if missing. Overwrite existing; tell the user.No compose file → stop, tell user to run /corgi-new.
Identify in compose:
name, description, useDocker, useAwsVpn, init, beforeStart, afterStart.required.<tool>: why, install, checkCmd, optional.db_services.<name>: driver, port(s), credentials, version, healthCheck, seed source, additional.*, manualRun.services.<name>: path/cloneFrom, branch, port, portAlias, healthCheck, manualRun, ignore_env, autoSourceEnv, copyEnvFromFilePath, environment, exports, runner, beforeStart/start/afterStart, scripts, tunnel, depends_on_db, depends_on_services.Only describe what is present. See references/yml-schema.md for unknown fields.
For each services.<name>, resolve working-copy dir:
path: set → <path>.cloneFrom: set → .corgi/corgi_services/services/<name>/.If dir exists, find first match (case-insensitive): README.md, README.markdown, README.rst, README.txt, README. Skip if > 4000 lines / 200 KB.
Extract only these three things (no full badge dump, no useful-links section):
sonarcloud.io/.../?project=<key> or sonarcloud.io/api/project_badges/.../?project=<key>, capture <key> (one).https:// link in first 30 lines, or Repository: line.That's it. Do not extract full badge lists or useful-links sections - they bloat the doc.
No working-copy dir, or no README → skip the README line for that service. Don't emit "readme: not found".
Per-service only - never scrape db_services paths.
service --(envAlias or driver prefix)--> db_service for each depends_on_db.service --(envAlias)--> service for each depends_on_services. Label envAlias (or service name if blank); append (suffix) if set.environment: references ${producer.VAR} where producer matches another service's yaml key, draw producer -.->|VARS| consumer listing the var(s) referenced.required: entry, no edges (project-wide).tunnel: block get a 🌐 node.Detect cycles in depends_on_services; surface in warnings.
Follow references/describe-output.md exactly. Compactness rules (mandatory):
_not set_, no none, no - rows for missing fields. Field absent → omit line.useDocker or useAwsVpn is set. Title + optional blockquote description is enough.why: set.name | driver | host:port | db / user). Only emit a per-DB subsection for a db that has version, healthCheck, seed source, or additional.*. Plain databases stay in the table only.### <name> :`` header, then compact bullets and one combined Deps table (db + svc deps merged with a kind column). No #### Lifecycle commands / #### DB dependencies / #### Service dependencies / #### Exports subheadings - use bold inline labels (**Deps**, **Exports**, **Lifecycle**, etc.).**README** > <tagline>. [Sonar: <key>](url). [Repo](url). Omit any of the three parts that aren't present. Omit the whole line if all three missing.${producer.VAR} (export consumers) under **Cross-service env refs**, since those drive dotted graph edges. Plain ${DB_HOST}-style refs are implied by the deps table - don't list them.sh block per service with # beforeStart / # start / # afterStart comment markers; omit any sub-section that is empty or echo-only; omit the whole block if all three are empty/echo. Same rule for project-level ## Lifecycle hooks (project) - skip the section if all hooks are echo-only or empty.subgraph wrapper.Tables > lists > paragraphs. Describe this project - don't restate the schema.
Tell the user:
N services, M databases, K required tools, R READMEs scraped (L missing).cloneFrom: services with no working-copy dir → suggest corgi init.Do not run corgi doctor / corgi status - this is doc-only. Point users at those for live state.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
31 commands in this plugin
/corgi-alignCorgi AlignAgree on a request once, cheaply, then build it./corgi-autopilotCorgi AutopilotRun one iteration of the supervised autopilot loop: build-ready tickets into draft PRs, with one spec gate per batch./corgi-before-afterCorgi Before AfterCapture the same screen on the base branch and on yours and attach both to the PR/MR.npx claudepluginhub andriiklymiuk/corgi --plugin corgiOther plugins' commands for the same job