The OpenAPI-first workflow for this repo. Use whenever adding, removing, or changing an HTTP endpoint, request/response field, status code, query parameter, or auth requirement — and before touching anything under internal/api/generated/ or…
原文语言:英语
菜单
SkillsMP 已收集 fjaeckel/ninerlog-api 中的 11 个 Skill。打开任一 Skill 可查看来源和详情。
已展示 11 / 11 个已收集 Skill。
The OpenAPI-first workflow for this repo. Use whenever adding, removing, or changing an HTTP endpoint, request/response field, status code, query parameter, or auth requirement — and before touching anything under internal/api/generated/ or…
原文语言:英语
Database schema changes in this repo — creating golang-migrate migration pairs, naming and numbering rules, the reversible-down requirement, the test-DB init script, and repository/model follow-up. Use whenever adding a table, column, index, or constraint.
原文语言:英语
How to write and run tests in this repo — unit vs integration vs e2e, the build tags and env vars each tier needs, running a single test, and the pre-commit gate. Use before writing a test, running the suite, or claiming work is done.
原文语言:英语
Keeping everything a user owns inside the JSON export, the JSON import and cloud backups. Use whenever adding a table that accumulates user rows, adding a field to one, or touching GET /exports/json, POST /imports/json or internal/service/cloudbackup — and…
原文语言:英语
House comment style — every comment is terse and states only the WHAT, never the WHY. Rationale, history, and justification live in git commit messages and in docs/, not in source. Load before writing any comment, when touching code that contains comments,…
原文语言:英语
Keeping the admin console in step with every feature — which of the /admin endpoints (stats, config, maintenance, audit log) a new featureset has to show up in, and what to change to put it there. Use when adding or removing a feature, adding an env-var…
原文语言:英语
Instrumenting a feature and keeping Prometheus metrics, docs/METRICS.md, the Grafana dashboards in docs/metrics/dashboards/ and the alert rules in step with each other. Use when adding, renaming or removing a metric, adding a background job, external…
原文语言:英语
Security-review one feature or change in this repo — auth/ownership, injection, crypto and secrets, SSRF and external I/O, resource limits. Use when auditing a feature before or after implementation, reviewing a branch for security impact, or when asked for a…
原文语言:英语
Keep test/e2e/ in step with API behaviour changes. Use whenever you change a status code, validation bound, required field, auth requirement or response shape — and whenever an e2e test goes red, to decide whether the test is stale or the code regressed.…
原文语言:英语
NinerLog's aviation invariants — durations as integer minutes, auto-calculated flight fields and their override flags, day/night and solar logic, the EASA/FAA currency evaluator registry, ownership checks and sentinel errors. Use before touching flights,…
原文语言:英语
Which document to update for a given behaviour change in this repo. Use at the end of any change that alters endpoints, domain rules, schema, packages, wiring, or features — docs/ is a first-class deliverable and must ship in the same PR.
原文语言:英语