26 lines
1.5 KiB
Markdown
26 lines
1.5 KiB
Markdown
# Copilot Instructions
|
|
|
|
This workspace uses scoped instructions with YAML front matter in `.github/instructions/*.instructions.md`.
|
|
Keep this file minimal to avoid duplicate or conflicting guidance.
|
|
|
|
## Quick Reference
|
|
|
|
- **General workflow**: See `.github/instructions/general.instructions.md`
|
|
- **Frontend (Svelte)**: See `.github/instructions/frontend.instructions.md`
|
|
- **API Hooks (tibi-server)**: See `.github/instructions/api-hooks.instructions.md`
|
|
- **SSR/Caching**: See `.github/instructions/ssr.instructions.md`
|
|
- **Testing (Playwright)**: See `.github/instructions/testing.instructions.md`
|
|
|
|
## Toolchain
|
|
|
|
- See `.env` in root for project-specific environment variables
|
|
- See `Makefile` for starting up the development environment with Docker
|
|
- If development environment is running, access the website at: `https://${PROJECT_NAME}.code.testversion.online/` or ask the user for the correct URL
|
|
- You can also use Browser MCP, so ask user to connect if needed
|
|
- Esbuild is used, watching for changes in files to rebuild automatically
|
|
- To force a restart of the frontend build and dev-server run: `make docker-restart-frontend`
|
|
- Backend is tibi-server configured in `/api/` folder and also restarted if changes are detected in this folder
|
|
- To show last X lines of docker logs run: `make docker-logs-X` where X is the number of lines you want to see
|
|
- For a11y testing use the MCP a11y tools if available
|
|
- For testing run: `yarn test` (all), `yarn test:e2e`, `yarn test:api`, `yarn test:visual`
|