소스 정보
- 저장소
- fabioc-aloha/BrainBenchmark
- 최근 소스 활동
- 2026년 3월 8일 18:06
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/fabioc-aloha/BrainBenchmark --skill teams-app-patterns-skill명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | Teams App Patterns Skill |
| description | Full Teams app development patterns. |
| applyTo | **/*teams*,**/*manifest*,**/*m365* |
| user-invokable | false |
Full Teams app development patterns.
Teams platform evolves rapidly. Last validated: February 13, 2026 (M365 Agents Toolkit CLI 3.1.0, Manifest v1.19, DA v1.6)
Check: Teams Docs, M365 Agents Toolkit
💡 Use
@m365agentschat participant in VS Code Copilot Chat for scaffolding, schema help, and troubleshooting.
The @m365agents chat participant exposes MCP tools. Use these programmatically before falling back to manual docs:
| Tool | Purpose | Example Use |
|---|---|---|
mcp_m365agentstoo_get_schema | Get current manifest schemas | Validate app manifest (v1.19), DA manifest (v1.0), API plugin (v2.1), M365 agents YAML |
mcp_m365agentstoo_get_code_snippets | Working code samples | Teams AI library, Teams JS SDK, botbuilder patterns |
mcp_m365agentstoo_get_knowledge | Development knowledge base | Copilot extensibility, capabilities, best practices |
mcp_m365agentstoo_troubleshoot | Diagnose issues | Sideloading, conditional access, schema errors |
When to use: Any M365/Teams development task — call the relevant MCP tool first, then supplement with skill knowledge.
declarativeAgent.json for M365 Copilot agents has specific schema requirements:
| Field | Wrong (Pre-v1.6) | Correct (v1.6) |
|---|---|---|
disclaimer | "text string" | { "text": "..." } |
behavior_overrides.suggestions | false | { "disabled": false } |
behavior_overrides.special_instructions | "text string" | { "discourage_model_knowledge": false } |
user_overrides | { "capabilities": [...] } | [ { "path": "$.capabilities[?(@.name=='X')]", "allowed_actions": ["remove"] } ] |
CLI Version Matters:
--app-package-file flag, may NOT include declarativeAgent.json in zip (bug)--package-file flag, correctly includes declarativeAgent.jsonUpgrade CLI if packaging fails:
npm install -g @microsoft/teamsapp-cli@latest
teamsapp --version # Should be 3.x
appPackage/
├── manifest.json # Teams app manifest (schema v1.19+)
├── outline.png # 32x32, transparent bg, white only
├── color.png # 192x192, no transparency
└── declarativeAgent.json # Required for M365 Copilot agents (DA v1.6)
| Icon | Size | Background | Content |
|---|---|---|---|
| color.png | 192×192 | Any | Full color logo |
| outline.png | 32×32 | Transparent (Alpha=0) | White only (255,255,255) |
❌ Common failures: Wrong dimensions, outline has gray background, outline uses colors
When syncing icons from VS Code assets to M365:
# Install sharp if needed
npm install sharp
# Generate color.png (192x192) from logo.svg
node -e "const sharp = require('sharp'); sharp('vscode-extension/assets/logo.svg').resize(192, 192).png().toFile('appPackage/color.png')"
# Generate outline.png (32x32) from monochrome SVG
node -e "const sharp = require('sharp'); sharp('vscode-extension/assets/logo-mono.svg').resize(32, 32).png().toFile('appPackage/outline.png')"
Source of truth: platforms/vscode-extension/assets/logo.svg and logo-mono.svg
$schema, manifestVersion, version, idname.short, name.fulldescription.short, description.fullicons.outline, icons.colordeveloper.*, validDomainsclass MyBot extends TeamsActivityHandler {
constructor() {
super();
this.onMessage(async (context, next) => { ... });
}
}
{ "type": "AdaptiveCard", "version": "1.5", "body": [...], "actions": [...] }
await microsoftTeams.app.initialize();
const context = await microsoftTeams.app.getContext();
const token = await microsoftTeams.authentication.getAuthToken();
The M365 Agents Toolkit (formerly Teams Toolkit) provides:
CLI commands:
npx teamsapp package --env local
npx teamsapp validate --package-file ...
npx teamsapp preview --env local
MCP tools (available when M365 Agents Toolkit extension is installed):
mcp_m365agentstoo_get_schema("app_manifest") # Get Teams app manifest schema
mcp_m365agentstoo_get_schema("declarative_agent_manifest") # Get DA schema
mcp_m365agentstoo_get_code_snippets("adaptive cards") # Find code samples
mcp_m365agentstoo_troubleshoot("sideloading fails") # Diagnose issues
@m365agents chat participant — ask in VS Code Copilot Chat:
| Issue | Solution | MCP Tool |
|---|---|---|
| Manifest fails | Check schema version | mcp_m365agentstoo_get_schema |
| Bot not responding | Verify endpoint/tunnel | mcp_m365agentstoo_troubleshoot |
| Sideload fails | Enable custom apps in admin | mcp_m365agentstoo_troubleshoot |
| Need code samples | Find working patterns | mcp_m365agentstoo_get_code_snippets |
| Conditional access blocks CLI | @m365agents for guidance or manual Developer Portal upload | mcp_m365agentstoo_troubleshoot |
Microsoft orgs with strict conditional access policies may block teamsapp auth login m365. Error: AADSTS530084.
Fallback: Manual Developer Portal Upload
npm run package:devnpx teamsapp validate --package-file ./appPackage/build/appPackage.dev.zipKey insight: Same product, different audiences require different messaging.
| Platform | Audience | Focus |
|---|---|---|
| VS Code Marketplace | Developers | Code acceleration, syntax, debugging |
| M365/Teams | Knowledge workers | Research, analysis, productivity |
M365 Positioning Example:
See synapses.json for connections.