用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jwalin-shah/inbox --skill backend-worker命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | backend-worker |
| description | Backend-focused worker for services, server, client, and infrastructure changes |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
Use for features that primarily modify:
services.py — data access layer functionsinbox_server.py — API endpoints, server stateinbox_client.py — HTTP client methodscontacts.py — contact resolutionambient_notes.py / ambient_daemon.py — ambient capturetests/NOT for features that require TUI changes (use fullstack-worker instead).
None — this worker operates purely on backend code and tests.
Read the feature description carefully. Understand exactly what behavior is expected, what preconditions must hold, and what verification steps are defined.
Investigate the current code relevant to this feature:
.factory/library/architecture.md for system architecture.factory/services.yaml for commands and servicesWrite failing tests first (RED):
tests/conftest.py and peer test filesFastAPI TestClient (see tests/test_server_endpoints.py)httpx.Client (see tests/test_client.py)uv run pytest path/to/test_file.py -x)Implement to make tests pass (GREEN):
from loguru import logger)Run full validation:
uv run pytest -x -q — all tests passuv run pyright — 0 errorsuv run ruff check . — 0 errorsManual verification (if feature has API endpoints):
uv run python inbox_server.py &lsof -ti :9849 | xargs killVerify preconditions and expected behavior from the feature description:
expectedBehavior — is it satisfied?verificationStepsCommit your changes with a descriptive message.
{
"salientSummary": "Added structured loguru logging to all service functions in services.py, replacing 47 silent except blocks with logger.error/exception calls. All 190 tests pass, pyright 0 errors, ruff 0 errors. Manually triggered a service error and confirmed log output in stderr.",
"whatWasImplemented": "Replaced all bare except:pass and except Exception:return[] patterns in services.py with loguru logging. Added `from loguru import logger` import. Each except block now logs the function name, arguments (sanitized), and full traceback via logger.exception(). Added 3 new tests verifying error logging behavior.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{"command": "uv run pytest -x -q", "exitCode": 0, "observation": "193 passed in 3.8s"},
{"command": "uv run pyright", "exitCode": 0, "observation": "0 errors, 0 warnings"},