Skip to content

Adds copilot instructions and prompts #538

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

Conversation

Adam-it
Copy link
Member

@Adam-it Adam-it commented Jul 17, 2025

🎯 Aim

Add GitHub Copilot custom instructions and reusable prompts to improve AI-assisted development experience for the SharePoint Framework (SPFx) Toolkit VS Code Extension.

πŸ“· Result

result

βœ… What was done

  • Added .github/copilot-instructions.md with comprehensive extension architecture documentation
  • Created .github/prompts/create-pr-description.prompt.md for automated PR description generation
  • Documented key architectural components (Extension Host, Chat Participant, Webview Panel, Service Layer, Authentication)
  • Outlined development workflow including build system, NPM scripts, and VS Code tasks
  • Provided project structure patterns for core services, chat integration, and UI components
  • Documented critical dependencies and Microsoft 365 integration patterns
  • Included development conventions for command registration, constants management, and error handling
  • Added SPFx-specific knowledge including project detection, supported operations, and sample gallery integration

πŸ”— Related issue

internal suggestion

@nicodecleyre nicodecleyre self-assigned this Jul 20, 2025
Copy link
Collaborator

@nicodecleyre nicodecleyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing to add. Great work as always πŸ™ You rock 🀩

@nicodecleyre nicodecleyre merged commit dad865b into pnp:main Jul 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants