mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-07-07 21:26:35 +08:00
Compare commits
5 Commits
@sveltejs/
...
fix-publis
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e6d0907eb | ||
|
|
8dc63dca08 | ||
|
|
19fedcd35f | ||
|
|
b4eb5cc960 | ||
|
|
6676fd8116 |
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
name: Release
|
name: Release
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
outputs:
|
outputs:
|
||||||
published: ${{ steps.changesets.outputs.published }}
|
publishedPackages: ${{ steps.changesets.outputs.publishedPackages }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# pseudo-matrix for convenience, NEVER use more than a single combination
|
# pseudo-matrix for convenience, NEVER use more than a single combination
|
||||||
@@ -64,7 +64,7 @@ jobs:
|
|||||||
|
|
||||||
publish-mcp:
|
publish-mcp:
|
||||||
needs: release
|
needs: release
|
||||||
if: needs.release.outputs.published == 'true'
|
if: contains(needs.release.outputs.publishedPackages, '"@sveltejs/mcp"')
|
||||||
uses: ./.github/workflows/publish-mcp.yml
|
uses: ./.github/workflows/publish-mcp.yml
|
||||||
secrets:
|
secrets:
|
||||||
MCP_KEY: ${{ secrets.MCP_KEY }}
|
MCP_KEY: ${{ secrets.MCP_KEY }}
|
||||||
|
|||||||
@@ -33,10 +33,13 @@ The default configuration for the Svelte OpenCode plugin looks like this...
|
|||||||
},
|
},
|
||||||
"skills": {
|
"skills": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
|
},
|
||||||
|
"instructions": {
|
||||||
|
"enabled": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
...but if you prefer, you can enable only the subagent, only the MCP, only the skills, or configure the kind of MCP server you want to use (`local` or `remote`).
|
...but if you prefer, you can enable only the subagent, only the MCP, only the skills, or configure the kind of MCP server you want to use (`local` or `remote`).
|
||||||
|
|
||||||
You can place this file in `~/.config/opencode/svelte.json` or, if you have an `OPENCODE_CONFIG_DIR` environment variable specified, at `$OPENCODE_CONFIG_DIR/svelte.json`.
|
You can place this file in `./.opencode/svelte.json` (in your project), in `~/.config/opencode/svelte.json` or, if you have an `OPENCODE_CONFIG_DIR` environment variable specified, at `$OPENCODE_CONFIG_DIR/svelte.json`.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
## `svelte-code-writer`
|
## `svelte-code-writer`
|
||||||
|
|
||||||
CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating or editing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.
|
CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.
|
||||||
|
|
||||||
<a href="https://github.com/sveltejs/mcp/releases?q=svelte-code-writer" target="_blank" rel="noopener noreferrer">Open Releases page</a>
|
<a href="https://github.com/sveltejs/mcp/releases?q=svelte-code-writer" target="_blank" rel="noopener noreferrer">Open Releases page</a>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: svelte-code-writer
|
name: svelte-code-writer
|
||||||
description: CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating or editing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.
|
description: CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Svelte 5 Code Writer
|
# Svelte 5 Code Writer
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: svelte-code-writer
|
name: svelte-code-writer
|
||||||
description: CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating or editing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.
|
description: CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Svelte 5 Code Writer
|
# Svelte 5 Code Writer
|
||||||
|
|||||||
Reference in New Issue
Block a user