setup-skill
2
总安装量
2
周安装量
#69592
全站排名
安装命令
npx skills add https://github.com/maneeshanif/cli-todo-app-speckit --skill setup-skill
Agent 安装分布
opencode
2
gemini-cli
2
claude-code
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
Setup Skill
Purpose
Create and configure Python project structures following modern best practices.
Instructions
-
Create Directory Structure
mkdir -p src/package_name/{models,database,services,ui,utils} mkdir -p tests touch src/package_name/__init__.py touch src/package_name/main.py -
Create pyproject.toml
[project] name = "project-name" version = "0.1.0" description = "Project description" requires-python = ">=3.11" dependencies = [] [project.scripts] app = "package_name.main:app" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" -
Create .gitignore
__pycache__/ *.py[cod] .venv/ .env *.json !package.json .pytest_cache/ .coverage htmlcov/ dist/ build/ *.egg-info/ -
Create README.md
# Project Name ## Installation ```bash uv syncUsage
uv run app
Examples
Create a new todo app structure
mkdir -p retro_todo/{models,database,services,ui,utils}
mkdir -p tests
touch retro_todo/__init__.py
touch retro_todo/main.py
Best Practices
- Use
srclayout for packages that will be distributed - Keep flat layout for internal tools
- Always include
__init__.pyfiles - Create separate directories for different concerns
- Include proper configuration files from start