python-init
- Repo stars 0
- Author updated Live
- Author repo skills-registry
- Domain
- Other
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @tomevault-io · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- Python
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: python-init
description: > Use when this capability is needed. Scaffold a new Python project using modern conventions. Th…
category: other
runtime: Python
---
# python-init output preview
## PART A: Task fit
- Use case: > Use when this capability is needed. Scaffold a new Python project using modern conventions. The output is a ready-to-use repository with a pyproject.toml-based build, src layout, dev tooling, and runs entirely locally; runs on Python. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “What Gets Created / Step-by-Step / 1. Gather Information” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “> Use when this capability is needed. Scaffold a new Python project using modern conventions. The output is a ready-to-use repository with a pyproject.toml-based build, src layout, dev tooling, and runs entirely locally; runs on Python. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “What Gets Created / Step-by-Step / 1. Gather Information” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “What Gets Created / Step-by-Step / 1. Gather Information”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: python-init
description: > Use when this capability is needed. Scaffold a new Python project using modern conventions. Th…
category: other
source: tomevault-io/skills-registry
---
# python-init
## When to use
- > Use when this capability is needed. Scaffold a new Python project using modern conventions. The output is a ready-to…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “What Gets Created / Step-by-Step / 1. Gather Information” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "python-init" {
input -> user goal + target files + boundaries + acceptance criteria
context -> What Gets Created / Step-by-Step / 1. Gather Information
rules -> SKILL.md triggers / order / output contract
runtime -> Python | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Python Project Initializer
Scaffold a new Python project using modern conventions. The output is a ready-to-use
repository with a pyproject.toml-based build, src layout, dev tooling, and
pre-configured instructions for coding agents.
What Gets Created
<project-name>/
src/
<package_name>/
__init__.py
py.typed
tests/
__init__.py
test_placeholder.py
.github/
workflows/
ci.yaml
pyproject.toml
README.md
LICENSE
.gitignore
.python-version
CLAUDE.md
AGENTS.md
Step-by-Step
1. Gather Information
You need at minimum:
- Project name (kebab-case, used for the repo directory and package distribution name)
- Package name (snake_case, used for the importable Python package — default: project name with hyphens replaced by underscores)
- One-line description
- Python version (default:
3.11; prefer 3.11+ for modern typing syntax)
Optional:
- License (default: MIT)
- Initial dependencies
- Whether it's a CLI tool (adds a
[project.scripts]entry) - Author name and email
2. Create the Project
Read the templates in templates/ and references in references/ for content.
Adapt templates based on user answers from step 1.
Key files and their purposes:
pyproject.toml
Refer to references/pyproject-guide.md for the full annotated example. Key points:
- Use
[build-system]withhatchling(simple, standards-compliant, no setup.py needed) - Pin Python version with
requires-python - Define
[project.optional-dependencies]for dev/test/docs extras - Configure all tools (ruff, pytest, mypy) in pyproject.toml — no separate config files
CLAUDE.md
This file gives Claude Code project-specific context. Start with the template in
templates/CLAUDE.md.template, which includes:
- Build and test commands
- Project structure orientation
- Code style preferences
- Common workflows
The user should update this as the project evolves.
AGENTS.md
This file gives broader agent instructions (not Claude-specific). Start with the
template in templates/AGENTS.md.template, which includes:
- Architecture overview placeholder
- Contribution conventions
- Testing expectations
- What not to do
Github workflows
By default, we want two GitHub workflows at package initialization: ci.yaml and
python-publish.yaml. Use the templates in templates/ as a starting point, and
modify as needed.
3. Initialize Git and Install
cd <project-name>
git init
git add -A
git commit -m "Initial project scaffold"
# Create a virtual environment and install in editable mode
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
4. Create Notebook Entry
If the lab notebook is set up at ~/codebox/notebook/, create a project entry:
mkdir -p ~/codebox/notebook/projects/<project-name>/sessions
Write an initial STATUS.md and add the project to PROJECTS.md.
5. Verify
Run the following to confirm everything works:
python -c "import <package_name>; print(<package_name>.__version__)"
pytest
ruff check src/
Conventions
- Always use src layout. It prevents accidental imports from the working directory.
- Always include
py.typed. Signals PEP 561 compliance for downstream type checkers. - No setup.py, setup.cfg, or requirements.txt. Everything lives in
pyproject.toml. - Ruff for linting and formatting. Replaces black, isort, flake8, and pyflakes.
- Pytest for testing. Configured in pyproject.toml, not pytest.ini or conftest.py (conftest.py is fine for fixtures, just not config).
Source: briney/codebox — distributed by TomeVault.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review