[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M714C82TDV5RJ1GQHDPKW891":3,"skill-same:01M714C82TDV5RJ1GQHDPKW891":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":14,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":70},"01M714C82TDV5RJ1GQHDPKW891","python-fastapi-development",null,"Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic, authentication, and production API patterns.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fpython-fastapi-development\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"python","development","fastapi development","python fastapi","fastapi","python fastapi development","backend","fastapi backend","2026","with","sqlalchemy","patterns","async","personal","api","api patterns","Pydantic","authentication","workflow","safe","2026-11-10 10:12:30",false,"---\nname: python-fastapi-development\ndescription: \"Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic, authentication, and production API patterns.\"\ncategory: granular-workflow-bundle\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# Python\u002FFastAPI Development Workflow\n\n## Overview\n\nSpecialized workflow for building production-ready Python backends with FastAPI, featuring async patterns, SQLAlchemy ORM, Pydantic validation, and comprehensive API patterns.\n\n## When to Use This Workflow\n\nUse this workflow when:\n- Building new REST APIs with FastAPI\n- Creating async Python backends\n- Implementing database integration with SQLAlchemy\n- Setting up API authentication\n- Developing microservices\n\n## Workflow Phases\n\n### Phase 1: Project Setup\n\n#### Skills to Invoke\n- `app-builder` - Application scaffolding\n- `python-development-python-scaffold` - Python scaffolding\n- `fastapi-templates` - FastAPI templates\n- `uv-package-manager` - Package management\n\n#### Actions\n1. Set up Python environment (uv\u002Fpoetry)\n2. Create project structure\n3. Configure FastAPI app\n4. Set up logging\n5. Configure environment variables\n\n#### Copy-Paste Prompts\n```\nUse @fastapi-templates to scaffold a new FastAPI project\n```\n\n```\nUse @python-development-python-scaffold to set up Python project structure\n```\n\n### Phase 2: Database Setup\n\n#### Skills to Invoke\n- `prisma-expert` - Prisma ORM (alternative)\n- `database-design` - Schema design\n- `postgresql` - PostgreSQL setup\n- `pydantic-models-py` - Pydantic models\n\n#### Actions\n1. Design database schema\n2. Set up SQLAlchemy models\n3. Create database connection\n4. Configure migrations (Alembic)\n5. Set up session management\n\n#### Copy-Paste Prompts\n```\nUse @database-design to design PostgreSQL schema\n```\n\n```\nUse @pydantic-models-py to create Pydantic models for API\n```\n\n### Phase 3: API Routes\n\n#### Skills to Invoke\n- `fastapi-router-py` - FastAPI routers\n- `api-design-principles` - API design\n- `api-patterns` - API patterns\n\n#### Actions\n1. Design API endpoints\n2. Create API routers\n3. Implement CRUD operations\n4. Add request validation\n5. Configure response models\n\n#### Copy-Paste Prompts\n```\nUse @fastapi-router-py to create API endpoints with CRUD operations\n```\n\n```\nUse @api-design-principles to design RESTful API\n```\n\n### Phase 4: Authentication\n\n#### Skills to Invoke\n- `auth-implementation-patterns` - Authentication\n- `api-security-best-practices` - API security\n\n#### Actions\n1. Choose auth strategy (JWT, OAuth2)\n2. Implement user registration\n3. Set up login endpoints\n4. Create auth middleware\n5. Add password hashing\n\n#### Copy-Paste Prompts\n```\nUse @auth-implementation-patterns to implement JWT authentication\n```\n\n### Phase 5: Error Handling\n\n#### Skills to Invoke\n- `fastapi-pro` - FastAPI patterns\n- `error-handling-patterns` - Error handling\n\n#### Actions\n1. Create custom exceptions\n2. Set up exception handlers\n3. Implement error responses\n4. Add request logging\n5. Configure error tracking\n\n#### Copy-Paste Prompts\n```\nUse @fastapi-pro to implement comprehensive error handling\n```\n\n### Phase 6: Testing\n\n#### Skills to Invoke\n- `python-testing-patterns` - pytest testing\n- `api-testing-observability-api-mock` - API testing\n\n#### Actions\n1. Set up pytest\n2. Create test fixtures\n3. Write unit tests\n4. Implement integration tests\n5. Configure test database\n\n#### Copy-Paste Prompts\n```\nUse @python-testing-patterns to write pytest tests for FastAPI\n```\n\n### Phase 7: Documentation\n\n#### Skills to Invoke\n- `api-documenter` - API documentation\n- `openapi-spec-generation` - OpenAPI specs\n\n#### Actions\n1. Configure OpenAPI schema\n2. Add endpoint documentation\n3. Create usage examples\n4. Set up API versioning\n5. Generate API docs\n\n#### Copy-Paste Prompts\n```\nUse @api-documenter to generate comprehensive API documentation\n```\n\n### Phase 8: Deployment\n\n#### Skills to Invoke\n- `deployment-engineer` - Deployment\n- `docker-expert` - Containerization\n\n#### Actions\n1. Create Dockerfile\n2. Set up docker-compose\n3. Configure production settings\n4. Set up reverse proxy\n5. Deploy to cloud\n\n#### Copy-Paste Prompts\n```\nUse @docker-expert to containerize FastAPI application\n```\n\n## Technology Stack\n\n| Category | Technology |\n|----------|------------|\n| Framework | FastAPI |\n| Language | Python 3.11+ |\n| ORM | SQLAlchemy 2.0 |\n| Validation | Pydantic v2 |\n| Database | PostgreSQL |\n| Migrations | Alembic |\n| Auth | JWT, OAuth2 |\n| Testing | pytest |\n\n## Quality Gates\n\n- [ ] All tests passing (>80% coverage)\n- [ ] Type checking passes (mypy)\n- [ ] Linting clean (ruff, black)\n- [ ] API documentation complete\n- [ ] Security scan passed\n- [ ] Performance benchmarks met\n\n## Related Workflow Bundles\n\n- `development` - General development\n- `database` - Database operations\n- `security-audit` - Security testing\n- `api-development` - API patterns\n","# Python\u002FFastAPI Development Workflow\n\n## Overview\n\nSpecialized workflow for building production-ready Python backends with FastAPI, featuring async patterns, SQLAlchemy ORM, Pydantic validation, and comprehensive API patterns.\n\n## When to Use This Workflow\n\nUse this workflow when:\n- Building new REST APIs with FastAPI\n- Creating async Python backends\n- Implementing database integration with SQLAlchemy\n- Setting up API authentication\n- Developing microservices\n\n## Workflow Phases\n\n### Phase 1: Project Setup\n\n#### Skills to Invoke\n- `app-builder` - Application scaffolding\n- `python-development-python-scaffold` - Python scaffolding\n- `fastapi-templates` - FastAPI templates\n- `uv-package-manager` - Package management\n\n#### Actions\n1. Set up Python environment (uv\u002Fpoetry)\n2. Create project structure\n3. Configure FastAPI app\n4. Set up logging\n5. Configure environment variables\n\n#### Copy-Paste Prompts\n```\nUse @fastapi-templates to scaffold a new FastAPI project\n```\n\n```\nUse @python-development-python-scaffold to set up Python project structure\n```\n\n### Phase 2: Database Setup\n\n#### Skills to Invoke\n- `prisma-expert` - Prisma ORM (alternative)\n- `database-design` - Schema design\n- `postgresql` - PostgreSQL setup\n- `pydantic-models-py` - Pydantic models\n\n#### Actions\n1. Design database schema\n2. Set up SQLAlchemy models\n3. Create database connection\n4. Configure migrations (Alembic)\n5. Set up session management\n\n#### Copy-Paste Prompts\n```\nUse @database-design to design PostgreSQL schema\n```\n\n```\nUse @pydantic-models-py to create Pydantic models for API\n```\n\n### Phase 3: API Routes\n\n#### Skills to Invoke\n- `fastapi-router-py` - FastAPI routers\n- `api-design-principles` - API design\n- `api-patterns` - API patterns\n\n#### Actions\n1. Design API endpoints\n2. Create API routers\n3. Implement CRUD operations\n4. Add request validation\n5. Configure response models\n\n#### Copy-Paste Prompts\n```\nUse @fastapi-router-py to create API endpoints with CRUD operations\n```\n\n```\nUse @api-design-principles to design RESTful API\n```\n\n### Phase 4: Authentication\n\n#### Skills to Invoke\n- `auth-implementation-patterns` - Authentication\n- `api-security-best-practices` - API security\n\n#### Actions\n1. Choose auth strategy (JWT, OAuth2)\n2. Implement user registration\n3. Set up login endpoints\n4. Create auth middleware\n5. Add password hashing\n\n#### Copy-Paste Prompts\n```\nUse @auth-implementation-patterns to implement JWT authentication\n```\n\n### Phase 5: Error Handling\n\n#### Skills to Invoke\n- `fastapi-pro` - FastAPI patterns\n- `error-handling-patterns` - Error handling\n\n#### Actions\n1. Create custom exceptions\n2. Set up exception handlers\n3. Implement error responses\n4. Add request logging\n5. Configure error tracking\n\n#### Copy-Paste Prompts\n```\nUse @fastapi-pro to implement comprehensive error handling\n```\n\n### Phase 6: Testing\n\n#### Skills to Invoke\n- `python-testing-patterns` - pytest testing\n- `api-testing-observability-api-mock` - API testing\n\n#### Actions\n1. Set up pytest\n2. Create test fixtures\n3. Write unit tests\n4. Implement integration tests\n5. Configure test database\n\n#### Copy-Paste Prompts\n```\nUse @python-testing-patterns to write pytest tests for FastAPI\n```\n\n### Phase 7: Documentation\n\n#### Skills to Invoke\n- `api-documenter` - API documentation\n- `openapi-spec-generation` - OpenAPI specs\n\n#### Actions\n1. Configure OpenAPI schema\n2. Add endpoint documentation\n3. Create usage examples\n4. Set up API versioning\n5. Generate API docs\n\n#### Copy-Paste Prompts\n```\nUse @api-documenter to generate comprehensive API documentation\n```\n\n### Phase 8: Deployment\n\n#### Skills to Invoke\n- `deployment-engineer` - Deployment\n- `docker-expert` - Containerization\n\n#### Actions\n1. Create Dockerfile\n2. Set up docker-compose\n3. Configure production settings\n4. Set up reverse proxy\n5. Deploy to cloud\n\n#### Copy-Paste Prompts\n```\nUse @docker-expert to containerize FastAPI application\n```\n\n## Technology Stack\n\n| Category | Technology |\n|----------|------------|\n| Framework | FastAPI |\n| Language | Python 3.11+ |\n| ORM | SQLAlchemy 2.0 |\n| Validation | Pydantic v2 |\n| Database | PostgreSQL |\n| Migrations | Alembic |\n| Auth | JWT, OAuth2 |\n| Testing | pytest |\n\n## Quality Gates\n\n- [ ] All tests passing (>80% coverage)\n- [ ] Type checking passes (mypy)\n- [ ] Linting clean (ruff, black)\n- [ ] API documentation complete\n- [ ] Security scan passed\n- [ ] Performance benchmarks met\n\n## Related Workflow Bundles\n\n- `development` - General development\n- `database` - Database operations\n- `security-audit` - Security testing\n- `api-development` - API patterns\n",{"name":5,"risk":43,"source":37,"category":49,"date_added":50,"description":7},"granular-workflow-bundle","2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Fpython-fastapi-development","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill python-fastapi-development",{"tool":63,"command":64},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill python-fastapi-development",{"tool":66,"command":67},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill python-fastapi-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fpython-fastapi-development\u002FSKILL.md",true,[],[72,82,89,97,103,111],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":81},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":81},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":98,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":81},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":81},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":81},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]