-
Notifications
You must be signed in to change notification settings - Fork 1
Migrate copilot-instructions.md to AGENTS.md for multi-agent support #1027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "servers": { | ||
| "svelte-mcp-server": { | ||
| "url": "https://mcp.svelte.dev/mcp", | ||
| "type": "http" | ||
| } | ||
| }, | ||
| "inputs": [] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 `<style>` tag for complex styles. | ||
| - Use `$env/dynamic/private` runtime variables in SvelteKit. | ||
| - Don't return or throw SvelteKit's `error` function. It knows what to do. | ||
| - Comments always end with a period. | ||
|
maiertech marked this conversation as resolved.
|
||
|
|
||
| ## Written Content | ||
|
|
||
| - Use American English. | ||
| - Be concise and clear in your explanations. | ||
| - Use active voice and present tense. | ||
| - Write in a conversational but professional tone. | ||
|
maiertech marked this conversation as resolved.
|
||
|
|
||
| ## svelte-mcp-server | ||
|
|
||
| You are able to use the Svelte MCP server, where you have access to comprehensive Svelte 5 and | ||
| SvelteKit documentation. Here's how to use the available tools effectively: | ||
|
|
||
| ### 1. list-sections | ||
|
|
||
| Use this FIRST to discover all available documentation sections. Returns a structured list with | ||
| titles, use_cases, and paths. When asked about Svelte or SvelteKit topics, ALWAYS use this tool at | ||
| the start of the chat to find relevant sections. | ||
|
|
||
| ### 2. get-documentation | ||
|
|
||
| Retrieves full documentation content for specific sections. Accepts single or multiple sections. | ||
| After calling the list-sections tool, you MUST analyze the returned documentation sections | ||
| (especially the use_cases field) and then use the get-documentation tool to fetch ALL documentation | ||
| sections that are relevant for the user's task. | ||
|
|
||
| ### 3. svelte-autofixer | ||
|
|
||
| Analyzes Svelte code and returns issues and suggestions. You MUST use this tool whenever writing | ||
| Svelte code before sending it to the user. Keep calling it until no issues or suggestions are | ||
| returned. | ||
|
|
||
| ### 4. playground-link | ||
|
|
||
| Generates a Svelte Playground link with the provided code. After completing the code, ask the user | ||
| if they want a playground link. Only call this tool after user confirmation and NEVER if code was | ||
| written to files in their project. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.