agentsclimarketplace

Tue mkdocs template

Skill TUE-AIE/tue-skills/skills/tue-mkdocs-template

Scaffold a TU/e-branded MkDocs site (Material theme + TU/e palette, logo, CSS helpers, GitHub Pages deployment workflow). Use when the user asks to "start a TU/e docs site", "scaffold MkDocs with TU/e branding", "set up TU/e MkDocs", "create a new TU/e docs project", or similar. Produces mkdocs.yml, docs/index.md, TU/e CSS theme, red+white logo SVGs, a GitHub Pages deploy workflow, requirements.txt, and a starter .gitignore.From its SKILL.md

Install
npx -y skills add TUE-AIE/tue-skills --skill tue-mkdocs-template

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

7.0 KB, as published. Nobody here has run it

TU/e MkDocs Template

Scaffolds a Material-for-MkDocs site with TU/e brand styling and a ready-to-go GitHub Pages deployment workflow. Designed to be portable: copy this skill directory to any project's .claude/skills/ (or ~/.claude/skills/ for personal global use) and re-run.

When to use

Trigger phrases: "start a TU/e docs site", "scaffold MkDocs with TU/e branding", "set up TU/e MkDocs", "create a new TU/e docs project", "new TU/e MkDocs repo", "TU/e MkDocs starter".

Do not use this skill on a directory that already has a non-trivial MkDocs setup — the scaffold writes files at known paths and would overwrite existing mkdocs.yml, docs/index.md, and the CSS/asset files. If those exist, ask the user first whether to merge by hand or overwrite.

What it produces

<target>/
├── mkdocs.yml                              # TU/e-branded Material theme config
├── requirements.txt                        # mkdocs-material + extensions
├── .gitignore                              # site/, build/, dist/, venv/
├── README.md                               # starter project README
├── docs/
│   ├── index.md                            # homepage with TU/e wordmark + cards
│   └── assets/
│       ├── css/
│       │   └── tue-theme.css               # full TU/e CSS theme
│       └── img/
│           ├── tue-logo.svg                # red wordmark (favicon, white-bg use)
│           └── tue-logo-white.svg          # white wordmark (header on red bar)
└── .github/
    └── workflows/
        └── deploy.yml                      # GitHub Pages deployment workflow

Workflow

When invoked, follow these steps:

Step 1 — Gather inputs from the user

Use AskUserQuestion (or a single text prompt if the user already provided the info) to collect:

  1. Site name (e.g., "AI Reference Architecture") — becomes site_name in mkdocs.yml and the # H1 on the homepage.
  2. Site description (one sentence) — becomes site_description and the homepage tagline.
  3. GitHub org/user and repo name — used to build site_url: https://<org>.github.io/<repo>/ and the README's deployment instructions. If the user can't supply this yet, default site_url to a placeholder and tell them to fix it later.
  4. Authors (free text, e.g., "Frank Bosma · Mart Wetzels") — shown on the homepage. Optional; skip if user has none yet.
  5. Target directory — default to the current working directory if it looks empty/uninitialised, otherwise ask. If the directory already has a mkdocs.yml or docs/, halt and ask whether to overwrite.

Step 2 — Create directory tree and copy templates

mkdir -p <target>/docs/assets/{css,img} <target>/.github/workflows

Copy from the skill's templates/ directory to the target. Use cp (do not edit the source templates — they're the canonical reference for future runs).

Source (under this skill's templates/)Destination
mkdocs.yml<target>/mkdocs.yml
index.md<target>/docs/index.md
assets/tue-theme.css<target>/docs/assets/css/tue-theme.css
assets/tue-logo.svg<target>/docs/assets/img/tue-logo.svg
assets/tue-logo-white.svg<target>/docs/assets/img/tue-logo-white.svg
workflows/deploy.yml<target>/.github/workflows/deploy.yml
requirements.txt<target>/requirements.txt
gitignore<target>/.gitignore
README.md<target>/README.md

Step 3 — Substitute placeholders

The templates contain literal placeholder tokens (no shell expansion, just text). Replace them in the copied files with the values from Step 1:

PlaceholderReplaced with
{{SITE_NAME}}site name
{{SITE_DESCRIPTION}}site description
{{SITE_URL}}https://<org>.github.io/<repo>/ (or placeholder)
{{GITHUB_ORG}}org/user
{{REPO_NAME}}repo name
{{AUTHORS}}authors line (or omit the line if empty)
{{YEAR}}current year (4 digits)

Use sed per file, e.g.:

sed -i '' "s|{{SITE_NAME}}|AI Reference Architecture|g" <target>/mkdocs.yml

Use | as sed delimiter (URLs contain /). On Linux drop the '' after -i.

If {{AUTHORS}} is empty, remove the entire authors line from docs/index.md rather than leaving an empty Authors: line.

Step 4 — Report success

Print a short summary listing what was created and the immediate next steps:

Created TU/e MkDocs scaffold in <target>.

Next steps:
  1. python -m venv .venv && source .venv/bin/activate
  2. pip install -r requirements.txt
  3. mkdocs serve              # local preview at http://127.0.0.1:8000/
  4. git init && git add . && git commit -m "Scaffold TU/e MkDocs site"
  5. Create the GitHub repo, push, and enable Pages:
       Settings → Pages → Source: "GitHub Actions"
     The deploy workflow runs on every push to main.

If the user did not supply a GitHub org/repo in Step 1, also remind them to update site_url in mkdocs.yml once the repo exists.

Sharing this skill with others

This skill is fully self-contained in its directory. To share:

  • With teammates on the same project: commit .claude/skills/tue-mkdocs-template/ to the repo.
  • For personal global use: copy the directory to ~/.claude/skills/tue-mkdocs-template/.
  • As a standalone repo: copy the directory to a new repo (e.g., tue-mkdocs-template) and instruct users to clone it into their ~/.claude/skills/ or a project's .claude/skills/.

The TU/e logo SVGs in templates/assets/ were sourced from Wikimedia Commons — replace with the official institutional asset if you have access to one with a stricter usage license.

Troubleshooting

  • Existing files clash: do not overwrite silently. List the conflicting paths and ask whether to overwrite, skip, or abort.
  • mkdocs serve fails on unrecognized extension: confirm pip install -r requirements.txt ran in the active venv. The requirements.txt pins mkdocs-material which transitively brings pymdown-extensions.
  • GitHub Pages 404 after first push: enable Pages with source "GitHub Actions" under repo Settings → Pages. The workflow needs pages: write and id-token: write permissions, which are set in deploy.yml.
  • Logo invisible in header: the header bar is TU/e red, so the header logo MUST use the white variant. mkdocs.yml's theme.logo points to assets/img/tue-logo-white.svg; the red tue-logo.svg is only the favicon.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.