Design Api Reviewのロゴ

Design Api Review

コミュニティ
paraskakis
design-api-review

Review an OpenAPI specification against API standards and OpenAPI best practices. Point it at a spec — a path on disk, a URL, or a GitHub repo — and it reviews against its own bundled standards and best practices unless you supply yours. Produces a divergence report (verdict per standards section, each finding citing the rule it breaks) for the user to review; fixes are applied only after the user decides. Use when user says "/design-api-review" or asks to review, audit, or check an OpenAPI spec against standards. The spec is the only required input. Does not generate a spec (that is `design-api-spec`) and does not review implementation code.

概要

公開者paraskakis
リポジトリskills
スキル名design-api-review
スター
44
フォーク
8
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    paraskakisがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルDesign Api ReviewをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/paraskakis/skills/tree/main/api/design-api-review
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/paraskakis/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/api/design-api-review .claude/skills/design-api-review
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDesign Api Reviewを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にDesign Api Reviewを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Design Api Reviewは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

API Design Review

Review an existing OpenAPI specification against an API standards file and an OpenAPI best practices file, and report every divergence with a citation to the exact rule it breaks. This is the fourth skill in Emmanuel Paraskakis's method for designing APIs with LLMs: design-api (end-to-end) → design-api-stories (requirements → stories) → design-api-spec (stories → spec) → design-api-review (spec → standards-compliance verdict). Use it on specs produced outside the method (hand-written, generated by another tool, inherited), on old specs after the standards evolve, or as an independent check on a freshly generated spec.

Review first, fix after. The deliverable is the divergence report. Do not modify the spec until the user has seen the report and said which findings to fix — some divergences are deliberate design decisions, and only the user can tell.

Scope and Routing

Triggering is defined in the frontmatter description. In scope: reviewing an existing OpenAPI spec — supplied as a path, a URL, or a GitHub repo — against a standards ruleset and an OpenAPI best-practices ruleset, defaulting to the bundled ones. Out of scope: generating a spec (use design-api-spec) and reviewing implementation code.

Inputs

Only the spec is required. Ask for it in one line. Do not open a negotiation about the other inputs — they have defaults.

Point me at the OpenAPI spec — a path on disk, a URL, or a GitHub repo. I'll review it against my own standards and OpenAPI best practices, unless you'd rather give me yours.

  1. The OpenAPI spec under review (required) — JSON or YAML, any 3.x version. Accept a path on disk, a URL to fetch, or a GitHub repo to find it in. Given a repo rather than a file, locate the spec and name the file you picked before reviewing it.
  2. API Standards (optional) — the conventions ruleset. Defaults to references/examples/API-standards.md. A user-supplied file supersedes it; identify it by a heading like # API Standards or # Style Guide.
  3. OpenAPI Best Practices (optional) — document-quality ruleset. Defaults to references/examples/OpenAPI-best-practices.md. A user-supplied file supersedes it; identify it by a heading like # OpenAPI Best Practices.
  4. Domain model and/or stories (optional) — when provided, also check the spec tells the truth about the domain (property names, enums, relations).

Identify any supplied file by its # Title heading or content, not by filename. Never ask for a ruleset the user did not mention — state which rulesets you used at the top of the report and proceed. If no spec is given, ask for it and stop.

Bundled Rulesets

references/examples/ holds the two default rulesets: API-standards.md and OpenAPI-best-practices.md. No sample spec is bundled — the spec always comes from the user.

Step 1: Read Everything

Read the spec and both rulesets completely. Build the checklist FROM the rulesets you were given, not from memory — the files win over anything you believe about API design, and they evolve. For every numbered rule in the standards and best practices, ask: does the spec comply, diverge, or is the rule not applicable?

Step 2: Sweep the Spec Against Every Standards Section

Walk the standards file section by section (typical sections below — use whatever sections the provided file actually has):

  • Casing — one convention per surface: JSON fields, query params, path segments and template params, headers, enum values. Check EVERY field, parameter, and path in the spec against the table.
  • Naming — standard vocabulary (createdAt not creationDate, bare-adjective booleans), no invented language, no over-qualification, industry-standard terms.
  • Paths & Resources — no /api or /v1 base unless specified, no trailing slashes, pluralized resources, nesting depth, item-level operations flat, every collection has a list endpoint.
  • Methods & Status Codes — 201+Location for creation, 204 for DELETE, PUT over PATCH, correct 400 vs 409, 401 vs 403, 404 semantics (never for an empty collection), 429, 500.
  • IDs & References — UUID default (deviations must be justified in the spec), <resource>Id reference fields, no URLs as references, credentials never in URLs.
  • Properties — standard attributes (id, createdAt, updatedAt) unless justified, enums over strings, open-enum tolerance, no null emission without meaning.
  • Requests & Responses — JSON only, wrapper on every collection (data + meta), totalCount present, focused response shapes, money as decimal string + currency.
  • Query Parameters & Pagination — camelCase matched case-insensitively, field=value filters, comma-separated multi-values, offset/limit with documented default and max, stable default sort, no cursor pagination unless required.
  • Errors — RFC 9457 Problem Details on application/problem+json, standard fields, field-level errors array for validation, one-try recovery quality of title/detail.
  • Rate Limiting — the headers the standards mandate, on the responses they mandate; Retry-After on 429.
  • Security — auth scheme matches the standards' allowed list (e.g. Bearer, never X-Api-Key, never Basic, never credentials in URLs), 401 defined for every authenticated operation, 403 where permissions apply.
  • Versioning & Deprecation — no version in path unless justified, deprecation headers plan if anything is deprecated.

Then sweep the best-practices file the same way (descriptions and examples everywhere, summaries + operationIds, tags, contact/license/servers, components extraction, no inline schemas, no orphans, map-structure integrity, absolute URIs, semantic completeness of operation descriptions — including whatever agent-readiness rules the file contains).

Step 3: Classify Every Finding

Three verdicts, one per finding:

  • DIVERGES — breaks a rule with no stated justification. Cite the rule (section + number), show the offending spec location, propose the concrete fix.
  • DELIBERATE — breaks a rule but the spec documents why (in a description, or the user has said so). Cite both the rule and the justification. These are surfaced, not fixed — the user may still overrule.
  • UNJUSTIFIED-DELIBERATE — the spec deviates in a way that looks intentional but carries no documented reason. The fix may be either changing the spec OR documenting the reason — user's call.

Do not pad the report: full compliance with a section is one line ("Casing: compliant"), not a table of everything that's fine.

Step 4: Report

Deliver the report in this shape:

## API Design Review: [spec title] v[version]

**Spec:** [path / URL / repo + file you picked]
**Reviewed against:** [standards file] + [best-practices file] — [bundled defaults | supplied by user]

**Verdict: [COMPLIANT | N divergences (X to fix, Y deliberate, Z to decide)]**

### Diverges (proposed fixes)
1. [Location] breaks [Standards § / rule N]: [what] → fix: [concrete change]

### Deliberate (documented, no action unless overruled)
1. [Location] deviates from [rule]: [the documented justification]

### Needs a decision
1. [Location]: [the deviation, the two options]

### Compliant sections
[one line listing them]

Order findings by severity: security and error-contract issues first, naming/cosmetic last.

Step 5: Fix (only after user review)

When the user says which findings to fix, apply them to the spec, then:

  1. Re-validate JSON and $ref integrity.
  2. If RMOA_API_KEY is available, re-lint with RateMyOpenAPI (see the design-api-spec skill, "Lint with RateMyOpenAPI") and confirm the score did not regress.
  3. Show a diff-level summary of what changed.

Key Principles

  1. The rulesets in play are the law. Review against the files you actually loaded — the user's when supplied, the bundled defaults otherwise — never against memorized API lore. If the standards file and your instincts disagree, the file wins. Name the rulesets in the report so the reader knows which law was applied.
  2. Cite or it didn't happen. Every finding names the exact rule it breaks. A finding that can't cite a rule is an opinion — leave it out or label it explicitly as a suggestion.
  3. Deliberate deviation is legitimate. Standards themselves permit deviation with good reason. The review's job is to make every deviation visible and justified, not to enforce uniformity.
  4. Report before repair. The user decides what gets fixed. Never silently "improve" a spec while reviewing it.
  5. The spec is the contract. In spec-first workflows the implementation follows the spec, so a spec error becomes a code error. Review severity reflects that.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Design Api Review」では何ができますか?

Review an OpenAPI specification against API standards and OpenAPI best practices. Point it at a spec — a path on disk, a URL, or a GitHub repo — and it reviews against its own bundled standards and best practices unless you supply yours. Produces a divergence report (verdict per standards section, each finding citing the rule it breaks) for the user to review; fixes are applied only after the user decides. Use when user says "/design-api-review" or asks to review, audit, or check an OpenAPI spec against standards. The spec is the only required input. Does not generate a spec (that is `desig...

TypingMindでDesign Api Reviewを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Design Api Reviewはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDesign Api Reviewをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/paraskakis/skills/tree/main/api/design-api-reviewを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Design Api Reviewを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Design Api Reviewは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDesign Api Reviewを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Design Api Review」は無料ですか?

はい。paraskakisがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇