Files
ai-for-dummies/hands-on/rules/README.md
T
Marcos Paulo 47144e9206 feat(deck): source links for both labs, plus unslop pass and verify tune
- Add 'Source on Gitea' link next to every 'Open the X lab' link,
  pointing to https://git.marcospaulo.dev.br/netcracker/ai-for-dummies/...
- Same download links added to both SilverBullet guides (Preview +
  Source on Gitea) under Path A and Path B.
- Tighten standalone verify rule: only block external <script src> and
  <link rel=stylesheet href>. Plain <a href=https://...> hyperlinks are
  not runtime dependencies.
- Unslop pass across all deck text, SilverBullet EN/PT, hands-on/rules
  header/label/README: kill triplets, dramatic single-word sentences,
  'matrix below / looks good / cuts the opposite failure' rhetoric.
  Header subtitle now reads 'Toggle rules. Same task, different
  coverage.' (was 'different leash').

verify: all six checks pass.
2026-09-02 16:31:54 +00:00

1.1 KiB

Hands-on · Rules

A tiny, zero-dependency demo showing how rule sources reshape the same prompt.

Run

Open index.html directly. No build, no server, no npm install.

What it shows

  • Five rule sources, taken from a real monorepo (netcracker/interview):
    • AGENTS.md — repo-wide instruction file.
    • .agents/skills/gate-discipline/SKILL.md — skill body loaded on demand.
    • .husky/pre-commit — git hook that runs other enforcers.
    • scripts/check-ui-contract.mjs — custom CLI enforcer (ratchet).
    • commitlint.config.cjs — commit-msg linter.
  • Each rule has an on/off switch. Toggling a rule prepends its body to the ruled prompt.
  • EN ↔ PT toggle keeps both languages useful.
  • "Copy ruled prompt" copies the current ruled-prompt text to clipboard.
  • Responsive on mobile, Full HD, and 4K (one column under 720 px).

Mirror of /hands-on/starter

Same visual system as the starter (--paper, --ink, --blue, --gold). Drop-in replacement under hands-on/rules/.

Token budget

Page weight: ~5 KB total, no framework, no fetch.