✨ feat: implement new feature for enhanced user experience
This commit is contained in:
32
.github/copilot-instructions.md
vendored
32
.github/copilot-instructions.md
vendored
@@ -1,25 +1,25 @@
|
||||
# Copilot Instructions
|
||||
|
||||
## Common 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.
|
||||
|
||||
- Look in the problems tab for any errors or warnings in the code
|
||||
- Follow the existing code style and conventions used in the project
|
||||
- Write clear and concise comments where necessary to explain complex logic
|
||||
- Ensure code is modular and reusable where possible
|
||||
- Write unit tests for new functionality and ensure existing tests pass, but only if there is a configured testing framework
|
||||
- Avoid introducing new dependencies unless absolutely necessary, but ask the user if there is a specific library they want to use
|
||||
- If you are unsure about any requirements or details, ask the user for clarification before proceeding
|
||||
- Respect a11y and localization best practices if applicable, optimize for WCAG AA standards
|
||||
## 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
|
||||
- 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 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
|
||||
- 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`
|
||||
|
||||
Reference in New Issue
Block a user