跳到正文
cccskills
免费在 GitHub 公开

features

Python backend development standards for FastAPI, SQLModel, pytest, Ruff, and Pyright. Use when writing or modifying backend code in src/merchant, src/payment, src/apps_sdk, agents, tests, API routes, services, models, or protocol logic.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Backend Feature Development

Use this skill for Python backend changes.

Workflow

  1. Read AGENTS.md before coding.
  2. Read the required specs listed in AGENTS.md for the affected protocol or feature area.
  3. Read scoped AGENTS files for touched subtrees, such as src/merchant/AGENTS.md, src/apps_sdk/AGENTS.md, or src/agents/AGENTS.md.
  4. Implement minimal, spec-aligned changes.
  5. Add or update tests for new behavior, edge cases, and failure paths.
  6. Run the relevant quality gates and report exact evidence.

Python Standards

  • Use type hints for public APIs and non-trivial logic.
  • Prefer explicit, readable code over clever abstractions.
  • Avoid side effects at import time.
  • Mock external services and I/O in tests.
  • Do not add secrets, credentials, or sensitive data.
  • Add comments only where they clarify non-obvious behavior.

CI Parity

Run these commands from the repo root before committing backend-related changes:

uv run ruff check src/merchant/ src/payment/ src/apps_sdk/ tests/
uv run ruff format --check src/merchant/ src/payment/ src/apps_sdk/ tests/
uv run pyright src/merchant/ src/payment/ src/apps_sdk/
uv run pytest tests/ -v --tb=short

Rules:

  • Do not commit if any required command fails.
  • If changes touch both backend and UI, run the UI CI parity commands in skills/ui/SKILL.md.
  • Targeted tests are fine while iterating, but full relevant checks are required before commit unless explicitly skipped with a reason.

Testing Standards

  • Name tests test_*.py.
  • Assert behavior, not implementation details.
  • Prefer fixtures over ad hoc setup/teardown logic.
  • Use parametrized tests for related cases.
  • Cover happy paths, edge cases, and failure paths when behavior changes.

Review Expectations

  • No commented-out code.
  • No TODOs without an issue reference.
  • No dead code.
  • No ignored warnings or silenced type errors unless justified.
  • Clear, descriptive function and variable names.

The work is incomplete if tests are missing for changed behavior, Ruff or type checks are unresolved, or code behavior conflicts with the required docs.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Dependency vulnerability remediation workflow for this repository. Use when fixing CVE, BDSA, GHSA, OSV, npm, PyPI, Dependabot, Black Duck, Snyk, or other package vulnerability findings, especially when the user asks for minimal package-only updates, validation, commits, branches, or pull requests.

中文简介正在准备中。当前显示原文说明。

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026年10月15日 更新

Discoverability shim for the Retail-Agentic-Commerce CVE remediation Codex skill. Use for CVE, BDSA, GHSA, OSV, Dependabot, Black Duck, Snyk, npm, PyPI, or package advisory remediation.

中文简介正在准备中。当前显示原文说明。

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026年10月15日 更新

features

免费

Discoverability shim for the Retail-Agentic-Commerce backend feature Codex skill. Use when writing or modifying Python backend code, routes, services, models, tests, or protocol logic.

中文简介正在准备中。当前显示原文说明。

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026年10月15日 更新

Discoverability shim for the Retail-Agentic-Commerce pre-commit analysis Codex skill. Use before commits, after significant changes, or for implementation-quality validation.

中文简介正在准备中。当前显示原文说明。

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026年10月15日 更新

Pre-commit implementation analysis for Retail-Agentic-Commerce. Use before commits, after significant changes, or when validating Apps SDK tools, mock data, MCP communication, widget isolation, or implementation quality.

中文简介正在准备中。当前显示原文说明。

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026年10月15日 更新

setup

免费

Launch all services for the Retail-Agentic-Commerce project. Use when the user types setup, install, or asks to start, launch, or run the project stack.

中文简介正在准备中。当前显示原文说明。

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026年10月15日 更新

查看 NVIDIA-AI-Blueprints 的全部技能

报告此技能的问题