Invio
Copilot instructions1.2k starsChanged 9 months agoUnlicenseView on GitHub
Use repo root as working directory unless noted. Current state of tests: there are no committed backend/frontend test files yet (*_test.ts, .test., .spec. not present), so there is no project test suite or single-test command in active use.
We split this copilot-instructions.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Use repo root as working directory unless noted.
≈ “Common” is an estimate: at least 1 in 5 of the 3,669 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot instructions for Invio
Build, test, and lint commands
Use repo root as working directory unless noted.
| Area | Command | Notes |
| Frontend install | cd frontend && bun install | bun.lock is committed; prefer Bun. |
| Frontend dev | cd frontend && bun run dev | Vite/SvelteKit dev server. |
| Frontend build | cd frontend && bun run build | Copies ../VERSION into frontend/static/VERSION first. |
| Frontend type check | cd frontend && bun run check | Runs svelte-kit sync + svelte-check. |
| Frontend lint | cd frontend && bun run lint | Prettier check + ESLint. |
| Backend dev | cd backend && deno task dev | Watches src/app.ts. |
| Backend run | cd backend && deno task start | Production-style start command. |
| Backend lint | cd backend && deno lint | Uses Deno lint rules from deno.json. |
| Backend format check | cd backend && deno fmt --check | Deno formatter check. |
| Docker stack | docker compose up -d | Runs frontend and backend services. |
Current state of tests: there are no committed backend/frontend test files yet (*_test.ts, *.test.*, *.spec.* not present), so there is no project test suite or single-test command in active use.
High-level architecture
- Invio is a split app: SvelteKit frontend (
frontend/) and Hono + SQLite backend (backend/), with Docker images for each and a compose file wiring frontend -> backend (BACKEND_URL). - Backend entrypoint is
backend/src/app.ts; it initializes DB, configures security/CORS headers, and mounts three route groups under/api/v1:authRoutes(/auth/login) for JWT issuanceadminRoutesfor authenticated CRUD/export/settings/user managementpublicRoutesfor unauthenticated share-token invoice access and public assets
- Frontend is SSR-first.
frontend/src/hooks.server.tsreadsinvio_session, fetches/api/v1/settingsand/api/v1/users/me, and stores user/localization inevent.localsfor page server loads. - Frontend route
frontend/src/routes/api/[...path]/+server.tsis a backend proxy. It forwards request bodies/headers toBACKEND_URLand injectsAuthorization: Bearer <invio_session>when missing. - Data layer is centralized in
backend/src/database/init.ts: opens SQLite DB, runs SQL migrations, applies idempotent schema upgrades, seeds admin user + permission matrix, manages version-based DB backups, and installs builtin HTML templates frombackend/static/templates/. - Invoice export flows are shared backend concerns: PDF generation (
utils/pdf.ts, WeasyPrint-aware runtime), XML profile exports (utils/xmlProfiles.ts,ubl.ts,facturx.ts,fatturapa.ts) are exposed from admin/public invoice routes.
Key repository conventions
- Permission model is explicit and shared: resources/actions are canonicalized in
backend/src/types/index.ts(RESOURCES,ACTIONS,RESOURCE_ACTIONS). New protected endpoints should userequirePermission(resource, action)inadmin.tsand stay aligned with that matrix. - Auth/session flow: login sets
invio_sessioncookie in frontend; backend expects Bearer JWT. Prefer existing helpers ($lib/backend.ts,$lib/auth.ts) instead of ad-hoc fetch/auth parsing. - Settings payload normalization is intentional: backend accepts aliases (camelCase + snake_case variants like
postalCityFormat/postal_city_format) and normalizes before persistence/use. Preserve this compatibility when adding settings keys. - Localization pipeline: frontend translations live in
frontend/src/lib/i18n/locales/*.json; placeholders use{{param}}format. Translation maintenance usesbun run sync-keysand.github/scripts/translations.py(CI also sorts locale JSON keys). - UI stack conventions: frontend styling uses Tailwind CSS v4 + daisyUI configured in
frontend/src/routes/layout.css(@plugin "daisyui"and custom themes). Follow existing daisyUI utility/component patterns;.github/daisyui.instructions.mdcontains project guidance for UI edits.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about kittendevv/Invio
- LukeEvansTech/talos-cluster“feat(container): update image ghcr.io/kittendevv/invio (v2.3.1 ➔ v2.4.0)”GitHub · Oct 30, 2026
- LukeEvansTech/talos-cluster“feat(container): update image ghcr.io/kittendevv/invio (v2.2.0 ➔ v2.3.1)”GitHub · Oct 25, 2026
- LukeEvansTech/talos-cluster“feat(container): update invio group (v2.0.2 ➔ v2.1.1)”GitHub · Jun 8, 2026
- arran4/arran4“Update repo table”GitHub · May 29, 2026
- LukeEvansTech/talos-cluster“fix(container): update image ghcr.io/kittendevv/invio ( v2.0.1 → v2.0.2 )”GitHub · May 20, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub (14 times).
On GitHub · 14
- Oct 30, 2026feat(container): update image ghcr.io/kittendevv/invio (v2.3.1 ➔ v2.4.0) — LukeEvansTech/talos-cluster0 reactions · 3 comments
- Oct 25, 2026feat(container): update image ghcr.io/kittendevv/invio (v2.2.0 ➔ v2.3.1) — LukeEvansTech/talos-cluster0 reactions · 4 comments
- Jun 8, 2026feat(container): update invio group (v2.0.2 ➔ v2.1.1) — LukeEvansTech/talos-cluster0 reactions · 4 comments
- May 29, 2026Update repo table — arran4/arran40 reactions
- May 20, 2026fix(container): update image ghcr.io/kittendevv/invio ( v2.0.1 → v2.0.2 ) — LukeEvansTech/talos-cluster0 reactions · 3 comments
9 more on GitHub
- May 6, 2026fix(container): update image ghcr.io/kittendevv/invio ( v2.0.0 → v2.0.1 ) — LukeEvansTech/talos-cluster0 reactions · 2 comments
- Apr 28, 2026feat(container)!: Update Invio group ( v1.15.1 → v2.0.0 ) (major) — LukeEvansTech/talos-cluster0 reactions · 3 comments
- Feb 20, 2026fix(container): update invio group ( v1.15.0 → v1.15.1 ) — LukeEvansTech/talos-cluster0 reactions · 2 comments
- Feb 19, 2026feat(container): update invio group ( v1.14.0 → v1.15.0 ) — LukeEvansTech/talos-cluster0 reactions · 2 comments
- Feb 19, 2026feat(container): update image ghcr.io/kittendevv/invio-frontend ( v1.14.0 → v1.15.0 ) - autoclosed — LukeEvansTech/talos-cluster0 reactions · 2 comments
- Feb 19, 2026feat(container): update image ghcr.io/kittendevv/invio-backend ( v1.14.0 → v1.15.0 ) - autoclosed — LukeEvansTech/talos-cluster0 reactions · 2 comments
- Feb 14, 2026feat(container): update image ghcr.io/kittendevv/invio-frontend ( v1.13.0 → v1.14.0 ) — LukeEvansTech/talos-cluster0 reactions · 2 comments
- Feb 14, 2026feat(container): update image ghcr.io/kittendevv/invio-backend ( v1.13.0 → v1.14.0 ) — LukeEvansTech/talos-cluster0 reactions · 2 comments
- Feb 2, 2026Update invio to version v1.12.1 — getumbrel/umbrel-apps0 reactions · 4 comments
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,297 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

