[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BFXSSXE8SNK9XHQACSY7DQ":3,"skill-same:01M7BFXSSXE8SNK9XHQACSY7DQ":48},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7BFXSSXE8SNK9XHQACSY7DQ","fastapi-patterns",null,"FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-Everything-claude-code\u002Fskills\u002Ffastapi-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: fastapi-patterns\ndescription: FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.\norigin: community\n---\n\n# FastAPI Patterns\n\nProduction-oriented patterns for FastAPI services.\n\n## When to Use\n\n- Building or reviewing a FastAPI app.\n- Splitting routers, schemas, dependencies, and database access.\n- Writing async endpoints that call a database or external service.\n- Adding authentication, authorization, OpenAPI docs, tests, or deployment settings.\n- Checking a FastAPI PR for copy-pasteable examples and production risks.\n\n## How It Works\n\nTreat the FastAPI app as a thin HTTP layer over explicit dependencies and service code:\n\n- `main.py` owns app construction, middleware, exception handlers, and router registration.\n- `schemas\u002F` owns Pydantic request and response models.\n- `dependencies.py` owns database, auth, pagination, and request-scoped dependencies.\n- `services\u002F` or `crud\u002F` owns business and persistence operations.\n- `tests\u002F` overrides dependencies instead of opening production resources.\n\nPrefer small routers and explicit `response_model` declarations. Keep raw ORM objects, secrets, and framework globals out of response schemas.\n\n## Project Layout\n\n```text\napp\u002F\n|-- main.py\n|-- config.py\n|-- dependencies.py\n|-- exceptions.py\n|-- api\u002F\n|   `-- routes\u002F\n|       |-- users.py\n|       `-- health.py\n|-- core\u002F\n|   |-- security.py\n|   `-- middleware.py\n|-- db\u002F\n|   |-- session.py\n|   `-- crud.py\n|-- models\u002F\n|-- schemas\u002F\n`-- tests\u002F\n```\n\n## Application Factory\n\nUse a factory so tests and workers can build the app with controlled settings.\n\n```python\nfrom contextlib import asynccontextmanager\n\nfrom fastapi import FastAPI\nfrom fastapi.middleware.cors import CORSMiddleware\n\nfrom app.api.routes import health, users\nfrom app.config import settings\nfrom app.db.session import close_db, init_db\nfrom app.exceptions import register_exception_handlers\n\n\n@asynccontextmanager\nasync def lifespan(app: FastAPI):\n    await init_db()\n    yield\n    await close_db()\n\n\ndef create_app() -> FastAPI:\n    app = FastAPI(\n        title=settings.api_title,\n        version=settings.api_version,\n        lifespan=lifespan,\n    )\n\n    app.add_middleware(\n        CORSMiddleware,\n        allow_origins=settings.cors_origins,\n        allow_credentials=bool(settings.cors_origins),\n        allow_methods=[\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\"],\n        allow_headers=[\"Authorization\", \"Content-Type\"],\n    )\n\n    register_exception_handlers(app)\n    app.include_router(health.router, prefix=\"\u002Fhealth\", tags=[\"health\"])\n    app.include_router(users.router, prefix=\"\u002Fapi\u002Fv1\u002Fusers\", tags=[\"users\"])\n    return app\n\n\napp = create_app()\n```\n\nDo not use `allow_origins=[\"*\"]` with `allow_credentials=True`; browsers reject that combination and Starlette disallows it for credentialed requests.\n\n## Pydantic Schemas\n\nKeep request, update, and response models separate.\n\n```python\nfrom datetime import datetime\nfrom typing import Annotated\nfrom uuid import UUID\n\nfrom pydantic import BaseModel, ConfigDict, EmailStr, Field\n\n\nclass UserBase(BaseModel):\n    email: EmailStr\n    full_name: Annotated[str, Field(min_length=1, max_length=100)]\n\n\nclass UserCreate(UserBase):\n    password: Annotated[str, Field(min_length=12, max_length=128)]\n\n\nclass UserUpdate(BaseModel):\n    email: EmailStr | None = None\n    full_name: Annotated[str | None, Field(min_length=1, max_length=100)] = None\n\n\nclass UserResponse(UserBase):\n    model_config = ConfigDict(from_attributes=True)\n\n    id: UUID\n    created_at: datetime\n    updated_at: datetime\n```\n\nResponse models must never include password hashes, access tokens, refresh tokens, or internal authorization state.\n\n## Dependencies\n\nUse dependency injection for request-scoped resources.\n\n```python\nfrom collections.abc import AsyncIterator\nfrom uuid import UUID\n\nfrom fastapi import Depends, HTTPException, status\nfrom fastapi.security import OAuth2PasswordBearer\nfrom sqlalchemy.ext.asyncio import AsyncSession\n\nfrom app.core.security import decode_token\nfrom app.db.session import session_factory\nfrom app.models.user import User\n\n\noauth2_scheme = OAuth2PasswordBearer(tokenUrl=\"\u002Fapi\u002Fv1\u002Fauth\u002Flogin\")\n\n\nasync def get_db() -> AsyncIterator[AsyncSession]:\n    async with session_factory() as session:\n        try:\n            yield session\n            await session.commit()\n        except Exception:\n            await session.rollback()\n            raise\n\n\nasync def get_current_user(\n    token: str = Depends(oauth2_scheme),\n    db: AsyncSession = Depends(get_db),\n) -> User:\n    payload = decode_token(token)\n    user_id = UUID(payload[\"sub\"])\n    user = await db.get(User, user_id)\n    if user is None:\n        raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail=\"Invalid token\")\n    return user\n```\n\nAvoid creating sessions, clients, or credentials inline inside route handlers.\n\n## Async Endpoints\n\nKeep route handlers async when they perform I\u002FO, and use async libraries inside them.\n\n```python\nfrom fastapi import APIRouter, Depends, Query\nfrom sqlalchemy import select\nfrom sqlalchemy.ext.asyncio import AsyncSession\n\nfrom app.dependencies import get_current_user, get_db\nfrom app.models.user import User\nfrom app.schemas.user import UserResponse\n\n\nrouter = APIRouter()\n\n\n@router.get(\"\u002F\", response_model=list[UserResponse])\nasync def list_users(\n    limit: int = Query(default=50, ge=1, le=100),\n    offset: int = Query(default=0, ge=0),\n    db: AsyncSession = Depends(get_db),\n    current_user: User = Depends(get_current_user),\n):\n    result = await db.execute(\n        select(User).order_by(User.created_at.desc()).limit(limit).offset(offset)\n    )\n    return result.scalars().all()\n```\n\nUse `httpx.AsyncClient` for external HTTP calls from async handlers. Do not call `requests` in an async route.\n\n## Error Handling\n\nCentralize domain exceptions and keep response shapes stable.\n\n```python\nfrom fastapi import FastAPI, Request\nfrom fastapi.responses import JSONResponse\n\n\nclass ApiError(Exception):\n    def __init__(self, status_code: int, code: str, message: str):\n        self.status_code = status_code\n        self.code = code\n        self.message = message\n\n\ndef register_exception_handlers(app: FastAPI) -> None:\n    @app.exception_handler(ApiError)\n    async def api_error_handler(request: Request, exc: ApiError):\n        return JSONResponse(\n            status_code=exc.status_code,\n            content={\"error\": {\"code\": exc.code, \"message\": exc.message}},\n        )\n```\n\n## OpenAPI Customization\n\nAssign the custom OpenAPI callable to `app.openapi`; do not just call the function once.\n\n```python\nfrom fastapi import FastAPI\nfrom fastapi.openapi.utils import get_openapi\n\n\ndef install_openapi(app: FastAPI) -> None:\n    def custom_openapi():\n        if app.openapi_schema:\n            return app.openapi_schema\n        app.openapi_schema = get_openapi(\n            title=\"Service API\",\n            version=\"1.0.0\",\n            routes=app.routes,\n        )\n        return app.openapi_schema\n\n    app.openapi = custom_openapi\n```\n\n## Testing\n\nOverride the dependency used by `Depends`, not an internal helper that route handlers never reference.\n\n```python\nimport pytest\nfrom httpx import ASGITransport, AsyncClient\nfrom sqlalchemy.ext.asyncio import AsyncSession\n\nfrom app.dependencies import get_db\nfrom app.main import create_app\n\n\n@pytest.fixture\nasync def client(test_session: AsyncSession):\n    app = create_app()\n\n    async def override_get_db():\n        yield test_session\n\n    app.dependency_overrides[get_db] = override_get_db\n    async with AsyncClient(\n        transport=ASGITransport(app=app),\n        base_url=\"http:\u002F\u002Ftest\",\n    ) as test_client:\n        yield test_client\n    app.dependency_overrides.clear()\n```\n\n## Security Checklist\n\n- Hash passwords with `argon2-cffi`, `bcrypt`, or a current passlib-compatible hasher.\n- Validate JWT issuer, audience, expiry, and signing algorithm.\n- Keep CORS origins environment-specific.\n- Put rate limits on auth and write-heavy endpoints.\n- Use Pydantic models for all request bodies.\n- Use ORM parameter binding or SQLAlchemy Core expressions; never build SQL with f-strings.\n- Redact tokens, authorization headers, cookies, and passwords from logs.\n- Run dependency audit tooling in CI.\n\n## Performance Checklist\n\n- Configure database connection pooling explicitly.\n- Add pagination to list endpoints.\n- Watch for N+1 queries and use eager loading intentionally.\n- Use async HTTP\u002Fdatabase clients in async paths.\n- Add compression only after checking payload size and CPU tradeoffs.\n- Cache stable expensive reads behind explicit invalidation.\n\n## Examples\n\nUse these examples as patterns, not as project-wide templates:\n\n- Application factory: configure middleware and routers once in `create_app`.\n- Schema split: `UserCreate`, `UserUpdate`, and `UserResponse` have different responsibilities.\n- Dependency override: tests override `get_db` directly.\n- OpenAPI customization: assign `app.openapi = custom_openapi`.\n\n## See Also\n\n- Agent: `fastapi-reviewer`\n- Command: `\u002Ffastapi-review`\n- Skill: `python-patterns`\n- Skill: `python-testing`\n- Skill: `api-design`\n","# FastAPI Patterns\n\nProduction-oriented patterns for FastAPI services.\n\n## When to Use\n\n- Building or reviewing a FastAPI app.\n- Splitting routers, schemas, dependencies, and database access.\n- Writing async endpoints that call a database or external service.\n- Adding authentication, authorization, OpenAPI docs, tests, or deployment settings.\n- Checking a FastAPI PR for copy-pasteable examples and production risks.\n\n## How It Works\n\nTreat the FastAPI app as a thin HTTP layer over explicit dependencies and service code:\n\n- `main.py` owns app construction, middleware, exception handlers, and router registration.\n- `schemas\u002F` owns Pydantic request and response models.\n- `dependencies.py` owns database, auth, pagination, and request-scoped dependencies.\n- `services\u002F` or `crud\u002F` owns business and persistence operations.\n- `tests\u002F` overrides dependencies instead of opening production resources.\n\nPrefer small routers and explicit `response_model` declarations. Keep raw ORM objects, secrets, and framework globals out of response schemas.\n\n## Project Layout\n\n```text\napp\u002F\n|-- main.py\n|-- config.py\n|-- dependencies.py\n|-- exceptions.py\n|-- api\u002F\n|   `-- routes\u002F\n|       |-- users.py\n|       `-- health.py\n|-- core\u002F\n|   |-- security.py\n|   `-- middleware.py\n|-- db\u002F\n|   |-- session.py\n|   `-- crud.py\n|-- models\u002F\n|-- schemas\u002F\n`-- tests\u002F\n```\n\n## Application Factory\n\nUse a factory so tests and workers can build the app with controlled settings.\n\n```python\nfrom contextlib import asynccontextmanager\n\nfrom fastapi import FastAPI\nfrom fastapi.middleware.cors import CORSMiddleware\n\nfrom app.api.routes import health, users\nfrom app.config import settings\nfrom app.db.session import close_db, init_db\nfrom app.exceptions import register_exception_handlers\n\n\n@asynccontextmanager\nasync def lifespan(app: FastAPI):\n    await init_db()\n    yield\n    await close_db()\n\n\ndef create_app() -> FastAPI:\n    app = FastAPI(\n        title=settings.api_title,\n        version=settings.api_version,\n        lifespan=lifespan,\n    )\n\n    app.add_middleware(\n        CORSMiddleware,\n        allow_origins=settings.cors_origins,\n        allow_credentials=bool(settings.cors_origins),\n        allow_methods=[\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\"],\n        allow_headers=[\"Authorization\", \"Content-Type\"],\n    )\n\n    register_exception_handlers(app)\n    app.include_router(health.router, prefix=\"\u002Fhealth\", tags=[\"health\"])\n    app.include_router(users.router, prefix=\"\u002Fapi\u002Fv1\u002Fusers\", tags=[\"users\"])\n    return app\n\n\napp = create_app()\n```\n\nDo not use `allow_origins=[\"*\"]` with `allow_credentials=True`; browsers reject that combination and Starlette disallows it for credentialed requests.\n\n## Pydantic Schemas\n\nKeep request, update, and response models separate.\n\n```python\nfrom datetime import datetime\nfrom typing import Annotated\nfrom uuid import UUID\n\nfrom pydantic import BaseModel, ConfigDict, EmailStr, Field\n\n\nclass UserBase(BaseModel):\n    email: EmailStr\n    full_name: Annotated[str, Field(min_length=1, max_length=100)]\n\n\nclass UserCreate(UserBase):\n    password: Annotated[str, Field(min_length=12, max_length=128)]\n\n\nclass UserUpdate(BaseModel):\n    email: EmailStr | None = None\n    full_name: Annotated[str | None, Field(min_length=1, max_length=100)] = None\n\n\nclass UserResponse(UserBase):\n    model_config = ConfigDict(from_attributes=True)\n\n    id: UUID\n    created_at: datetime\n    updated_at: datetime\n```\n\nResponse models must never include password hashes, access tokens, refresh tokens, or internal authorization state.\n\n## Dependencies\n\nUse dependency injection for request-scoped resources.\n\n```python\nfrom collections.abc import AsyncIterator\nfrom uuid import UUID\n\nfrom fastapi import Depends, HTTPException, status\nfrom fastapi.security import OAuth2PasswordBearer\nfrom sqlalchemy.ext.asyncio import AsyncSession\n\nfrom app.core.security import decode_token\nfrom app.db.session import session_factory\nfrom app.models.user import User\n\n\noauth2_scheme = OAuth2PasswordBearer(tokenUrl=\"\u002Fapi\u002Fv1\u002Fauth\u002Flogin\")\n\n\nasync def get_db() -> AsyncIterator[AsyncSession]:\n    async with session_factory() as session:\n        try:\n            yield session\n            await session.commit()\n        except Exception:\n            await session.rollback()\n            raise\n\n\nasync def get_current_user(\n    token: str = Depends(oauth2_scheme),\n    db: AsyncSession = Depends(get_db),\n) -> User:\n    payload = decode_token(token)\n    user_id = UUID(payload[\"sub\"])\n    user = await db.get(User, user_id)\n    if user is None:\n        raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail=\"Invalid token\")\n    return user\n```\n\nAvoid creating sessions, clients, or credentials inline inside route handlers.\n\n## Async Endpoints\n\nKeep route handlers async when they perform I\u002FO, and use async libraries inside them.\n\n```python\nfrom fastapi import APIRouter, Depends, Query\nfrom sqlalchemy import select\nfrom sqlalchemy.ext.asyncio import AsyncSession\n\nfrom app.dependencies import get_current_user, get_db\nfrom app.models.user import User\nfrom app.schemas.user import UserResponse\n\n\nrouter = APIRouter()\n\n\n@router.get(\"\u002F\", response_model=list[UserResponse])\nasync def list_users(\n    limit: int = Query(default=50, ge=1, le=100),\n    offset: int = Query(default=0, ge=0),\n    db: AsyncSession = Depends(get_db),\n    current_user: User = Depends(get_current_user),\n):\n    result = await db.execute(\n        select(User).order_by(User.created_at.desc()).limit(limit).offset(offset)\n    )\n    return result.scalars().all()\n```\n\nUse `httpx.AsyncClient` for external HTTP calls from async handlers. Do not call `requests` in an async route.\n\n## Error Handling\n\nCentralize domain exceptions and keep response shapes stable.\n\n```python\nfrom fastapi import FastAPI, Request\nfrom fastapi.responses import JSONResponse\n\n\nclass ApiError(Exception):\n    def __init__(self, status_code: int, code: str, message: str):\n        self.status_code = status_code\n        self.code = code\n        self.message = message\n\n\ndef register_exception_handlers(app: FastAPI) -> None:\n    @app.exception_handler(ApiError)\n    async def api_error_handler(request: Request, exc: ApiError):\n        return JSONResponse(\n            status_code=exc.status_code,\n            content={\"error\": {\"code\": exc.code, \"message\": exc.message}},\n        )\n```\n\n## OpenAPI Customization\n\nAssign the custom OpenAPI callable to `app.openapi`; do not just call the function once.\n\n```python\nfrom fastapi import FastAPI\nfrom fastapi.openapi.utils import get_openapi\n\n\ndef install_openapi(app: FastAPI) -> None:\n    def custom_openapi():\n        if app.openapi_schema:\n            return app.openapi_schema\n        app.openapi_schema = get_openapi(\n            title=\"Service API\",\n            version=\"1.0.0\",\n            routes=app.routes,\n        )\n        return app.openapi_schema\n\n    app.openapi = custom_openapi\n```\n\n## Testing\n\nOverride the dependency used by `Depends`, not an internal helper that route handlers never reference.\n\n```python\nimport pytest\nfrom httpx import ASGITransport, AsyncClient\nfrom sqlalchemy.ext.asyncio import AsyncSession\n\nfrom app.dependencies import get_db\nfrom app.main import create_app\n\n\n@pytest.fixture\nasync def client(test_session: AsyncSession):\n    app = create_app()\n\n    async def override_get_db():\n        yield test_session\n\n    app.dependency_overrides[get_db] = override_get_db\n    async with AsyncClient(\n        transport=ASGITransport(app=app),\n        base_url=\"http:\u002F\u002Ftest\",\n    ) as test_client:\n        yield test_client\n    app.dependency_overrides.clear()\n```\n\n## Security Checklist\n\n- Hash passwords with `argon2-cffi`, `bcrypt`, or a current passlib-compatible hasher.\n- Validate JWT issuer, audience, expiry, and signing algorithm.\n- Keep CORS origins environment-specific.\n- Put rate limits on auth and write-heavy endpoints.\n- Use Pydantic models for all request bodies.\n- Use ORM parameter binding or SQLAlchemy Core expressions; never build SQL with f-strings.\n- Redact tokens, authorization headers, cookies, and passwords from logs.\n- Run dependency audit tooling in CI.\n\n## Performance Checklist\n\n- Configure database connection pooling explicitly.\n- Add pagination to list endpoints.\n- Watch for N+1 queries and use eager loading intentionally.\n- Use async HTTP\u002Fdatabase clients in async paths.\n- Add compression only after checking payload size and CPU tradeoffs.\n- Cache stable expensive reads behind explicit invalidation.\n\n## Examples\n\nUse these examples as patterns, not as project-wide templates:\n\n- Application factory: configure middleware and routers once in `create_app`.\n- Schema split: `UserCreate`, `UserUpdate`, and `UserResponse` have different responsibilities.\n- Dependency override: tests override `get_db` directly.\n- OpenAPI customization: assign `app.openapi = custom_openapi`.\n\n## See Also\n\n- Agent: `fastapi-reviewer`\n- Command: `\u002Ffastapi-review`\n- Skill: `python-patterns`\n- Skill: `python-testing`\n- Skill: `api-design`\n",{"name":5,"origin":24,"description":7},"community","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-AI-应用工具\u002FYYC3-AI-应用工具-Everything-claude-code\u002Fskills\u002Ffastapi-patterns",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill fastapi-patterns",{"tool":40,"command":41},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill fastapi-patterns",{"tool":43,"command":44},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill fastapi-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-Everything-claude-code\u002Fskills\u002Ffastapi-patterns\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]