# Variable SkillLoaderConfigSchema`Const`

SkillLoaderConfigSchema: ZodObject<
{
mappings: ZodReadonly<
ZodArray<
ZodObject<
{
role: ZodEnum<
{
custom: "custom";
orchestrator: "orchestrator";
code_expert: "code_expert";
architecture_expert: "architecture_expert";
security_expert: "security_expert";
documentation_expert: "documentation_expert";
testing_expert: "testing_expert";
devops_expert: "devops_expert";
thinker: "thinker";
worker: "worker";
verifier: "verifier";
},
>;
requiredCategories: ZodReadonly<
ZodArray<
ZodEnum<
{
security: "security";
debugging: "debugging";
api: "api";
documentation: "documentation";
general: "general";
testing: "testing";
devops: "devops";
compliance: "compliance";
observability: "observability";
database: "database";
refactoring: "refactoring";
deployment: "deployment";
"file-operations": "file-operations";
"code-generation": "code-generation";
"code-analysis": "code-analysis";
"coding-standards": "coding-standards";
"cloud-native": "cloud-native";
frontend: "frontend";
},
>,
>,
>;
optionalCategories: ZodOptional<
ZodReadonly<
ZodArray<
ZodEnum<
{
security: ...;
debugging: ...;
api: ...;
documentation: ...;
general: ...;
testing: ...;
devops: ...;
compliance: ...;
observability: ...;
database: ...;
refactoring: ...;
deployment: ...;
"file-operations": ...;
"code-generation": ...;
"code-analysis": ...;
"coding-standards": ...;
"cloud-native": ...;
frontend: ...;
},
>,
>,
>,
>;
maxSkills: ZodOptional<ZodNumber>;
},
$strip,
>,
>,
>;
defaultMaxSkills: ZodDefault<ZodNumber>;
enforceRBAC: ZodDefault<ZodBoolean>;
enforceDependencies: ZodDefault<ZodBoolean>;
fallbackBehavior: ZodDefault<
ZodEnum<{ error: "error"; empty: "empty"; partial: "partial" }>,
>;
},
$strip,
> = ...

Zod schema for SkillLoaderConfig.

- Defined in packages/nexus-agents/src/agents/skills/skill-loader-types.ts:229