fix: quote scoped package names in skill frontmatter and update validator (#79)

- Wrapped unquoted @scope/pkg values in double quotes across 19 SKILL.md files.
- Added 'package' to ALLOWED_FIELDS in JS validator.
- Added YAML validity regression test to test suite.
- Updated package-lock.json.

Fixes #79
Closes #80
This commit is contained in:
sck_0
2026-02-14 09:46:41 +01:00
parent f4a2f1d23d
commit a4c74c869d
22 changed files with 180 additions and 89 deletions

View File

@@ -1,7 +1,7 @@
---
name: azure-ai-contentsafety-ts
description: Analyze text and images for harmful content using Azure AI Content Safety (@azure-rest/ai-content-safety). Use when moderating user-generated content, detecting hate speech, violence, sexual content, or self-harm, or managing custom blocklists.
package: @azure-rest/ai-content-safety
package: "@azure-rest/ai-content-safety"
---
# Azure AI Content Safety REST SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-ai-document-intelligence-ts
description: Extract text, tables, and structured data from documents using Azure Document Intelligence (@azure-rest/ai-document-intelligence). Use when processing invoices, receipts, IDs, forms, or building custom document models.
package: @azure-rest/ai-document-intelligence
package: "@azure-rest/ai-document-intelligence"
---
# Azure Document Intelligence REST SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-ai-projects-ts
description: Build AI applications using Azure AI Projects SDK for JavaScript (@azure/ai-projects). Use when working with Foundry project clients, agents, connections, deployments, datasets, indexes, evaluations, or getting OpenAI clients.
package: @azure/ai-projects
package: "@azure/ai-projects"
---
# Azure AI Projects SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-ai-translation-ts
description: Build translation applications using Azure Translation SDKs for JavaScript (@azure-rest/ai-translation-text, @azure-rest/ai-translation-document). Use when implementing text translation, transliteration, language detection, or batch document translation.
package: @azure-rest/ai-translation-text, @azure-rest/ai-translation-document
package: "@azure-rest/ai-translation-text, @azure-rest/ai-translation-document"
---
# Azure Translation SDKs for TypeScript

View File

@@ -2,7 +2,7 @@
name: azure-ai-voicelive-ts
description: |
Azure AI Voice Live SDK for JavaScript/TypeScript. Build real-time voice AI applications with bidirectional WebSocket communication. Use for voice assistants, conversational AI, real-time speech-to-speech, and voice-enabled chatbots in Node.js or browser environments. Triggers: "voice live", "real-time voice", "VoiceLiveClient", "VoiceLiveSession", "voice assistant TypeScript", "bidirectional audio", "speech-to-speech JavaScript".
package: @azure/ai-voicelive
package: "@azure/ai-voicelive"
---
# @azure/ai-voicelive (JavaScript/TypeScript)

View File

@@ -1,7 +1,7 @@
---
name: azure-appconfiguration-ts
description: Build applications using Azure App Configuration SDK for JavaScript (@azure/app-configuration). Use when working with configuration settings, feature flags, Key Vault references, dynamic refresh, or centralized configuration management.
package: @azure/app-configuration
package: "@azure/app-configuration"
---
# Azure App Configuration SDK for TypeScript

View File

@@ -2,7 +2,7 @@
name: azure-cosmos-ts
description: |
Azure Cosmos DB JavaScript/TypeScript SDK (@azure/cosmos) for data plane operations. Use for CRUD operations on documents, queries, bulk operations, and container management. Triggers: "Cosmos DB", "@azure/cosmos", "CosmosClient", "document CRUD", "NoSQL queries", "bulk operations", "partition key", "container.items".
package: @azure/cosmos
package: "@azure/cosmos"
---
# @azure/cosmos (TypeScript/JavaScript)

View File

@@ -1,7 +1,7 @@
---
name: azure-eventhub-ts
description: Build event streaming applications using Azure Event Hubs SDK for JavaScript (@azure/event-hubs). Use when implementing high-throughput event ingestion, real-time analytics, IoT telemetry, or event-driven architectures with partitioned consumers.
package: @azure/event-hubs
package: "@azure/event-hubs"
---
# Azure Event Hubs SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-identity-ts
description: Authenticate to Azure services using Azure Identity SDK for JavaScript (@azure/identity). Use when configuring authentication with DefaultAzureCredential, managed identity, service principals, or interactive browser login.
package: @azure/identity
package: "@azure/identity"
---
# Azure Identity SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-keyvault-keys-ts
description: Manage cryptographic keys using Azure Key Vault Keys SDK for JavaScript (@azure/keyvault-keys). Use when creating, encrypting/decrypting, signing, or rotating keys.
package: @azure/keyvault-keys
package: "@azure/keyvault-keys"
---
# Azure Key Vault Keys SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-keyvault-secrets-ts
description: Manage secrets using Azure Key Vault Secrets SDK for JavaScript (@azure/keyvault-secrets). Use when storing and retrieving application secrets or configuration values.
package: @azure/keyvault-secrets
package: "@azure/keyvault-secrets"
---
# Azure Key Vault Secrets SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-monitor-opentelemetry-ts
description: Instrument applications with Azure Monitor and OpenTelemetry for JavaScript (@azure/monitor-opentelemetry). Use when adding distributed tracing, metrics, and logs to Node.js applications with Application Insights.
package: @azure/monitor-opentelemetry
package: "@azure/monitor-opentelemetry"
---
# Azure Monitor OpenTelemetry SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-search-documents-ts
description: Build search applications using Azure AI Search SDK for JavaScript (@azure/search-documents). Use when creating/managing indexes, implementing vector/hybrid search, semantic ranking, or building agentic retrieval with knowledge bases.
package: @azure/search-documents
package: "@azure/search-documents"
---
# Azure AI Search SDK for TypeScript

View File

@@ -1,7 +1,7 @@
---
name: azure-servicebus-ts
description: Build messaging applications using Azure Service Bus SDK for JavaScript (@azure/service-bus). Use when implementing queues, topics/subscriptions, message sessions, dead-letter handling, or enterprise messaging patterns.
package: @azure/service-bus
package: "@azure/service-bus"
---
# Azure Service Bus SDK for TypeScript

View File

@@ -2,7 +2,7 @@
name: azure-storage-blob-ts
description: |
Azure Blob Storage JavaScript/TypeScript SDK (@azure/storage-blob) for blob operations. Use for uploading, downloading, listing, and managing blobs and containers. Supports block blobs, append blobs, page blobs, SAS tokens, and streaming. Triggers: "blob storage", "@azure/storage-blob", "BlobServiceClient", "ContainerClient", "upload blob", "download blob", "SAS token", "block blob".
package: @azure/storage-blob
package: "@azure/storage-blob"
---
# @azure/storage-blob (TypeScript/JavaScript)

View File

@@ -2,7 +2,7 @@
name: azure-storage-file-share-ts
description: |
Azure File Share JavaScript/TypeScript SDK (@azure/storage-file-share) for SMB file share operations. Use for creating shares, managing directories, uploading/downloading files, and handling file metadata. Supports Azure Files SMB protocol scenarios. Triggers: "file share", "@azure/storage-file-share", "ShareServiceClient", "ShareClient", "SMB", "Azure Files".
package: @azure/storage-file-share
package: "@azure/storage-file-share"
---
# @azure/storage-file-share (TypeScript/JavaScript)

View File

@@ -2,7 +2,7 @@
name: azure-storage-queue-ts
description: |
Azure Queue Storage JavaScript/TypeScript SDK (@azure/storage-queue) for message queue operations. Use for sending, receiving, peeking, and deleting messages in queues. Supports visibility timeout, message encoding, and batch operations. Triggers: "queue storage", "@azure/storage-queue", "QueueServiceClient", "QueueClient", "send message", "receive message", "dequeue", "visibility timeout".
package: @azure/storage-queue
package: "@azure/storage-queue"
---
# @azure/storage-queue (TypeScript/JavaScript)

View File

@@ -1,7 +1,7 @@
---
name: azure-web-pubsub-ts
description: Build real-time messaging applications using Azure Web PubSub SDKs for JavaScript (@azure/web-pubsub, @azure/web-pubsub-client). Use when implementing WebSocket-based real-time features, pub/sub messaging, group chat, or live notifications.
package: @azure/web-pubsub, @azure/web-pubsub-client
package: "@azure/web-pubsub, @azure/web-pubsub-client"
---
# Azure Web PubSub SDKs for TypeScript

View File

@@ -2,7 +2,7 @@
name: m365-agents-ts
description: |
Microsoft 365 Agents SDK for TypeScript/Node.js. Build multichannel agents for Teams/M365/Copilot Studio with AgentApplication routing, Express hosting, streaming responses, and Copilot Studio client integration. Triggers: "Microsoft 365 Agents SDK", "@microsoft/agents-hosting", "AgentApplication", "startServer", "streamingResponse", "Copilot Studio client", "@microsoft/agents-copilotstudio-client".
package: @microsoft/agents-hosting, @microsoft/agents-hosting-express, @microsoft/agents-activity, @microsoft/agents-copilotstudio-client
package: "@microsoft/agents-hosting, @microsoft/agents-hosting-express, @microsoft/agents-activity, @microsoft/agents-copilotstudio-client"
---
# Microsoft 365 Agents SDK (TypeScript)