pathway-builder
Installation
SKILL.md
Build pathway page components for: $ARGUMENTS
$ARGUMENTS should include:
- A pathway slug (e.g., "mdna", "discipleship", "metanoia") OR "all" for every pathway
- Optionally: "types-only" to generate types and hooks without building components
- Optionally: a specific section_type to build a single section (e.g., "hero", "faq")
- Empty — list available pathways from the database and ask what to build
Purpose
This skill builds production React components for pathway detail pages using content stored in the pathway_sections database table. It generates the full type-safe chain: database types → hooks → section components → page composition. Every component consumes data through hooks (Layer 5), never direct API calls.
Data Source: pathway_sections Table
Each pathway has 13 section rows in the pathway_sections table: