chat-participant-patterns
SolidVS Code Chat API patterns.
AI & Automation 3 stars
1 forks Updated today MIT
Install
Quality Score: 81/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Chat Participant Patterns Skill
> VS Code Chat API patterns.
## ⚠️ Staleness Warning
Chat APIs evolve with VS Code releases. **Last validated:** March 2026 (VS Code 1.111+)
**Check:** [Chat API](https://code.visualstudio.com/api/extension-guides/ai/chat), [LM API](https://code.visualstudio.com/api/extension-guides/ai/language-model), [Tools API](https://code.visualstudio.com/api/extension-guides/ai/tools), [AI Extensibility Overview](https://code.visualstudio.com/api/extension-guides/ai/ai-extensibility-overview), [EXTERNAL-API-REGISTRY.md](../../EXTERNAL-API-REGISTRY.md)
---
## When to Use Chat Participant vs. Skills/Tools
| Approach | Use When | VS Code API |
| -------- | --------- | ----------- |
| **Chat Participant** | Need full control of prompt + response, domain-specific @-mention | `vscode.chat.createChatParticipant` |
| **LM Tool** | Domain capability invoked automatically in agent sessions | `vscode.lm.registerTool` |
| **Agent Skill** (SKILL.md) | Domain knowledge embedded into any agent session (no code) | `chat.useAgentSkills` + SKILL.md file |
| **MCP Server** | Cross-platform tool providing data/actions to any MCP client | MCP SDK |
→ Prefer Skills for domain knowledge. Reserve participants for full prompt orchestration.
---
## Create Participant
```typescript
// package.json contribution
"contributes": {
"chatParticipants": [{
"id": "my-ext.participant",
"name": "myparticipant",
"fullName": "My Participant",
"...
Details
- Author
- fabioc-aloha
- Repository
- fabioc-aloha/Alex_Skill_Mall
- Created
- 3 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
ai-provider-openai-sdk
Official OpenAI SDK patterns for TypeScript/Node.js — client setup, Chat Completions, Responses API, streaming, structured outputs, function calling, embeddings, vision, audio, and production best practices
18 Updated 1 weeks ago
agents-inc AI & Automation Solid
ai-provider-anthropic-sdk
Official Anthropic SDK patterns for TypeScript/Node.js — client setup, Messages API, streaming, tool use, vision, extended thinking, structured outputs, prompt caching, batch API, and production best practices
18 Updated 1 weeks ago
agents-inc AI & Automation Solid
ai-agent-design
Design autonomous AI agents that reason, plan, and execute tasks
3 Updated today
fabioc-aloha