---
// /rules/ — bilingual case study of agent skills, CLI ratchets, Husky hooks,
// and PR review in netcracker/interview. Migrated from rules/index.html in
// task 14. The page renders the same DOM and CSS classes as the vanilla
// source so verify.mjs's rulesHtml rulesHtml substring assertions pass on
// the legacy file and the snapshot script diffs clean against
// .agents/snapshots/rules.txt.
//
// The interactive state lives in RulesInteractive — a single Astro island
// because the five interactions (language, stage tab, skill tab, copy
// prompt, scroll progress) all share a single piece of state: the active
// language. See .agents/rules/astro.md for the hydration preference order.

import BaseLayout from '../layouts/BaseLayout.astro';
import RulesInteractive from '../components/islands/RulesInteractive.astro';
---

<BaseLayout
  title="Rules That Survive the Prompt — AI For Dummies"
  description="A concise case study of agent skills, CLI ratchets, Husky hooks, and PR review in netcracker/interview."
>
  <RulesInteractive />
</BaseLayout>
