Agent skill

API Contract Change

by RunoreLab in RunoreLab/MahoShojo-Generator

A skill your agent uses when changing API/DTO/schema/wire-format contracts, SSE/event payloads, shared protocol packages, or producer/consumer mappings across MahoShojo-Generator runtimes.

Apache-2.0Auto-check passedBackend & APIs

Install API Contract Change

skills CLI
$ npx skills add RunoreLab/MahoShojo-Generator --skill api-contract-change -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install RunoreLab/MahoShojo-Generator api-contract-change --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/RunoreLab/MahoShojo-Generator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/api-contract-change .claude/skills/api-contract-change && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
api-contract-change
GitHub stars
167
Token cost
~362 tokens
SKILL.md length
139 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when changing API/DTO/schema/wire-format contracts, SSE/event payloads, shared protocol packages, or producer/consumer mappings across MahoShojo-Generator runtimes.

  • Works in 7 steps: Locate the canonical schema/contract and… → Enumerate every producer, consumer,… → Separate internal telemetry/server… → …
  • Changing API/DTO/schema/wire-format contracts
  • SKILL.md covers Workflow and Stop / ask
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

API Contract Change is an agent skill from RunoreLab/MahoShojo-Generator. Use when changing API/DTO/schema/wire-format contracts, SSE/event payloads, shared protocol packages, or producer/consumer mappings across MahoShojo-Generator runtimes. Do not use for implementation-only changes that preserve the existing contract.

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering API design. The repository describes itself as: 基于 AI 结构化生成的个性化魔法少女角色生成器。 The licence is Apache-2.0.

When your agent uses it

  • Changing API/DTO/schema/wire-format contracts
  • SSE/event payloads
  • Shared protocol packages
  • Producer/consumer mappings across MahoShojo-Generator runtimes

Example prompts

  • “/api-contract-change”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Locate the canonical schema/contract and applicable accepted ADR/spec from the relevant docs topic.
  2. Enumerate every producer, consumer, mapper/adapter, persistence/replay path, public projection and compatibility test before editing.
  3. Separate internal telemetry/server fields from public client contracts; do not leak server-only authority or secrets through a convenience…
  4. Decide compatibility behavior explicitly: additive/backward-compatible, versioned, migration required, or intentionally breaking.
  5. Modify the canonical contract first, then synchronize producers/consumers and regenerate derived artifacts using existing repo tools.
  6. Add regression coverage at the boundary that previously allowed drift, including replay/reconnect paths when the protocol supports them.
  7. Run targeted contract/runtime tests first; expand to workspace/global verification only when shared boundaries changed.

What it can do on your machine

Read from SKILL.md and the folder at commit e7e8d4b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

API Contract Change loads about 362 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 139 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~362

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from RunoreLab/MahoShojo-Generator at commit e7e8d4b, republished under its Apache-2.0 licence (© RunoreLab). 139 words, ~362 tokens.

Download SKILL.mdSave it as .claude/skills/api-contract-change/SKILL.md (or your agent's skills folder).
name
api-contract-change
description
Use when changing API/DTO/schema/wire-format contracts, SSE/event payloads, shared protocol packages, or producer/consumer mappings across MahoShojo-Generator runtimes. Do not use for implementation-only changes that preserve the existing contract.

API Contract Change

Workflow

  1. Locate the canonical schema/contract and applicable accepted ADR/spec from the relevant docs topic.
  2. Enumerate every producer, consumer, mapper/adapter, persistence/replay path, public projection and compatibility test before editing.
  3. Separate internal telemetry/server fields from public client contracts; do not leak server-only authority or secrets through a convenience projection.
  4. Decide compatibility behavior explicitly: additive/backward-compatible, versioned, migration required, or intentionally breaking.
  5. Modify the canonical contract first, then synchronize producers/consumers and regenerate derived artifacts using existing repo tools.
  6. Add regression coverage at the boundary that previously allowed drift, including replay/reconnect paths when the protocol supports them.
  7. Run targeted contract/runtime tests first; expand to workspace/global verification only when shared boundaries changed.

Stop / ask

Ask only when the desired breaking/compatibility policy is genuinely unresolved by current accepted docs or when production migration/cutover authorization is required.

© RunoreLab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/api-contract-change of RunoreLab/MahoShojo-Generator.

Open the folder on GitHubat commit e7e8d4b

Compare with similar skills

API Contract Change next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

API Contract Change compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Contract Change this skillRunoreLab/MahoShojo-Generator167—~362Automated safety check: PassApache-2.0
API DesignerJeffallan/claude-skills12k2 repos~2kAutomated safety check: PassMIT
Nodejs Backend Patternsever-works/ever-works15818 repos~4kAutomated safety check: PassAGPL-3.0
Pangolin CRUD Endpointsfosrl/pangolin23k—~461Automated safety check: PassCustom licence
API Design Principlesjh941213/my-cc-harness12620 repos~3.4kAutomated safety check: PassNone
Backend PatternshellangleZ/burn-in-cceverywhere-ralph11217 repos~3.3kAutomated safety check: PassNone

Similar skills

  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Nodejs Backend Patterns

    ever-works/ever-works

    Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.

    158 GitHub starsUsed in 18 repos~4k tokens
    Backend & APIsAuto-check passed
  • Use whenever asked to add, create, or scaffold a CRUD endpoint, router, or entity in this repo's server (create/list/get/update/delete handlers, new…

    23k GitHub stars~461 tokensUpdated today
    Backend & APIsAuto-check passed
  • API Design Principles

    jh941213/my-cc-harness

    REST 및 GraphQL API 설계 원칙 가이드. An agent skill from jh941213/my-cc-harness.

    126 GitHub starsUsed in 20 repos~3.4k tokens
    Backend & APIsAuto-check passed
  • Backend Patterns

    hellangleZ/burn-in-cceverywhere-ralph

    Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

    112 GitHub starsUsed in 17 repos~3.3k tokens
    Backend & APIsAuto-check passed
  • API And Interface Design

    dzhalaevd/Donatello

    Guides stable API and interface design. An agent skill from dzhalaevd/Donatello.

    135 GitHub starsUsed in 9 repos~2.6k tokens
    Backend & APIsAuto-check passed

More from RunoreLab/MahoShojo-Generator

  • Code Review

    RunoreLab/MahoShojo-Generator

    A skill your agent uses when reviewing MahoShojo-Generator code, a branch, commit range, pull request, or implementation against current behavior and accepted ADR/spec requirements.

    167 GitHub stars~425 tokensUpdated today
    Auto-check passed
  • Platform Migration

    RunoreLab/MahoShojo-Generator

    A skill your agent uses for platform-rearchitecture, runtime migration, hosted/local routing changes, storage/session/DR migrations, or staged movement between old and new application boundaries in…

    167 GitHub stars~423 tokensUpdated today
    Auto-check passed
  • Release Readiness

    RunoreLab/MahoShojo-Generator

    A skill your agent uses when preparing or reviewing a MahoShojo-Generator version release, release candidate, changelog/docs readiness, deployment impact, migration notes, or final pre-release…

    167 GitHub stars~342 tokensUpdated today
    Auto-check passed

Categories

Questions about API Contract Change

What does API Contract Change do?

A skill your agent uses when changing API/DTO/schema/wire-format contracts, SSE/event payloads, shared protocol packages, or producer/consumer mappings across MahoShojo-Generator runtimes. API Contract Change is an agent skill from RunoreLab/MahoShojo-Generator. Use when changing API/DTO/schema/wire-format contracts, SSE/event payloads, shared protocol packages, or producer/consumer mappings across MahoShojo-Generator runtimes.

When should I use API Contract Change?

API Contract Change fits situations like: changing API/DTO/schema/wire-format contracts; SSE/event payloads; shared protocol packages; producer/consumer mappings across MahoShojo-Generator runtimes.

How do I install API Contract Change in Claude Code?

Run `npx skills add RunoreLab/MahoShojo-Generator --skill api-contract-change -a claude-code`. Or copy the skill folder (.agents/skills/api-contract-change in RunoreLab/MahoShojo-Generator) into .claude/skills/api-contract-change in your project. Claude Code loads it when a task matches its description.

How do I install API Contract Change in Codex?

Run `npx skills add RunoreLab/MahoShojo-Generator --skill api-contract-change -a codex`. Or copy the skill folder (.agents/skills/api-contract-change in RunoreLab/MahoShojo-Generator) into .agents/skills/api-contract-change in your project. Codex loads it when a task matches its description.

Can I use API Contract Change in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RunoreLab/MahoShojo-Generator --skill api-contract-change -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-contract-change, .gemini/skills/api-contract-change, .github/skills/api-contract-change and .opencode/skills/api-contract-change in your project.

What does API Contract Change need to run?

SKILL.md names no scripts, command-line tools or credentials: API Contract Change is instructions for the agent only.

Does API Contract Change access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is API Contract Change safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does API Contract Change use?

API Contract Change is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does API Contract Change use?

About 362 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to API Contract Change?

Skills that share tags, products or a category with API Contract Change: API Designer (Jeffallan/claude-skills, 12k stars), Nodejs Backend Patterns (ever-works/ever-works, 158 stars), Pangolin CRUD Endpoints (fosrl/pangolin, 23k stars) and API Design Principles (jh941213/my-cc-harness, 126 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Contract Change?

RunoreLab (a GitHub organization) maintains it in RunoreLab/MahoShojo-Generator, which has 167 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 8, 2026.

Source: RunoreLab/MahoShojo-Generator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.