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.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- monica-application-building-block-developmentSkill
- monica-application-microserviceSkill
- monica-application-modular-monolithSkill
- monica-applicationSkill
- monica-application-ui-developmentSkill
- monica-application-uiSkill
- monica-application-unit-testingSkill
- monica-architectureSkill
- monica-coding-standardsSkill
- monica-contributionSkill
- monica-developmentSkill
- monica-docs-authoringSkill
- monica-frameworkSkill
- monica-infra-aiSkill
- monica-infra-configurationSkill
- monica-infra-hostingSkill
- monica-infra-jobsSkill
- monica-infra-messagingSkill
- monica-infra-observabilitySkill
- monica-infra-persistenceSkill
- monica-infra-uiSkill
- monica-infra-webSkill
- monica-opentelemetrySkill
- monica-requirement-designSkill
- monica-third-party-module-developmentSkill
- monica-troubleshootingSkill
- monica-ui-auditSkill
- monica-ui-bridge-debugSkill
- monica-ui-designSkill
- monica-ui-developmentSkill
- monica-ui-localizationSkill
- monica-unit-testingSkill
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
- Distinctive: line 10
When changing the Guide implementation, use framework-development.md for engine, product, and catalog ownership.
- Very specific: line 21
Every mutating command is preview-first: it prints a plan with a planDigest, changes nothing, and only --apply --plan-digest <digest> …
- Distinctive: line 27
Start without assuming a repository or development path:
- Distinctive: line 36
When an agent needs first-party source, resolve the global binding before guessing a path, cloning, or opening a moving branch:
- Distinctive: line 42
Treat a returned path as a verified lookup location, never as write authorization.
- Very specific: line 77
Keep stable-grade releases immutable: never replace an unavailable release asset with a branch or another version.
- Distinctive: line 82
Read references/toolbox.md for intent selection, references/cli.md for the command and state contracts, references/profiles.md for profile …
≈ “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.
Files
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:
- The installed guide executable: read
executablePathfrom%LOCALAPPDATA%\Monica.Guide\installation.json(Windows;~/.local/share/Monica.Guideon Linux,~/Library/Application Support/Monica.Guideon macOS).MONICA_GUIDE_DATA_ROOToverrides the data root. - 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.
Start without assuming a repository or development path:
$monica-guide overview --json $monica-guide workspaces --jsonExplain 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.
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 --jsonTreat 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 statusand honor it:prepareallows local drafts (remote actions still need current-session approval),askrequires asking before drafting, andneverforbids issue preparation entirely. A persisted mode is never authorization for a remote action.Initialize a repository workspace after the user confirms a concrete profile:
$monica-guide init --workspace <path> --profile <application|extension-author|framework-contributor> --jsoninitwrites.monica/guide.json(including the optionalskillTargetslist of workspace-relative install directories, default.agents/skills) plus one managed instruction block in the rootAGENTS.md(and the minimal@AGENTS.mdimport inCLAUDE.mdwhen 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 withstatus --workspace <path>first; detection is a suggestion, confirmation is the user's.For
application, the unified domain/role architecture is built in. Without--capability uithe workspace is backend-only. Legacymicroservice/modular-monolithcapabilities remain accepted deployment/migration hints, not alternative project layouts. Add--capability uito 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.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.- 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. - Diagnose with
statusordoctor(add--workspacefor 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. - Before application design, implementation, refactoring, or review, load
$monica-applicationand 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
statusanddoctorinspect toolbox and installation state. For a failing application host, route, UI page, or infrastructure operation, use$monica-troubleshootingand 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
unconfigurepreview. - 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
ProjectReferencein an extension workspace is aninitblocker. 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.
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
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.

