mudlet/docs
Mike Conley 6705cadd11
Infra: Add CMake presets for every platform, and one home for AI assistant skills (#9742)
#### Brief overview of PR changes/additions

- Adds `CMakePresets.json` with configure, build and test presets for
macOS, Linux and Windows, including sanitizer and static-analysis
variants. Each is gated on the host system, so a listing only offers
what the current machine can build.
- Consolidates the AI assistant skills into `.agents/skills/`, which
Claude Code, GitHub Copilot and Cursor all read, replacing two copies
that had drifted into contradicting each other.
- Corrects the build documentation: the Windows toolchain is CLANG64
rather than MinGW64, and the previous "no need to specify number of
jobs" advice holds only for Ninja.

#### Motivation for adding to Mudlet

The instructions presented platform-specific build advice as though it
were universal, so following them on the wrong platform produced either
an unbounded parallel build or a toolchain the setup scripts refuse to
run.

#### Other info (issues closed, discussion etc)

`windows-debug` has been exercised on Windows: `CI/setup-windows-sdk.sh`
in an MSYS2 CLANG64 shell, then configure and build both to completion
against Qt 6.11.1 and Clang 22.1.7. `cmake --list-presets` correctly
offered only `windows-debug` there.

Note that `windows-debug` is a Debug configuration, whereas
`CI/build-mudlet-for-windows.sh` builds Release, so the two are not
equivalent.

`.claude/skills` is a symlink to `.agents/skills`, following the
existing pattern used by `CLAUDE.md`, `AGENTS.md` and `.cursorrules`. On
Windows checkouts without `core.symlinks` it lands as a plain file, in
which case Copilot and Cursor still read `.agents/skills` directly.

**Test case:** `cmake --preset macos-debug && cmake --build --preset
macos-debug`, then `ctest --preset macos-debug`. `cmake --list-presets`
should offer only the current platform's presets, and a variant such as
`macos-debug-nosan` should build into `build-macos-debug-nosan/` while
leaving `build/` untouched.

---------

Signed-off-by: Michael Conley <sousesider@gmail.com>
2026-08-12 21:28:13 +02:00
..
package-capture-audits add: starter interface with health bars, map and chat for new players (#9454) 2026-07-26 08:43:21 +02:00
AI-ASSISTANTS.md Infra: Move developer documentation to /docs (#8120) 2025-08-27 10:22:23 +02:00
ai-instructions.md Infra: Add CMake presets for every platform, and one home for AI assistant skills (#9742) 2026-08-12 21:28:13 +02:00
CODE_OF_CONDUCT.md Infra: Move developer documentation to /docs (#8120) 2025-08-27 10:22:23 +02:00
CONTRIBUTING.md Infrastructure: update CONTRIBUTING.md with AI coding guidelines (#9224) 2026-04-29 06:57:35 +02:00
demo-videos.md infrastructure: document how to record before & after demo videos (#9482) 2026-07-22 09:29:30 +02:00
FUNDING.yml Infra: Move developer documentation to /docs (#8120) 2025-08-27 10:22:23 +02:00
GITHUB.md Infra: Move developer documentation to /docs (#8120) 2025-08-27 10:22:23 +02:00
libmudlet-perf-baseline.md fix: new profiles process game text about twice as fast (#9705) 2026-08-08 09:04:14 +00:00
libmudlet-widgets-report.md infrastructure: harden the Widgets audit script and refresh its baseline (#9516) 2026-07-26 18:05:59 +02:00
platform-builds.md Infra: Add CMake presets for every platform, and one home for AI assistant skills (#9742) 2026-08-12 21:28:13 +02:00
README.md Infra: Move developer documentation to /docs (#8120) 2025-08-27 10:22:23 +02:00
SUPPORT.md Infra: Move developer documentation to /docs (#8120) 2025-08-27 10:22:23 +02:00

docs Directory

This directory contains documentation files intended for developers and contributors that help manage the Mudlet project's development workflow.

Files and Their Purpose

Community & Contribution Files

  • CODE_OF_CONDUCT.md - Community standards and behavior expectations
  • CONTRIBUTING.md - Guidelines for contributing to the project
  • SUPPORT.md - Information on getting help and support
  • FUNDING.yml - Sponsorship and funding information for GitHub's sponsor button

Project Infrastructure Explanations

  • AI-ASSISTANTS.md - List of info on Mudlet left for AI assistants to find
  • GITHUB.md - List of files and their purpose in the ".github" directory
    • (Note: These are deliberately listed and explained here, and not in a .github/README.md file as that would take precendence over the /README.md file for the project.)