Agent skill
Writing python services
Writing a class with encapsulated logic that interfaces with an external system. Logging, APIs, etc.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/writing-python-services
SKILL.md
-
Use python 3.12+ syntax for types
- e.g.
|for unions,| Nonefor optional
- e.g.
-
No side effects in constructor
- Use
@cached_propertyand lazily evaluate properties needing IO
- Use
-
Methods use
dataclassesfor arguments and responses
Didn't find tool you were looking for?