docs-updater
Keeps the Canvus docs site (docs-site/) synchronized with SDK source code changes.
Skill by BrianAA
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/brianaa-docs-updater
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/docs-updater
What's inside
- Skill name
docs-updater- Description
- Keeps the Canvus docs site (docs-site/) synchronized with SDK source code changes. Use this skill after any code change to update documentation pages, track coverage, and maintain the changelog.
- License
- MIT
- Instructions
- 158 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (2)
- SKILL.md
- coverage-manifest.md · resources/
SKILL.md (first lines)
# Documentation Site Maintenance & Synchronization This skill ensures the Nextra documentation site at `docs-site/` stays in sync with the SDK source code in `src/`. It tracks documentation coverage, enforces update rules, and maintains a changelog. ## Use this skill when - Adding, modifying, or removing **public exports** in `src/index.ts` - Changing **type definitions**, interfaces, or enums in `src/types.ts` - Modifying **interaction behaviors** (gestures, resize, drag, selection) - Adding new **operation types** or modifying payload schemas - Creating new **modules or features** in `src/` - Updating **demo capabilities** in `demo/` - After any PR or significant code change session ## Do not use this skill when - Making internal refactors that don't alter the public API surface - Fixing CSS in the demo page - Updating build tooling or CI configuration --- ## Step 1: Check the Coverage Manifest Read the coverage manifest at [`skills/docs-updater/resources/coverage-manifest.md`](file:///Users/balfaro01/Documents/GitHub/canvus/skills/docs-updater/resources/coverage-manifest.md). This file maps every public export in `src/index.ts` to its documentation page in `docs-site/pages/`. It tracks: - ✅ **Documented** — Export is covered with description, signature, and example - ⚠️ **Outdated** — Export exists in docs but may be stale (signature changed, behavior updated) - ❌ **Missing** — Export has no documentation page coverage **After any code change**, compare the current `src/index.ts` exports against the manifest. If new exports appear or signatures change, flag them. --- ## Step 2: Update Documentation Pages ### Source → Docs Site Mapping | Source Module | Docs Page | What to Sync | |--------------|-----------|-------------| | `src/types.ts` | `docs-site/pages/sdk/types.mdx` | Interfaces, enums, constants, factory functions | | `src/matrix.ts` | `docs-site/pages/sdk/matrix.mdx` | Coordinate math, zoom, pan, hit testing | | `src/shadow-mount.ts` | `docs-site/pages/concepts/shadow-dom.mdx` | Mount lifecycle, style injection, extractHTML | | `src/tree.ts` | `docs-site/pages/concepts/workspace.mdx` | NodeTree mutations, hierarchy, cycle detection | | `src/layout.ts` | `docs-site/pages/sdk/layout.mdx` | Display detection, flex/grid analysis, child slots | | `src/renderer.ts` | `docs-site/pages/sdk/renderer.mdx` | Overlay drawing, guides, badges, spacing adjusters | | `src/drop-zone.ts` | `docs-site/pages/sdk/drop-zone.mdx` | Drop target calculation, insertion indicators | | `src/workspace.ts` | `docs-site/pages/sdk/workspace-api.mdx` | All public Workspace methods and callbacks | | `src/workspace.ts` | `docs-site/pages/sdk/configuration.mdx` | WorkspaceConfig, WorkspaceCallbacks | ### Sync Rules 1. **New public export** → Add to the appropriate docs page with: - TypeScript signature - Parameter table - Brief description - Code example (when useful) 2. **Changed signature** → Update the docs page and mark the change in the changelog 3. **New operation type** → Update both: - `docs-site/pages/sdk/types.mdx` (OperationType enum) - `docs-site/pages/guides/operations.mdx` (payload schema + example) 4. **New interaction behavior** → Update: - `docs-site/pages/concepts/canvas-overlay.mdx` (if visual) - `docs-site/pages/guides/layout-system.mdx` (if selection/drag) 5. **New ADR** → Create `docs-site/pages/architecture/adr/NNNN-slug.mdx` and add to `docs-site/pages/architecture/adr/_meta.js` 6. **New module** → Add a new page in the appropriate section and update the section's `_meta.js` --- ## Step 3: Update the Changelog After making documentation or code changes, add an entry to [`CHANGELOG.md`](file:///Users/balfaro01/Documents/GitHub/canvus/CHANGELOG.md) in the project root. ### Changelog Format ```markdown ## [Unreleased] ### Added - New feature or export ### Changed - Modified behavior or API ### Fixed - Bug fix ### Documented - New or updated documentation page ### Removed - Deprecated feature or export ``` ### Rules - Group entries under the current `[Unreleased]` heading - When releasing, rename `[Unreleased]` to `[vX.Y.Z] - YYYY-MM-DD` - Always tag documentation updates under `### Documented` - Reference the specific docs page that was updated --- ## Step 4: Run Validation ```bash npm run docs:validate ``` This checks: - All `src/index.ts` exports are referenced in docs - No broken internal links in markdown files - ADR index is complete
From BrianAA/canvus, MIT.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 11, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/BrianAA/canvus
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from BrianAA
Cite this page
docs-updater skill. Agent Mart. https://agentmart.dev/skills/brianaa-docs-updater (last updated 2026-10-24)