skill-allowed-tools
Skill allowed-tools must be an array of tool names
Error
Rule Details
This rule validates that the allowed-tools frontmatter field is an array of valid tool name strings. Malformed values (e.g., a single string or non-string entries) will cause validation errors. The rule delegates to the Zod schema for format validation.
Incorrect
allowed-tools is not an array
yaml
---
name: deploy
description: Deploys the app
allowed-tools: Bash
---Correct
Valid allowed-tools array
yaml
---
name: deploy
description: Deploys the app
allowed-tools:
- Bash
- Read
- Write
---How To Fix
Ensure allowed-tools is a YAML array of tool name strings.
Options
This rule does not have any configuration options.
Related Rules
Resources
Version
Available since: v0.2.0