db-verify

Verify database directory existence and index file structure.

1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/adamrdrew/claude-code-patterns --skill db-verify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-verify
Source: https://github.com/adamrdrew/claude-code-patterns/tree/main/procedural-skills/.claude/skills/db-verify
Command: npx skills add https://github.com/adamrdrew/claude-code-patterns --skill db-verify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Verifies that the database directory exists and that the index file is present and well-formed so downstream operations can proceed safely.

Core Features & Use Cases

  • Checks that the database/ directory exists and that database/index.md is present.
  • Validates the index structure for a # Database Index heading and a ## Documents section.
  • Provides clear, actionable error messages guiding reinitialization with the db-init skill.
  • Ensures safe, deterministic verification without performing destructive actions.

Quick Start

Verify the database directory and index before proceeding with any operation.

Frequently Asked Questions about db-verify

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

FAQPage Schema
How do I verify database directory existence and initialization before running operations?

You can verify database readiness by checking that the database directory exists, confirming database/index.md is present, and validating the index contains a # Database Index heading and ## Documents section.

What does a database health check for filesystem initialization validate?

A database health check for filesystem initialization validates that the database directory exists and that index.md contains the required # Database Index heading and ## Documents section structure.

How do I check if a database index is well-formed before deployment?

To check if a database index is well-formed before deployment, verify the index.md file exists in the database directory and confirm it includes the # Database Index heading and ## Documents section.

Why does my database operation fail when the index is missing the # Database Index heading?

Your database operation fails because the index is missing the # Database Index heading, which indicates improper initialization; you should reinitialize using the db-init skill to restore the correct structure.

Does database verification modify or delete existing files during the health check?

Database verification does not modify or delete existing files; it performs safe, deterministic read-only checks of the directory and index structure to ensure readiness without destructive actions.