Behaviour SwRS-MDOKFSTUDIO-CORE-074
The writing skill is packaged as an installable agent plugin
When the repository is checked, the packaging SHALL provide a Claude Code plugin and marketplace, an Agent Plugins 1.0.0 plugin.json valid against its published JSON Schema, a Codex marketplace and a GitHub Copilot marketplace catalog, all resolving to the single writing skill folder with no copy, and SHALL keep the manifests out of the VSIX.
Step 1 of path 1 in StRS-MDOKFSTUDIO-CORE-006: from “The writer installs the Studio plugin in an agent host” to “The agent reads the writing skill”.
Scenarios 2
The situations the tests check; open one to read it.
nominalOne skill tree for every host
Giventhe repository root with `plugin.json`, `.claude-plugin/plugin.json`, `.claude-plugin/marketplace.json`, `.agents/plugins/marketplace.json` and `.github/plugin/marketplace.json`
Whenthe manifests are read
Thenthey all name the plugin `markdown-okf-schema-studio`, the Claude Code and GitHub Copilot marketplaces are both named `markdown-okf-schema-studio`, the marketplaces point at the repository root, no manifest redirects the skill location, `plugin.json` validates against the pinned Agent Plugins 1.0.0 JSON Schema, and exactly one `skills/writing-for-markdown-okf-schema-studio/SKILL.md` exists
boundaryRefusals
| Input | Outcome |
|---|---|
| `plugin.json` carries a key the Agent Plugins schema does not define | the schema check fails |
| the Copilot catalog lacks `name`, `owner.name` or a plugin `name` or `source`, has a name that is not kebab-case or longer than 64 characters, a plugin description longer than 1024 characters, or a `$schema` key | the check fails (Copilot CLI `marketplace.json` reference) |
| a second `SKILL.md` of the writing skill exists in the repository | the check fails (no copy) |
| `.vscodeignore` does not exclude `plugin.json`, `.claude-plugin/**` or `.agents/**` | the check fails (the VSIX would ship them) |