m365-agent-scaffolder
БесплатноБез исполняемых скриптовНе проверенQuickly scaffolds new Microsoft 365 Copilot declarative agent (M365 agent, copilot agent, agent, declarative copilot, copilot) projects using ATK CLI…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
M365 Agent Scaffolder
⛔ STOP - READ THIS FIRST ⛔
THE ONLY VALID COMMAND
Copy this command EXACTLY. Replace <project-name> with the user's project name:
npx -p @microsoft/m365agentstoolkit-cli@latest atk new -n <project-name> -c declarative-agent -with-plugin type-spec -i false
FORBIDDEN COMMANDS - THESE DO NOT EXIST
| ❌ INVALID COMMAND | WHY IT FAILS |
|---|---|
atk init |
DOES NOT EXIST - there is no init command |
atk init --template |
DOES NOT EXIST - there is no init command or --template flag |
atk create |
DOES NOT EXIST - there is no create command |
atk scaffold |
DOES NOT EXIST - there is no scaffold command |
--template anything |
DOES NOT EXIST - there is no --template flag |
--template declarative-copilot |
DOES NOT EXIST - this is completely made up |
--template m365-agent |
DOES NOT EXIST - this is completely made up |
Any command without npx -p @microsoft/m365agentstoolkit-cli@latest prefix |
WILL FAIL - atk might not be installed globally |
CORRECT vs WRONG
✅ CORRECT:
npx -p @microsoft/m365agentstoolkit-cli@latest atk new -n my-agent -c declarative-agent -with-plugin type-spec -i false
❌ WRONG (DO NOT USE):
atk init my-agent --template declarative-copilot
❌ WRONG (DO NOT USE):
atk init my-agent --template m365-agent
❌ WRONG (DO NOT USE):
atk create my-agent
Quick Summary
This skill does ONE thing: creates new M365 Copilot agent project structures. It:
- Collects minimal required information
- Scaffolds the project using ATK CLI
- Automatically continues to m365-agent-developer skill for implementation
All architecture, planning, implementation, and deployment is handled by the m365-agent-developer skill.
When to Use This Skill
Use this skill ONLY when:
- Creating a brand new empty M365 Copilot agent project from scratch
- The user explicitly asks to create a new M365 Copilot project, agent or workspace
- Starting a new M365 Copilot agent development initiative that needs initial project structure
Do NOT use this skill when:
- Working with existing projects (use m365-agent-developer)
- Implementing features or capabilities (use m365-agent-developer)
- Deploying or managing agents (use m365-agent-developer)
- Troubleshooting issues (use m365-agent-developer)
- Designing architecture or planning (use m365-agent-developer)
Instructions
Follow these exact steps when creating a new M365 Copilot agent project:
Step 1: Understand the Request
Action: Verify the user wants to create a NEW M365 Copilot agent project.
Check for:
- Keywords: "new project", "create agent", "scaffold", "start from scratch", "M365 Copilot", "M365 agent", "declarative agent"
- Confirmation this is NOT an existing project
If existing project: Stop and recommend using m365-agent-developer skill.
Step 2: Verify Empty Directory and Collect Project Name
Action: First, check if the current directory is empty. Then ask for the project name.
Directory Check (CRITICAL):
- Use
ls -Ato check if current directory is empty - Ignore hidden folders (folders starting with
.) when evaluating if directory is empty:- Hidden folders like
.claude,.copilot,.githubare configuration/metadata folders - These folders are used to steer coding agents and should not prevent scaffolding
- If ONLY hidden folders exist, treat the directory as empty
- Hidden folders like
- If directory is NOT empty (has non-hidden files/folders), ERROR OUT with message:
❌ Error: Current directory is not empty! This skill requires an empty directory to scaffold a new M365 Copilot agent project. Please navigate to an empty directory or create a new one first. - Do NOT proceed if directory has non-hidden content
If directory is empty, collect:
- Project name (required)
- What should the M365 Copilot agent project be named?
- Must be valid for directory names (no spaces, special characters)
- Example: "customer-support-agent", "sales-assistant"
Example question:
What would you like to name your M365 Copilot agent project?
Step 3: Run ATK CLI Command and Move Files to Current Directory
Action: Execute the scaffolding command, then move files from the ATK-created subfolder to the current directory.
⛔ COMMAND REMINDER - COPY EXACTLY ⛔
Commands to execute sequentially:
- Create the project (COPY THIS EXACT COMMAND):
npx -p @microsoft/m365agentstoolkit-cli@latest atk new -n <project-name> -c declarative-agent -with-plugin type-spec -i false
BEFORE YOU RUN ANY COMMAND, VERIFY:
- ✅ Command starts with
npx -p @microsoft/m365agentstoolkit-cli@latest - ✅ Command uses
atk new(NOTatk init, NOTatk create) - ✅ Command has
-c declarative-agent(NOT--template) - ✅ Command has
-with-plugin type-spec - ✅ Command has
-i false
**IF YOUR COMMAND LOOKS LIKE
Установить m365-agent-scaffolder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл m365-agent-scaffolder?
Quickly scaffolds new Microsoft 365 Copilot declarative agent (M365 agent, copilot agent, agent, declarative copilot, copilot) projects using ATK CLI. Collects project information and creates the initial project structure. Use only when creating a new empty M365 Copilot agent project from scratch.
Как установить скилл m365-agent-scaffolder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл m365-agent-scaffolder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic