Initialize a new project from the Python template by renaming packages, updating metadata, and cleaning up documentation. Use when starting a new project, "bootstrapping" from this template, or setting up a fresh repository.
This skill automates the initial setup of a new project derived from this template. It leverages AI capabilities to directly modify project metadata and documentation by replacing placeholders, ensuring a clean start for a new repository.
my-awesome-app)Your Name <[email protected]>)Write or StrReplace tools:
pyproject.toml: Update project.name, project.description, and project.authors.tool.hatch.build.targets.wheel.packages to match the new source directory.src/your_package to the new package name (e.g., ).src/my_awesome_appyour_package.StrReplace tool to replace the placeholders in README.md with the gathered information:
{PROJECT_NAME} -> New project name{PROJECT_DESCRIPTION} -> Project descriptionmake setup to initialize the environment and update uv.lock.Input: User says "Initialize this project as 'json-fixer', a CLI tool to fix broken JSON files." Action:
pyproject.toml with the new metadata.src/your_package to src/json_fixer.StrReplace on README.md to swap placeholders with actual values.make setup.