一键导入
mkdocs-style
Install or update the shared MkDocs Material style layer (Ink & Indigo on warm paper) in the current project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install or update the shared MkDocs Material style layer (Ink & Indigo on warm paper) in the current project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | mkdocs-style |
| description | Install or update the shared MkDocs Material style layer (Ink & Indigo on warm paper) in the current project. |
| argument-hint | [--css-dest <path>] [--check] |
Install or update the shared MkDocs style layer in the current project, then
reconcile the project's mkdocs.yml with it.
$ARGUMENTS
--css-dest <path> — where custom.css lands, relative to the project root.
Only needed for non-standard layouts; see step 2.--check — report drift only: dry-run the installer and diff the vendored
files against the payload. Make no changes.The canonical assets live in the claude-code-config repo under tooling/mkdocs/:
a partial parent config (mkdocs.style.yml: theme, features, palette, fonts,
markdown_extensions, extra_css, extra.generator: false) and the palette
stylesheet (custom.css). A project consumes them via MkDocs native config
inheritance — INHERIT: mkdocs.style.yml at the top of its mkdocs.yml.
MkDocs merges the child config onto the parent: mappings merge per-key
(child wins), but lists replace wholesale. So the project must not redefine
theme.features, theme.palette, theme.font, markdown_extensions, or
extra_css — unless it deliberately owns the whole list (and then extra_css
must still include stylesheets/custom.css). Per-project branding keys
(theme.favicon, theme.logo, theme.icon.logo) merge safely and stay in the
project.
Resolve the config repo: CONFIG_REPO="$(dirname "$(readlink ~/.claude/skills)")"
(the skills directory is a symlink into the repo). Run
git -C "$CONFIG_REPO" pull --ff-only first so the payload is current.
Determine the css destination if --css-dest was not given:
docs/stylesheets/custom.css.scripts/build-docs-tree.sh that symlinks
assets into a git-ignored docs/): use the committed source directory that
is exposed as stylesheets/ in the docs tree (career-portfolio:
mkdocs-theme/stylesheets/custom.css).Run the installer:
"$CONFIG_REPO/scripts/install-mkdocs-style.sh" --target . [--css-dest <path>]
(add --dry-run under --check, then also diff the two vendored files
against the payload and report; stop here in check mode).
Reconcile mkdocs.yml — the judgment work the script only warns about:
theme.name, theme.features,
theme.palette, theme.font, theme.icon.repo, the whole
markdown_extensions block, extra_css (unless the project needs extra
stylesheets — then keep it as a deliberate whole-list override with
stylesheets/custom.css first and a comment saying so), and
extra.generator.INHERIT, site metadata, plugins, nav, extra.social/extra.tags,
validation, docs_dir/site_dir, dev_addr, and branding keys
(theme.favicon, theme.logo, theme.icon.logo).#faf8f3) —
a white or very light logo asset becomes invisible. Prefer
theme.icon.logo with a Material icon (inline SVG, currentColor, adapts
to both schemes) over a fixed-colour image.--8<-- literally, grep for it —
pymdownx.snippets in the shared layer activates include syntax.Verify:
make check, make ci,
make docs-build, or uv run mkdocs build --strict).uv run python -c "from mkdocs.config import load_config; c = load_config(); print(c['theme'].name, len(c['markdown_extensions']))"git diff --stat and summarise what changed visually (palette,
features gained/lost) so the user can sign off.Set up or bootstrap a project with the claude-code-config tooling — setup-project.sh, install-tooling.sh, the layered hooks setup, and the new-repo runbook. Use when installing this config into a repo, running the setup scripts, vendoring the make-check tooling, or bootstrapping a new project.
Create a new "Later" backlog item (Learn / Research / Do / Read) from a configurable template.
Prepare technical analysis for backlog refinement meetings.
Capture a quick status update and append it to today's daily log.
Prepare end-of-week review notes summarizing the full week's work activity across all sources (Git, GitHub, Jira).
Prepare a standup document summarizing recent work activity across Git, GitHub, and Jira.