smithery/mcclowes

omg

Use when writing or editing .omg.md files - the human-first DSL for API specification that compiles to OpenAPI 3.1

Installation

$ npx skills add smithery/mcclowes --skill omg

Also in this package

Other skills from smithery/mcclowes · top by installs.

npx skills add smithery/mcclowes

Browse all from smithery/mcclowes

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,409 B
  • docs SUMMARY.md 125 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

OMG (OpenAPI Markdown Grammar)

Quick Start

---
method: GET
path: /accounts/{accountId}
operationId: get-account
tags: [Accounts]
---
# Get Account
Returns details of a specific account.
```omg.path
{ accountId: uuid }

```omg.response { id: uuid, name: string, balance: decimal }

Core Concepts

  • .omg.md files - Markdown with YAML frontmatter, one endpoint per file
  • Code blocks: omg.path, omg.query, omg.body, omg.response, omg.response.{code}, omg.returns, omg.type
  • Types: string, integer, decimal, boolean, date, datetime, uuid, any
  • Syntax: field?: type (optional), type[] (array), "a"|"b" (enum), @min(0) (constraints)
  • Partials: @path/to/partial, {{> path/to/partial }}, or a Markdown link to a .omg.md file ([label](../partials/x.omg.md), resolved relative to the document and clickable in GitHub) for reuse

CLI

node packages/omg-md-cli/dist/cli.js build api.omg.md -o output.yaml
node packages/omg-md-cli/dist/cli.js parse endpoint.omg.md

Notes

  • Compiles to OpenAPI 3.1, ~6x reduction in lines
  • Run npm run build before using CLI