/maigo:doc-link-conventionfrom maigo
Enforces absolute GitHub URLs for cross-file links in Maigo source files (agents/*.md, commands/*.md, skills/*/SKILL.md) to prevent mkdocs build failures from relative link rewrites.
Ships in maigo. 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.
Owner Agent: Soyo (Reviewer) — flagged at review-time when editing Maigo source.
Consumers: any task editing agents/ / commands/ / skills/ in the Maigo repo.
Maigo's agents/*.md, commands/*.md, and skills/*/SKILL.md are dual-context:
claude --plugin-dir.docs/{agents,commands,skills}/<name>.md include-markdown shims.A relative cross-source link works in one view but breaks the other.
Cross-source link → absolute GitHub URL. No exceptions.
[/maigo:remember](https://github.com/Lee-W/maigo/blob/main/commands/remember.md)
Not:
[/maigo:remember](remember.md) <!-- ❌ relative -->
[/maigo:remember](../commands/remember.md) <!-- ❌ relative -->
[/maigo:remember](/commands/remember.md) <!-- ❌ root-relative -->
mkdocs build --strictinclude-markdown defaults to rewrite-relative-urls=true. When it inlines
commands/remember.md into docs/commands/remember.md, it rewrites relative
URLs from the destination page's perspective. But the source path
(commands/remember.md) differs from the mkdocs page path
(docs/commands/remember.md, which is a shim), so the rewrite points at a
location mkdocs cannot resolve → Aborted with N warnings in strict mode!.
Absolute URLs are not rewritten by include-markdown, so both the GitHub
raw view and the mkdocs page resolve correctly.
Disabling rewrite-relative-urls is also wrong: cross-directory relative
links to real reference docs (e.g. ../docs/reference/memory.md) rely on
the rewrite to become mkdocs-resolvable.
When the link target is a real doc page under docs/reference/ or
docs/guides/ (not a shim), a relative link is correct because
rewrite-relative-urls=true will produce the right final URL:
[Memory reference](../docs/reference/memory.md)
From a commands/<x>.md source file, that rewrites to ../reference/memory.md
in docs/commands/<x>.md — which correctly points at docs/reference/memory.md.
| Link target type | Use |
|---|---|
Another source file (agents/*.md, commands/*.md, skills/*/SKILL.md) | Absolute GitHub URL |
Real reference doc (docs/reference/*.md, docs/guides/*.md) | Relative (../docs/reference/foo.md) |
| Same source file (anchor only) | Plain anchor (#section-name) |
When strict-review runs on a diff that touches agents/, commands/, or
skills/*/SKILL.md in the Maigo repo itself, append this rule as base
checklist item 10:
]\( followed by anything that does not start with
http:// / https:// / # / ../docs/. If the link target is another
source file → must-fix with改法: rewrite to
https://github.com/Lee-W/maigo/blob/main/<source-path>.This is only a checklist item when editing Maigo itself. Downstream projects using Maigo as a plugin do not need this rule — it is specific to Maigo's own dual-context publishing setup.
rewrite-relative-urls=true
default and --strict build.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 skills in this plugin
/airflow-awareThis skill should be used when working in the apache/airflow repository as a contributor (not as a Dag author). It surfaces Airflow's own AGENTS.md conventions — naming, Breeze/uv, Ruff/Mypy, coding rules, pytest patterns, PR hygiene — for any review, quick-fix or refactor there./change-site-enumerationThis skill should be used when about to declare "N sites need changing", "the scope is closed", or "this is already fully shared" — before writing a plan that lists change sites, implementing one, reviewing a diff for lingering per-section branches, or reporting a scope/size number to the user./command-routerCodex pseudo-command router for Maigo. Use when the user sends or discusses any `/maigo:*` or `maigo:*` command (go, team, quick, review, board, remember, retro, doctor, etc.), or asks why Maigo commands do not behave like native Codex slash commands.npx claudepluginhub lee-w/maigo --plugin maigoOther plugins' skills for the same job