[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QZZ0Q0HZQZXFHY5VT7H3A3":3,"skill-same:01M6QZZ0Q0HZQZXFHY5VT7H3A3":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":49,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6QZZ0Q0HZQZXFHY5VT7H3A3","writing-docs",null,"Use when creating, rewriting, tightening, or reviewing any Modulus documentation — the documents under docs\u002F (introduction, architecture, core composition, data model, authn\u002Fauthz, LTI, agent, deployment, security and privacy) and any per-package design notes. Trigger whenever the user asks to write, draft, improve, or review a doc; add a setup or getting-started section; document a subsystem, package, or API; or turn design notes into reference. Also use whenever a new subsystem ships and needs documenting, or a Planned document in 00-documentation-plan.md is being written. This skill encodes Modulus's documentation standard — doc-type selection, required structure, definition-before-use, runnable code examples, and house voice — so new and revised docs match the existing set rather than drifting from it.","Modulus-Learning\u002Fapp.modulus-learning.org","Modulus-Learning","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174920315?v=4","01M6QZWMTZW22FFTCF1H6RX0B9","Modulus","01M6QZWMZ371WKSJ3B6Z318W6H",1,"MPL-2.0","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-docs\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"writing docs","docs","writing","new","plan","structure","notes","documentation","review","api","architecture","code","when","documents","design","improve","selection","model","definition","Composition","SET","2026-11-10 10:12:30",false,"---\nname: writing-docs\ndescription: Use when creating, rewriting, tightening, or reviewing any Modulus documentation — the documents under docs\u002F (introduction, architecture, core composition, data model, authn\u002Fauthz, LTI, agent, deployment, security and privacy) and any per-package design notes. Trigger whenever the user asks to write, draft, improve, or review a doc; add a setup or getting-started section; document a subsystem, package, or API; or turn design notes into reference. Also use whenever a new subsystem ships and needs documenting, or a Planned document in 00-documentation-plan.md is being written. This skill encodes Modulus's documentation standard — doc-type selection, required structure, definition-before-use, runnable code examples, and house voice — so new and revised docs match the existing set rather than drifting from it.\n---\n\n# Writing Modulus docs\n\nModulus's docs are unusually good for a project this young: they orient the\nreader before explaining, define their vocabulary before using it, show real code\nfrom the repo rather than pseudocode, and are honest about what is not yet built.\n`docs\u002F09-architecture.md`, `docs\u002F10-core-composition.md`, and `docs\u002F13-lti.md` set the bar.\n\nThat makes your job specific: **match the existing set, don't drift from it.** The\nrisk here is not a bad doc, it's an inconsistent one — a new page in a different\nvoice, with different heading case, missing the closing section every other doc\nhas, or documenting an API from memory that has since changed. The bar is: a\ncompetent developer who has never seen Modulus can land on the page, know within\ntwo sentences what it is and whether it's for them, and leave able to *do* the\nthing — with working code, not paraphrase.\n\nRead this whole file before writing. Then read the relevant implementation,\nmanifests, and tests: the code and executable config are the source of truth, and\nthe doc must describe what the code actually does — not what memory or an older\ndoc suggests. Then pick a doc type, follow its skeleton, and run the self-check at\nthe end before you call it done.\n\nWhen the user provides a Markdown path, create or revise that exact file. When no\npath is provided, infer it from the request; if more than one destination is\nplausible, ask before writing. Treat the rest of the request as the documentation\nbrief. Before reporting completion, run `git diff --check`, verify relative links\nand anchors manually, and confirm `docs\u002F00-documentation-plan.md` reflects the\ndocument's current status.\n\n## Step 1 — Pick the doc type first\n\nDecide which one you're writing. The four types come from Diátaxis (diataxis.fr);\neach has a different job and a different shape, and they must not blur inside a\nsingle section.\n\n| Type | Job | Modulus examples |\n|------|-----|------------------|\n| **Tutorial** | Teach a newcomer by walking them through a guaranteed-to-work path. Learning-oriented. | the Planned \"Getting Started\" doc; the local setup path in `docs\u002F19-deployment.md` |\n| **How-to \u002F recipe** | Get a competent user to an outcome for a specific task. Assumes background. | the per-flow walkthroughs in `docs\u002F13-lti.md`, the platform-registration steps |\n| **Reference** | Let a working developer look up exact facts fast. No narrative. | the entity-group listings in `docs\u002F11-data-model.md`, the provider kinds in `docs\u002F10-core-composition.md` |\n| **Explanation** | Build understanding — the \"why\", the tradeoffs, the rejected alternatives. | `docs\u002F09-architecture.md`, `docs\u002F01-introduction.md`, `docs\u002F16-dynamic-activities.md` |\n\nThe subsystem docs (`docs\u002F13-lti.md`, `docs\u002F12-authn-authz.md`, `docs\u002F15-agent.md`,\n`docs\u002F10-core-composition.md`, `docs\u002F11-data-model.md`) are deliberately **reference +\nexplanation hybrids**. That's allowed — but section them so the two stay separate:\nan explanation part (\"how it works and why\") and a reference part (\"the exact\nsurface\"). Do not answer a \"why\" question in the middle of a lookup table, or drop\na command signature into a paragraph of rationale.\n\nIf you can't name the type in one word, the doc isn't scoped yet. Split it.\n\n## Step 2 — Use the skeleton for that type\n\nEvery doc opens with the same house wrapper; the type-specific skeleton is the\nbody that follows it.\n\n### House format (every doc)\n\nDocs under `docs\u002F` are imported and served by the CMS, so the top of the file is\nnot free-form:\n\n```markdown\n---\ntitle: \"Human-readable title\"\npath: \"url-slug\"\nsummary: \"One sentence describing what the document explains.\"\n---\n\n# Human-readable title\n```\n\n- **Write all three keys.** `title`, `path`, and `summary` are the house contract\n  (`docs\u002F00-documentation-plan.md` states it explicitly). There is no automated\n  checker in this repo, so nothing will catch a missing key for you.\n- **`path` is the published URL slug and must be unique across `docs\u002F`.** The\n  importer takes it from frontmatter; numeric filename prefixes never enter the\n  slug. For example, `09-architecture.md` has `path: \"architecture\"`, while\n  `00-documentation-plan.md` has `path: \"documentation-overview\"`. Preserve\n  existing paths when renaming or reordering files. Check the other docs with\n  `rg '^path:' docs` before choosing a new one.\n- **`summary` is one long, concrete sentence**, not a teaser — it lists what the\n  document actually covers. Match the density of the existing summaries.\n- **The front-matter `title` and the first H1 must match**, or the rendered page\n  gets a duplicate heading. Never put backticks or emphasis in the front-matter\n  title.\n- **Close with `## Where to go next`** — a short list of related documents, each\n  with a one-line reason to click. Every system and subsystem doc ends this way:\n  `ARCHITECTURE`, `CORE-COMPOSITION`, `DATA-MODEL`, `AUTHN-AUTHZ`, `LTI`,\n  `AGENT`, `DEPLOYMENT`, and `SECURITY-AND-PRIVACY` all do. (`16-dynamic-activities.md` closes\n  on an appendix — an existing exception, not licence to skip it.) This is where cross-document navigation\n  lives — link a companion rather than repeating its explanation.\n\n### Where the file goes\n\n`docs\u002F` currently uses a **flat, ordered layout**. Name files in lowercase\nkebab-case with a two-digit prefix (`NN-topic.md`):\n\n```text\ndocs\u002F00-documentation-plan.md\ndocs\u002F01-introduction.md\ndocs\u002F02-getting-started.md\ndocs\u002F03-packages.md\ndocs\u002F04-installation.md\n```\n\nThe website's Byline `byline\u002Fscripts\u002Fimport-docs.ts` sorts source paths.\nUse its `--tree` option to apply that order to the imported navigation, including\nflat root documents. Choose prefixes for reading order and update references\nacross the repository whenever a filename changes.\n\nThe importer also supports sections through `NN-section\u002Findex.md` with numbered\nchildren. Add folders when a section needs its own landing page; they are not\nrequired for the current drafts. An index becomes the parent of its folder's\ndocuments and contributes its frontmatter `path` to their canonical URLs, so\nintroducing nesting requires reviewing public URLs as well as source links.\nImport linked documents together: relative Markdown links are resolved through\nthe batch's source-path map, and targets outside the batch become plain text.\n\n`docs\u002F00-documentation-plan.md` is the index of the whole set. It organises documents\ninto three tiers — **Tier 1** system documents (orientation and architecture),\n**Tier 2** subsystem reference (one per subsystem), **Tier 3** operational and\nprocess — and marks each as **Available**, **Draft**, or **Planned**.\n\nTwo obligations follow:\n\n1. **Register the document.** A new doc gets an entry in the right tier with a\n   two-to-four-line description in the same style as its neighbours.\n2. **Update its status.** Link the actual numbered filename and describe what\n   the document covers. Mark incomplete guidance **Draft**, with a short\n   documentation-in-progress note. Detailed installation recipes remain drafts\n   until validated against a working independent installation. Use **Available**\n   for completed references and **Planned** for documents not yet written.\n\nIf the subject fits no tier, say so and ask rather than inventing one.\n\n### Checking links\n\nThere is **no `docs:check` script and no automated docs pipeline in this repo** —\nlink integrity is entirely manual. Before finishing:\n\n- Every relative link target (`](.\u002FNN-topic.md`) must be a file that exists in `docs\u002F`.\n- Every anchor (`](.\u002FNN-topic.md#some-heading`) must match a real heading in the\n  target document, including same-document anchors. Anchors are derived from the\n  heading text, so a Title Case heading like `## System Context: Three Tiers`\n  anchors as `#system-context-three-tiers`.\n- Repo-root files (`README.md`, `RELEASE-INSTRUCTIONS.md`, `CONTRIBUTING.md`) sit\n  outside `docs\u002F` and outside the CMS import set — link them as absolute GitHub\n  URLs, not as `..\u002FREADME.md`.\n\n### Tutorial\n```\n# \u003CTitle>\nOne sentence: what the reader will have built\u002Frunning by the end.\n\n## Prerequisites\nExact versions and env (Node >=22.13, pnpm, Postgres, an initialised DB). No \"recent version of X\".\n\n## Steps\nFor each step, in this order:\n  1. The command or code block (copy-paste-able, complete)\n  2. What to expect — the real output, the URL, the row that appears\n  3. One line on why this step matters (only if non-obvious)\n\n## Checkpoint\n\"You should now see …\" — a concrete, verifiable end state.\n\n## Where to go next\nLinks onward, each with a reason.\n```\nA tutorial that can fail silently is broken. Every step must be runnable as\nwritten and must tell the reader how to know it worked.\n\n### How-to \u002F recipe\n```\n# \u003CTask stated as a goal>  e.g. \"Registering a New LTI Platform\"\nOne line: what this achieves and when you'd reach for it.\n\n## Assumptions\nOne or two lines — what must already be true (a deployment registered, a keypair generated).\n\n## Recipe\nThe minimal, complete code or steps that do the job. Real Modulus APIs, not pseudocode.\n\n## Variations \u002F edge cases\nThe two or three ways real usage bends this.\n```\nA recipe is not a tutorial: assume competence, skip the hand-holding, get to the\ncode.\n\n### Reference\n```\n# \u003CSubsystem \u002F API>\nOne line: what this surface is.\n\n## \u003CEach item>\n- Signature \u002F schema \u002F table shape\n- Parameters — name, type, required?, meaning\n- Returns \u002F stored shape\n- Constraints and gotchas\n- One tiny example (2–6 lines)\n\n## Honest Notes & Open Questions\nAnything unbuilt, undecided, or known-rough, clearly fenced off.\n```\nReference is consulted, not read. Optimise for someone scanning with Cmd-F, not\nreading top to bottom. No story.\n\n### Explanation\n```\n# \u003CThe question it answers>  e.g. \"Why lazy-create activities?\"\n## The problem \u002F context\n## The design\n## The tradeoffs — including what we rejected and why\n```\nNo numbered steps. This is for understanding, so it's allowed to be discursive —\nbut it still opens by naming the question it answers.\n\n### Section conventions in the subsystem docs\n\nThe reference + explanation hybrids follow a settled shape. Match it when you add\nor revise one:\n\n1. **Orientation first.** One or two paragraphs placing the subsystem in the\n   system — often by tier (\"LTI 1.3 is the Tier 1 ↔ Tier 2 surface\") and with a\n   link to `docs\u002F09-architecture.md`. This is what a reader arriving from a search\n   result gets.\n2. **Vocabulary or conventions block** where the subsystem has its own terms —\n   `docs\u002F11-data-model.md` opens with `## Conventions`, `docs\u002F09-architecture.md` with\n   the three-tier diagram.\n3. **The detailed sections**, one concept each. Numbered flows where there is a\n   sequence (`## Flow 1 — OIDC Login (third-party initiated)` in `docs\u002F13-lti.md`).\n4. **An honest-notes section** — what is unbuilt, undecided, or rough. Most docs\n   title it `## Honest Notes & Open Questions`; `docs\u002F11-data-model.md` uses\n   `## Open Questions` and `docs\u002F21-security-and-privacy.md` uses\n   `## Open Questions \u002F Needs Institutional Policy`. Prefer the first unless the\n   doc has a reason to narrow it. Keep this convention — it is one of the best\n   things about this corpus.\n5. **`## Where to go next`** — always last.\n\n`docs\u002F13-lti.md` is the cleanest example of the full pattern.\n\n## Step 3 — Apply the universal bar (every type)\n\nNon-negotiable, whatever the type.\n\n- **Orientation in the first two sentences.** What is this, who is it for, where\n  does it sit? A reader who lands here from a search result must not have to\n  reverse-engineer the context.\n- **Define before use.** The first time a doc uses a Modulus term — the registry\n  and `AsyncRegistry`, `compose()`, the commands facade \u002F `CoreCommands`, a\n  *command* (a `CoreUtils.createCommand` callable with an auth mode and Zod\n  schemas), `RequestContext`, `RegisteredServices`, `BaseService`, the `@cached`\n  getter, the three actor domains (app \u002F admin \u002F agent), activity codes,\n  enrollment, normalized progress, page-state snapshots, lazy-create activities\n  and the allowlist, `DEPLOYMENT_MODE`, or the LTI vocabulary (OIDC login\n  initiation, resource-link launch, deep linking, platform and deployment, the\n  keystore, AGS score passback) — define it in a clause or link to the doc that\n  does. Never assume the reader arrived via the doc that would have defined it.\n- **Show, don't paraphrase.** If a point can be made in code, make it in code.\n  Examples must be real (actual Modulus APIs and types, copied from the source),\n  complete (imports where they matter), and minimal. Label the excerpt with its\n  source path in a comment, as the existing docs do:\n  `\u002F\u002F packages\u002Fcore\u002Fsrc\u002Fcore.ts`.\n- **Respect the data-isolation boundary.** No learner PII, no credentials, no\n  real LTI client or deployment IDs, no internal OSU hostnames in examples. This\n  repo is public. Use placeholders.\n- **Be honest about shipped vs unbuilt.** Keep the existing convention of naming\n  what's implemented and what's planned. Never document aspirational API as if it\n  exists. `## Honest Notes & Open Questions` is where the caveats go.\n- **Cross-link.** Every term you *don't* define here should link to the doc that\n  does. Docs are a graph, not a pile.\n- **One concept per section.** If a heading covers two ideas, split it.\n\n## Voice\n\nA doc describes what the system does, directly, for a developer evaluating or\nlearning Modulus. No metaphors, slogans, compressed fragments, or rhetorical\nflourishes, and nothing that asks the reader to infer unstated context.\n\n- **Address the reader as \"you.\"** \"You call `initCore` once\", \"read this document\n  when you are wiring a new module\" — not \"one calls\" or \"the developer calls\".\n  This is separate from naming *system* actors: the Postgres pool, the agent, and\n  the host application are named concretely and never personified, never \"you\".\n- **Do:** write clear, grammatically complete sentences; name concrete subjects —\n  \"the gradebook app\", \"core\", \"the agent\", \"the registry\" — not vague shorthand;\n  state limitations plainly; use active voice; reach for a small table or code\n  block when it makes a distinction easier to scan.\n- **Don't:** \"simply\", \"just\", \"easy\", \"powerful\", \"seamless\"; marketing\n  adjectives; metaphors and slogans; hedging (\"it might be possible to\n  perhaps…\"); undefined acronyms — expand LTI, AGS, OIDC, PKCE, DI, PII on first\n  use; a wall of prose where a list or code block is clearer.\n- **Plain English must not weaken the contract.** Simplify the wording, never the\n  meaning: keep the precise limits, boundaries, and technical qualifications\n  intact. A doc that reads easily but softens a guarantee — especially a privacy\n  or auth guarantee — is wrong.\n- **Signpost a link with a complete sentence that says what the reader will\n  find.** \"The full agent authorization flow is described in [AGENT](.\u002F15-agent.md)\"\n  — not a teaser fragment ending in a colon and a link. The same applies to\n  `## Where to go next` entries.\n\n### House mechanics\n\n- **Headings are Title Case**: `## System Context: Three Tiers`, `## The JWT\n  Layer`, `## Migrations & Seeds`. This is the settled convention across the\n  corpus — do not convert to sentence case. The one fixed exception is the\n  closing `## Where to go next`, which is sentence case in every document; keep\n  it exactly as written.\n- Em-dash (—), not a hyphen, for parenthetical breaks.\n- Code-format every file path, table name, type, and symbol:\n  `packages\u002Fcore\u002Fsrc\u002Flib\u002Fregistry.ts`, `CoreCommands`, `DEPLOYMENT_MODE`.\n- **British spelling in prose** (\"behaviour\", \"organised\", \"initialised\",\n  \"materialised\"). The exception is fixed domain terminology, which keeps its\n  established spelling — **`normalized` progress** is spelled that way throughout\n  because it is the term of art in the agent and AGS surfaces. Don't convert\n  existing text either way.\n- **Admonitions are Docusaurus-style and always carry a title**:\n  `:::note[Status]`, `:::warning[…]`, `:::tip[…]`, closed by `:::` on its own\n  line. A bare `:::note` is wrong — the title is what a reader scanning the page\n  sees, so make it say something specific. Use them sparingly; a paragraph that\n  could sit in the body should stay in the body.\n- ASCII diagrams in fenced blocks are used and welcome for structural overviews\n  (see the three-tier diagram in `docs\u002F09-architecture.md`).\n\n## Anti-patterns — what \"not first-class\" looks like here\n\nName these when reviewing; avoid them when writing.\n\n1. **In-medias-res opening** — the doc starts explaining a mechanism before\n   saying what the mechanism is for.\n2. **Undefined jargon** — `RequestContext`, the commands facade, or \"the registry\"\n   used pages before (or without ever) being defined.\n3. **Assertion without code** — \"commands validate their input and return a\n   `Result`\" with no example showing the shape.\n4. **Toy code** — invented service names and fake APIs instead of real excerpts\n   copied from `packages\u002Fcore`.\n5. **Blurred type** — a lookup table interrupted by three paragraphs of\n   rationale, or an essay that suddenly lists function signatures.\n6. **Stub-as-doc** — a heading with \"TODO\" or one hand-wavy sentence under it,\n   shipped as if complete. Use `## Honest Notes & Open Questions` instead.\n7. **Prose where a table\u002Flist wins** — parameters, options, or comparisons buried\n   in sentences.\n8. **Slogans and metaphors** — README-style flourishes dropped into a reference\n   doc. Docs describe; they don't sell.\n9. **Broken front matter** — missing `title`\u002F`path`\u002F`summary`, a `path` that\n   collides with another document, or a front-matter `title` that doesn't match\n   the first H1.\n10. **Drifting from house conventions** — sentence-case headings, a missing\n    `## Where to go next`, or a doc that never gets registered in\n    `docs\u002F00-documentation-plan.md`.\n11. **Leaking what must not be public** — learner PII, credentials, real\n    deployment IDs, or internal hostnames in an example.\n\n## Worked example\n\n**Weak (assertion without code, jargon undefined):**\n> Applications talk to core through the commands facade. Commands are validated\n> and auth-aware, and return a Result instead of throwing.\n\n**First-class (orients, defines, shows):**\n> Consuming applications never see the registry, the services, or the\n> repositories. After `compose()`, core hands back a single facade — `commands` —\n> organised into three branches, one per actor domain:\n>\n> ```ts\n> \u002F\u002F packages\u002Fcore\u002Fsrc\u002Fcore.ts\n> export type CoreCommands = {\n>   app: ReturnType\u003Ctypeof getAppCommands>\n>   admin: ReturnType\u003Ctypeof getAdminCommands>\n>   agent: ReturnType\u003Ctypeof getAgentCommands>\n> }\n> ```\n>\n> A *command* is more than a method. Defined through `CoreUtils.createCommand`\n> (`packages\u002Fcore\u002Fsrc\u002Flib\u002Futils.ts`), each command is a callable annotated with a\n> method name, an auth mode, and Zod input\u002Foutput schemas. The wrapper validates\n> input and output, establishes a logging context, and returns a `Result` rather\n> than throwing. Its first argument is always a `RequestContext` whose shape is\n> determined by the auth mode:\n>\n> ```ts\n> type AuthMode = 'none' | 'user' | 'admin' | 'agent'\n>\n> \u002F\u002F the call signature a command exposes to consumers\n> (ctx: RequestContextType[Mode], input: z.input\u003CInSchema>)\n>   => Promise\u003CResult\u003Cz.output\u003COutSchema>>>\n> ```\n>\n> The boundary between an application and core is therefore small, explicit, and\n> self-describing: a fixed set of validated, typed, auth-aware calls. See\n> [Core Composition](.\u002F10-core-composition.md) for how the facade is projected out\n> of each module registry.\n\nNote what the code does that the prose can't: it shows that the auth mode\n*determines the context type*, which is the thing a reader would otherwise guess\nwrong. When you write your own example, open the real source file and copy the\ncurrent surface — do not reconstruct it from memory.\n\n## Self-check before finishing\n\nRun this against the draft. If any answer is \"no\", fix it before delivering.\n\n- [ ] Can a stranger tell what this is and whether it's for them from the first two sentences?\n- [ ] Is the doc exactly one type (or a hybrid with cleanly separated reference\u002Fexplanation sections)?\n- [ ] Is every Modulus term defined or linked on first use, and every acronym expanded?\n- [ ] Does every \"you can do X\" claim have real, source-copied code next to it, labelled with its path?\n- [ ] Are shipped and unbuilt features clearly distinguished, with caveats under an honest-notes section?\n- [ ] Is the voice plain and direct — no slogans, metaphors, or filler words — while keeping every technical qualification intact?\n- [ ] Is the reader addressed as \"you\", with system actors still named concretely (not personified)?\n- [ ] Does the front matter carry `title`\u002F`path`\u002F`summary`, with a unique `path` and `title` matching the first H1?\n- [ ] Are headings Title Case, and does the doc end with `## Where to go next`?\n- [ ] Do all relative links point at files that exist in `docs\u002F`, and does every anchor name a heading that exists?\n- [ ] Does every admonition carry a specific title (`:::note[…]`, `:::warning[…]`)?\n- [ ] Is the numbered filename in the intended reading order, with references updated and the existing frontmatter path preserved?\n- [ ] Is the document registered in `docs\u002F00-documentation-plan.md` with its current Available, Draft, or Planned status?\n- [ ] Is the example free of PII, credentials, real deployment IDs, and internal hostnames?\n- [ ] Are code symbols, paths, commands, limits, and behavioural claims verified against the current repo, not memory?\n- [ ] Would this doc, as written, actually let someone *do the thing* without opening the source?\n\n## Gold-standard exemplars\n\nRead at least one of these before writing. A concrete exemplar calibrates tone and\ndepth better than any rule above.\n\n- **[`docs\u002F09-architecture.md`](..\u002F..\u002F..\u002Fdocs\u002F09-architecture.md) — the primary model\n  for voice and register.** Read it first. It places the system in its three-tier\n  context before any internal detail, states the constraints that drive the design\n  (the no-PII boundary, the thousands-of-concurrent-submissions requirement),\n  numbers each decision, shows real excerpts from `packages\u002Fcore` for every claim,\n  and closes with `## Where to go next`. When in doubt about tone or how much to\n  show versus tell, match this.\n- [`docs\u002F10-core-composition.md`](..\u002F..\u002F..\u002Fdocs\u002F10-core-composition.md) — the model for\n  **depth** in a reference + explanation hybrid: it takes the most distinctive\n  part of the codebase and works through it from provider kinds to compile-time\n  validation to the composition lifecycle, without ever blurring the \"how it\n  works\" and \"why it's shaped this way\" registers.\n- [`docs\u002F13-lti.md`](..\u002F..\u002F..\u002Fdocs\u002F13-lti.md) — the model for **structure** in a\n  flow-heavy subsystem doc: orientation by tier, then keys and trust, then\n  numbered flows in the order they occur, then honest notes.\n\nWhen revising an existing doc, match the exemplar it is closest to rather than\nimporting a shape from elsewhere.\n","# Writing Modulus docs\n\nModulus's docs are unusually good for a project this young: they orient the\nreader before explaining, define their vocabulary before using it, show real code\nfrom the repo rather than pseudocode, and are honest about what is not yet built.\n`docs\u002F09-architecture.md`, `docs\u002F10-core-composition.md`, and `docs\u002F13-lti.md` set the bar.\n\nThat makes your job specific: **match the existing set, don't drift from it.** The\nrisk here is not a bad doc, it's an inconsistent one — a new page in a different\nvoice, with different heading case, missing the closing section every other doc\nhas, or documenting an API from memory that has since changed. The bar is: a\ncompetent developer who has never seen Modulus can land on the page, know within\ntwo sentences what it is and whether it's for them, and leave able to *do* the\nthing — with working code, not paraphrase.\n\nRead this whole file before writing. Then read the relevant implementation,\nmanifests, and tests: the code and executable config are the source of truth, and\nthe doc must describe what the code actually does — not what memory or an older\ndoc suggests. Then pick a doc type, follow its skeleton, and run the self-check at\nthe end before you call it done.\n\nWhen the user provides a Markdown path, create or revise that exact file. When no\npath is provided, infer it from the request; if more than one destination is\nplausible, ask before writing. Treat the rest of the request as the documentation\nbrief. Before reporting completion, run `git diff --check`, verify relative links\nand anchors manually, and confirm `docs\u002F00-documentation-plan.md` reflects the\ndocument's current status.\n\n## Step 1 — Pick the doc type first\n\nDecide which one you're writing. The four types come from Diátaxis (diataxis.fr);\neach has a different job and a different shape, and they must not blur inside a\nsingle section.\n\n| Type | Job | Modulus examples |\n|------|-----|------------------|\n| **Tutorial** | Teach a newcomer by walking them through a guaranteed-to-work path. Learning-oriented. | the Planned \"Getting Started\" doc; the local setup path in `docs\u002F19-deployment.md` |\n| **How-to \u002F recipe** | Get a competent user to an outcome for a specific task. Assumes background. | the per-flow walkthroughs in `docs\u002F13-lti.md`, the platform-registration steps |\n| **Reference** | Let a working developer look up exact facts fast. No narrative. | the entity-group listings in `docs\u002F11-data-model.md`, the provider kinds in `docs\u002F10-core-composition.md` |\n| **Explanation** | Build understanding — the \"why\", the tradeoffs, the rejected alternatives. | `docs\u002F09-architecture.md`, `docs\u002F01-introduction.md`, `docs\u002F16-dynamic-activities.md` |\n\nThe subsystem docs (`docs\u002F13-lti.md`, `docs\u002F12-authn-authz.md`, `docs\u002F15-agent.md`,\n`docs\u002F10-core-composition.md`, `docs\u002F11-data-model.md`) are deliberately **reference +\nexplanation hybrids**. That's allowed — but section them so the two stay separate:\nan explanation part (\"how it works and why\") and a reference part (\"the exact\nsurface\"). Do not answer a \"why\" question in the middle of a lookup table, or drop\na command signature into a paragraph of rationale.\n\nIf you can't name the type in one word, the doc isn't scoped yet. Split it.\n\n## Step 2 — Use the skeleton for that type\n\nEvery doc opens with the same house wrapper; the type-specific skeleton is the\nbody that follows it.\n\n### House format (every doc)\n\nDocs under `docs\u002F` are imported and served by the CMS, so the top of the file is\nnot free-form:\n\n```markdown\n---\ntitle: \"Human-readable title\"\npath: \"url-slug\"\nsummary: \"One sentence describing what the document explains.\"\n---\n\n# Human-readable title\n```\n\n- **Write all three keys.** `title`, `path`, and `summary` are the house contract\n  (`docs\u002F00-documentation-plan.md` states it explicitly). There is no automated\n  checker in this repo, so nothing will catch a missing key for you.\n- **`path` is the published URL slug and must be unique across `docs\u002F`.** The\n  importer takes it from frontmatter; numeric filename prefixes never enter the\n  slug. For example, `09-architecture.md` has `path: \"architecture\"`, while\n  `00-documentation-plan.md` has `path: \"documentation-overview\"`. Preserve\n  existing paths when renaming or reordering files. Check the other docs with\n  `rg '^path:' docs` before choosing a new one.\n- **`summary` is one long, concrete sentence**, not a teaser — it lists what the\n  document actually covers. Match the density of the existing summaries.\n- **The front-matter `title` and the first H1 must match**, or the rendered page\n  gets a duplicate heading. Never put backticks or emphasis in the front-matter\n  title.\n- **Close with `## Where to go next`** — a short list of related documents, each\n  with a one-line reason to click. Every system and subsystem doc ends this way:\n  `ARCHITECTURE`, `CORE-COMPOSITION`, `DATA-MODEL`, `AUTHN-AUTHZ`, `LTI`,\n  `AGENT`, `DEPLOYMENT`, and `SECURITY-AND-PRIVACY` all do. (`16-dynamic-activities.md` closes\n  on an appendix — an existing exception, not licence to skip it.) This is where cross-document navigation\n  lives — link a companion rather than repeating its explanation.\n\n### Where the file goes\n\n`docs\u002F` currently uses a **flat, ordered layout**. Name files in lowercase\nkebab-case with a two-digit prefix (`NN-topic.md`):\n\n```text\ndocs\u002F00-documentation-plan.md\ndocs\u002F01-introduction.md\ndocs\u002F02-getting-started.md\ndocs\u002F03-packages.md\ndocs\u002F04-installation.md\n```\n\nThe website's Byline `byline\u002Fscripts\u002Fimport-docs.ts` sorts source paths.\nUse its `--tree` option to apply that order to the imported navigation, including\nflat root documents. Choose prefixes for reading order and update references\nacross the repository whenever a filename changes.\n\nThe importer also supports sections through `NN-section\u002Findex.md` with numbered\nchildren. Add folders when a section needs its own landing page; they are not\nrequired for the current drafts. An index becomes the parent of its folder's\ndocuments and contributes its frontmatter `path` to their canonical URLs, so\nintroducing nesting requires reviewing public URLs as well as source links.\nImport linked documents together: relative Markdown links are resolved through\nthe batch's source-path map, and targets outside the batch become plain text.\n\n`docs\u002F00-documentation-plan.md` is the index of the whole set. It organises documents\ninto three tiers — **Tier 1** system documents (orientation and architecture),\n**Tier 2** subsystem reference (one per subsystem), **Tier 3** operational and\nprocess — and marks each as **Available**, **Draft**, or **Planned**.\n\nTwo obligations follow:\n\n1. **Register the document.** A new doc gets an entry in the right tier with a\n   two-to-four-line description in the same style as its neighbours.\n2. **Update its status.** Link the actual numbered filename and describe what\n   the document covers. Mark incomplete guidance **Draft**, with a short\n   documentation-in-progress note. Detailed installation recipes remain drafts\n   until validated against a working independent installation. Use **Available**\n   for completed references and **Planned** for documents not yet written.\n\nIf the subject fits no tier, say so and ask rather than inventing one.\n\n### Checking links\n\nThere is **no `docs:check` script and no automated docs pipeline in this repo** —\nlink integrity is entirely manual. Before finishing:\n\n- Every relative link target (`](.\u002FNN-topic.md`) must be a file that exists in `docs\u002F`.\n- Every anchor (`](.\u002FNN-topic.md#some-heading`) must match a real heading in the\n  target document, including same-document anchors. Anchors are derived from the\n  heading text, so a Title Case heading like `## System Context: Three Tiers`\n  anchors as `#system-context-three-tiers`.\n- Repo-root files (`README.md`, `RELEASE-INSTRUCTIONS.md`, `CONTRIBUTING.md`) sit\n  outside `docs\u002F` and outside the CMS import set — link them as absolute GitHub\n  URLs, not as `..\u002FREADME.md`.\n\n### Tutorial\n```\n# \u003CTitle>\nOne sentence: what the reader will have built\u002Frunning by the end.\n\n## Prerequisites\nExact versions and env (Node >=22.13, pnpm, Postgres, an initialised DB). No \"recent version of X\".\n\n## Steps\nFor each step, in this order:\n  1. The command or code block (copy-paste-able, complete)\n  2. What to expect — the real output, the URL, the row that appears\n  3. One line on why this step matters (only if non-obvious)\n\n## Checkpoint\n\"You should now see …\" — a concrete, verifiable end state.\n\n## Where to go next\nLinks onward, each with a reason.\n```\nA tutorial that can fail silently is broken. Every step must be runnable as\nwritten and must tell the reader how to know it worked.\n\n### How-to \u002F recipe\n```\n# \u003CTask stated as a goal>  e.g. \"Registering a New LTI Platform\"\nOne line: what this achieves and when you'd reach for it.\n\n## Assumptions\nOne or two lines — what must already be true (a deployment registered, a keypair generated).\n\n## Recipe\nThe minimal, complete code or steps that do the job. Real Modulus APIs, not pseudocode.\n\n## Variations \u002F edge cases\nThe two or three ways real usage bends this.\n```\nA recipe is not a tutorial: assume competence, skip the hand-holding, get to the\ncode.\n\n### Reference\n```\n# \u003CSubsystem \u002F API>\nOne line: what this surface is.\n\n## \u003CEach item>\n- Signature \u002F schema \u002F table shape\n- Parameters — name, type, required?, meaning\n- Returns \u002F stored shape\n- Constraints and gotchas\n- One tiny example (2–6 lines)\n\n## Honest Notes & Open Questions\nAnything unbuilt, undecided, or known-rough, clearly fenced off.\n```\nReference is consulted, not read. Optimise for someone scanning with Cmd-F, not\nreading top to bottom. No story.\n\n### Explanation\n```\n# \u003CThe question it answers>  e.g. \"Why lazy-create activities?\"\n## The problem \u002F context\n## The design\n## The tradeoffs — including what we rejected and why\n```\nNo numbered steps. This is for understanding, so it's allowed to be discursive —\nbut it still opens by naming the question it answers.\n\n### Section conventions in the subsystem docs\n\nThe reference + explanation hybrids follow a settled shape. Match it when you add\nor revise one:\n\n1. **Orientation first.** One or two paragraphs placing the subsystem in the\n   system — often by tier (\"LTI 1.3 is the Tier 1 ↔ Tier 2 surface\") and with a\n   link to `docs\u002F09-architecture.md`. This is what a reader arriving from a search\n   result gets.\n2. **Vocabulary or conventions block** where the subsystem has its own terms —\n   `docs\u002F11-data-model.md` opens with `## Conventions`, `docs\u002F09-architecture.md` with\n   the three-tier diagram.\n3. **The detailed sections**, one concept each. Numbered flows where there is a\n   sequence (`## Flow 1 — OIDC Login (third-party initiated)` in `docs\u002F13-lti.md`).\n4. **An honest-notes section** — what is unbuilt, undecided, or rough. Most docs\n   title it `## Honest Notes & Open Questions`; `docs\u002F11-data-model.md` uses\n   `## Open Questions` and `docs\u002F21-security-and-privacy.md` uses\n   `## Open Questions \u002F Needs Institutional Policy`. Prefer the first unless the\n   doc has a reason to narrow it. Keep this convention — it is one of the best\n   things about this corpus.\n5. **`## Where to go next`** — always last.\n\n`docs\u002F13-lti.md` is the cleanest example of the full pattern.\n\n## Step 3 — Apply the universal bar (every type)\n\nNon-negotiable, whatever the type.\n\n- **Orientation in the first two sentences.** What is this, who is it for, where\n  does it sit? A reader who lands here from a search result must not have to\n  reverse-engineer the context.\n- **Define before use.** The first time a doc uses a Modulus term — the registry\n  and `AsyncRegistry`, `compose()`, the commands facade \u002F `CoreCommands`, a\n  *command* (a `CoreUtils.createCommand` callable with an auth mode and Zod\n  schemas), `RequestContext`, `RegisteredServices`, `BaseService`, the `@cached`\n  getter, the three actor domains (app \u002F admin \u002F agent), activity codes,\n  enrollment, normalized progress, page-state snapshots, lazy-create activities\n  and the allowlist, `DEPLOYMENT_MODE`, or the LTI vocabulary (OIDC login\n  initiation, resource-link launch, deep linking, platform and deployment, the\n  keystore, AGS score passback) — define it in a clause or link to the doc that\n  does. Never assume the reader arrived via the doc that would have defined it.\n- **Show, don't paraphrase.** If a point can be made in code, make it in code.\n  Examples must be real (actual Modulus APIs and types, copied from the source),\n  complete (imports where they matter), and minimal. Label the excerpt with its\n  source path in a comment, as the existing docs do:\n  `\u002F\u002F packages\u002Fcore\u002Fsrc\u002Fcore.ts`.\n- **Respect the data-isolation boundary.** No learner PII, no credentials, no\n  real LTI client or deployment IDs, no internal OSU hostnames in examples. This\n  repo is public. Use placeholders.\n- **Be honest about shipped vs unbuilt.** Keep the existing convention of naming\n  what's implemented and what's planned. Never document aspirational API as if it\n  exists. `## Honest Notes & Open Questions` is where the caveats go.\n- **Cross-link.** Every term you *don't* define here should link to the doc that\n  does. Docs are a graph, not a pile.\n- **One concept per section.** If a heading covers two ideas, split it.\n\n## Voice\n\nA doc describes what the system does, directly, for a developer evaluating or\nlearning Modulus. No metaphors, slogans, compressed fragments, or rhetorical\nflourishes, and nothing that asks the reader to infer unstated context.\n\n- **Address the reader as \"you.\"** \"You call `initCore` once\", \"read this document\n  when you are wiring a new module\" — not \"one calls\" or \"the developer calls\".\n  This is separate from naming *system* actors: the Postgres pool, the agent, and\n  the host application are named concretely and never personified, never \"you\".\n- **Do:** write clear, grammatically complete sentences; name concrete subjects —\n  \"the gradebook app\", \"core\", \"the agent\", \"the registry\" — not vague shorthand;\n  state limitations plainly; use active voice; reach for a small table or code\n  block when it makes a distinction easier to scan.\n- **Don't:** \"simply\", \"just\", \"easy\", \"powerful\", \"seamless\"; marketing\n  adjectives; metaphors and slogans; hedging (\"it might be possible to\n  perhaps…\"); undefined acronyms — expand LTI, AGS, OIDC, PKCE, DI, PII on first\n  use; a wall of prose where a list or code block is clearer.\n- **Plain English must not weaken the contract.** Simplify the wording, never the\n  meaning: keep the precise limits, boundaries, and technical qualifications\n  intact. A doc that reads easily but softens a guarantee — especially a privacy\n  or auth guarantee — is wrong.\n- **Signpost a link with a complete sentence that says what the reader will\n  find.** \"The full agent authorization flow is described in [AGENT](.\u002F15-agent.md)\"\n  — not a teaser fragment ending in a colon and a link. The same applies to\n  `## Where to go next` entries.\n\n### House mechanics\n\n- **Headings are Title Case**: `## System Context: Three Tiers`, `## The JWT\n  Layer`, `## Migrations & Seeds`. This is the settled convention across the\n  corpus — do not convert to sentence case. The one fixed exception is the\n  closing `## Where to go next`, which is sentence case in every document; keep\n  it exactly as written.\n- Em-dash (—), not a hyphen, for parenthetical breaks.\n- Code-format every file path, table name, type, and symbol:\n  `packages\u002Fcore\u002Fsrc\u002Flib\u002Fregistry.ts`, `CoreCommands`, `DEPLOYMENT_MODE`.\n- **British spelling in prose** (\"behaviour\", \"organised\", \"initialised\",\n  \"materialised\"). The exception is fixed domain terminology, which keeps its\n  established spelling — **`normalized` progress** is spelled that way throughout\n  because it is the term of art in the agent and AGS surfaces. Don't convert\n  existing text either way.\n- **Admonitions are Docusaurus-style and always carry a title**:\n  `:::note[Status]`, `:::warning[…]`, `:::tip[…]`, closed by `:::` on its own\n  line. A bare `:::note` is wrong — the title is what a reader scanning the page\n  sees, so make it say something specific. Use them sparingly; a paragraph that\n  could sit in the body should stay in the body.\n- ASCII diagrams in fenced blocks are used and welcome for structural overviews\n  (see the three-tier diagram in `docs\u002F09-architecture.md`).\n\n## Anti-patterns — what \"not first-class\" looks like here\n\nName these when reviewing; avoid them when writing.\n\n1. **In-medias-res opening** — the doc starts explaining a mechanism before\n   saying what the mechanism is for.\n2. **Undefined jargon** — `RequestContext`, the commands facade, or \"the registry\"\n   used pages before (or without ever) being defined.\n3. **Assertion without code** — \"commands validate their input and return a\n   `Result`\" with no example showing the shape.\n4. **Toy code** — invented service names and fake APIs instead of real excerpts\n   copied from `packages\u002Fcore`.\n5. **Blurred type** — a lookup table interrupted by three paragraphs of\n   rationale, or an essay that suddenly lists function signatures.\n6. **Stub-as-doc** — a heading with \"TODO\" or one hand-wavy sentence under it,\n   shipped as if complete. Use `## Honest Notes & Open Questions` instead.\n7. **Prose where a table\u002Flist wins** — parameters, options, or comparisons buried\n   in sentences.\n8. **Slogans and metaphors** — README-style flourishes dropped into a reference\n   doc. Docs describe; they don't sell.\n9. **Broken front matter** — missing `title`\u002F`path`\u002F`summary`, a `path` that\n   collides with another document, or a front-matter `title` that doesn't match\n   the first H1.\n10. **Drifting from house conventions** — sentence-case headings, a missing\n    `## Where to go next`, or a doc that never gets registered in\n    `docs\u002F00-documentation-plan.md`.\n11. **Leaking what must not be public** — learner PII, credentials, real\n    deployment IDs, or internal hostnames in an example.\n\n## Worked example\n\n**Weak (assertion without code, jargon undefined):**\n> Applications talk to core through the commands facade. Commands are validated\n> and auth-aware, and return a Result instead of throwing.\n\n**First-class (orients, defines, shows):**\n> Consuming applications never see the registry, the services, or the\n> repositories. After `compose()`, core hands back a single facade — `commands` —\n> organised into three branches, one per actor domain:\n>\n> ```ts\n> \u002F\u002F packages\u002Fcore\u002Fsrc\u002Fcore.ts\n> export type CoreCommands = {\n>   app: ReturnType\u003Ctypeof getAppCommands>\n>   admin: ReturnType\u003Ctypeof getAdminCommands>\n>   agent: ReturnType\u003Ctypeof getAgentCommands>\n> }\n> ```\n>\n> A *command* is more than a method. Defined through `CoreUtils.createCommand`\n> (`packages\u002Fcore\u002Fsrc\u002Flib\u002Futils.ts`), each command is a callable annotated with a\n> method name, an auth mode, and Zod input\u002Foutput schemas. The wrapper validates\n> input and output, establishes a logging context, and returns a `Result` rather\n> than throwing. Its first argument is always a `RequestContext` whose shape is\n> determined by the auth mode:\n>\n> ```ts\n> type AuthMode = 'none' | 'user' | 'admin' | 'agent'\n>\n> \u002F\u002F the call signature a command exposes to consumers\n> (ctx: RequestContextType[Mode], input: z.input\u003CInSchema>)\n>   => Promise\u003CResult\u003Cz.output\u003COutSchema>>>\n> ```\n>\n> The boundary between an application and core is therefore small, explicit, and\n> self-describing: a fixed set of validated, typed, auth-aware calls. See\n> [Core Composition](.\u002F10-core-composition.md) for how the facade is projected out\n> of each module registry.\n\nNote what the code does that the prose can't: it shows that the auth mode\n*determines the context type*, which is the thing a reader would otherwise guess\nwrong. When you write your own example, open the real source file and copy the\ncurrent surface — do not reconstruct it from memory.\n\n## Self-check before finishing\n\nRun this against the draft. If any answer is \"no\", fix it before delivering.\n\n- [ ] Can a stranger tell what this is and whether it's for them from the first two sentences?\n- [ ] Is the doc exactly one type (or a hybrid with cleanly separated reference\u002Fexplanation sections)?\n- [ ] Is every Modulus term defined or linked on first use, and every acronym expanded?\n- [ ] Does every \"you can do X\" claim have real, source-copied code next to it, labelled with its path?\n- [ ] Are shipped and unbuilt features clearly distinguished, with caveats under an honest-notes section?\n- [ ] Is the voice plain and direct — no slogans, metaphors, or filler words — while keeping every technical qualification intact?\n- [ ] Is the reader addressed as \"you\", with system actors still named concretely (not personified)?\n- [ ] Does the front matter carry `title`\u002F`path`\u002F`summary`, with a unique `path` and `title` matching the first H1?\n- [ ] Are headings Title Case, and does the doc end with `## Where to go next`?\n- [ ] Do all relative links point at files that exist in `docs\u002F`, and does every anchor name a heading that exists?\n- [ ] Does every admonition carry a specific title (`:::note[…]`, `:::warning[…]`)?\n- [ ] Is the numbered filename in the intended reading order, with references updated and the existing frontmatter path preserved?\n- [ ] Is the document registered in `docs\u002F00-documentation-plan.md` with its current Available, Draft, or Planned status?\n- [ ] Is the example free of PII, credentials, real deployment IDs, and internal hostnames?\n- [ ] Are code symbols, paths, commands, limits, and behavioural claims verified against the current repo, not memory?\n- [ ] Would this doc, as written, actually let someone *do the thing* without opening the source?\n\n## Gold-standard exemplars\n\nRead at least one of these before writing. A concrete exemplar calibrates tone and\ndepth better than any rule above.\n\n- **[`docs\u002F09-architecture.md`](..\u002F..\u002F..\u002Fdocs\u002F09-architecture.md) — the primary model\n  for voice and register.** Read it first. It places the system in its three-tier\n  context before any internal detail, states the constraints that drive the design\n  (the no-PII boundary, the thousands-of-concurrent-submissions requirement),\n  numbers each decision, shows real excerpts from `packages\u002Fcore` for every claim,\n  and closes with `## Where to go next`. When in doubt about tone or how much to\n  show versus tell, match this.\n- [`docs\u002F10-core-composition.md`](..\u002F..\u002F..\u002Fdocs\u002F10-core-composition.md) — the model for\n  **depth** in a reference + explanation hybrid: it takes the most distinctive\n  part of the codebase and works through it from provider kinds to compile-time\n  validation to the composition lifecycle, without ever blurring the \"how it\n  works\" and \"why it's shaped this way\" registers.\n- [`docs\u002F13-lti.md`](..\u002F..\u002F..\u002Fdocs\u002F13-lti.md) — the model for **structure** in a\n  flow-heavy subsystem doc: orientation by tier, then keys and trust, then\n  numbered flows in the order they occur, then honest notes.\n\nWhen revising an existing doc, match the exemplar it is closest to rather than\nimporting a shape from elsewhere.\n",{"name":5,"description":7},"main","4e3a02778641f8ae937734bf23f7d3fc6ab8bd47",".agents\u002Fskills\u002Fwriting-docs","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org","https:\u002F\u002Fmodulus-learning.org\u002F","https:\u002F\u002Fgithub.com\u002FModulus-Learning","Modulus provides activity analytics for open education.","2026-11-10 15:15:22",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add Modulus-Learning\u002Fapp.modulus-learning.org --skill writing-docs",{"tool":59,"command":60},"bunx","bunx skills add Modulus-Learning\u002Fapp.modulus-learning.org --skill writing-docs",{"tool":62,"command":63},"pnpm","pnpm dlx skills add Modulus-Learning\u002Fapp.modulus-learning.org --skill writing-docs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-docs\u002FSKILL.md",true,[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"agents\u002Fopenai.yaml","REFERENCE","参考文档",196,"https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-docs\u002Fagents\u002Fopenai.yaml",[74,79,104,126,141,153],{"skillNo":75,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":40},"01M6QZZKJ1JR9B04C9469E58VD","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwriting-docs\u002FSKILL.md",[],[21,19,20,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,22],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":40},"01M6QZZEWMRNZKH8NSX0MXB650","github-pr","Open or update a GitHub pull request for the current branch — use when asked to create a PR, open a pull request, submit work for review, or push and PR. Handles branch naming, issue linking, and the PR description. Accepts an optional issue number or title hint as an argument.","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgithub-pr\u002FSKILL.md",[],[86,87,88,89,90,91,92,93,94,95,96,97,31,98,99,27,100,101,102,103],"pr","github pr","github","pull","as","branch","push","for","submit","pr description","open","use","number","Bash","create","work","title","linking",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":40},"01M6QZZATRQ5FFTJNJGP1NGYTZ","git-commit","Create a git commit in this repository using the project's conventional commit format. Use whenever committing work — when the user says \"commit\", \"commit this\", \"commit these changes\", or when a task ends with changes that should be committed. Accepts an optional message hint as an argument.","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgit-commit\u002FSKILL.md",[],[111,112,113,114,100,90,101,115,116,117,118,119,120,121,122,97,31,99,123,124,125],"git","git commit","commit","with","changes","message","argument","hint","project","conventional commit","format","repository","user","task","read",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":40},"01M6QZYPQ20JS27DDYZFY3Z6WE","typecheck","Use when asked to typecheck, check TypeScript, or verify type safety across the monorepo.","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypecheck\u002FSKILL.md",[],[128,133,134,135,136,137,138,97,31,139,140],"type","verify","monorepo","Type Safety","typescript","Safety","across","check",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":40},"01M6QZYKPD5HSVBQZ5F0SMJX5C","test","Use when asked to run or verify tests in this repository. Run one test when a file path is supplied, or the package test suites when no path is supplied.","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest\u002FSKILL.md",[],[143,134,148,122,149,150,97,31,151,152],"run","tests","package","file","path",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":40},"01M6QZYF4FRX0C0QZX5JEMKKM0","release","Use when asked to release or publish the @modulus-learning\u002F* packages. Runs the lockstep changeset, versioning, gates, lint, release commit, npm publish and per-package tags, stable main sync, and umbrella GitHub release. Accepts patch, minor, major, or resume with a version and release commit.","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frelease\u002FSKILL.md",[],[155,160,161,162,45,150,97,31,163,113,164,165,166,167,168,169,88,170,171,172,173,174,114],"changeset","bump","learning","patch","tags","lint","gates","publish","packages","develop","versioning","sync","npm","version","resume"]