XAP Coding AssistantAI tools for understanding and writing correct XAP project code.
Guidance Videos
FeaturesThis extension provides two Language Model Tools for GitHub Copilot:
|
| Step | Name | Description |
|---|---|---|
| 1 | Project Understanding | Analyze the XAP project structure and save understanding to .github/repohandbook/ |
| 2 | Requirement Understanding | Clarify and document your requirement for code design |
| 3 | Design | Create a technical design for the code changes |
| 4 | Coding | Implement the code following the approved design |
💡 Tip: At each step, intermediate files will be saved to
.github/repohandbook/. Please review these files when prompted to ensure accuracy before proceeding to the next step.
💡 Tip: There will be cat greeting at each llm response. If you don't see the greeting, it means context becomes too long, open a new chat and use
#xap-code please continue with <intermediate_file>(e.g.,requirement_xxx.md,design_xxx.md, orcode_xxx.md) to resume.
Installation
From VS Code Marketplace
- Open Extensions (Ctrl+Shift+X)
- Search "XAP Coding Assistant"
- Click Install
From Command Line
code --install-extension xap-platform.xap-coding-assistant
From VSIX
code --install-extension xap-coding-assistant-1.0.0.vsix
How It Works
This extension follows the LLM + Prompts + Handbook design:
- Tools provide context - Prompts and handbooks are bundled in the extension
- LLM follows prompts - Copilot uses the prompts to guide the workflow
- User interaction - Multi-turn conversation for clarification and approval
- Files saved to
.github/repohandbook/- Understanding, requirements, and designs are saved for reference
The tools do NOT orchestrate the workflow themselves - they simply provide the right context for Copilot to follow the prompts naturally.
Files Created
The tools save workflow artifacts to the .github/repohandbook/ folder in your workspace:
| File | Description |
|---|---|
.github/repohandbook/understand_*.md |
Project understanding documentation |
.github/repohandbook/requirement_*.md |
Confirmed requirements |
.github/repohandbook/design_*.md |
Approved technical designs |
You can review these files at any time and add .github/repohandbook/ to .gitignore if desired.
Requirements
- VS Code 1.100.0 or higher
- GitHub Copilot extension
License
Internal Microsoft use only.