# Flit

> Use this skill when the user wants to build or publish Python packages to PyPI, or initialize a new Python project with modern packaging.

- Skill: `javimosch/flit` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/flit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/flit/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/flit

---


# flit Plugin

Simple way to build and publish Python packages to PyPI.

## Commands

### Build
- `flit build run` — Build a Python package

### Publish
- `flit publish run` — Build and publish to PyPI

### Init
- `flit init run` — Initialize a new Python package

## Usage Examples
- "Build this Python package"
- "Publish to PyPI"
- "Initialize a new Python project"

## Installation

```bash
pip install flit
```

## Examples

```bash
# Build package
flit build

# Publish to PyPI
flit publish

# Publish to test PyPI
flit publish --repository testpypi

# Initialize new project
flit init

# Install in development mode
flit install
```

