pm-preflight

Validate sqlite3 availability, .claude/db writability, and schema initialization before PM skills.

Updated Oct 17, 2025
One-click install
npx skills add https://github.com/x85446/claudecodetricks --skill pm-preflight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pm-preflight
Source: https://github.com/x85446/claudecodetricks/tree/main/skills/pm-preflight
Command: npx skills add https://github.com/x85446/claudecodetricks --skill pm-preflight

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PM Preflight ensures PM workflows have a ready-to-run environment by verifying sqlite3 availability, the presence of the .claude/db directory, and an initialized schema. It stops immediately on failure to prevent cascading issues and workarounds.

Core Features & Use Cases

  • Preflight checks across essential prerequisites (sqlite3, database directory, and schema version) before dispatching any PM skill.
  • Hard-stop on failure with clear remediation steps to fix configuration issues.
  • Consistent, repeatable guardrail for product-management automation and orchestration tasks.

Quick Start

Run the preflight check to verify environment readiness before dispatching any PM skill.

Frequently Asked Questions about pm-preflight

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

FAQPage Schema
How do I validate the sqlite3 environment before running PM automation tasks?

To validate the sqlite3 environment, the preflight check confirms sqlite3 availability, a writable .claude/db directory, and an initialized schema. It enforces a hard stop on failure to prevent partial execution.

Why does my product management workflow fail when the database schema is not initialized?

Product management workflows fail without an initialized schema because the preflight check enforces a hard stop to prevent cascading issues. It provides clear remediation steps to fix the configuration before re-running.

What prerequisites do I need to check before dispatching PM skills?

Before dispatching PM skills, you must verify sqlite3 availability, the presence of the .claude/db directory, and a valid schema version. The preflight check acts as a consistent guardrail for this environment readiness.

Can I run preflight checks repeatedly without causing side effects?

Yes, you can run preflight checks repeatedly because the validation process is idempotent. It safely re-runs environment verification for sqlite3, the database directory, and schema without causing side effects.

What is the best way to prevent workarounds when the PM runtime environment is misconfigured?

The best way to prevent workarounds is using a preflight check that hard-stops on failure. By verifying sqlite3 and the .claude/db schema first, it blocks any PM workarounds or partial execution.

Does the preflight validation provide steps to fix a missing writable database directory?

Yes, preflight validation provides clear remediation steps when a missing or non-writable .claude/db directory is detected. It stops immediately upon failure to ensure safe configuration fixes.