XAP AssistantYour AI coding partner for the XAP SDK — understands projects, helps write code, and deploys to PiXP, all from VS Code Chat. Quick Start
Requires VS Code 1.142.0+. Use
Use
Customer skills use the same FeaturesChat with
|
| What you want to do | Example |
|---|---|
| Understand a project | /xap:read ./MyExperiment |
| Ask questions | /xap explain how many remote calls are in this workflow |
| Fix a bug | /xap:code ./MyExperiment fix the null check bug in MyPlugin.cs |
| Implement a feature | /xap:code ./MyExperiment add a new caching plugin for the response path |
| Change project config | /xap:code ./MyExperiment enable experiment incremental load |
| Reference ADO resources | /xap implement this feature using the referenced ADO pull request: <URL> |
| Deploy to PiXP | /xap deploy my experiment to PiXP |
| Show help | /xap:help |
Smart Workflow
The assistant adapts its workflow to the task complexity:
- Simple changes (bug fix, config tweak, small refactor) — implements directly
- Complex features (new plugin, multi-file changes) — creates a design document for your review first, then implements after your approval
- Questions — answers using project analysis and built-in XAP SDK knowledge
- Deploy to PiXP — one request takes your experiment from local changes to a verified deployment. Uses incremental builds and Incremental Load when safe, handles common blockers such as certificate setup, and resumes failed steps without repeating completed work.
XAP SDK Expertise
The assistant understands XAP SDK conventions — plugins, workflows, schemas, build configuration, and common pitfalls. It generates XAP-aware code that follows established patterns, reducing the amount of manual correction needed.
Azure DevOps Integration
The assistant can reference Azure DevOps resources directly from your prompts:
- Refer to ADO files, commits, and pull requests by URL
- Browse and search code across ADO repositories
- Use ADO context to inform implementation decisions
Full Coding Agent
Beyond answering questions, the assistant can take action in your workspace:
- Read, edit, and create files
- Run builds, tests, and deployments
- Search code and diagnose errors
All actions are visible in the chat, so you stay in control.
Demo: A Developer's Workflow
Here's how a typical development session looks with /xap.
Screenshots were captured with the previous entry; use /xap for new requests.
Step 1 — Understand an unfamiliar project
You've been assigned to work on the Crisp experiment — a large XAP solution you haven't seen before. Use /xap:read with the solution path. The assistant reads the solution structure, experiment files, workflows, plugins, and schemas step by step:
Input![]() |
Output![]() |
Step 2 — Implement a feature (design-first)
Now you need to add an Editorial Magazine feature — a new workflow with multiple plugins. You describe the requirements in detail, referencing existing schemas and an ADO commit for context. For complex changes like this, the assistant first creates a detailed design document (saved to your workspace for future reference) and presents a design summary in the chat for your review before writing any code — listing Bond schemas, plugins, configs, and workflows it plans to create:
Input![]() |
Output![]() |
Step 3 — Review feedback, approve, and watch it code
The assistant incorporates your feedback (e.g., changing the ObjectStore key, adjusting timeout settings, adding a feature flag) and presents an Updated Design Summary showing exactly what changed. Once you approve the design, it implements the changes and runs the build to verify the result:
Input![]() |
Output![]() |
Step 4 — Deploy to PiXP
Once you're happy with the code, deploy the experiment to PiXP for testing. The assistant locates the build output, runs the PiXP uploader, lets you select a deployment region, and confirms the upload with a summary:
Step 5 — Fix issues and iterate
Need to change something after testing? Just describe the update. Here the developer decides to remove the feature flag from the INI and let the predicate plugin handle the gating instead. The assistant understands the change, plans the fix, and will rebuild and redeploy — all in one step:
Vision & Roadmap
XAP Assistant v1 focuses on local development — from understanding a project to deploying an experiment. It's the first step toward a unified assistant covering the entire XAP development lifecycle.
Coming in Future Releases
| Area | Planned Capabilities |
|---|---|
| Project Scaffolding | Create new XAP projects from scratch |
| Testing | Xping test generation and execution |
| End-to-End Workflows | Singlebox PiXP test workflows in chat |
| Config & Release | Config changes, validations, and release workflows |
| Production Deployment | Deployment and validation automation |
| Production Debugging | Log interpretation, anomaly detection, and workflow-aware diagnostics |
Have ideas for what should come next? Share your feedback in the Teams channel.
Skills and Slash Commands
Use /xap <request> to let the assistant choose a skill, or
/xap:<skillname> to select one directly.
| Command | Description |
|---|---|
/xap:read <path> |
Analyze and understand an XAP project structure |
/xap:code <path> <requirement> |
Coding workflow (design-first for complex features) |
/xap:pixp <action> |
Build, test, deploy, validate, or debug an Experiment on PiXP |
/xap:qa <question> |
Answer XAP knowledge questions using the Knowledge Base and source code |
/xap:deploy <package or build link> |
Track deployment status, diagnose pipeline failures, and provide suggestions |
/xap:help |
Show usage examples and available commands |
Example: /xap:read .\src\MyExperiment
Recommended Model
For the best experience, use Claude Opus 4.6 in VS Code Agent mode:
| Model | Best For |
|---|---|
| Claude Opus 4.6 (1M context) | Large projects and complex requirements — longer context memory |
Tip: The extension works with any Copilot Chat model, but Claude Opus tends to produce better results for complex XAP projects due to its larger context window and stronger reasoning.
Note: The recommended model may change as newer models become available. Check back for updates.
Requirements
| Requirement | Details |
|---|---|
| VS Code | 1.142.0+ |
| GitHub Copilot Chat | Must be installed and active |
| XAP project workspace | The extension is designed for XAP projects — open a workspace containing a XAP solution (e.g. RichCaptions) for the best experience |
| Network | Access to Azure DevOps (msasg.visualstudio.com) for ADO integration |
Settings
Open Settings (Ctrl+,) and search for xapAssistant:
| Setting | Default | Description |
|---|---|---|
xapAssistant.debugMode |
false |
Enable verbose console output for troubleshooting |
xapAssistant.configureExternalClients |
true |
Set up XAP for Copilot CLI and Claude Code. Reload VS Code after changing. |
Troubleshooting
| Issue | Solution |
|---|---|
Previous @xap command no longer available |
Use /xap instead, or /xap:help for available commands. |
/xap not appearing in chat |
Confirm VS Code 1.142.0+, reload the window, and start a new Copilot session. If still missing, check that XAP is enabled in Agent Customizations. |
| ADO integration not working | On first use, follow the browser sign-in prompt to authenticate with Azure DevOps |
| Assistant gives generic answers | Make sure your workspace is open to a XAP project root |
| Slow responses | Narrow your request scope or break complex tasks into smaller steps |
Using XAP Assistant: GitHub Copilot Chat, Claude Code, and Copilot CLI
XAP Assistant is available in three environments — GitHub Copilot Chat (GHC) within VS Code, Claude Code (CC) as a CLI tool, and GitHub Copilot CLI as a terminal tool. All three provide the same XAP SDK expertise, but their interaction models differ. This section helps you work effectively in each and switch between them smoothly.
Quick Comparison
| Aspect | GitHub Copilot Chat (GHC) | Claude Code (CC) | GitHub Copilot CLI |
|---|---|---|---|
| How to invoke | /xap <your message> |
/xap:task <your message> |
/xap <your message> |
| Where it runs | VS Code Chat panel | VS Code extension and Terminal (CLI) | Terminal (copilot command) |
| Follow-up requests | Continue in the same conversation | Continue in the same conversation | Continue in the same conversation |
| Commands | /xap or /xap:<skillname> |
/xap:task |
/xap or /xap:<skillname> |
Chat with /xap in VS Code
Start a new Copilot session and type /xap followed by your request.
Describe the task naturally to let the assistant choose a skill, or use
/xap:<skillname> to select a skill directly.
Example session:
/xap:read ./src/MyExperiment
/xap:code implement a new caching plugin for the response path
/xap approve the design and implement it
/xap:pixp build and upload to pixp
/xap:deploy MyPackage 1.2.3
Claude Code (CC) Usage
In CC, XAP Assistant is a skill plugin. You invoke it with /xap:task in the Claude Code CLI.
Key behavior:
- Invoke
/xap:taskonce — the XAP SDK handbooks and guidelines are injected into the session context. Subsequent turns in the same session automatically carry forward the XAP knowledge; you don't need to repeat/xap:taskfor follow-up messages.
Example session:
/xap:task ./src/MyExperiment help me understand this project
> (follow-up) now add a new caching plugin for the response path
> (follow-up) approve
> (follow-up) build and upload to pixp
GitHub Copilot CLI Usage
Requires GitHub Copilot CLI 1.0.85 or later. Check with copilot --version.
Start a new copilot session
and use /xap, just as in VS Code:
/xap:read ./src/MyExperiment
/xap:code add a new caching plugin
/xap:pixp build and upload to pixp
/xap:deploy MyPackage 1.2.3
Tips for Switching Between Environments
- Use the same commands in VS Code and Copilot CLI —
/xap <request>lets the assistant choose a skill;/xap:<skillname>selects one directly. - Refresh guidance when needed — If a long conversation loses XAP context, invoke
/xapagain with your current task. In Claude Code, use/xap:task. - Open your XAP workspace first — The assistant uses the workspace root to locate solution files, experiment configurations, and build outputs.
Feedback & Support
Have a question, found a bug, or want to suggest a feature?
- Report a bug or request a feature: Post in the Q&A tab on the Marketplace page
- Teams channel: Xap Partner QA
Privacy
This extension collects usage data (command usage, response times, error diagnostics) and sends it to Microsoft to help improve our products and services. Read our Privacy Statement to learn more. This extension respects the telemetry.telemetryLevel setting — you can learn more about disabling telemetry at VS Code FAQ.








