一键导入
tdd-workflow
Test-driven development: red-green-refactor for this project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Test-driven development: red-green-refactor for this project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Debug frontend vanilla JS issues - console errors, rendering bugs, SPA navigation, WebSocket
Automates the process of setting up the first admin user or adding new admins via the bootstrap endpoint. Includes a Python script for easy execution.
Push to remote and wait for CI to pass. If CI fails, read logs, fix bugs, and re-push. Repeat until green.
Use when building or debugging LangGraph multi-agent systems - eval-first execution, task decomposition, model routing by complexity, and cost discipline
Use when AI agent modifies API routes or backend logic - catch systematic blind spots where the same model writes and reviews code
Use when making or recording significant architectural decisions - capture context, alternatives, and rationale as structured ADRs
| name | tdd-workflow |
| description | Test-driven development: red-green-refactor for this project |
tests/
├── conftest.py # Shared fixtures (TEST_MODE=true)
├── test_database_schema.py # Phase 0: schema tests
├── test_database_connection.py # Phase 0: connection pool
├── test_orm.py # Phase 5: ORM models
├── test_orm_repos.py # Phase 5: ORM repositories
├── test_orm_startup.py # Phase 5: startup integration
├── test_rate_limiting.py # Phase 1: security
├── test_xss_prevention.py # Phase 1: security
└── e2e/ # Playwright browser tests
@pytest.mark.unit — Pure logic, mocked deps@pytest.mark.integration — Real DB connection@pytest.mark.e2e — Full browser testinginspect.getsource() for static analysis--no-cov (coverage breaks SlowAPI)test_<feature>.pyruff check after writing new code