cp-skill-validate

Validate frontmatter, schema, links, and required sections in knowledge base notes.

82|10|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/zby/commonplace --skill cp-skill-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cp-skill-validate
Source: https://github.com/zby/commonplace/tree/main/kb/instructions/cp-skill-validate
Command: npx skills add https://github.com/zby/commonplace --skill cp-skill-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill validates the frontmatter validity, schema constraints, link health, required sections, and batch signals such as orphans in KB notes, ensuring data integrity and reliability.

Core Features & Use Cases

  • Frontmatter Validation: Checks the required frontmatter fields for correctness.
  • Schema Constraints: Ensures the data adheres to defined schema.
  • Link Health: Verifies the integrity of linked references.
  • Required Sections: Checks for the presence of necessary sections in the notes.
  • Batch Signals: Identifies issues like orphans for bulk maintenance.

Quick Start

Run the cp-skill-validate command to validate all top-level collections in the knowledge base:

commonplace-validate all

Frequently Asked Questions about cp-skill-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate frontmatter and check link health in markdown knowledge base notes?

You can validate frontmatter and check link health in markdown notes by running a script that scans your KB directory to verify required fields, schema constraints, and the integrity of linked references.

What is the best way to find orphaned notes and missing required sections in a knowledge base?

Finding orphaned notes and missing required sections in a knowledge base requires batch validation, which identifies bulk maintenance signals like orphans and ensures necessary sections are present in your markdown files.

How does markdown frontmatter schema validation work for data integrity?

Markdown frontmatter schema validation works by checking the required frontmatter fields for correctness and ensuring the data adheres to defined schema constraints, guaranteeing data integrity and reliability across all notes.

Can I use a single command to validate all top-level collections in my knowledge base?

Yes, you can use a single command to validate all top-level collections in your knowledge base, executing a bulk validation process that checks frontmatter validity, schema constraints, and link health simultaneously.

What should I do if broken links and frontmatter errors are not working during batch validation?

If broken links and frontmatter errors are not working during batch validation, ensure your validation tool operates within the correct KB directory and has the necessary markdown processing and link verification capabilities enabled.