mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 10:25:13 +00:00
Revert "fetch -> web/fetch for everything"
This reverts commit ca790b1716.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: 'Expert assistant for web accessibility (WCAG 2.1/2.2), inclusive UX, and a11y testing'
|
||||
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', 'codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
||||
---
|
||||
|
||||
# Accessibility Expert
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: 'Expert assistant for developing AEM components using HTL, Tailwind CSS, and Figma-to-code workflows with design system integration'
|
||||
model: 'GPT-4.1'
|
||||
tools: ['codebase', 'edit/editFiles', 'web/fetch', 'githubRepo', 'figma-dev-mode-mcp-server']
|
||||
tools: ['codebase', 'edit/editFiles', 'fetch', 'githubRepo', 'figma-dev-mode-mcp-server']
|
||||
---
|
||||
|
||||
# AEM Front-End Specialist
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: 'Act as an Azure Bicep Infrastructure as Code coding specialist that creates Bicep templates.'
|
||||
tools:
|
||||
[ 'edit/editFiles', 'web/fetch', 'runCommands', 'terminalLastCommand', 'get_bicep_best_practices', 'azure_get_azure_verified_module', 'todos' ]
|
||||
[ 'edit/editFiles', 'fetch', 'runCommands', 'terminalLastCommand', 'get_bicep_best_practices', 'azure_get_azure_verified_module', 'todos' ]
|
||||
---
|
||||
|
||||
# Azure Bicep Infrastructure as Code coding Specialist
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: 'Act as implementation planner for your Azure Bicep Infrastructure as Code task.'
|
||||
tools:
|
||||
[ 'edit/editFiles', 'web/fetch', 'microsoft-docs', 'azure_design_architecture', 'get_bicep_best_practices', 'bestpractices', 'bicepschema', 'azure_get_azure_verified_module', 'todos' ]
|
||||
[ 'edit/editFiles', 'fetch', 'microsoft-docs', 'azure_design_architecture', 'get_bicep_best_practices', 'bestpractices', 'bicepschema', 'azure_get_azure_verified_module', 'todos' ]
|
||||
---
|
||||
|
||||
# Azure Bicep Infrastructure Planning
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Challenge assumptions and encourage critical thinking to ensure the best possible solution and outcomes.'
|
||||
tools: ['codebase', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'problems', 'search', 'searchResults', 'usages']
|
||||
tools: ['codebase', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'problems', 'search', 'searchResults', 'usages']
|
||||
---
|
||||
# Critical thinking mode instructions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.'
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github']
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github']
|
||||
---
|
||||
# C#/.NET Janitor
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ When a user wants to create a custom agent, start by understanding:
|
||||
### 2. Custom Agent Design Principles
|
||||
|
||||
**Tool Selection Strategy:**
|
||||
- **Read-only agents** (planning, research, review): Use `['search', 'web/fetch', 'githubRepo', 'usages', 'grep_search', 'read_file', 'semantic_search']`
|
||||
- **Read-only agents** (planning, research, review): Use `['search', 'fetch', 'githubRepo', 'usages', 'grep_search', 'read_file', 'semantic_search']`
|
||||
- **Implementation agents** (coding, refactoring): Add `['replace_string_in_file', 'multi_replace_string_in_file', 'create_file', 'run_in_terminal']`
|
||||
- **Testing agents**: Include `['run_notebook_cell', 'test_failure', 'run_in_terminal']`
|
||||
- **Deployment agents**: Include `['run_in_terminal', 'create_and_run_task', 'get_errors']`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Validate user understanding of code, design patterns, and implementation details through guided questioning.'
|
||||
tools: ['codebase', 'web/fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
|
||||
tools: ['codebase', 'fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
|
||||
---
|
||||
# Demonstrate Understanding mode instructions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.'
|
||||
tools: ['codebase', 'edit/editFiles', 'search', 'runCommands', 'runTasks', 'runTests', 'problems', 'changes', 'usages', 'findTestFiles', 'testFailure', 'terminalLastCommand', 'terminalSelection', 'web/fetch', 'microsoft.docs.mcp']
|
||||
tools: ['codebase', 'edit/editFiles', 'search', 'runCommands', 'runTasks', 'runTests', 'problems', 'changes', 'usages', 'findTestFiles', 'testFailure', 'terminalLastCommand', 'terminalSelection', 'fetch', 'microsoft.docs.mcp']
|
||||
---
|
||||
|
||||
# .NET Upgrade Collection
|
||||
@@ -20,7 +20,7 @@ Discover and plan your .NET upgrade journey!
|
||||
mode: dotnet-upgrade
|
||||
title: Analyze current .NET framework versions and create upgrade plan
|
||||
---
|
||||
Analyze the repository and list each project's current TargetFramework
|
||||
Analyze the repository and list each project's current TargetFramework
|
||||
along with the latest available LTS version from Microsoft's release schedule.
|
||||
Create an upgrade strategy prioritizing least-dependent projects first.
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: 'Expert assistant for Drupal development, architecture, and best practices using PHP 8.3+ and modern Drupal patterns'
|
||||
model: GPT-4.1
|
||||
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'web/fetch', 'githubRepo', 'runTests', 'problems']
|
||||
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'fetch', 'githubRepo', 'runTests', 'problems']
|
||||
---
|
||||
|
||||
# Drupal Expert
|
||||
@@ -157,11 +157,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
|
||||
}
|
||||
@@ -190,17 +190,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
|
||||
}
|
||||
@@ -222,7 +222,7 @@ use Drupal\Component\Annotation\Plugin;
|
||||
* @Annotation
|
||||
*/
|
||||
class CustomProcessor extends Plugin {
|
||||
|
||||
|
||||
public string $id;
|
||||
public string $label;
|
||||
public string $description = '';
|
||||
@@ -263,7 +263,7 @@ use Drupal\Core\Queue\QueueWorkerBase;
|
||||
* )
|
||||
*/
|
||||
class MyModuleProcessor extends QueueWorkerBase {
|
||||
|
||||
|
||||
public function processItem($data): void {
|
||||
// Process queue item
|
||||
}
|
||||
@@ -322,10 +322,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)
|
||||
@@ -335,7 +335,7 @@ class Product extends ContentEntityBase {
|
||||
])
|
||||
->setDisplayConfigurable('form', TRUE)
|
||||
->setDisplayConfigurable('view', TRUE);
|
||||
|
||||
|
||||
$fields['price'] = BaseFieldDefinition::create('decimal')
|
||||
->setLabel(t('Price'))
|
||||
->setSetting('precision', 10)
|
||||
@@ -346,15 +346,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;
|
||||
}
|
||||
}
|
||||
@@ -383,7 +383,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
* )
|
||||
*/
|
||||
class RecentProductsBlock extends BlockBase implements ContainerFactoryPluginInterface {
|
||||
|
||||
|
||||
public function __construct(
|
||||
array $configuration,
|
||||
$plugin_id,
|
||||
@@ -392,7 +392,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,
|
||||
@@ -401,13 +401,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',
|
||||
@@ -418,23 +418,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(
|
||||
@@ -467,9 +467,9 @@ use Psr\Log\LoggerInterface;
|
||||
* Service for managing products.
|
||||
*/
|
||||
class ProductManager {
|
||||
|
||||
|
||||
protected LoggerInterface $logger;
|
||||
|
||||
|
||||
public function __construct(
|
||||
protected EntityTypeManagerInterface $entityTypeManager,
|
||||
protected ConfigFactoryInterface $configFactory,
|
||||
@@ -477,7 +477,7 @@ class ProductManager {
|
||||
) {
|
||||
$this->logger = $loggerFactory->get('mymodule');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a new product.
|
||||
*
|
||||
@@ -492,13 +492,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) {
|
||||
@@ -537,23 +537,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,
|
||||
@@ -594,15 +594,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.
|
||||
*/
|
||||
@@ -612,7 +612,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);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Provide expert C++ software engineering guidance using modern C++ and industry best practices.'
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp']
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp']
|
||||
---
|
||||
# Expert C++ software engineer mode instructions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Code review and analysis with the sardonic wit and technical elitism of Bertram Gilfoyle from Silicon Valley. Prepare for brutal honesty about your code.'
|
||||
tools: ['changes', 'codebase', 'web/fetch', 'findTestFiles', 'githubRepo', 'openSimpleBrowser', 'problems', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'usages', 'vscodeAPI']
|
||||
tools: ['changes', 'codebase', 'fetch', 'findTestFiles', 'githubRepo', 'openSimpleBrowser', 'problems', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'usages', 'vscodeAPI']
|
||||
---
|
||||
# Gilfoyle Code Review Mode
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ tools:
|
||||
- 'search/codebase'
|
||||
- 'changes'
|
||||
- 'edit/editFiles'
|
||||
- 'web/fetch'
|
||||
- 'fetch'
|
||||
- 'findTestFiles'
|
||||
- 'githubRepo'
|
||||
- 'runCommands'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: 'Expert Laravel development assistant specializing in modern Laravel 12+ applications with Eloquent, Artisan, testing, and best practices'
|
||||
model: GPT-4.1 | 'gpt-5' | 'Claude Sonnet 4.5'
|
||||
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'web/fetch', 'githubRepo', 'runTests', 'problems', 'search']
|
||||
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'fetch', 'githubRepo', 'runTests', 'problems', 'search']
|
||||
---
|
||||
|
||||
# Laravel Expert Agent
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Help mentor the engineer by providing guidance and support.'
|
||||
tools: ['codebase', 'web/fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
|
||||
tools: ['codebase', 'fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
|
||||
---
|
||||
# Mentor mode instructions
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: 'Expert Pimcore development assistant specializing in CMS, DAM, PIM, and E-Commerce solutions with Symfony integration'
|
||||
model: GPT-4.1 | 'gpt-5' | 'Claude Sonnet 4.5'
|
||||
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'web/fetch', 'githubRepo', 'runTests', 'problems']
|
||||
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'fetch', 'githubRepo', 'runTests', 'problems']
|
||||
---
|
||||
|
||||
# Pimcore Expert
|
||||
@@ -252,7 +252,7 @@ class Car extends CarGenerated
|
||||
*/
|
||||
public function getOSName(): ?string
|
||||
{
|
||||
return ($this->getManufacturer() ? ($this->getManufacturer()->getName() . ' ') : null)
|
||||
return ($this->getManufacturer() ? ($this->getManufacturer()->getName() . ' ') : null)
|
||||
. $this->getName();
|
||||
}
|
||||
|
||||
@@ -271,7 +271,7 @@ class Car extends CarGenerated
|
||||
|
||||
/**
|
||||
* Get all additional product images
|
||||
*
|
||||
*
|
||||
* @return Hotspotimage[]
|
||||
*/
|
||||
public function getAdditionalImages(): array
|
||||
@@ -306,7 +306,7 @@ class Car extends CarGenerated
|
||||
|
||||
/**
|
||||
* Get color variants for this product
|
||||
*
|
||||
*
|
||||
* @return self[]
|
||||
*/
|
||||
public function getColorVariants(): array
|
||||
@@ -319,7 +319,7 @@ class Car extends CarGenerated
|
||||
$variants = [];
|
||||
|
||||
foreach ($parent->getChildren() as $sibling) {
|
||||
if ($sibling instanceof self &&
|
||||
if ($sibling instanceof self &&
|
||||
$sibling->getObjectType() === self::OBJECT_TYPE_ACTUAL_CAR) {
|
||||
$variants[] = $sibling;
|
||||
}
|
||||
@@ -411,7 +411,7 @@ class ProductController extends FrontendController
|
||||
ProductLinkGenerator $productLinkGenerator
|
||||
): Response {
|
||||
$term = trim(strip_tags($request->query->get('term', '')));
|
||||
|
||||
|
||||
if (empty($term)) {
|
||||
return $this->json([]);
|
||||
}
|
||||
@@ -491,19 +491,19 @@ class ProductGrid extends AbstractTemplateAreabrick
|
||||
public function action(Info $info): ?Response
|
||||
{
|
||||
$editable = $info->getEditable();
|
||||
|
||||
|
||||
// Get configuration from brick
|
||||
$category = $editable->getElement('category');
|
||||
$limit = $editable->getElement('limit')?->getData() ?? 12;
|
||||
|
||||
|
||||
// Load products (simplified - use proper service in production)
|
||||
$products = [];
|
||||
if ($category) {
|
||||
// Load products from category
|
||||
}
|
||||
|
||||
|
||||
$info->setParam('products', $products);
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -527,13 +527,13 @@ class ProductGrid extends AbstractTemplateAreabrick
|
||||
],
|
||||
'width': 200
|
||||
}) }}
|
||||
|
||||
|
||||
{{ pimcore_numeric('limit', {
|
||||
'width': 100,
|
||||
'minValue': 1,
|
||||
'maxValue': 24
|
||||
}) }}
|
||||
|
||||
|
||||
{{ pimcore_manyToManyObjectRelation('category', {
|
||||
'types': ['object'],
|
||||
'classes': ['Category'],
|
||||
@@ -549,17 +549,17 @@ class ProductGrid extends AbstractTemplateAreabrick
|
||||
<div class="product-item">
|
||||
{% if product.mainImage %}
|
||||
<a href="{{ pimcore_url({'product': product.id}, 'shop_detail') }}">
|
||||
<img src="{{ product.mainImage.getThumbnail('product-grid')|raw }}"
|
||||
<img src="{{ product.mainImage.getThumbnail('product-grid')|raw }}"
|
||||
alt="{{ product.OSName }}">
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<h3>
|
||||
<a href="{{ pimcore_url({'product': product.id}, 'shop_detail') }}">
|
||||
{{ product.OSName }}
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="product-price">
|
||||
{{ product.OSPrice|number_format(2, '.', ',') }} EUR
|
||||
</div>
|
||||
@@ -699,16 +699,16 @@ pimcore_ecommerce_framework:
|
||||
enabled: true
|
||||
config_id: default_mysql
|
||||
worker_id: default
|
||||
|
||||
|
||||
# Pricing configuration
|
||||
pricing_manager:
|
||||
enabled: true
|
||||
pricing_manager_id: default
|
||||
|
||||
|
||||
# Cart configuration
|
||||
cart:
|
||||
factory_type: Pimcore\Bundle\EcommerceFrameworkBundle\CartManager\CartFactory
|
||||
|
||||
|
||||
# Checkout configuration
|
||||
checkout_manager:
|
||||
factory_type: Pimcore\Bundle\EcommerceFrameworkBundle\CheckoutManager\CheckoutManagerFactory
|
||||
@@ -716,17 +716,17 @@ pimcore_ecommerce_framework:
|
||||
default:
|
||||
payment:
|
||||
provider: Datatrans
|
||||
|
||||
|
||||
# Order manager
|
||||
order_manager:
|
||||
enabled: true
|
||||
|
||||
|
||||
# Price systems
|
||||
price_systems:
|
||||
default:
|
||||
price_system:
|
||||
id: Pimcore\Bundle\EcommerceFrameworkBundle\PriceSystem\AttributePriceSystem
|
||||
|
||||
|
||||
# Availability systems
|
||||
availability_systems:
|
||||
default:
|
||||
@@ -765,7 +765,7 @@ class ImportProductsCommand extends AbstractCommand
|
||||
|
||||
// Load data from source
|
||||
$products = $this->loadProductData();
|
||||
|
||||
|
||||
$progressBar = $io->createProgressBar(count($products));
|
||||
$progressBar->start();
|
||||
|
||||
@@ -794,7 +794,7 @@ class ImportProductsCommand extends AbstractCommand
|
||||
private function importProduct(array $data): void
|
||||
{
|
||||
$product = Car::getByPath('/products/' . $data['sku']);
|
||||
|
||||
|
||||
if (!$product) {
|
||||
$product = new Car();
|
||||
$product->setParent(Car::getByPath('/products'));
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Provide principal-level software engineering guidance with focus on engineering excellence, technical leadership, and pragmatic implementation.'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'github']
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'github']
|
||||
---
|
||||
# Principal software engineer mode instructions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai'
|
||||
tools: ['codebase', 'edit/editFiles', 'web/fetch', 'githubRepo', 'problems', 'runCommands', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'usages', 'terraform', 'Microsoft Docs', 'context7']
|
||||
tools: ['codebase', 'edit/editFiles', 'fetch', 'githubRepo', 'problems', 'runCommands', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'usages', 'terraform', 'Microsoft Docs', 'context7']
|
||||
---
|
||||
|
||||
# Prompt Builder Instructions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: 'SE: Architect'
|
||||
description: 'System architecture review specialist with Well-Architected frameworks, design validation, and scalability analysis for AI and distributed systems'
|
||||
model: GPT-5
|
||||
tools: ['codebase', 'edit/editFiles', 'search', 'web/fetch']
|
||||
tools: ['codebase', 'edit/editFiles', 'search', 'fetch']
|
||||
---
|
||||
|
||||
# System Architecture Reviewer
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: 'SE: Tech Writer'
|
||||
description: 'Technical writing specialist for creating developer documentation, technical blogs, tutorials, and educational content'
|
||||
model: GPT-5
|
||||
tools: ['codebase', 'edit/editFiles', 'search', 'web/fetch']
|
||||
tools: ['codebase', 'edit/editFiles', 'search', 'fetch']
|
||||
---
|
||||
|
||||
# Technical Writer
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: 'SE: UX Designer'
|
||||
description: 'Jobs-to-be-Done analysis, user journey mapping, and UX research artifacts for Figma and design workflows'
|
||||
model: GPT-5
|
||||
tools: ['codebase', 'edit/editFiles', 'search', 'web/fetch']
|
||||
tools: ['codebase', 'edit/editFiles', 'search', 'fetch']
|
||||
---
|
||||
|
||||
# UX/UI Designer
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Expert guidance for modern search optimization: SEO, Answer Engine Optimization (AEO), and Generative Engine Optimization (GEO) with AI-ready content strategies'
|
||||
tools: ['codebase', 'web/fetch', 'githubRepo', 'terminalCommand', 'edit/editFiles', 'problems']
|
||||
tools: ['codebase', 'fetch', 'githubRepo', 'terminalCommand', 'edit/editFiles', 'problems']
|
||||
---
|
||||
|
||||
# Search & AI Optimization Expert
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Create, update, refactor, explain or work with code using the .NET version of Semantic Kernel.'
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github']
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github']
|
||||
---
|
||||
# Semantic Kernel .NET mode instructions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Create, update, refactor, explain or work with code using the Python version of Semantic Kernel.'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github', 'configurePythonEnvironment', 'getPythonEnvironmentInfo', 'getPythonExecutableCommand', 'installPythonPackage']
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github', 'configurePythonEnvironment', 'getPythonEnvironmentInfo', 'getPythonExecutableCommand', 'installPythonPackage']
|
||||
---
|
||||
# Semantic Kernel Python mode instructions
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: 'Expert Shopify development assistant specializing in theme development, Liquid templating, app development, and Shopify APIs'
|
||||
model: GPT-4.1
|
||||
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'web/fetch', 'githubRepo', 'runTests', 'problems']
|
||||
tools: ['codebase', 'terminalCommand', 'edit/editFiles', 'fetch', 'githubRepo', 'runTests', 'problems']
|
||||
---
|
||||
|
||||
# Shopify Expert
|
||||
@@ -452,10 +452,10 @@ class CartManager {
|
||||
<h4>${item.product_title}</h4>
|
||||
<p>${item.variant_title}</p>
|
||||
<p class="cart-item__price">${this.formatMoney(item.final_line_price)}</p>
|
||||
<input
|
||||
type="number"
|
||||
value="${item.quantity}"
|
||||
min="0"
|
||||
<input
|
||||
type="number"
|
||||
value="${item.quantity}"
|
||||
min="0"
|
||||
data-line="${item.key}"
|
||||
class="cart-item__quantity"
|
||||
>
|
||||
@@ -561,23 +561,23 @@ import { json } from "@remix-run/node";
|
||||
export async function loader({ request }) {
|
||||
const url = new URL(request.url);
|
||||
const shop = url.searchParams.get("shop");
|
||||
|
||||
|
||||
// Verify the request is from Shopify
|
||||
// Implement signature verification here
|
||||
|
||||
|
||||
// Your custom logic
|
||||
const data = await fetchCustomData(shop);
|
||||
|
||||
|
||||
return json(data);
|
||||
}
|
||||
|
||||
export async function action({ request }) {
|
||||
const formData = await request.formData();
|
||||
const shop = formData.get("shop");
|
||||
|
||||
|
||||
// Handle POST requests
|
||||
const result = await processCustomAction(formData);
|
||||
|
||||
|
||||
return json(result);
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Brainstorm and develop new application ideas through fun, interactive questioning until ready for specification creation.'
|
||||
tools: ['changes', 'codebase', 'web/fetch', 'githubRepo', 'openSimpleBrowser', 'problems', 'search', 'searchResults', 'usages', 'microsoft.docs.mcp', 'websearch']
|
||||
tools: ['changes', 'codebase', 'fetch', 'githubRepo', 'openSimpleBrowser', 'problems', 'search', 'searchResults', 'usages', 'microsoft.docs.mcp', 'websearch']
|
||||
---
|
||||
# Idea Generator mode instructions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Expert-level software engineering agent. Deliver production-ready, maintainable code. Execute systematically and specification-driven. Document comprehensively. Operate autonomously and adaptively.'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'github']
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'github']
|
||||
---
|
||||
# Software Engineer Agent v1
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Generate or update specification documents for new or existing functionality.'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github']
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github']
|
||||
---
|
||||
# Specification mode instructions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Generate technical debt remediation plans for code, tests, and documentation.'
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'github']
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'github']
|
||||
---
|
||||
# Technical Debt Remediation Plan
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: technical-content-evaluator
|
||||
description: 'Elite technical content editor and curriculum architect for evaluating technical training materials, documentation, and educational content. Reviews for technical accuracy, pedagogical excellence, content flow, code validation, and ensures A-grade quality standards.'
|
||||
tools: ['edit', 'search', 'shell', 'web/fetch', 'runTasks', 'githubRepo', 'todos', 'runSubagent']
|
||||
tools: ['edit', 'search', 'shell', 'fetch', 'runTasks', 'githubRepo', 'todos', 'runSubagent']
|
||||
model: Claude Sonnet 4.5 (copilot)
|
||||
---
|
||||
Evaluate and enhance technical training content, documentation, and educational materials through comprehensive editorial review. Apply rigorous standards for technical accuracy, pedagogical excellence, and content quality to transform good content into exceptional learning experiences.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: '4.1 voidBeast_GPT41Enhanced 1.0 : a advanced autonomous developer agent, designed for elite full-stack development with enhanced multi-mode capabilities. This latest evolution features sophisticated mode detection, comprehensive research capabilities, and never-ending problem resolution. Plan/Act/Deep Research/Analyzer/Checkpoints(Memory)/Prompt Generator Modes.'
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'readCellOutput', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'updateUserPreferences', 'usages', 'vscodeAPI']
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'readCellOutput', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'updateUserPreferences', 'usages', 'vscodeAPI']
|
||||
---
|
||||
|
||||
# voidBeast_GPT41Enhanced 1.0 - Elite Developer AI Assistant
|
||||
@@ -48,7 +48,7 @@ After **every** file modification, you MUST:
|
||||
**Output**: Comprehensive plan via `plan_mode_response`
|
||||
**Rule**: NO code writing in this mode
|
||||
|
||||
### ⚡ ACT MODE
|
||||
### ⚡ ACT MODE
|
||||
**Purpose**: Execute approved plans and implement solutions
|
||||
**Tools**: All tools available for coding, testing, and deployment
|
||||
**Output**: Working solution via `attempt_completion`
|
||||
@@ -91,7 +91,7 @@ After **every** file modification, you MUST:
|
||||
|
||||
### 🤖 PROMPT GENERATOR MODE
|
||||
**Triggers**: "generate", "create", "develop", "build" (when requesting content creation)
|
||||
**Critical Rules**:
|
||||
**Critical Rules**:
|
||||
- Your knowledge is outdated - MUST verify everything with current web sources
|
||||
- **DO NOT CODE DIRECTLY** - Generate research-backed prompts first
|
||||
- **MANDATORY RESEARCH PHASE** before any implementation
|
||||
@@ -124,7 +124,7 @@ After **every** file modification, you MUST:
|
||||
### 🔍 Investigation & Analysis
|
||||
`codebase` `search` `searchResults` `usages` `findTestFiles`
|
||||
|
||||
### 📝 File Operations
|
||||
### 📝 File Operations
|
||||
`editFiles` `new` `readCellOutput`
|
||||
|
||||
### 🧪 Development & Testing
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Ask WG Code Alchemist to transform your code with Clean Code principles and SOLID design'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
||||
---
|
||||
|
||||
You are WG Code Alchemist, an expert software engineer specializing in Clean Code practices and SOLID principles. You communicate with the precision and helpfulness of JARVIS from Iron Man.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Ask WG Code Sentinel to review your code for security issues.'
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
||||
tools: ['changes', 'codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
||||
---
|
||||
|
||||
You are WG Code Sentinel, an expert security reviewer specializing in identifying and mitigating code vulnerabilities. You communicate with the precision and helpfulness of JARVIS from Iron Man.
|
||||
|
||||
Reference in New Issue
Block a user