Agent skill
Initialize New Python Project
Setup a new python project in this directory.
Install this agent skill to your Project
npx add-skill https://github.com/boetro/dotclaude/tree/main/skills/new-python-project
SKILL.md
New python projects must use the following:
- They must use
uv. Useuv init --name=<project-name> .- If this is for a cli or other package then use
uv init --name=<project-name> --package .
- If this is for a cli or other package then use
- Setup pre-commit hooks using
pre-commit. The pre-commit hooks should includeruffcheck and formatting, andtytype checks. - All dependencies should be add using
uv addto ensure the latest versions are used. - The directory structure should contain the following:
main.py: initially binary for the project, this should be pretty minimalpyproject.toml: configured by theuv inittoolREADME.md: a brief description of the project and how to run it.gitignore: ignore files that should not be committed to git.pre-commit-config.yaml: configuration for pre-commit hooks<project-name-dir>/: directory for the project's source code<project-name-dir>/__init__.py: empty file to mark the directory as a python package
- If this is being initialized from a design or scope, create a symlink to the design or scope directory, and ensure it is git ignored.
- Always prefer async when possible
Common technologies that should be used based on the project:
- For a web server use FastAPI
- Pydantic should be used for data validation and serialization
- Typer should be used for command-line interfaces
- SQLAlchemy should be used for database interactions
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
Write to Obsidian Vault
Use this skill when the user asks to write, create, or save a note, idea, draft, list, or any other content to their Obsidian vault.
Find for designs / scopes for a project
Find relevant designs and scopes for a project. Should be used whenever a user mentions a design / scope doc for a project.
plan-iterate
Use this skill when you've added notes to a plan and want them addressed
Copy a recipe to an Obsidian vault
Given a URL to a recipe, copy it to an Obsidian vault using these rules.
plan-todos
Use this skill to add a detailed todo list to your plan
plan-implement
Use this skill to implement a plan in full, updating the plan as you go, with continuous testing
Didn't find tool you were looking for?