Plugin manifest schema
Skill a5c-ai/babysitter/library/specializations/cli-mcp-development/skills/plugin-manifest-schema
Define plugin manifest schema with versioning and dependency declarations.From its SKILL.md
npx -y skills add a5c-ai/babysitter --skill plugin-manifest-schemaAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.2 KB, 187 tokens by cl100k_base, as published. Nobody here has run it
Plugin Manifest Schema
Define plugin manifest schema.
Generated Patterns
import { z } from 'zod';
export const pluginManifestSchema = z.object({
name: z.string().regex(/^[a-z0-9-]+$/),
version: z.string().regex(/^\d+\.\d+\.\d+/),
description: z.string(),
main: z.string().default('index.js'),
author: z.string().optional(),
license: z.string().optional(),
engines: z.object({
app: z.string().optional(),
node: z.string().optional(),
}).optional(),
dependencies: z.record(z.string()).optional(),
hooks: z.array(z.string()).optional(),
permissions: z.array(z.string()).optional(),
});
export type PluginManifest = z.infer<typeof pluginManifestSchema>;
Target Processes
- plugin-architecture-implementation
What ships with it: 1 file
145 B alongside SKILL.md
- README.md145 B