tutorial-lesson-config

Enforce YAML frontmatter schema across hierarchical tutorial lesson configurations.

1.6k|89|Updated Mar 29, 2018
One-click install
npx skills add https://github.com/palkan/action_policy --skill tutorial-lesson-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tutorial-lesson-config
Source: https://github.com/palkan/action_policy/tree/main/tutorial/.claude/skills/tutorial-lesson-config
Command: npx skills add https://github.com/palkan/action_policy --skill tutorial-lesson-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes and validates the configuration of Rails tutorials by enforcing a YAML frontmatter schema across Tutorial, Part, Chapter, and Lesson, reducing drift and misconfigurations.

Core Features & Use Cases

  • Cascade-driven configuration: settings inherit downward with lesson-level overrides to tailor behavior without duplicating defaults.
  • Central defaults and per-lesson overrides: set tutorial-wide defaults (prepares, previews, terminal, filesystem) and selectively override for individual lessons.
  • Validation and safety: explicit inheritance rules and constraints prevent invalid combinations and promote predictable outcomes.
  • Real-world use: ensure a new lesson automatically uses the tutorial's default previews and terminal settings unless a specific lesson requires a change.

Quick Start

Configure a new lesson by creating a lesson meta.md and overriding only the properties that differ from the tutorial defaults.

Frequently Asked Questions about tutorial-lesson-config

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

FAQPage Schema
How do I manage consistent lesson configuration across hierarchical Rails tutorials?

You can manage lesson configuration by enforcing a YAML frontmatter schema across Tutorial, Part, Chapter, and Lesson hierarchies, enabling inheritance and per-lesson overrides for predictable outcomes.

How does configuration inheritance work for tutorial frontmatter?

Configuration inheritance cascades settings downward from tutorial-wide defaults to individual lessons, allowing specific lessons to override properties like prepareCommands and previews without duplicating the base values.

Can I override tutorial defaults for a specific lesson's previews and terminal settings?

Yes, you can override tutorial defaults for a specific lesson by creating a lesson meta.md file and specifying only the properties that differ from the inherited filesystem and terminal configurations.

What's the best way to prevent invalid frontmatter combinations in Rails tutorial lessons?

The best way to prevent invalid combinations is using a frontmatter schema that applies explicit cascade rules and validation constraints, ensuring safe defaults and predictable behavior across all lessons.

Are there non-inheritable fields when configuring lesson frontmatter?

Yes, the configuration schema implements per-lesson non-inheritable fields alongside explicit cascade rules, ensuring certain properties remain isolated to their specific lesson and do not pass down incorrectly.

How do I set up a new lesson without duplicating tutorial-wide configuration?

Set up a new lesson by creating a meta.md file and overriding only the specific properties that differ from the tutorial's central defaults, relying on the inheritance cascade for the remaining configuration.