FastAPI
io.github.fastapi/fastapi/fastapi
FastAPI 最佳实践与约定。在处理 FastAPI 接口、Pydantic 模型、依赖、包含 Server-Sent Events(SSE)的流式响应,以及托管前端应用时使用。让 FastAPI 代码保持整洁并跟上最新的特性与模式。
“code” 共 1,563 个结果
io.github.fastapi/fastapi/fastapi
FastAPI 最佳实践与约定。在处理 FastAPI 接口、Pydantic 模型、依赖、包含 Server-Sent Events(SSE)的流式响应,以及托管前端应用时使用。让 FastAPI 代码保持整洁并跟上最新的特性与模式。
io.github.browser-use/browser-use/open-source
基于 browser-use 开源库编写 Python 代码的文档参考。凡涉及 Agent、Browser、Tools 配置、导入 browser_use 的代码、@sandbox 部署、支持的 LLM 模型、Actor API、自定义 tools、lifecycle hooks、MCP 服务器搭建、Laminar 或 OpenLIT 监控/可观测性,以及 browser-use 安装、prompt 策略、敏感数据处理时都适用。不适用于 Cloud API/SDK 用法与定价——用 cloud skill;也不适用于通过 CLI 命令直接驱动浏览器——用 browser-use skill。
io.github.K-Dense-AI/scientific-agent-skills/modal
Modal 是按需运行 Python(含按需 GPU)的无服务器云平台。在使用 Modal SDK 部署或托管 AI/ML 模型、运行 GPU 加速负载(训练、微调、推理)、托管 Web 端点、调度批处理任务,或将 Python 代码扩展到云容器时使用。
io.github.K-Dense-AI/scientific-agent-skills/adaptyv
如何使用 Adaptyv Bio Foundry API 与 Python SDK 进行蛋白实验设计、提交与结果获取。只要用户提到 Adaptyv、Foundry API、蛋白结合实验、蛋白筛选实验、BLI/SPR 实验、热稳定性实验,或想提交蛋白序列进行实验表征,就使用本技能。当代码导入 `adaptyv`、`adaptyv_sdk`、`FoundryClient`,或引用 `foundry-api-public.adaptyvbio.com` 时也应触发。
io.github.K-Dense-AI/scientific-agent-skills/optimize-for-gpu
将科学 Python 工作负载加速到 NVIDIA GPU 上,并验证结果正确且更快。适用于 CUDA/GPU 优化;CPU 受限的 NumPy、SciPy、pandas、scikit-learn、NetworkX、scikit-image、向量检索、图像处理、图、仿真或文件 I/O 负载;CuPy、cuDF、cuML、cuGraph、cuVS、cuCIM、KvikIO、Warp、Newton、Numba-CUDA、RAFT 相关问题;以及性能剖析、内存搬运、kernel 或多 GPU 瓶颈。当大规模数据并行的 Python 代码很慢且 GPU 加速是合理选项时也应使用,即使用户没有提到 CUDA。
io.github.K-Dense-AI/scientific-agent-skills/astropy
面向需要 Astropy API 的天文与天体物理工作流的核心 Python 库,涵盖单位/量纲、坐标、FITS I/O、表格、时间系统、WCS 与宇宙学。在使用 Astropy 实现或调试天文数据分析代码时使用。
io.github.deepseek-ai/deepseek-harness/dsh-find-simplifications
Find evidence-backed simplifications in DeepSeek Harness code, APIs, configuration, tests, and prose; write or consolidate proposals, identify small inline cleanups, or assess simplifications from another branch. Use for removing dead, duplicated, speculative, or unnecessarily maintained behavior and infrastructure.
io.github.wshobson/agents/modern-javascript-patterns
掌握 ES6+ 特性,包括 async/await、解构、展开运算符、箭头函数、Promise、模块、迭代器、生成器与函数式编程模式,编写简洁高效的 JavaScript 代码。在重构遗留代码、实现现代模式或优化 JavaScript 应用时使用。
io.github.prisma/orm/prisma-8
在依赖 @prisma/orm-postgres、@prisma/orm-sqlite 或 @prisma/orm-mongo(Prisma 8,原 Prisma Next)的项目中工作时使用:编辑 contract.prisma 或 contract.ts builder、运行 `prisma contract emit`、规划或应用迁移、编辑 migration.ts、编写 db.orm / db.sql / db.query 查询、接线 db.ts 或中间件、集成构建工具、使用 Supabase 扩展或 RLS、阅读 MIGRATION.HASH_MISMATCH 等点号错误码。当用户问“Prisma 8 是什么”“从哪里入手”或与别的 ORM 比较时使用。当用户要求在应用或扩展包中升级 Prisma 8 时使用。当你看到 @internal/* 或 @prisma/orm-* 导入、带 definePrismaConfig 的 prisma.config.ts、contract.json / contract.d.ts 时使用。不适用于 Prisma ORM 7 及更早版本(schema.prisma + @prisma/client)。
io.github.affaan-m/ECC/healthcare-phi-compliance
Protected Health Information (PHI) and PII compliance patterns for healthcare applications: data classification, row-level access control, tamper-proof audit trails, schema tagging, and common leak vectors such as logs, URLs, and browser storage. Use when code touches patient or clinician data, when implementing HIPAA or GDPR access controls, or when auditing a healthcare system for data exposure.
io.github.affaan-m/ECC/hookify-rules
Create and configure hookify rules — markdown files with YAML frontmatter that match bash, file, prompt, or stop events by regex or conditions and show warn/block messages to the agent. Use when creating a hookify rule, writing hook rule syntax, configuring hookify, or adding pattern guardrails such as blocking dangerous commands, .env edits, or debug code.
io.github.affaan-m/ECC/eval-harness
面向 Claude Code 会话的正式评估框架,落实评估驱动开发(EDD)原则。当 Claude Code 工作流在获得信任或被修改前需要正式评估时使用。
io.github.affaan-m/ECC/dart-flutter-patterns
可用于生产的 Dart 与 Flutter 模式,覆盖空安全、不可变状态、异步组合、Widget 架构、主流状态管理框架(BLoC、Riverpod、Provider)、GoRouter 导航、Dio 网络、Freezed 代码生成与整洁架构。在编写或评审 Dart 与 Flutter 代码——状态、Widget、导航、网络或架构——时使用。
io.github.affaan-m/ECC/search-first
先检索再编码的工作流。在动手编写自定义代码之前,先搜索已有的工具、库和模式。会调用 researcher 代理。
io.github.affaan-m/ECC/orch-pipeline
orch-* skill 家族共用的编排引擎。定义带门槛的“调研-规划-TDD-评审-提交”流水线、规模分类器、代理映射,以及两个由 orch-* 操作 skill 委派使用的人工关口。通常不直接调用;当某个 orch-* skill 委派其带门槛的调研-规划-TDD-评审-提交流水线时生效。
io.github.affaan-m/ECC/frontend-a11y
React 与 Next.js 的无障碍访问模式——语义化 HTML、ARIA 属性、表单标注、键盘导航、焦点管理与读屏软件支持。当构建任何交互式 UI 组件或表单时使用。
io.github.moeru-ai/airi/enforce-rules-for-typescript
Enforce AIRI's TypeScript and Vue source rules for imports, naming, comments, JSDoc, fallbacks, stateful and protocol code, and module design. Use when writing, refactoring, or reviewing TypeScript or Vue source code in the AIRI monorepo.
io.github.lobehub/lobehub/typescript
编辑 TS/TSX/MTS 时遵循 TypeScript 风格与类型安全规范,包括 import、异步代码与错误抑制。
io.github.obra/superpowers/writing-plans
在有多步骤任务的规格或需求、但尚未动代码时使用。
io.github.tabler/tabler/backward-compat
Keep a change to `@tabler/core` backward compatible, so a patch or minor release never breaks a project that updates. Use before renaming, removing or changing the meaning of anything a user can touch — a class, a `--tblr-*` custom property, a Sass variable, mixin or function, a `data-*` attribute or option, a JS export, an event, a file under `dist/`, a default value — and whenever a changeset on `dev` looks like it needs a `major` bump. Also consult it proactively when a cleanup or refactor in `core/` deletes something, since "dead" code is often somebody's API. Covers what counts as public API, the `deprecated` files where compatibility code lives, the alias patterns, the `check:compat` gate, and what to do when a break cannot be avoided.
io.github.odoo/odoo/odoo-security
Security audit of Odoo addon code: access control (ir.access, field groups, sudo), injection (SQL, domain, eval, XSS via Markup/markup()), untrusted public methods/RPC, controller auth/CSRF, file access, deserialization, returning complex objects, getattr/setattr, timing attacks. Use when auditing an addon, or judging whether a specific construct (a sudo, raw SQL, a route, ...) is safe.
io.github.odoo/odoo/odoo-guidelines
House rules for Odoo addon code: module structure, manifest, Python/ORM, fields, controllers, XML views and data, QWeb reports, access rights and record rules, performance, tests. Use when writing or reviewing any file in an Odoo addon outside static/ (for the JavaScript, Owl templates and SCSS under static/, see odoo-web-guidelines).
io.github.logseq/logseq/libs
使用 `@logseq/libs` SDK(TypeScript/JavaScript,iframe/shadow 沙箱)构建、调试或审查 Logseq 插件。适用于编写插件入口代码、注册 slash/命令/UI 项、provideUI/provideStyle/provideModel、设置 schema、macro renderer、DB 图的属性与标签、Datascript/DSL 查询、实验性 API、主题插件,或本包生成的 `logseq/*` CLJS facade。
io.github.wekan/wekan/meteor-deployment
Use when deploying a Meteor 3 application. Triggers on meteor build, meteor deploy, Galaxy Push to Deploy, Galaxy Mode, Repository Mode, DEPLOY_HOSTNAME, Docker, Kubernetes, settings.json, METEOR_SETTINGS, MONGO_URL, MONGO_OPLOG_URL, ROOT_URL, PORT, HTTP_FORWARDED_COUNT, NODE_OPTIONS, health checks, pre-deploy commands, hot code push, --architecture os.linux.x86_64, --server-only, or a deployed Node.js version mismatch. Use this skill when the user asks about shipping the app, asks about production config, or asks about containerizing. For Cordova Android/iOS artifacts, signing, and native HCP compatibility use meteor-native; this skill owns the backend deployment.