python-backend
БесплатноБез исполняемых скриптовНе проверенUsa esta skill para el desarrollo del backend en Python de ObsidianRAG, incluyendo FastAPI, estructura del proyecto, dependencias y logging.
от Vasallo94★ 126 звёзд на GitHubОб этом скилле
Python Backend Development
Cuándo usar esta skill
- Cuando necesites modificar la API FastAPI (
backend/obsidianrag/api). - Cuando agregues nuevas dependencias o configures
pyproject.toml. - Cuando trabajes en la estructura core del paquete (
backend/obsidianrag).
Cómo usar esta skill
1. Estándares de Código
- Version: Python 3.11+
- Linter/Formatter:
ruff checkyruff format(line length 88). - Type Hints: Requeridos para todas las funciones públicas.
- Docstrings: Estilo Google.
2. Estructura del Proyecto
backend/
├── obsidianrag/
│ ├── config.py # Pydantic Settings
│ ├── api/ # FastAPI app
│ ├── core/ # RAG logic, DB service
│ └── utils/ # Logging, helpers
3. Patrones Clave
Configuración (Pydantic)
Usa obsidianrag.config.settings para acceder a la configuración global.
from obsidianrag.config import settings
def my_func():
db_path = settings.db_path
FastAPI Lifespan
La inicialización de recursos (DB, Agentes) ocurre en el lifespan en api/server.py.
Adding Dependencies
Usa uv para gestionar paquetes.
cd backend
uv add <paquete>
uv add --dev <paquete-de-desarrollo>
4. Antes de hacer Commit
Ejecuta siempre:
cd backend
uv run ruff format obsidianrag/ tests/
uv run ruff check obsidianrag/ tests/ --fix
uv run pytest tests/ -m "not slow"
Установить python-backend в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
readeditrun_commandgrep_searchFAQ
Что делает скилл python-backend?
Usa esta skill para el desarrollo del backend en Python de ObsidianRAG, incluyendo FastAPI, estructura del proyecto, dependencias y logging.
Как установить скилл python-backend?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл python-backend запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic