← スキル一覧に戻る

setup-skill
by maneeshanif
⭐ 0🍴 0📅 2025年12月7日
SKILL.md
name: setup-skill description: Initialize Python project structure with proper directory layout, configuration files, and best practices. Use when creating new projects or restructuring existing ones. allowed-tools: Bash, Write, Read, Glob
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
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です