llm-tool-schema-linter
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "llm-tool-schema-linter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c2d7fe19b4522447f9b1446592cf59e72e4e031fd0b399e1fdcf22ea88c5b9e0. Verify the upstream source and version against https://skillhub.cn/skills/user_b26bd65e/llm-tool-schema-linter-b26bd65e before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A skill for linting LLM function and tool schemas. Used to check name clarity, parameter boundaries, JSON Schema portability, validation capability, idempotency, and safe execution. Suitable for designing or debugging tool calls, MCP tools, function architectures, or agent action interfaces.
Introduction source: third_party · user_b26bd65e · 1.0.2 Reference
SkillPi interpretation
- Tasks
- Review LLM function and tool schemas for clear names, bounded arguments, JSON Schema portability, validation, idempotency, and safe execution. Use when designing or debugging tool calling, MCP tools, function schemas, or agent action interfaces.
- Inputs and outputs
- Return findings by severity, a corrected schema, execution preconditions, error examples, and contract tests for valid, missing, boundary, malformed, duplicate, and unauthorized calls.
- Testing
- Not tested
Browse files
Frontmatter
name: llm-tool-schema-linter
description: Review LLM function and tool schemas for clear names, bounded arguments, JSON Schema portability, validation, idempotency, and safe execution. Use when designing or debugging tool calling, MCP tools, function schemas, or agent action interfaces.
slug: llm-tool-schema-linter-b26bd65e
displayName: LLM 工具 Schema 审查器
version: 1.0.2
summary: 审查工具名称、参数边界、JSON Schema 可移植性、幂等性、错误契约和高风险操作保护。
license: MITLLM Tool Schema Linter
Review the supplied schema and execution contract. Do not invent missing business constraints.
Checks
- Use a distinct verb-led name and a description that states when to call and when not to call.
- Make required fields explicit; avoid overloaded strings when enums or typed objects are safer.
- Bound string length, numeric range, array size, formats, and additional properties.
- Keep nesting shallow and avoid provider-specific JSON Schema features unless portability is unnecessary.
- Separate identifiers from display text and define timezone, units, currency, and encoding.
- Document validation errors in a repairable form without exposing internals or secrets.
- Mark read-only versus mutating behavior; require confirmation for destructive or externally visible actions.
- Define idempotency and deduplication for retries.
Output
Return findings by severity, a corrected schema, execution preconditions, error examples, and contract tests for valid, missing, boundary, malformed, duplicate, and unauthorized calls.
Current listing version
1.0.2
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向开发者提供 LLM 工具 Schema 审查能力,具有明确的技术实用价值
- 覆盖工具名称、参数边界、JSON Schema 可移植性、幂等性等关键审查点
Highlights
- 触发描述清晰明确,覆盖设计/调试工具调用、MCP 工具等多种场景
- 边界定义清晰,不易与其他 Skill 混淆
Highlights
- 文档结构清晰,Checks 和 Output 部分逻辑分明
- frontmatter 完整,版本信息和许可证明确
Areas to improve
-
缺少输入错误处理说明 Reported severity: Minor
文档中未明确说明当用户输入的 Schema 格式错误或不符合预期时的处理机制和反馈方式
Recommendation: 建议在文档中补充输入验证和错误处理说明,提升用户体验
Highlights
- 作为审查类工具,核心逻辑清晰,执行风险较低
- 输出格式规范,包含严重性分级和修正建议
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.