Skip to content
@api-commons

API Commons

This is the working group for API Commons

API Commons

Open, machine-readable API operations — openly governed under apicommons.org.

Spotlight Rules

An openly-governed, progressive build of the Spectral API linter — current on security, faster on cadence, with a real ruleset specification, a curated rule catalog, and first-class editor, app, and CI surfaces. Start at spotlight-rules.com.

The suite

Project What it is
spotlight-cli The linter engine + CLI — a maintained Spectral fork. npm i -g @spotlight-rules/spotlight-cli
spotlight-spec The standalone ruleset format + JSON Schema (2020-12), and the rule catalog.
spotlight-vscode Lint-on-save / lint-on-type in VS Code.
spotlight-validator Browser governance workbench — lint, tag-filter, AI-fix, utilities. Try it ↗
spotlight-discovery Browser artifact registry — search, provenance, save / commit / PR. Try it ↗
spotlight-api OpenAPI-first HTTP service over the engine (POST /lint).
spotlight-mcp MCP server exposing linting + rulesets to AI clients.
spotlight-pipeline Governance-gate CI for GitHub / GitLab / Bitbucket / Azure / AWS.

The rule catalog

One curated catalog of 733 rules across 12 artifact types (OpenAPI, AsyncAPI, Arazzo, JSON Schema, JSON Structure, JSON-LD, APIs.json, MCP, Plans, Rate-Limits, FinOps, Agent Skills). Every rule carries a Title Case title, namespaced tags (format: / spec: / experience: / topic: / owasp:), a canonical reference, and an AI prompt that fixes the rule. Rules ship at info by default — educate first, raise to warn/error to enforce. Browse them in the rule explorer.

Get started

  • Lint anywherespotlight-rules.com/start routes you to the right surface (CLI, editor, browser, HTTP, AI, or CI).
  • Coming from Spectral? Your spectral: rulesets and .spectral.* files keep working alongside the spotlight: aliases.

Latest release: 1.1.0 — all 11 @spotlight-rules/* packages on npm. Contributing, the script contract, and the release runbook live in CONTRIBUTING.md and RELEASE.md.

Spotlight is a fork of the open-source Stoplight Spectral codebase (Apache-2.0; attribution preserved throughout).

Naming map: GitHub org api-commons · npm scope @spotlight-rules · site spotlight-rules.com.

Popular repositories Loading

  1. api-commons api-commons Public

    This is a repo for the API Commons project.

    HTML 10 1

  2. json-api json-api Public

    This is for managing all JSON:API related artifacts.

    2

  3. train-travel train-travel Public

    This is the repository for managing the APIs.json for the Train Travel API template.

    1

  4. change-log change-log Public

    Managing the Change Log schema as part of the API Commons.

    1

  5. vocabulary vocabulary Public

    Managing the vocabulary as part of API operations.

    1

  6. plans plans Public

    This is the repo for managing the plans schema.

    1

Repositories

Showing 10 of 29 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…