Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

prompt-5-sanity

Skill by workos

Runs a blanket sanity pass on a WorkOS SDK generated by an oagen emitter. It checks spec coverage, hand-maintained modules, docstrings and emitter policy for maintainers of WorkOS SDK generators.

  • Score 52
  • 21 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install prompt-5-sanity

Built from the published package, never by AI.

git clone --depth 1 https://github.com/workos/oagen-emitters /tmp/oagen-emitters && mkdir -p ~/.claude/skills && cp -r /tmp/oagen-emitters/.claude/skills/prompt-5-sanity ~/.claude/skills/prompt-5-sanity

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install prompt-5-sanity in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is Prompt 5 of the WorkOS lang-gen sequence. It checks that a generated SDK for one language is correct in several ways at once. The checks cover spec endpoint coverage, hand-maintained modules that must survive regeneration, docstrings and deprecation markers, and whether emitter policy stays shared across languages.

The user names an oagen emitter id such as kotlin, python or go. The skill then reads the repo's lang-gen docs and earlier prompt skills, runs emitter tests, typecheck and lint, and regenerates the SDK. It searches public names and docs for leaked tokens like Dto, DTO and Urn, and checks that regeneration does not change files on a second run. It ends with a pass or fail line for each acceptance criterion.

It is written for maintainers of WorkOS SDK generators who need to confirm a regenerated SDK and avoid drift between language emitters.

Written from the project's SKILL.md and checked against it.

What it can do

  • Spec coverage re-checkConfirms every spec operation exists on the correct mounted resource with generated test coverage.
  • Hand-maintained module checkConfirms non-spec helpers still exist, are public, are protected from regeneration, and their tests pass.
  • Docstring and naming auditSearches public files for Dto, DTO and Urn leaks and checks doc placement and deprecation markers.
  • Cross-language duplication auditLooks for emitter logic that is repeated across languages and should live in shared code or config.
  • Regeneration persistence checkRegenerates twice to confirm hand-maintained edits survive and the second run changes no files.

What you need

  • Node.js and npm for emitter tests, typecheck and lint
  • The oagen tool, run with npx
  • Access to the WorkOS spec repo and emitters repo
  • The lang-gen docs and prompt-2, prompt-3 and prompt-4 skills in the repo

Try asking

  • Run prompt-5 for kotlin
  • Do a blanket sanity pass on the go SDK
  • Audit the python SDK for Dto and Urn names in public symbols

Good to know

  • Written for the WorkOS emitter repo layout and its lang-gen docs
  • Supports only the listed emitter ids: dotnet, elixir, go, ios, kotlin, node, php, python, ruby, rust
  • Depends on earlier prompt-2, prompt-3 and prompt-4 skills being present

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/prompt-5-sanity/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to prompt-5-sanity

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

prompt-5-sanity: common questions

Which languages does prompt-5-sanity support?

The source lists dotnet, elixir, go, ios, kotlin, node, php, python, ruby and rust as oagen emitter ids. If no language is named, the skill asks which one to use.

What does the sanity pass check for leaked names?

It searches generated public files and docstrings for Dto, DTO and Urn. Hits are allowed only when the literal wire contract requires them, and the reason must be documented.

How does the skill confirm regeneration is safe?

It regenerates with hand-maintained edits in place to confirm they are untouched, then generates once more and expects zero file changes.

How do I install prompt-5-sanity?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is prompt-5-sanity free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is prompt-5-sanity safe to use?

It scores 52 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to prompt-5-sanity?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

prompt-5-sanity Install

Add to stack

Loading.