Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agents/accessibility.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: 'Expert assistant for web accessibility (WCAG 2.1/2.2), inclusive UX, and a11y testing'
name: 'Accessibility Expert'
model: GPT-4.1
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
---

# Accessibility Expert
Expand Down
2 changes: 1 addition & 1 deletion agents/aem-frontend-specialist.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: 'Expert assistant for developing AEM components using HTL, Tailwind CSS, and Figma-to-code workflows with design system integration'
name: 'AEM Front-End Specialist'
model: 'GPT-4.1'
tools: ['codebase', 'edit/editFiles', 'web/fetch', 'githubRepo', 'figma-dev-mode-mcp-server']
tools: ['search/codebase', 'edit/editFiles', 'web/fetch', 'githubRepo', 'figma-dev-mode-mcp-server']
---

# AEM Front-End Specialist
Expand Down
2 changes: 1 addition & 1 deletion agents/agent-governance-reviewer.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: 'AI agent governance expert that reviews code for safety issues, missing governance controls, and helps implement policy enforcement, trust scoring, and audit trails in agent systems.'
model: 'gpt-4o'
tools: ['codebase', 'terminalCommand']
tools: ['search/codebase', 'terminalCommand']
name: 'Agent Governance Reviewer'
---

Expand Down
2 changes: 1 addition & 1 deletion agents/arch-linux-expert.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: 'Arch Linux Expert'
description: 'Arch Linux specialist focused on pacman, rolling-release maintenance, and Arch-centric system administration workflows.'
model: GPT-5
tools: ['codebase', 'search', 'terminalCommand', 'runCommands', 'edit/editFiles']
tools: ['search/codebase', 'search', 'terminalCommand', 'runCommands', 'edit/editFiles']
---

# Arch Linux Expert
Expand Down
2 changes: 1 addition & 1 deletion agents/centos-linux-expert.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: 'CentOS Linux Expert'
description: 'CentOS (Stream/Legacy) Linux specialist focused on RHEL-compatible administration, yum/dnf workflows, and enterprise hardening.'
model: GPT-4.1
tools: ['codebase', 'search', 'terminalCommand', 'runCommands', 'edit/editFiles']
tools: ['search/codebase', 'search', 'terminalCommand', 'runCommands', 'edit/editFiles']
---

# CentOS Linux Expert
Expand Down
2 changes: 1 addition & 1 deletion agents/context-architect.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: 'An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies'
model: 'GPT-5'
tools: ['codebase', 'terminalCommand']
tools: ['search/codebase', 'terminalCommand']
name: 'Context Architect'
---

Expand Down
2 changes: 1 addition & 1 deletion agents/critical-thinking.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: 'Challenge assumptions and encourage critical thinking to ensure the best possible solution and outcomes.'
name: 'Critical thinking mode instructions'
tools: ['codebase', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'problems', 'search', 'searchResults', 'usages']
tools: ['search/codebase', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'problems', 'search', 'searchResults', 'usages']
---
# Critical thinking mode instructions

Expand Down
2 changes: 1 addition & 1 deletion agents/debian-linux-expert.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: 'Debian Linux Expert'
description: 'Debian Linux specialist focused on stable system administration, apt-based package management, and Debian policy-aligned practices.'
model: Claude Sonnet 4
tools: ['codebase', 'search', 'terminalCommand', 'runCommands', 'edit/editFiles']
tools: ['search/codebase', 'search', 'terminalCommand', 'runCommands', 'edit/editFiles']
---

# Debian Linux Expert
Expand Down
8 changes: 4 additions & 4 deletions agents/declarative-agents-architect.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: 'Declarative Agents Architect'
model: GPT-4.1
tools: ['codebase']
tools: ['search/codebase']
---

You are a world-class Microsoft 365 Declarative Agent Architect with deep expertise in the complete development lifecycle of Microsoft 365 Copilot declarative agents. You specialize in the latest v1.5 JSON schema specification, TypeSpec development, and Microsoft 365 Agents Toolkit integration.
Expand All @@ -18,7 +18,7 @@ You are a world-class Microsoft 365 Declarative Agent Architect with deep expert

### 11 Available Capabilities
1. WebSearch - Internet search and real-time information
2. OneDriveAndSharePoint - File access and content management
2. OneDriveAndSharePoint - File access and content management
3. GraphConnectors - Enterprise data integration
4. MicrosoftGraph - Microsoft 365 services access
5. TeamsAndOutlook - Communication platform integration
Expand Down Expand Up @@ -70,8 +70,8 @@ You are a world-class Microsoft 365 Declarative Agent Architect with deep expert
1. **Understand Context**: Clarify requirements, constraints, and goals
2. **Architect Solution**: Design optimal agent structure with capability selection
3. **Provide Implementation**: Complete TypeSpec/JSON code with best practices
4. **Enable Testing**: Configure Agents Playground and validation workflows
4. **Enable Testing**: Configure Agents Playground and validation workflows
5. **Plan Deployment**: Environment management and production readiness
6. **Ensure Quality**: Monitoring, performance, and continuous improvement

You combine deep technical expertise with practical implementation experience to deliver production-ready Microsoft 365 Copilot declarative agents that excel in enterprise environments.
You combine deep technical expertise with practical implementation experience to deliver production-ready Microsoft 365 Copilot declarative agents that excel in enterprise environments.
2 changes: 1 addition & 1 deletion agents/demonstrate-understanding.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: 'Validate user understanding of code, design patterns, and implementation details through guided questioning.'
name: 'Demonstrate Understanding mode instructions'
tools: ['codebase', 'web/fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
tools: ['search/codebase', 'web/fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
---
# Demonstrate Understanding mode instructions

Expand Down
4 changes: 2 additions & 2 deletions agents/devops-expert.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: 'DevOps Expert'
description: 'DevOps specialist following the infinity loop principle (Plan → Code → Build → Test → Release → Deploy → Operate → Monitor) with focus on automation, collaboration, and continuous improvement'
tools: ['codebase', 'edit/editFiles', 'terminalCommand', 'search', 'githubRepo', 'runCommands', 'runTasks']
tools: ['search/codebase', 'edit/editFiles', 'terminalCommand', 'search', 'githubRepo', 'runCommands', 'runTasks']
---

# DevOps Expert
Expand Down Expand Up @@ -206,7 +206,7 @@ Each phase feeds insights into the next, creating a continuous improvement cycle

Monitor insights feed back into Plan:
- **Incidents** → New requirements or technical debt
- **Performance data** → Optimization opportunities
- **Performance data** → Optimization opportunities
- **User behavior** → Feature refinement
- **DORA metrics** → Process improvements

Expand Down
2 changes: 1 addition & 1 deletion agents/dotnet-upgrade.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: 'Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.'
name: '.NET Upgrade'
tools: ['codebase', 'edit/editFiles', 'search', 'runCommands', 'runTasks', 'runTests', 'problems', 'changes', 'usages', 'findTestFiles', 'testFailure', 'terminalLastCommand', 'terminalSelection', 'web/fetch', 'microsoft.docs.mcp']
tools: ['search/codebase', 'edit/editFiles', 'search', 'runCommands', 'runTasks', 'runTests', 'problems', 'changes', 'usages', 'findTestFiles', 'testFailure', 'terminalLastCommand', 'terminalSelection', 'web/fetch', 'microsoft.docs.mcp']
---

# .NET Upgrade Collection
Expand Down
74 changes: 37 additions & 37 deletions agents/drupal-expert.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: 'Expert assistant for Drupal development, architecture, and best practices using PHP 8.3+ and modern Drupal patterns'
name: 'Drupal Expert'
model: GPT-4.1
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'web/fetch', 'githubRepo', 'runTests', 'problems']
tools: ['search/codebase', 'terminalCommand', 'edit/editFiles', 'web/fetch', 'githubRepo', 'runTests', 'problems']
---

# Drupal Expert
Expand Down Expand Up @@ -158,11 +158,11 @@ use Drupal\Core\Entity\EntityTypeManagerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;

class DecoratedEntityTypeManager implements EntityTypeManagerInterface {

public function __construct(
protected EntityTypeManagerInterface $entityTypeManager
) {}

// Implement all interface methods, delegating to wrapped service
// Add custom logic where needed
}
Expand Down Expand Up @@ -191,17 +191,17 @@ use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\HttpKernel\KernelEvents;

class MyModuleSubscriber implements EventSubscriberInterface {

public function __construct(
protected RouteMatchInterface $routeMatch
) {}

public static function getSubscribedEvents(): array {
return [
KernelEvents::REQUEST => ['onRequest', 100],
];
}

public function onRequest(RequestEvent $event): void {
// Custom logic on every request
}
Expand All @@ -223,7 +223,7 @@ use Drupal\Component\Annotation\Plugin;
* @Annotation
*/
class CustomProcessor extends Plugin {

public string $id;
public string $label;
public string $description = '';
Expand Down Expand Up @@ -264,7 +264,7 @@ use Drupal\Core\Queue\QueueWorkerBase;
* )
*/
class MyModuleProcessor extends QueueWorkerBase {

public function processItem($data): void {
// Process queue item
}
Expand Down Expand Up @@ -323,10 +323,10 @@ use Drupal\Core\Field\BaseFieldDefinition;
* )
*/
class Product extends ContentEntityBase {

public static function baseFieldDefinitions(EntityTypeInterface $entity_type): array {
$fields = parent::baseFieldDefinitions($entity_type);

$fields['name'] = BaseFieldDefinition::create('string')
->setLabel(t('Name'))
->setRequired(TRUE)
Expand All @@ -336,7 +336,7 @@ class Product extends ContentEntityBase {
])
->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE);

$fields['price'] = BaseFieldDefinition::create('decimal')
->setLabel(t('Price'))
->setSetting('precision', 10)
Expand All @@ -347,15 +347,15 @@ class Product extends ContentEntityBase {
])
->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE);

$fields['created'] = BaseFieldDefinition::create('created')
->setLabel(t('Created'))
->setDescription(t('The time that the entity was created.'));

$fields['changed'] = BaseFieldDefinition::create('changed')
->setLabel(t('Changed'))
->setDescription(t('The time that the entity was last edited.'));

return $fields;
}
}
Expand Down Expand Up @@ -384,7 +384,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* )
*/
class RecentProductsBlock extends BlockBase implements ContainerFactoryPluginInterface {

public function __construct(
array $configuration,
$plugin_id,
Expand All @@ -393,7 +393,7 @@ class RecentProductsBlock extends BlockBase implements ContainerFactoryPluginInt
) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
}

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition): self {
return new self(
$configuration,
Expand All @@ -402,13 +402,13 @@ class RecentProductsBlock extends BlockBase implements ContainerFactoryPluginInt
$container->get('entity_type.manager')
);
}

public function defaultConfiguration(): array {
return [
'count' => 5,
] + parent::defaultConfiguration();
}

public function blockForm($form, FormStateInterface $form_state): array {
$form['count'] = [
'#type' => 'number',
Expand All @@ -419,23 +419,23 @@ class RecentProductsBlock extends BlockBase implements ContainerFactoryPluginInt
];
return $form;
}

public function blockSubmit($form, FormStateInterface $form_state): void {
$this->configuration['count'] = $form_state->getValue('count');
}

public function build(): array {
$count = $this->configuration['count'];

$storage = $this->entityTypeManager->getStorage('product');
$query = $storage->getQuery()
->accessCheck(TRUE)
->sort('created', 'DESC')
->range(0, $count);

$ids = $query->execute();
$products = $storage->loadMultiple($ids);

return [
'#theme' => 'item_list',
'#items' => array_map(
Expand Down Expand Up @@ -468,17 +468,17 @@ use Psr\Log\LoggerInterface;
* Service for managing products.
*/
class ProductManager {

protected LoggerInterface $logger;

public function __construct(
protected EntityTypeManagerInterface $entityTypeManager,
protected ConfigFactoryInterface $configFactory,
LoggerChannelFactoryInterface $loggerFactory
) {
$this->logger = $loggerFactory->get('mymodule');
}

/**
* Creates a new product.
*
Expand All @@ -493,13 +493,13 @@ class ProductManager {
$product = $this->entityTypeManager
->getStorage('product')
->create($values);

$product->save();

$this->logger->info('Product created: @name', [
'@name' => $product->label(),
]);

return $product;
}
catch (\Exception $e) {
Expand Down Expand Up @@ -538,23 +538,23 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* Returns responses for My Module routes.
*/
class ProductController extends ControllerBase {

public function __construct(
protected ProductManager $productManager
) {}

public static function create(ContainerInterface $container): self {
return new self(
$container->get('mymodule.product_manager')
);
}

/**
* Displays a list of products.
*/
public function list(): array {
$products = $this->productManager->getRecentProducts(10);

return [
'#theme' => 'mymodule_product_list',
'#products' => $products,
Expand Down Expand Up @@ -595,15 +595,15 @@ use Drupal\mymodule\Entity\Product;
* @group mymodule
*/
class ProductTest extends KernelTestBase {

protected static $modules = ['mymodule', 'user', 'system'];

protected function setUp(): void {
parent::setUp();
$this->installEntitySchema('product');
$this->installEntitySchema('user');
}

/**
* Tests product creation.
*/
Expand All @@ -613,7 +613,7 @@ class ProductTest extends KernelTestBase {
'price' => 99.99,
]);
$product->save();

$this->assertNotEmpty($product->id());
$this->assertEquals('Test Product', $product->label());
$this->assertEquals(99.99, $product->get('price')->value);
Expand Down
Loading
Loading