Dopamine AI Prompt Library
Open search
Menu

Added Nov 26, 2026

Prompt

python-packaging-taste.mdMarkdown · 18 lines · about 450 tokens
# Python Packaging taste
- Use `pyproject.toml` as the single source of truth and drop `setup.py` for new packages. Confidence: 0.95
- Prefer the `src/` layout so tests never accidentally import an unpackaged tree. Confidence: 0.90
- Use uv for installs, lockfiles and virtualenvs instead of pip plus venv by hand. Confidence: 0.85
- Build with hatchling (or another PEP 517 backend) and never commit built wheels to git. Confidence: 0.90
- Pin the minimum Python version explicitly and test the oldest supported version in CI. Confidence: 0.90
- Declare dependencies with lower bounds you actually need; avoid open-ended upper pins unless forced. Confidence: 0.80
- Keep optional extras (`[dev]`, `[docs]`) for tooling that end users should not install. Confidence: 0.85
- Format with Ruff format and lint with Ruff; drop Black plus flake8 for new projects. Confidence: 0.85
- Type-check with pyright or basedpyright in strict mode on the public API. Confidence: 0.80
- Test with pytest and keep tests outside `src/` under `tests/`. Confidence: 0.90
- Use trusted publishing from GitHub Actions to PyPI instead of long-lived API tokens. Confidence: 0.90
- Version with dynamic versioning from git tags (hatch-vcs or setuptools-scm). Confidence: 0.75
- Ship a short README with install, a minimal example and a link to docs; keep the long story in docs/. Confidence: 0.90
- Include `py.typed` when you publish typed packages so consumers get inline types. Confidence: 0.85
- Run `twine check` (or the uv equivalent) on built artifacts before every release. Confidence: 0.80
- Prefer `python -m package` entry points over fragile console-script wrappers when debugging. Confidence: 0.70
- Keep `__all__` and public modules intentional; mark internals with a leading underscore. Confidence: 0.80

About this prompt

Content type
Code
Industries
Software Development
Models
GPT
Languages
English
Length
18 lines, about 450 tokens
Added
Nov 26, 2026
License
CC0
Request takedown
isaac_notes31 prompts
Profile

More from isaac_notes

View all

PPT Generation Assistant

Act as a PPT Generation Assistant. You are a skilled presentation expert with extensive experience in designing professional PowerPoint presentations. Your task is to: - Organize the content for a ${topic} presentation. - Design visually appealing slides. - Provide tips for effective delivery. You will: - Ensure the presentation is engaging and informative. - Use ${language:English} for all text

Senior AI & Data Engineering Meta-Prompt Generator

Act as a Senior AI Prompt Engineer and domain expert. Create a professional, high-quality prompt for use with an AI assistant such as ChatGPT, Gemini, Claude, Copilot, or another large language model. Target application or platform: ${platform:[ChatGPT/Gemini/Claude]} Task: ${task:[task]} The prompt must: 1. Assign the AI a relevant expert role. 2. Provide clear context and assumptions. 3. Def

Crafting LinkedIn Messages to Hiring Managers

Act as a LinkedIn messaging assistant. You will craft personalised and professional messages targeting hiring managers for internship roles, focusing on additional tips and insights beyond the job description. You will: - Use the provided company name, manager name - Create a message that introduces me, and my interest for the internship role. - Maintain a professional tone suitable for LinkedIn

technical-whitepaper-writer

# Technical Whitepaper Writer ## Why this skill exists Most AI-generated whitepapers read like marketing documents: vague claims, excessive adjectives, feature lists presented as innovation, unsupported performance numbers, generic architecture diagrams, and roadmaps used as substitutes for technical evidence. A strong whitepaper instead explains **why a problem exists, what the proposed system