reitz_skill

This skill helps you design Python APIs in the Kenneth Reitz style, emphasizing simplicity, human-friendly interfaces, and meaningful defaults.
  • Python

3

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill copyleftdev/sk1llz --skill reitz

  • SKILL.md7.0 KB

Overview

This skill generates Python library and API designs in the style of Kenneth Reitz, emphasizing simplicity, readability, and developer ergonomics. It helps you craft intuitive client libraries, fluent interfaces, and rich response objects that make the common case trivial. Use it to shape APIs that feel "for humans" and pleasant to read and use.

How this skill works

The skill inspects proposed API surfaces or code samples and rewrites them to follow Reitz's principles: sensible defaults, minimal configuration, clear method names, and helpful errors. It produces idiomatic Python examples, class designs, and short guidance for return types, exceptions, and entry points. Output is focused, actionable, and ready to drop into a library or documentation.

When to use it

  • Designing a new Python client library or SDK for an API
  • Refactoring an existing public API to improve developer experience
  • Creating fluent builders, query objects, or chainable interfaces
  • Choosing default configuration and error handling strategies
  • Writing README examples that demonstrate the 90% case

Best practices

  • Make the common case require zero configuration and one obvious call
  • Prefer descriptive keyword arguments and sensible defaults
  • Return rich objects with helpful properties and repr/str implementations
  • Keep the public surface minimal; say no to rarely used features
  • Provide specific, actionable exceptions and guidance in messages

Example use cases

  • Convert a low-level HTTP wrapper into a human-friendly Client with get/post shortcuts
  • Design a fluent QueryBuilder that supports chaining and a single execute() call
  • Define rich domain objects (User, Project) that wrap raw responses and expose useful methods
  • Draft helpful configuration errors that tell users exactly how to fix setup problems
  • Create package-level shortcuts so users can use the library in one import

FAQ

No. Recommendations emphasize small, additive changes and avoid breaking existing behavior unless you provide clear migration paths.

How opinionated are the style suggestions?

They follow Reitz's "for humans" philosophy: opinionated toward simplicity, sensible defaults, and small public surfaces to improve ergonomics for most users.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
reitz skill by copyleftdev/sk1llz | VeilStrat