Commit Graph

3 Commits

Author SHA1 Message Date
Christopher Harrison bdd993f43a Modernize Astro and Svelte instruction files (#2141)
Retarget instructions/astro.instructions.md to Astro 7 and
instructions/svelte.instructions.md to Svelte 5 / SvelteKit 2, fix
outdated APIs, add current stable feature guidance, and trim non-code
(setup, deployment, testing-workflow, recap) content so each file
focuses solely on code structure and best practices.

Regenerated docs/README.instructions.md via npm start.

Co-authored-by: GeekTrainer <GeekTrainer@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-29 11:21:54 +10:00
Christopher Harrison f078f4540d Update Svelte instructions with Svelte 5 best practices
- Added latest Svelte 5 runes best practices (.by, .pre, untrack)
- Added type-safe context with createContext() pattern
- Added transitions and animations section
- Emphasized effect best practices (prefer  over )
- Added function bindings for two-way binding
- Restructured document for better readability with logical groupings
- Organized into clear sections: Core Concepts, Reactivity, SvelteKit, UI, TypeScript, Production
- Consolidated related topics (data loading, forms, tooling)
- Updated to align with official Svelte 5 and SvelteKit documentation
2026-01-15 14:13:10 -08:00
Christopher Harrison e868e71634 Add comprehensive Svelte 5 and SvelteKit development guidelines (#294)
* Add comprehensive Svelte 5 and SvelteKit development guidelines

* Update Svelte instructions to include server-side rendering with client-side hydration
2025-10-08 11:49:55 +11:00