[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QZYKPD5HSVBQZ5F0SMJX5C":3,"skill-same:01M6QZYKPD5HSVBQZ5F0SMJX5C":61},{"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":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":14,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":37,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M6QZYKPD5HSVBQZ5F0SMJX5C","test",null,"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.","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\u002Ftest\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27],"verify","run","repository","tests","package","use","when","file","path","2026-11-10 10:12:30",false,"---\nname: test\ndescription: 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.\n---\n\nRun tests via Turbo or per-package.\n\nEvery package uses **Vitest**, but in different modes — check which package\nthe path belongs to, and its file name, before choosing a command.\n\nRead the owning `package.json` and test configuration before choosing a command;\nthey are authoritative if the table changes.\n\n| Package | Runner | Test files |\n|---|---|---|\n| `packages\u002Fcore` | vitest `--mode=node` (unit), `--mode=integration` (database) | `*.test.node.ts`; integration tests in `src\u002F**\u002Ftests\u002F*.test.ts` |\n| `packages\u002Flms-canvas` | vitest `--mode=node` | `*.test.node.ts` |\n| `packages\u002Flti` | none | no tests |\n| `packages\u002Fhost-tanstack-start`, `apps\u002Fgradebook`, `apps\u002Fagent` | vitest (jsdom and node) | `*.test.ts(x)` for jsdom; `*.test.node.ts(x)` for node |\n\n## Single file\n\nIf the request includes a file path, run just that file from the owning package:\n\n- `packages\u002Fcore` — `pnpm -F @modulus-learning\u002Fcore test:one \u003Cpath>`\n  for a `*.test.node.ts` file; `test:integration:one \u003Cpath>` for a file under\n  `src\u002F**\u002Ftests\u002F`.\n- `packages\u002Flms-canvas` —\n  `pnpm -F @modulus-learning\u002Flms-canvas exec vitest run --mode=node \u003Cpath>`.\n- Host, gradebook, or agent —\n  `pnpm -F \u003Cpackage-name> exec vitest run --mode=jsdom \u003Cpath>`.\n  Use `--mode=node` for a `*.test.node.ts(x)` file.\n\nPaths are relative to the owning package. Unit runs do not load `.env`. Core's\nintegration mode loads `.env.test` in its global and per-file setup, preserves\nCI-provided environment variables, and refuses databases without the `_test`\nsuffix.\n\nAlways use `vitest run` for a one-shot run — a bare `vitest` starts watch mode.\n\n## Everything\n\nIf no file path is supplied, run `pnpm test` from the root (`turbo run test`).\n\nAll workspace Vitest `test` scripts use `vitest run`. Packages with browser\ncode execute both the `jsdom` and `node` modes; core and the Canvas adapter run\n`node` only.\n`pnpm test` does **not** cover core integration tests, gradebook HTTP suites,\nor packed installations:\n\n- `pnpm test:integration` needs PostgreSQL 18 and `packages\u002Fcore\u002F.env.test`\n  (copy `.env.test.example` and initialise the test database as in `docs\u002F22-testing.md`).\n- `pnpm test:session` builds the gradebook and runs its session HTTP suite\n  against the `_test` database.\n- `pnpm -F @modulus-learning\u002Fgradebook test:contract` tests a server you start;\n  configure `CONTRACT_BASE_URL` and `CONTRACT_MODE`.\n- `pnpm run ci` runs the main CI job, including integration, session, and\n  package checks. GitHub also runs `pnpm test:packed` with\n  `FIXTURE_DATABASE_URL` set to a fresh, empty `*_test` database. Run both to\n  reproduce all hosted CI coverage.\n- `pnpm test:release` (also part of `pnpm run ci`) checks publishing guards and\n  SQL immutability in temporary repositories with mocked npm\u002Fpnpm commands;\n  it never publishes to npm or contacts GitHub.\n\nReport results clearly: pass\u002Ffail counts and any failure details.\n","Run tests via Turbo or per-package.\n\nEvery package uses **Vitest**, but in different modes — check which package\nthe path belongs to, and its file name, before choosing a command.\n\nRead the owning `package.json` and test configuration before choosing a command;\nthey are authoritative if the table changes.\n\n| Package | Runner | Test files |\n|---|---|---|\n| `packages\u002Fcore` | vitest `--mode=node` (unit), `--mode=integration` (database) | `*.test.node.ts`; integration tests in `src\u002F**\u002Ftests\u002F*.test.ts` |\n| `packages\u002Flms-canvas` | vitest `--mode=node` | `*.test.node.ts` |\n| `packages\u002Flti` | none | no tests |\n| `packages\u002Fhost-tanstack-start`, `apps\u002Fgradebook`, `apps\u002Fagent` | vitest (jsdom and node) | `*.test.ts(x)` for jsdom; `*.test.node.ts(x)` for node |\n\n## Single file\n\nIf the request includes a file path, run just that file from the owning package:\n\n- `packages\u002Fcore` — `pnpm -F @modulus-learning\u002Fcore test:one \u003Cpath>`\n  for a `*.test.node.ts` file; `test:integration:one \u003Cpath>` for a file under\n  `src\u002F**\u002Ftests\u002F`.\n- `packages\u002Flms-canvas` —\n  `pnpm -F @modulus-learning\u002Flms-canvas exec vitest run --mode=node \u003Cpath>`.\n- Host, gradebook, or agent —\n  `pnpm -F \u003Cpackage-name> exec vitest run --mode=jsdom \u003Cpath>`.\n  Use `--mode=node` for a `*.test.node.ts(x)` file.\n\nPaths are relative to the owning package. Unit runs do not load `.env`. Core's\nintegration mode loads `.env.test` in its global and per-file setup, preserves\nCI-provided environment variables, and refuses databases without the `_test`\nsuffix.\n\nAlways use `vitest run` for a one-shot run — a bare `vitest` starts watch mode.\n\n## Everything\n\nIf no file path is supplied, run `pnpm test` from the root (`turbo run test`).\n\nAll workspace Vitest `test` scripts use `vitest run`. Packages with browser\ncode execute both the `jsdom` and `node` modes; core and the Canvas adapter run\n`node` only.\n`pnpm test` does **not** cover core integration tests, gradebook HTTP suites,\nor packed installations:\n\n- `pnpm test:integration` needs PostgreSQL 18 and `packages\u002Fcore\u002F.env.test`\n  (copy `.env.test.example` and initialise the test database as in `docs\u002F22-testing.md`).\n- `pnpm test:session` builds the gradebook and runs its session HTTP suite\n  against the `_test` database.\n- `pnpm -F @modulus-learning\u002Fgradebook test:contract` tests a server you start;\n  configure `CONTRACT_BASE_URL` and `CONTRACT_MODE`.\n- `pnpm run ci` runs the main CI job, including integration, session, and\n  package checks. GitHub also runs `pnpm test:packed` with\n  `FIXTURE_DATABASE_URL` set to a fresh, empty `*_test` database. Run both to\n  reproduce all hosted CI coverage.\n- `pnpm test:release` (also part of `pnpm run ci`) checks publishing guards and\n  SQL immutability in temporary repositories with mocked npm\u002Fpnpm commands;\n  it never publishes to npm or contacts GitHub.\n\nReport results clearly: pass\u002Ffail counts and any failure details.\n",{"name":5,"description":7},"main","4e3a02778641f8ae937734bf23f7d3fc6ab8bd47",".agents\u002Fskills\u002Ftest","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":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Modulus-Learning\u002Fapp.modulus-learning.org --skill test",{"tool":47,"command":48},"bunx","bunx skills add Modulus-Learning\u002Fapp.modulus-learning.org --skill test",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Modulus-Learning\u002Fapp.modulus-learning.org --skill test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest\u002FSKILL.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"agents\u002Fopenai.yaml","REFERENCE","参考文档",180,"https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest\u002Fagents\u002Fopenai.yaml",[62,89,113,134,139,153],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":28},"01M6QZZKJ1JR9B04C9469E58VD","writing-docs","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.","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwriting-docs\u002FSKILL.md",[],[69,70,71,72,73,74,75,76,77,78,79,25,80,81,82,83,84,85,86,87,88],"writing","writing docs","docs","SET","Composition","definition","model","selection","improve","design","documents","code","architecture","api","review","documentation","notes","structure","plan","new",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":28},"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",[],[96,97,98,99,100,101,102,103,104,105,106,24,25,107,108,83,109,110,111,112],"pr","github pr","github","pull","as","branch","push","for","submit","pr description","open","number","Bash","create","work","title","linking",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":28},"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",[],[120,121,122,123,109,100,110,124,125,126,127,128,129,130,21,24,25,108,131,132,133],"git","git commit","commit","with","changes","message","argument","hint","project","conventional commit","format","user","task","read",{"skillNo":135,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":28},"01M6QZZ0Q0HZQZXFHY5VT7H3A3","https:\u002F\u002Fgithub.com\u002FModulus-Learning\u002Fapp.modulus-learning.org\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-docs\u002FSKILL.md",[],[69,70,71,72,73,74,75,76,77,78,79,25,80,81,82,83,84,85,86,87,88],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":28},"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",[],[141,146,19,147,148,149,150,24,25,151,152],"type","monorepo","Type Safety","typescript","Safety","across","check",{"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":28},"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,33,23,24,25,163,122,164,165,166,167,168,169,98,170,171,172,173,174,123],"changeset","bump","learning","patch","tags","lint","gates","publish","packages","develop","versioning","sync","npm","version","resume"]