photoprism/.github/instructions/backend.instructions.md
Michael Mayer 8de7fa35af CI: Add Instructions for GitHub Copilot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-14 20:12:15 +02:00

412 B

applyTo
internal/**
pkg/**
cmd/**

For backend changes:

  • Maintain Go style; keep functions small, errors wrapped with context.
  • Add/update unit tests; ensure make test-go passes.
  • Touching schema? Mention migrations and verify with photoprism migrations ls/migrate.
  • For CLI/config, confirm flags/envs via photoprism --help / photoprism show config-options before suggesting.