agentleFS
TairitsuaTairitsua/Monica/skills/monica-guide/SKILL.md

monica-guide

Skill18 starsChanged 7 months agoMITView on GitHub

Explain, bootstrap, configure, diagnose, update, and route the Monica toolbox, including application specification loading, extension/framework work, skill installation, and verified source lookup.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When changing the Guide implementation, use framework-development.md for engine, product, and catalog ownership.

    line 10
  2. Very specific:

    Every mutating command is preview-first: it prints a plan with a planDigest, changes nothing, and only --apply --plan-digest <digest> …

    line 21
  3. Distinctive:

    Start without assuming a repository or development path:

    line 27
  4. Distinctive:

    When an agent needs first-party source, resolve the global binding before guessing a path, cloning, or opening a moving branch:

    line 36
  5. Distinctive:

    Treat a returned path as a verified lookup location, never as write authorization.

    line 42
  6. Very specific:

    Keep stable-grade releases immutable: never replace an unavailable release asset with a branch or another version.

    line 77
  7. Distinctive:

    Read references/toolbox.md for intent selection, references/cli.md for the command and state contracts, references/profiles.md for profile …

    line 82

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Monica Guide

The authoritative guide engine is the Monica.Guide executable (Monica.Guide.exe on Windows, Monica.Guide on Linux and macOS); this skill only teaches and routes. Locate the executable and assign it to $monica-guide, then use its overview | status | doctor | configure | unconfigure | init | forget | source <action> | issue <action> commands as the single source of truth for installation, workspace bootstrap, source lookup state, and the issue-reporting mode.

When changing the Guide implementation, use framework-development.md for engine, product, and catalog ownership.

Locating the engine

Try in order:

  1. The installed guide executable: read executablePath from %LOCALAPPDATA%\Monica.Guide\installation.json (Windows; ~/.local/share/Monica.Guide on Linux, ~/Library/Application Support/Monica.Guide on macOS). MONICA_GUIDE_DATA_ROOT overrides the data root.
  2. Inside an authorized standalone Monica.Guide checkout: dotnet run --project Monica.Guide.App --framework net10.0 -- <command> … (development form; commands and envelopes are identical).

If no client is installed, download it from https://monica.dpdns.org/downloads. The complete Guide archive includes its Framework skill bundle. Open Guide, choose the workspace and modules, review the shared skill/instruction plan, and apply it once. No separate product download or installation path is required. CLI commands also resolve the bundled payload by default; --bundle <directory> is an explicit release override. Client and module versions remain independent.

Every mutating command is preview-first: it prints a plan with a planDigest, changes nothing, and only --apply --plan-digest <digest> executes the unchanged approved plan. Exit codes are stable machine contracts: 0 ready, 1 warnings, 2 usage error, 3 errors/blockers. Prefer --json for machine parsing.

Workflow

Monica skills install into the project by default, never globally unless the user explicitly asks for a machine-wide install. The guide skill is included locally by default. The product's optional GlobalGuideSkill preference (default off, persisted in %LOCALAPPDATA%\<product>\configuration\preferences.json) keeps the guide skill global-first, so workspace closures exclude it and a workspace update removes its stale local copy instead of reinstalling one per workspace.

  1. Start without assuming a repository or development path:

    $monica-guide overview --json
    $monica-guide workspaces --json

    Explain the installed products, registered workspaces, and reasonable next actions. Ask what the user wants to do. Never force initialization on an empty, mixed, or non-Monica directory.

  2. When an agent needs first-party source, resolve the global binding before guessing a path, cloning, or opening a moving branch:

    $monica-guide source resolve --repository monica --json

    Treat a returned path as a verified lookup location, never as write authorization. Report dirty-checkout and commit-movement warnings instead of hiding the path. Bind or rebind with source bind --repository <repo> --source-path <checkout> (optionally --source-ref <tag|commit> to require an exact ref), always through preview and apply.

    Before preparing any upstream issue artifact, read the machine's issue-reporting mode with issue status and honor it: prepare allows local drafts (remote actions still need current-session approval), ask requires asking before drafting, and never forbids issue preparation entirely. A persisted mode is never authorization for a remote action.

  3. Initialize a repository workspace after the user confirms a concrete profile:

    $monica-guide init --workspace <path> --profile <application|extension-author|framework-contributor> --json

    init writes .monica/guide.json (including the optional skillTargets list of workspace-relative install directories, default .agents/skills) plus one managed instruction block in the root AGENTS.md (and the minimal @AGENTS.md import in CLAUDE.md when a Claude target is installed), and registers the workspace in the engine registry. The managed block also projects this machine's verified first-party source locators and the issue-reporting policy while their Framework managed rules are enabled for that workspace; a workspace update converges those sections with the same preview and apply. Inspect advisory detection with status --workspace <path> first; detection is a suggestion, confirmation is the user's.

    For application, the unified domain/role architecture is built in. Without --capability ui the workspace is backend-only. Legacy microservice / modular-monolith capabilities remain accepted deployment/migration hints, not alternative project layouts. Add --capability ui to include the application UI specification, development skills and shared UI mechanics. The workspace wizard exposes this optional UI capability under advanced settings. One project application spec owns both sides.

  4. Install or refresh that workspace's skills — this is the default skill flow:

    $monica-guide configure --workspace <path> --json
    $monica-guide configure --workspace <path> --apply --plan-digest <digest>

    The workspace's confirmed profile and selected capabilities select the skill closure from the release bundle's catalog; skills land in the workspace's configured project directories. unconfigure --workspace <path> removes exactly that workspace's installations; forget --workspace <path> removes the configuration, instruction block, project skill trees, and registry entry together.

  5. Global installs are explicit opt-ins only (configure --environment windows --target shared|claude), for users who want the skills in every project; never choose them on the user's behalf. The guide skill is the exception already covered above: it rides the global-first preference, and disabling that preference restores the per-workspace copy on the next update.
  6. Diagnose with status or doctor (add --workspace for repository checks). The Guide Health page checks configured modules and workspaces together; agent hosts are scanned once on the native environment when the user requests a check, and results survive page navigation. Initial setup uses bundled modules offline. The separate Updates page checks installed modules, verifies release checksums, and previews activation before updating their recorded skill projections. Framework source bindings remain a shared lookup feature.
  7. Before application design, implementation, refactoring, or review, load $monica-application and the repository-designated project specification, then the affected architecture/unit references. Follow specification evolution for a gap or new pattern. Route framework and extension work to $monica-framework, documentation work to $monica-docs-authoring, and upstream contribution preparation to $monica-contribution.

Operating rules

  • Guide status and doctor inspect toolbox and installation state. For a failing application host, route, UI page, or infrastructure operation, use $monica-troubleshooting and its owning runtime guidance.
  • One active skill release per product, recorded in the unified guide ledger; installations are keyed by environment and target root, so many project directories coexist with the global catalogs, and each is removable through its own unconfigure preview.
  • Maintain at most one global binding per first-party repository. Bindings record exact provenance (ref, commit, resolver) and remain lookup-only locators; never treat them as permission for remote or repository mutations.
  • Keep stable-grade releases immutable: never replace an unavailable release asset with a branch or another version. Offline operation uses the installed bundle and local bindings only.
  • Install downstream Monica skills only for a user-selected profile, into that project's directories by default; require explicit approval before replacing an active installation.
  • Source public bootstrap prompts only from assets/bootstrap-prompts.json. Never maintain host-, goal-, release-, or locale-specific executable prompt copies outside that manifest.
  • Extension work must consume Monica through immutable NuGet packages; a Monica ProjectReference in an extension workspace is an init blocker. Bind exact source separately as a lookup locator instead.

Read references/toolbox.md for intent selection, references/cli.md for the command and state contracts, references/profiles.md for profile source minimums, references/versioning.md for release timing, and references/safety.md for discovery, offline, privacy, and contribution constraints.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.