declarative-agent-developer

Installation
SKILL.md

M365 Agent Developer

⛔ Workspace Check — MANDATORY FIRST STEP

Before doing ANYTHING, check the workspace files to fingerprint the project:

  1. Run npx -y --package @microsoft/m365agentstoolkit-cli atk --version to confirm ATK CLI is installed. If not found → Stop. Tell the user to install ATK.
  2. Check for m365agents.yml or teamsApp.yml at the project root.
  3. Check for appPackage/declarativeAgent.json.
  4. Check for non-agent indicators (package.json with express/react/next, src/index.js, app.py, etc.)

Then follow the decision gate:

Condition Gate Action
Non-agent project files, no appPackage/ Reject Text-only response. No files, no commands.
No manifest, user wants to edit/deploy Reject Text-only response. Explain manifest is missing.
No manifest, user wants new project Scaffold Scaffolding Workflow
Manifest exists with errors Fix Detect → Inform → Ask (see below). Do NOT deploy.
Related skills

More from microsoft/work-iq

Installs
5
GitHub Stars
783
First Seen
Mar 27, 2026