Declarative Agents

Declarative Agents

Guides building Microsoft 365 Copilot declarative agents through basic, advanced and validation workflows, using the v1.5 schema, TypeSpec and the Agents Toolkit.

Skill files1 file
SKILL.md95 lines
1
---
2
name: declarative-agents
3
description: 'Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and Microsoft 365 Agents Toolkit integration'
4
---
5
6
# Microsoft 365 Declarative Agents Development Kit
7
8
I'll help you create and develop Microsoft 365 Copilot declarative agents using the latest v1.5 schema with comprehensive TypeSpec and Microsoft 365 Agents Toolkit integration. Choose from three specialized workflows:
9
10
## Workflow 1: Basic Agent Creation
11
**Perfect for**: New developers, simple agents, quick prototypes
12
13
I'll guide you through:
14
1. **Agent Planning**: Define purpose, target users, and core capabilities
15
2. **Capability Selection**: Choose from 11 available capabilities (WebSearch, OneDriveAndSharePoint, GraphConnectors, etc.)
16
3. **Basic Schema Creation**: Generate compliant JSON manifest with proper constraints
17
4. **TypeSpec Alternative**: Create modern type-safe definitions that compile to JSON
18
5. **Testing Setup**: Configure Agents Playground for local testing
19
6. **Toolkit Integration**: Leverage Microsoft 365 Agents Toolkit for enhanced development
20
21
## Workflow 2: Advanced Enterprise Agent Design
22
**Perfect for**: Complex enterprise scenarios, production deployment, advanced features
23
24
I'll help you architect:
25
1. **Enterprise Requirements Analysis**: Multi-tenant considerations, compliance, security
26
2. **Advanced Capability Configuration**: Complex capability combinations and interactions
27
3. **Behavior Override Implementation**: Custom response patterns and specialized behaviors
28
4. **Localization Strategy**: Multi-language support with proper resource management
29
5. **Conversation Starters**: Strategic conversation entry points for user engagement
30
6. **Production Deployment**: Environment management, versioning, and lifecycle planning
31
7. **Monitoring & Analytics**: Implementation of tracking and performance optimization
32
33
## Workflow 3: Validation & Optimization
34
**Perfect for**: Existing agents, troubleshooting, performance optimization
35
36
I'll perform:
37
1. **Schema Compliance Validation**: Full v1.5 specification adherence checking
38
2. **Character Limit Optimization**: Name (100), description (1000), instructions (8000)
39
3. **Capability Audit**: Verify proper capability configuration and usage
40
4. **TypeSpec Migration**: Convert existing JSON to modern TypeSpec definitions
41
5. **Testing Protocol**: Comprehensive validation using Agents Playground
42
6. **Performance Analysis**: Identify bottlenecks and optimization opportunities
43
7. **Best Practices Review**: Alignment with Microsoft guidelines and recommendations
44
45
## Core Features Across All Workflows
46
47
### Microsoft 365 Agents Toolkit Integration
48
- **VS Code Extension**: Full integration with `teamsdevapp.ms-teams-vscode-extension`
49
- **TypeSpec Development**: Modern type-safe agent definitions
50
- **Local Debugging**: Agents Playground integration for testing
51
- **Environment Management**: Development, staging, production configurations
52
- **Lifecycle Management**: Creation, testing, deployment, monitoring
53
54
### TypeSpec Examples
55
```typespec
56
// Modern declarative agent definition
57
model MyAgent {
58
name: string;
59
description: string;
60
instructions: string;
61
capabilities: AgentCapability[];
62
conversation_starters?: ConversationStarter[];
63
}
64
```
65
66
### JSON Schema v1.5 Validation
67
- Full compliance with latest Microsoft specification
68
- Character limit enforcement (name: 100, description: 1000, instructions: 8000)
69
- Array constraint validation (conversation_starters: max 4, capabilities: max 5)
70
- Required field validation and type checking
71
72
### Available Capabilities (Choose up to 5)
73
1. **WebSearch**: Internet search functionality
74
2. **OneDriveAndSharePoint**: File and content access
75
3. **GraphConnectors**: Enterprise data integration
76
4. **MicrosoftGraph**: Microsoft 365 service integration
77
5. **TeamsAndOutlook**: Communication platform access
78
6. **PowerPlatform**: Power Apps and Power Automate integration
79
7. **BusinessDataProcessing**: Enterprise data analysis
80
8. **WordAndExcel**: Document and spreadsheet manipulation
81
9. **CopilotForMicrosoft365**: Advanced Copilot features
82
10. **EnterpriseApplications**: Third-party system integration
83
11. **CustomConnectors**: Custom API and service integration
84
85
### Environment Variables Support
86
```json
87
{
88
"name": "${AGENT_NAME}",
89
"description": "${AGENT_DESCRIPTION}",
90
"instructions": "${AGENT_INSTRUCTIONS}"
91
}
92
```
93
94
**Which workflow would you like to start with?** Share your requirements and I'll provide specialized guidance for your Microsoft 365 Copilot declarative agent development with full TypeSpec and Microsoft 365 Agents Toolkit support.
95

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 10,798 prompts

More by @OpenSourceBuffGuy

See all
Managed Airflow DAG Authoring prompt image

Managed Airflow DAG Authoring

Guides writing and validating Apache Airflow DAGs for Managed Airflow (Cloud Composer): discovering the environment, Airflow 2 vs 3 compatibility and best practices.

agent-skill, airflow, python, data-engineering, google-cloud, best-practices, code-generation, workflow-automation, cloud, for-developers, for-data-analysts, plan-then-execute, tool-use, testing, scaffolding, step-by-step-guide, code, cloud-composer

Security Awareness Training Compliance Report prompt image

Security Awareness Training Compliance Report

Produces a security training compliance report from Defender for Office 365: completion rates, non-completers by department and phishing simulation results.

report, security-awareness, compliance, audit, for-security-professionals, security-operations, structured-output, data-analysis, human-resources, employee-training, cybersecurity, template, placeholders, microsoft-365, kpis, microsoft-defender

Monochrome Studio Portrait Grid prompt image

Monochrome Studio Portrait Grid

Creates a 3x3 grid of nine fashion editorial portraits of a young man in all-black clothing, posed in a beige studio with soft window light.

image-prompt, gpt-image, portrait, man, editorial, fashion-shoot, multi-panel, photorealistic, natural-light, soft-lighting, muted-colors, film-grain, bokeh, luxury, medium-shot, fashion, for-photographers, studio-lighting, black-and-white, minimalist, magazine-cover

Reviews

Loading reviews…

Discussion

Loading comments…