mbtorch-docs

Generate and update MbTorch documentation for README, API reference, and examples.

1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/c-tomioka/mbtorch --skill mbtorch-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mbtorch-docs
Source: https://github.com/c-tomioka/mbtorch/tree/main/.claude/skills/mbtorch-docs
Command: npx skills add https://github.com/c-tomioka/mbtorch --skill mbtorch-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps MbTorch documentation synchronized with code changes so README, API reference, and examples remain accurate and actionable for users and contributors.

Core Features & Use Cases

  • Documentation coordination: Identify which artifacts (README.md, docs/, examples/) require updates after new or modified public APIs, removals, or behavioral changes.
  • Style and example guidance: Provide consistent, copy-pasteable code examples, clear migration templates for breaking changes, and concise tone/style rules for README and docs.
  • Developer-facing workflows: Recommend when to update contributor guides or examples and how to present breaking-change Before/After and migration instructions.

Quick Start

Use this skill to update README.md, docs pages, and example README files whenever you add, change, or remove a public API or add a new example.

Frequently Asked Questions about mbtorch-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep documentation synchronized with API changes in my repository?

To keep documentation synchronized with API changes, you need to update README files, API references, and examples whenever public APIs are added, modified, or removed. This ensures docs remain accurate and aligned with the latest code modifications.

What is the best way to document breaking changes for developers?

The best way to document breaking changes is to provide Before/After migration sections with copyable code examples. This demonstrates the old behavior versus the new implementation, helping developers understand and adapt to signature modifications quickly.

How do I generate copyable code examples for technical documentation?

To generate copyable code examples for technical documentation, you create concise, runnable snippets that demonstrate public API usage. These examples should be placed in the examples directory and updated whenever new examples are added or existing APIs change.

When do I need to update my README and API reference files?

You need to update your README and API reference files when repository-level changes occur, specifically when adding new public APIs, changing function signatures, removing features, or adding new runnable examples to the examples directory.

Can I automate doc generation for new public APIs without manual review?

Doc generation for new public APIs identifies which artifacts require updates and provides consistent style guidance. However, you should review the generated README content, migration templates, and code examples to ensure they accurately reflect complex behavioral changes.

Why does my API reference show outdated function signatures after code updates?

Your API reference shows outdated function signatures because documentation was not updated alongside code modifications. Applying documentation updates to docs pages and README files after signature changes ensures technical references stay accurate and actionable.