Skip to content

Conversation

axelsrz
Copy link

@axelsrz axelsrz commented Aug 29, 2025

This pull request adds a comprehensive set of configuration, environment, and documentation files to the Python "Default Bot" template for Microsoft Teams, ensuring a smoother developer experience in VS Code and better project structure. The changes include VS Code settings, launch and task configurations, environment variable templates, ignore files, a Teams app manifest, and a detailed README. These additions provide out-of-the-box support for debugging, linting, formatting, deployment, and documentation, making it easier to start and manage bot projects.

VS Code Configuration and Developer Experience

  • Added .vscode/settings.json to enable Python linting with flake8, formatting with black, and schema validation for JSON files.
  • Added .vscode/extensions.json to recommend essential VS Code extensions for Python and Teams development.
  • Added .vscode/launch.json.tpl with launch configurations for debugging the bot in Teams (Edge, Chrome, Desktop, Playground), including compound configurations for multi-process debugging.
  • Added .vscode/tasks.json with pre-defined tasks for validating prerequisites, deploying, starting the application, and launching the Teams client or Playground.

Environment and Ignore Files

  • Added multiple environment variable templates (env/.env.local, env/.env.dev, env/.env.playground) to support local, development, and playground scenarios, improving deployment and debugging flexibility. [1] [2] [3]
  • Added .gitignore.tpl and .webappignore files to exclude Python, Node.js, and VS Code artifacts from source control and web app packaging, keeping the repository clean. [1] [2]

Manifest and Documentation

  • Added appPackage/manifest.json.tpl for the Teams app manifest, specifying bot configuration, commands, permissions, and branding.
  • Added a detailed README.md.tpl describing prerequisites, setup instructions, included features, project structure, and customization guidance for the default bot template.

@axelsrz axelsrz marked this pull request as ready for review September 3, 2025 00:12
@tecton
Copy link
Contributor

tecton commented Sep 24, 2025

Hi @axelsrz, is this template supposed to be scaffolded as the custom engine agent template? The UI entry of this template would be "Custom Engine Agent" -> "Basic Custom Engine Agent" -> "Python". If so, please help to rename the template folder name as well as the descriptions in the template to differentiate from Teams bot template.

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