Build Python Library
Implements pip-installable Python libraries from scratch using src layout, pyproject.toml, and pytest. Use when the user asks to build, create, implement, or scaffold a Python library, package, pip package, middleware, SDK, or wrapper. Covers project scaffolding, proxy/wrapper patterns, provider-agnostic interfaces, async/sync support, and test infrastructure.
Install
/plugin marketplace add npow/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add npow/claude-skills --skill build-python-librarygit clone --depth 1 https://github.com/npow/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/build-python-library ~/.claude/skills/build-python-libraryPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Build Python Library Implements pip-installable Python libraries by scaffolding the project structure, building core abstractions with adapters, and verifying each module with pytest before proceeding. ## Workflow 1. **Scaffold the project** — create src layout, pyproject.toml, package structure, and py.typed marker. See [SCAFFOLDING.md](SCAFFOLDING.md). 2. **Define the public API** — write `__init__.py` with explicit exports and `__all__`. Only types and functions users need. See [SCAFFOLDING.md](SCAFFOLDING.md). 3. **Implement core abstractions** — build protocols/ABCs, data classes, and shared types that all concrete implementations depend on. See [PATTERNS.md](PATTERNS.md). 4. **Test core abstractions** — write pytest tests for core types and protocols. Run `pytest` and verify zero failures before proceeding. See [TESTING.md](TESTING.md). 5. **Implement concrete modules** — build one module at a time (proxy wrappers, provider clients, adapters). See [PATTERNS.md](PATTERNS.md). 6. **Test each module before the next** — write tests for the module just implemented. Run `pytest` and verify zero failures before starting the next module. See [TESTING.md](TESTING.md). 7. **Install and verify** — run `pip install -e ".[dev]"` and verify the package imports correctly from a clean script. See [TESTING.md](TESTING.md).
Details
- Skill name
build-python-library- Repository
- npow/claude-skills
- Path
build-python-library/SKILL.md- License
- Apache-2.0
- Repo updated
- 20 August 2026
FAQ
What does the Build Python Library skill do?
Implements pip-installable Python libraries from scratch using src layout, pyproject.toml, and pytest. Use when the user asks to build, create, implement, or scaffold a Python library, package, pip package, middleware, SDK, or wrapper. Covers project scaffolding, proxy/wrapper patterns, provider-agnostic interfaces, async/sync support, and test infrastructure.
How do I install the Build Python Library skill?
Claude Code plugin: /plugin marketplace add npow/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Build Python Library popular?
It lives in npow/claude-skills, which has 5 GitHub stars and 1 forks.
Related skills
Autopilot
5npow/claude-skills
Use when the user says "autopilot", "build this", "make it", "ship it", "just do it", "do it", "implement this", or gives a vague idea, spec, task list, or bug fix and expects autonomous execution. Handles decomposition, agent coordination, and verification automatically. "build me end to end", "go from idea to code", "do everything", "run this autonomously". Follows the Spec-Driven Development workflow: specify → clarify → plan → tasks → analyze → implement.
Canon Design Review
5npow/claude-skills
Architecture-level design review evaluating 15 Tier 2 best practices drawn from DDD (Evans), POEAA (Fowler), Release It! (Nygard), DDIA (Kleppmann), Team Topologies (Skelton/Pais), How Buildings Learn (Brand), and Systemantics (Gall). Auto-invoke when a PR touches: - Service definitions, infrastructure code, API boundaries, or database schemas - Files matching **/architecture*, **/design*, **/api/*, **/schema*, **/migrations/* - Any directory named services/, infrastructure/, platform/, domain/, core/ Also invoke when the user says: - "design review", "architecture review", "review the design"
Canon PR Review
5npow/claude-skills
Review a PR against the top 20 Tier 2 LLM-enforceable best practices from 35 seminal software engineering books (Code Complete, Clean Code, A Philosophy of Software Design, Refactoring, Release It!, Designing Data-Intensive Applications, etc.). Produces a structured PR comment with four dimension scores (0-5 each), specific violations with line numbers, and an APPROVE / REQUEST_CHANGES / BLOCK decision. Auto-invoke when the user asks to: - "review PR", "canon review", "best practices review", "engineering standards review" - "score this PR", "check this PR against best practices" - Asks about
Working Effectively with Legacy Code
5vnovakovits/claude-skills
Apply Michael Feathers's techniques for changing code that lacks tests — characterization tests, seams (object/link/preprocessor), dependency-breaking refactorings (Sprout Method, Extract Interface, Subclass and Override, Wrap Method, Break Out Method Object), effect sketches, and the Legacy Code Change Algorithm. Use when modifying inherited code without test coverage, when adding features to brittle code, when fixing bugs in code you don't yet understand, or when carving test points out of a tightly-coupled mess.
Code Quality Trends
5npow/claude-skills
Use when checking code quality trends, tech debt accumulation, TODO/FIXME growth, test coverage ratios, PR size distribution, or generating a code quality report. Trigger phrases: code quality, code trends, tech debt trends, quality report.
Woocommerce
8Freddy-CHEN-ux/00_claude_skills
WooCommerce API and WordPress integration patterns
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.