원클릭으로
chromestatus-backend
Guidance for working on the Flask-based backend, NDB Datastore, and OpenAPI integrations in chromium-dashboard.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Guidance for working on the Flask-based backend, NDB Datastore, and OpenAPI integrations in chromium-dashboard.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
How to add a new field to a feature across the entire stack (Data, API, and Frontend).
Guidance for local verification of changes to ensure they pass CI checks (linting, type checking, testing, and building).
Guidance for working on the Lit-based frontend, Shoelace widgets, and client-side routing in chromium-dashboard.
Guidance for running, debugging, and updating Playwright end-to-end tests in chromium-dashboard.
| name | chromestatus-backend |
| description | Guidance for working on the Flask-based backend, NDB Datastore, and OpenAPI integrations in chromium-dashboard. |
This skill provides context and guidelines for developing the backend of the chromium-dashboard project.
api/: Contains Flask request handlers for various API endpoints.framework/: Core infrastructure, including basehandlers.py and utility functions.internals/: Business logic, search filters, and data processing.pages/: (LEGACY) Handlers for main application pages. Do not add new code here.openapi/: OpenAPI specification file (api.yaml).gen/py/chromestatus_openapi/: Auto-generated Python models from OpenAPI.openapi/api.yaml. Use make openapi to regenerate models.
[!IMPORTANT] Targeted OpenAPI Post-Generation Fix:
openapi-generator-clioverwrites custom TypeScript 6 configurations ingen/js/chromestatus-openapi(package.json,tsconfig.json,tsconfig.esm.json) and downgrades"typescript"to"^4.0 || ^5.0"under"gen/js/chromestatus-openapi"inpackage-lock.json. Immediately after runningmake openapi, ensure"typescript": "^6.0"is restored under"gen/js/chromestatus-openapi"inpackage-lock.jsonand the 3gen/js/chromestatus-openapiconfig files are kept onorigin/mainbaseline.
basehandlers.py classes for consistent permission checking and response handling. Do not add new handlers to the legacy pages/ directory.internals/models.py. Ensure queries are optimized and use proper indexing (see index.yaml).*_test.py). Run them using npm test.api/ or pages/.