Skip to content

feat(skills): Add idiomatic-code skill#95

Draft
dcramer wants to merge 1 commit intomainfrom
dcramer/feat/add-idiomatic-code-skill
Draft

feat(skills): Add idiomatic-code skill#95
dcramer wants to merge 1 commit intomainfrom
dcramer/feat/add-idiomatic-code-skill

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Mar 17, 2026

Add a new idiomatic-code skill for API and interface design work.

This gives the repo a source-backed skill focused on public interface clarity,
naming, explicit behavior, and contract docs rather than generic cleanup. It is
meant to complement code-simplifier and give agents a clearer bar for code
that is easy to consume and reason about.

The skill is grounded in positive examples like oRPC, requests, HTTPX, Hono,
Remix, and better-auth, and contrast examples like ts-rest, NestJS provider
machinery, XState, Effect, and Next.js hidden mode boundaries. It also includes
transformed examples, troubleshooting guidance, and trigger sets so the skill
routes cleanly and shows how to pull magic back to plain functions and objects.

This change also registers the skill in the public inventory, Claude settings,
and the claude-settings-audit allowlist. uv run plugins/sentry-skills/skills/skill-writer/scripts/quick_validate.py plugins/sentry-skills/skills/idiomatic-code --strict-depth passes with
valid: true.

Add a source-backed skill for reviewing and rewriting public APIs,
names, and contract docs toward simple, explicit interfaces.

Ground the guidance in positive and contrast examples across
TypeScript and Python, including oRPC, requests, Remix,
better-auth, ts-rest, and Next.js. Include transformed examples,
trigger sets, and the required skill registration updates.

Co-Authored-By: OpenAI Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant