ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 5/5

skill-frontmatter-doctor

修复 frontmatter、metadata、requires、install 和目录结构问题,贴合当前 OpenClaw 规范。;use for skills, frontmatter, validation workflows;do not use for 编造不存在的字段, 忽略单行 JSON 约束.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/52yuanchangxing/skill-frontmatter-doctor
Or

What This Skill Does

The Skill Frontmatter Doctor is a specialized AI agent tool designed for OpenClaw developers to maintain the integrity and compliance of their skill documentation and configuration files. It acts as an automated auditor that reviews, validates, and suggests fixes for frontmatter, metadata, dependency requirements, installation scripts, and overall repository directory structures. By adhering strictly to the internal OpenClaw spec.json and standard templates, this skill ensures that every skill package is deployment-ready and conforms to the community's structural requirements. It prevents common configuration errors that lead to failed installations or misidentified skill functionalities.

Installation

To integrate this utility into your development workflow, use the standard OpenClaw installation command: clawhub install openclaw/skills/skills/52yuanchangxing/skill-frontmatter-doctor

Ensure that you have write access to your local development environment if you intend to apply the suggested file patches directly. The skill is designed to operate seamlessly within the openclaw/skills repository context.

Use Cases

This skill is best utilized in the following scenarios:

  • Pre-publication Audits: Before submitting a skill to the hub, run the doctor to verify that the metadata accurately reflects your skill's capabilities and dependencies.
  • Refactoring & Migration: When updating your skill to a new OpenClaw version, use the doctor to identify deprecated fields or required structural changes.
  • Dependency Debugging: Automatically detect missing or incorrectly formatted requires blocks that could hinder user installation.
  • Standardization: Ensure your directory tree, including resources and tests folders, follows the official OpenClaw hierarchy.

Example Prompts

  1. "Check the current directory's frontmatter and metadata for compliance with the latest spec.json. Let me know if anything is missing."
  2. "Review my skill's requires and install configuration to ensure they match the standardized format for OpenClaw skills."
  3. "Here is my skill.yaml and directory list. Please provide a repair plan for the structural issues identified and a step-by-step checklist for remediation."

Tips & Limitations

  • Safety First: The doctor is primarily a read-only advisor. While it can suggest code, it will never execute high-risk commands (like mass deletions) without explicit user confirmation.
  • Dry-Run Preferred: Always interpret the doctor’s output as a proposal. Use the suggested 'dry-run' approach before applying changes to live configuration files.
  • Constraint Adherence: The skill is strictly governed by single-line JSON constraints for data exchange; avoid manual formatting that breaks these parsers.
  • Boundaries: The skill does not fabricate missing data. If it detects a missing field, it will request clarification rather than guessing information, ensuring your metadata remains factual.

Metadata

Stars4473
Views4
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-52yuanchangxing-skill-frontmatter-doctor": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#skills#frontmatter#validation#openclaw
Safety Score: 5/5

Flags: file-read