diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md deleted file mode 100644 index 87a6c377..00000000 --- a/.github/copilot-instructions.md +++ /dev/null @@ -1,39 +0,0 @@ -# @maiertech/website - -## Overview - -This is my personal website with posts and notes. - -## Tech stack - -- PNPM. -- SvelteKit v2. -- Svelte v5. -- TypeScript. -- Zod for schema validation and type inference. -- TailwindCSS v4 and tailwind-merge. -- Mdsvex for authoring posts and notes. -- It imports reusable components, Zod schemas and TypeScript types from the private package - `@maiertech/sveltekit-helpers`. - -## Repository structure - -- `src/lib/components`: Svelte components. -- `src/lib/schemas`: Zod schemas. -- `src/lib/mdsvex/layouts`: Layouts for mdsvex. -- `src/routes`: File system router. - -## Code style - -- Always use Svelte v5 syntax. -- Do not use self-closing tags for Svelte components and HTML elements. -- Use TailwindCSS for styling and tailwind-merge for class merging. -- Comments use proper punctuation and end with a period. - -## Writing style - -- Use American English. -- Be concise and clear in your explanations. -- Use active voice and present tense. -- Write a tad informal, but not too casual. -- Don't use em dashes. diff --git a/.vscode/mcp.json b/.vscode/mcp.json new file mode 100644 index 00000000..7cc49d4b --- /dev/null +++ b/.vscode/mcp.json @@ -0,0 +1,9 @@ +{ + "servers": { + "svelte-mcp-server": { + "url": "https://mcp.svelte.dev/mcp", + "type": "http" + } + }, + "inputs": [] +} diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000..7a0b4b1f --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,69 @@ +# AGENTS.md + +## Description + +This is a content-driven website with three types of content: + +1. Post: An article that dives deeper into a topic. +2. Note: A brief observation or thought. +3. Video: A YouTube video instead of a post. + +## Stack + +- SvelteKit v2 with `adapter-node`. +- Deployment to Railway.com with their zero-configuration deployments. +- Svelte v5. +- TypeScript. +- Zod schemas. +- TailwindCSS v4 and `tailwind-merge`. +- Mdsvex for authoring posts and notes. +- Package `@maiertech/sveltekit-helpers` to import reusable components, Zod schemas and TypeScript + types. +- PNPM as package manager. + +## Conventions + +- Use PascalCase for both Svelte component names and their file names (e.g., PostCard.svelte). +- Always use Svelte v5, never v4. +- Prefer TailwindCSS in combination with tailwind-merge for styling, but you can use plain CSS + inside Svelte's `