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.
Generate API contracts, shared TypeScript types, and infrastructure resource definitions from Gherkin scenarios and test files.
$ npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install EmeaAppGbb/spec2cloud contract-generation --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/EmeaAppGbb/spec2cloud.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/contract-generation .claude/skills/contract-generation && rm -rf skills-srcUse ~/.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/
Install the "contract-generation" agent skill from https://github.com/EmeaAppGbb/spec2cloud/tree/vNext/.github/skills/contract-generation into .claude/skills/contract-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "contract-generation", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/EmeaAppGbb/spec2cloud/tree/vNext/.github/skills/contract-generationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install EmeaAppGbb/spec2cloud contract-generation --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EmeaAppGbb/spec2cloud.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/contract-generation .agents/skills/contract-generation && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "contract-generation" agent skill from https://github.com/EmeaAppGbb/spec2cloud/tree/vNext/.github/skills/contract-generation into .agents/skills/contract-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "contract-generation", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install EmeaAppGbb/spec2cloud contract-generation --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EmeaAppGbb/spec2cloud.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/contract-generation .cursor/skills/contract-generation && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "contract-generation" agent skill from https://github.com/EmeaAppGbb/spec2cloud/tree/vNext/.github/skills/contract-generation into .cursor/skills/contract-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "contract-generation", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/EmeaAppGbb/spec2cloud.git --path .github/skills/contract-generation--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install EmeaAppGbb/spec2cloud contract-generation --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EmeaAppGbb/spec2cloud.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/contract-generation .gemini/skills/contract-generation && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "contract-generation" agent skill from https://github.com/EmeaAppGbb/spec2cloud/tree/vNext/.github/skills/contract-generation into .gemini/skills/contract-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "contract-generation", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install EmeaAppGbb/spec2cloud contract-generationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/EmeaAppGbb/spec2cloud.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/contract-generation .github/skills/contract-generation && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "contract-generation" agent skill from https://github.com/EmeaAppGbb/spec2cloud/tree/vNext/.github/skills/contract-generation into .github/skills/contract-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "contract-generation", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install EmeaAppGbb/spec2cloud contract-generation --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EmeaAppGbb/spec2cloud.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/contract-generation .opencode/skills/contract-generation && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "contract-generation" agent skill from https://github.com/EmeaAppGbb/spec2cloud/tree/vNext/.github/skills/contract-generation into .opencode/skills/contract-generation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "contract-generation", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
contract-generationGenerate API contracts, shared TypeScript types, and infrastructure resource definitions from Gherkin scenarios and test files.
Contract Generation is an agent skill from EmeaAppGbb/spec2cloud. Generate API contracts, shared TypeScript types, and infrastructure resource definitions from Gherkin scenarios and test files. Produce the stable foundation for parallel frontend/backend implementation. Use when generating contracts, creating shared types, defining API specs, or updating infrastructure requirements per increment.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/schemas.md`).
It sits in Backend & APIs, covering API design, Type safety and OpenAPI specifications. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 8e76618. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Contract Generation loads about 1.6k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 675 words of instructions outside code blocks.
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.
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.
The full file from EmeaAppGbb/spec2cloud at commit 8e76618, republished under its MIT licence (© EmeaAppGbb). 675 words, ~1,641 tokens.
.claude/skills/contract-generation/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.You are the contract generation agent. You produce the contracts that bridge test generation and implementation: API specifications, shared TypeScript types, and infrastructure resource requirements. Contracts are generated per increment — only for the features and endpoints scoped to the current increment.
Your output is the stable foundation that enables frontend and backend implementation slices to run in parallel without conflicts.
specs/increment-plan.mdspecs/frd-*.md)specs/features/*.feature).spec2cloud/state.json| Artifact | Location | Cardinality |
|---|---|---|
| API contracts | specs/contracts/api/{feature-id}.yaml | One per feature |
| Shared TypeScript types | src/shared/types/{feature-id}.ts | One per feature |
| Infrastructure contract | specs/contracts/infra/resources.yaml | Single file |
For each feature, produce an API contract in specs/contracts/api/{feature-id}.yaml:
POST /api/auth/register)references/schemas.md).For each feature, produce shared types in src/shared/types/{feature-id}.ts:
RegisterRequest, LoginRequest)RegisterResponse, UserProfile)User, Session)UserRole, ErrorCode)any types, explicit null/undefined handling.Produce a single infrastructure contract at specs/contracts/infra/resources.yaml:
Microsoft.App/containerApps)infra/ Bicep templates.See references/schemas.md for the full infrastructure contract YAML format.
After generating all contracts, verify:
| Check | What to verify |
|---|---|
| Completeness | Every Gherkin scenario maps to at least one API endpoint |
| Consistency | Request/response types in API contracts match shared TypeScript types |
| Test alignment | Test files reference endpoints and types that exist in the contracts |
| Infra coverage | Every service (API, Web) has a corresponding infrastructure resource |
| No conflicts | Endpoint paths don't collide across features; type names are unique or namespaced |
After completing contract generation for a feature:
{
"contracts": {
"api": {
"{feature-id}": {
"status": "done",
"specFile": "specs/contracts/api/{feature-id}.yaml"
}
},
"sharedTypes": {
"{feature-id}": {
"status": "done",
"outputFiles": ["src/shared/types/{feature-id}.ts"]
}
}
}
}After completing the infrastructure contract:
{
"contracts": {
"infra": {
"status": "done",
"specFile": "specs/contracts/infra/resources.yaml"
}
}
}Append to .spec2cloud/audit.log:
[ISO-timestamp] increment={id} step=contracts action=contracts-generated result=doneThe orchestrator MUST verify ALL of the following before marking contract-generation as complete:
specs/contracts/api/ for every endpoint in the incrementsrc/shared/types/ cover all data structures used across API and Webspecs/contracts/infra/resources.yaml is updated with any NEW infrastructure needs for this increment (new Azure resources, new model deployments, new env vars)infra/resources.yaml (per-resource env_vars) and specs/tech-stack.md (per-increment map)BLOCKING: If any item is unchecked, the skill has NOT completed successfully. The orchestrator must loop back and complete the missing items before advancing to implementation.
© EmeaAppGbb, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .github/skills/contract-generation of EmeaAppGbb/spec2cloud.
Open the folder on GitHubat commit 8e76618
Contract Generation 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Contract Generation this skillEmeaAppGbb/spec2cloud | 100 | — | ~1.6k | Automated safety check: Pass | MIT | |
| API DesignerJeffallan/claude-skills | 12k | 2 repos | ~2k | Automated safety check: Pass | MIT | |
| Old Coder API DesignAmazingAng/old-coder | 749 | 1 repos | ~3.4k | Automated safety check: Pass | MIT | |
| API Surface Reviewpolarsource/polar | 10k | — | ~1.3k | Automated safety check: Pass | MIT | |
| API ContractChenyCHENYU/Robot_Admin | 1k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Designing APIsCloudAI-X/opencode-workflow | 275 | 1 repos | ~2.2k | Automated safety check: Pass | MIT |
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.
AmazingAng/old-coder
Reviews or designs an HTTP/JSON API's endpoints, auth, pagination, versioning and deprecations, guarding against inventing a bespoke interface or silently breaking consumers.
polarsource/polar
Review changes to Polar's API contract — Pydantic schemas, FastAPI endpoints, OpenAPI output and the generated SDKs.
ChenyCHENYU/Robot_Admin
A skill your agent uses when: generating TypeScript API layer (type definitions + request functions) from page-spec JSON or Swagger/OpenAPI docs.
CloudAI-X/opencode-workflow
Guides REST and GraphQL API design, endpoint patterns, request/response schemas, versioning, and API best practices.
UKGovernmentBEIS/inspect_ai
Land a PR that requires a coordinated ts-mono submodule change.
EmeaAppGbb/spec2cloud
Provision Azure infrastructure, deploy to Azure Container Apps, and verify via smoke tests.
EmeaAppGbb/spec2cloud
Create Domain-Driven Design proposals from product specs or brownfield extraction outputs.
EmeaAppGbb/spec2cloud
Write application code to make failing tests pass using contract-driven, slice-based architecture.
EmeaAppGbb/spec2cloud
Review PRDs and FRDs through product and technical lenses. An agent skill from EmeaAppGbb/spec2cloud.
EmeaAppGbb/spec2cloud
Read, write, and maintain .spec2cloud/state.json across phases and increments.
EmeaAppGbb/spec2cloud
Identify, research, and resolve every technology needed by the application.
Categories
Generate API contracts, shared TypeScript types, and infrastructure resource definitions from Gherkin scenarios and test files. Contract Generation is an agent skill from EmeaAppGbb/spec2cloud. Generate API contracts, shared TypeScript types, and infrastructure resource definitions from Gherkin scenarios and test files.
Contract Generation fits situations like: generating contracts; creating shared types; defining API specs; updating infrastructure requirements per increment.
Run `npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a claude-code`. Or copy the skill folder (.github/skills/contract-generation in EmeaAppGbb/spec2cloud) into .claude/skills/contract-generation in your project. Claude Code loads it when a task matches its description.
Run `npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a codex`. Or copy the skill folder (.github/skills/contract-generation in EmeaAppGbb/spec2cloud) into .agents/skills/contract-generation in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add EmeaAppGbb/spec2cloud --skill contract-generation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/contract-generation, .gemini/skills/contract-generation, .github/skills/contract-generation and .opencode/skills/contract-generation in your project.
SKILL.md names no scripts, command-line tools or credentials: Contract Generation is instructions for the agent only.
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.
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.
Contract Generation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Contract Generation: API Designer (Jeffallan/claude-skills, 12k stars), Old Coder API Design (AmazingAng/old-coder, 749 stars), API Surface Review (polarsource/polar, 10k stars) and API Contract (ChenyCHENYU/Robot_Admin, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
EmeaAppGbb (a GitHub organization) maintains it in EmeaAppGbb/spec2cloud, which has 100 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on April 16, 2026.
Source: EmeaAppGbb/spec2cloud on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.