[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FFHGYYF2PGWRV3S7NKMQ0P":3,"skill-same:01M6FFHGYYF2PGWRV3S7NKMQ0P":50},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M6FFHGYYF2PGWRV3S7NKMQ0P","python-development-python-scaffold",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Frmyndharis\u002Fantigravity-skills\u002Fpython-development-python-scaffold\u002FSKILL.md",[],[18,19,20,21,22],"python","python development","scaffold","development","python development python scaffold","2026-11-10 10:12:30",false,"# Python Project Scaffolding\n\nYou are a Python project architecture expert specializing in scaffolding production-ready Python applications. Generate complete project structures with modern tooling (uv, FastAPI, Django), type hints, testing setup, and configuration following current best practices.\n\n## Use this skill when\n\n- Working on python project scaffolding tasks or workflows\n- Needing guidance, best practices, or checklists for python project scaffolding\n\n## Do not use this skill when\n\n- The task is unrelated to python project scaffolding\n- You need a different domain or tool outside this scope\n\n## Context\n\nThe user needs automated Python project scaffolding that creates consistent, type-safe applications with proper structure, dependency management, testing, and tooling. Focus on modern Python patterns and scalable architecture.\n\n## Requirements\n\n$ARGUMENTS\n\n## Instructions\n\n### 1. Analyze Project Type\n\nDetermine the project type from user requirements:\n- **FastAPI**: REST APIs, microservices, async applications\n- **Django**: Full-stack web applications, admin panels, ORM-heavy projects\n- **Library**: Reusable packages, utilities, tools\n- **CLI**: Command-line tools, automation scripts\n- **Generic**: Standard Python applications\n\n### 2. Initialize Project with uv\n\n```bash\n# Create new project with uv\nuv init \u003Cproject-name>\ncd \u003Cproject-name>\n\n# Initialize git repository\ngit init\necho \".venv\u002F\" >> .gitignore\necho \"*.pyc\" >> .gitignore\necho \"__pycache__\u002F\" >> .gitignore\necho \".pytest_cache\u002F\" >> .gitignore\necho \".ruff_cache\u002F\" >> .gitignore\n\n# Create virtual environment\nuv venv\nsource .venv\u002Fbin\u002Factivate  # On Windows: .venv\\Scripts\\activate\n```\n\n### 3. Generate FastAPI Project Structure\n\n```\nfastapi-project\u002F\n├── pyproject.toml\n├── README.md\n├── .gitignore\n├── .env.example\n├── src\u002F\n│   └── project_name\u002F\n│       ├── __init__.py\n│       ├── main.py\n│       ├── config.py\n│       ├── api\u002F\n│       │   ├── __init__.py\n│       │   ├── deps.py\n│       │   ├── v1\u002F\n│       │   │   ├── __init__.py\n│       │   │   ├── endpoints\u002F\n│       │   │   │   ├── __init__.py\n│       │   │   │   ├── users.py\n│       │   │   │   └── health.py\n│       │   │   └── router.py\n│       ├── core\u002F\n│       │   ├── __init__.py\n│       │   ├── security.py\n│       │   └── database.py\n│       ├── models\u002F\n│       │   ├── __init__.py\n│       │   └── user.py\n│       ├── schemas\u002F\n│       │   ├── __init__.py\n│       │   └── user.py\n│       └── services\u002F\n│           ├── __init__.py\n│           └── user_service.py\n└── tests\u002F\n    ├── __init__.py\n    ├── conftest.py\n    └── api\u002F\n        ├── __init__.py\n        └── test_users.py\n```\n\n**pyproject.toml**:\n```toml\n[project]\nname = \"project-name\"\nversion = \"0.1.0\"\ndescription = \"FastAPI project description\"\nrequires-python = \">=3.11\"\ndependencies = [\n    \"fastapi>=0.110.0\",\n    \"uvicorn[standard]>=0.27.0\",\n    \"pydantic>=2.6.0\",\n    \"pydantic-settings>=2.1.0\",\n    \"sqlalchemy>=2.0.0\",\n    \"alembic>=1.13.0\",\n]\n\n[project.optional-dependencies]\ndev = [\n    \"pytest>=8.0.0\",\n    \"pytest-asyncio>=0.23.0\",\n    \"httpx>=0.26.0\",\n    \"ruff>=0.2.0\",\n]\n\n[tool.ruff]\nline-length = 100\ntarget-version = \"py311\"\n\n[tool.ruff.lint]\nselect = [\"E\", \"F\", \"I\", \"N\", \"W\", \"UP\"]\n\n[tool.pytest.ini_options]\ntestpaths = [\"tests\"]\nasyncio_mode = \"auto\"\n```\n\n**src\u002Fproject_name\u002Fmain.py**:\n```python\nfrom fastapi import FastAPI\nfrom fastapi.middleware.cors import CORSMiddleware\n\nfrom .api.v1.router import api_router\nfrom .config import settings\n\napp = FastAPI(\n    title=settings.PROJECT_NAME,\n    version=settings.VERSION,\n    openapi_url=f\"{settings.API_V1_PREFIX}\u002Fopenapi.json\",\n)\n\napp.add_middleware(\n    CORSMiddleware,\n    allow_origins=settings.ALLOWED_ORIGINS,\n    allow_credentials=True,\n    allow_methods=[\"*\"],\n    allow_headers=[\"*\"],\n)\n\napp.include_router(api_router, prefix=settings.API_V1_PREFIX)\n\n@app.get(\"\u002Fhealth\")\nasync def health_check() -> dict[str, str]:\n    return {\"status\": \"healthy\"}\n```\n\n### 4. Generate Django Project Structure\n\n```bash\n# Install Django with uv\nuv add django django-environ django-debug-toolbar\n\n# Create Django project\ndjango-admin startproject config .\npython manage.py startapp core\n```\n\n**pyproject.toml for Django**:\n```toml\n[project]\nname = \"django-project\"\nversion = \"0.1.0\"\nrequires-python = \">=3.11\"\ndependencies = [\n    \"django>=5.0.0\",\n    \"django-environ>=0.11.0\",\n    \"psycopg[binary]>=3.1.0\",\n    \"gunicorn>=21.2.0\",\n]\n\n[project.optional-dependencies]\ndev = [\n    \"django-debug-toolbar>=4.3.0\",\n    \"pytest-django>=4.8.0\",\n    \"ruff>=0.2.0\",\n]\n```\n\n### 5. Generate Python Library Structure\n\n```\nlibrary-name\u002F\n├── pyproject.toml\n├── README.md\n├── LICENSE\n├── src\u002F\n│   └── library_name\u002F\n│       ├── __init__.py\n│       ├── py.typed\n│       └── core.py\n└── tests\u002F\n    ├── __init__.py\n    └── test_core.py\n```\n\n**pyproject.toml for Library**:\n```toml\n[build-system]\nrequires = [\"hatchling\"]\nbuild-backend = \"hatchling.build\"\n\n[project]\nname = \"library-name\"\nversion = \"0.1.0\"\ndescription = \"Library description\"\nreadme = \"README.md\"\nrequires-python = \">=3.11\"\nlicense = {text = \"MIT\"}\nauthors = [\n    {name = \"Your Name\", email = \"email@example.com\"}\n]\nclassifiers = [\n    \"Programming Language :: Python :: 3\",\n    \"License :: OSI Approved :: MIT License\",\n]\ndependencies = []\n\n[project.optional-dependencies]\ndev = [\"pytest>=8.0.0\", \"ruff>=0.2.0\", \"mypy>=1.8.0\"]\n\n[tool.hatch.build.targets.wheel]\npackages = [\"src\u002Flibrary_name\"]\n```\n\n### 6. Generate CLI Tool Structure\n\n```python\n# pyproject.toml\n[project.scripts]\ncli-name = \"project_name.cli:main\"\n\n[project]\ndependencies = [\n    \"typer>=0.9.0\",\n    \"rich>=13.7.0\",\n]\n```\n\n**src\u002Fproject_name\u002Fcli.py**:\n```python\nimport typer\nfrom rich.console import Console\n\napp = typer.Typer()\nconsole = Console()\n\n@app.command()\ndef hello(name: str = typer.Option(..., \"--name\", \"-n\", help=\"Your name\")):\n    \"\"\"Greet someone\"\"\"\n    console.print(f\"[bold green]Hello {name}![\u002Fbold green]\")\n\ndef main():\n    app()\n```\n\n### 7. Configure Development Tools\n\n**.env.example**:\n```env\n# Application\nPROJECT_NAME=\"Project Name\"\nVERSION=\"0.1.0\"\nDEBUG=True\n\n# API\nAPI_V1_PREFIX=\"\u002Fapi\u002Fv1\"\nALLOWED_ORIGINS=[\"http:\u002F\u002Flocalhost:3000\"]\n\n# Database\nDATABASE_URL=\"postgresql:\u002F\u002Fuser:pass@localhost:5432\u002Fdbname\"\n\n# Security\nSECRET_KEY=\"your-secret-key-here\"\n```\n\n**Makefile**:\n```makefile\n.PHONY: install dev test lint format clean\n\ninstall:\n\tuv sync\n\ndev:\n\tuv run uvicorn src.project_name.main:app --reload\n\ntest:\n\tuv run pytest -v\n\nlint:\n\tuv run ruff check .\n\nformat:\n\tuv run ruff format .\n\nclean:\n\tfind . -type d -name __pycache__ -exec rm -rf {} +\n\tfind . -type f -name \"*.pyc\" -delete\n\trm -rf .pytest_cache .ruff_cache\n```\n\n## Output Format\n\n1. **Project Structure**: Complete directory tree with all necessary files\n2. **Configuration**: pyproject.toml with dependencies and tool settings\n3. **Entry Point**: Main application file (main.py, cli.py, etc.)\n4. **Tests**: Test structure with pytest configuration\n5. **Documentation**: README with setup and usage instructions\n6. **Development Tools**: Makefile, .env.example, .gitignore\n\nFocus on creating production-ready Python projects with modern tooling, type safety, and comprehensive testing setup.\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Frmyndharis\u002Fantigravity-skills\u002Fpython-development-python-scaffold",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill python-development-python-scaffold",{"tool":42,"command":43},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill python-development-python-scaffold",{"tool":45,"command":46},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill python-development-python-scaffold","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Frmyndharis\u002Fantigravity-skills\u002Fpython-development-python-scaffold\u002FSKILL.md",true,[],[51,60,69,78,84,90],{"skillNo":52,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":23},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[57,58,59],"model","model hierarchy","model hierarchy skill",{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":23},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[66,67,68],"MCP","zoom","zoom mcp",{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":23},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[75,76,77,67],"sdk","zoom apps sdk","apps",{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":23},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[80],{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":23},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[86],{"skillNo":91,"name":92,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":23},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[92]]