feat(15d): complete localization of full-guide page to PT

This commit is contained in:
Marcos Paulo
2026-09-05 22:30:50 +00:00
parent c022a93302
commit 054393f7af
38 changed files with 1322 additions and 325 deletions
+4 -1
View File
@@ -1,6 +1,9 @@
---
name: motion-designer
description: Adds and audits animation — transitions, state changes, optional view transitions. Use for task 17 and any change involving movement. Do not use for static layout or styling work.
description:
Adds and audits animation — transitions, state changes, optional view
transitions. Use for task 17 and any change involving movement. Do not use for
static layout or styling work.
tools: Read, Write, Edit, Bash, Grep, Glob
---
+6 -2
View File
@@ -1,6 +1,9 @@
---
name: reviewer
description: Merge gate. Reviews a task branch diff against its brief and the project rules. Use before merging any refactor task. Never writes features or fixes findings itself.
description:
Merge gate. Reviews a task branch diff against its brief and the project
rules. Use before merging any refactor task. Never writes features or fixes
findings itself.
tools: Read, Grep, Glob, Bash
---
@@ -8,7 +11,8 @@ You are the merge gate. You read diffs and report. **You do not write features
and you do not fix what you find** — you name it precisely enough that the
owning agent can.
**Read**: the task file, then every rule in `.agents/rules/` relevant to the diff.
**Read**: the task file, then every rule in `.agents/rules/` relevant to the
diff.
## Order of checks — highest-value first
+9 -8
View File
@@ -5,7 +5,7 @@
Ten hand-written HTML pages, each linking its own CSS and one ES module:
| Route | Page | Script | Stylesheets |
| --- | --- | --- | --- |
| -------------------- | -------------------------- | ---------------------- | --------------------------------------------- |
| `/` | `index.html` | — | `chapters.css`, `landing.css` |
| `/full-guide/` | `full-guide/index.html` | `app.js` (50 KB) | `styles.css`, `responsive.css`, `audit.css` |
| `/summary/` | `summary/index.html` | — | `chapters.css` |
@@ -35,7 +35,8 @@ Weight is concentrated: `app.js` 50 KB, `responsive.css` 30 KB,
`wins[]`, `improve[]`, `extras`, `improved` (full markdown). 24 entries across
`catalog.js` + `submitted-catalog.js`. This is already a content collection in
all but name.
- **`skills-review/files.js` / `submitted-files.js`** — generated file manifests.
- **`skills-review/files.js` / `submitted-files.js`** — generated file
manifests.
- **`vote.js`** — the vote widget island; talks to `vote-service/`.
## Target (Astro)
@@ -53,12 +54,12 @@ public/
### Non-negotiables for the target
- **URLs do not change.** `/full-guide/`, `/skills-review/`, `/hands-on/starter/`
and the rest must resolve exactly as they do now, trailing slash included.
Existing links (including `docs/`, SilverBullet, and shared URLs with
`?author=…&skill=…&view=…` query params) must keep working.
- **Zero JS by default.** Seven of the ten pages ship no JavaScript today.
They must still ship none. Islands are opt-in, per component, and justified.
- **URLs do not change.** `/full-guide/`, `/skills-review/`,
`/hands-on/starter/` and the rest must resolve exactly as they do now,
trailing slash included. Existing links (including `docs/`, SilverBullet, and
shared URLs with `?author=…&skill=…&view=…` query params) must keep working.
- **Zero JS by default.** Seven of the ten pages ship no JavaScript today. They
must still ship none. Islands are opt-in, per component, and justified.
- **`hands-on/` stays vanilla.** It goes in `public/` untouched. It is a lab
fixture, not a component.
- **No external runtime requests.** `audit-ui.mjs` enforces this and it is part
+2 -1
View File
@@ -49,4 +49,5 @@ likely to fail; verify before shipping.
## Bilingual content
`<html lang>` must change with the language toggle, not just the text. Screen
readers pick pronunciation from it. This already works today — do not regress it.
readers pick pronunciation from it. This already works today — do not regress
it.
+8 -4
View File
@@ -20,12 +20,16 @@ Several current stylesheets already honour it. Every new animation must:
```css
@media (prefers-reduced-motion: reduce) {
* { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
transition-duration: .01ms !important; scroll-behavior: auto !important; }
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
```
Reduced motion means *reduced*, not *broken*: the end state must still be
Reduced motion means _reduced_, not _broken_: the end state must still be
correct and the interface still usable. Test it — in DevTools, Rendering →
Emulate `prefers-reduced-motion`.
@@ -35,7 +39,7 @@ Emulate `prefers-reduced-motion`.
Animating `width`, `height`, `top`, `left`, or `margin` forces layout on every
frame and will show up as a failed INP.
- `will-change` only on an element about to animate, removed after. Leaving it
on permanently costs memory and can *hurt* performance.
on permanently costs memory and can _hurt_ performance.
- Prefer CSS transitions. Reach for the Web Animations API only for sequencing
that CSS cannot express. Do not add an animation library — it is a runtime
dependency on a site whose thesis is having none.
+9 -6
View File
@@ -16,7 +16,7 @@ this site's ten pages ship no JS today and must continue to.
Only these need interactivity. Anything else claiming island status is wrong:
| Island | Why | Directive |
| --- | --- | --- |
| --------------------------------- | ---------------------------------- | ---------------- |
| Guide phase/tab switchers | click-driven panel swap | `client:visible` |
| Review desk catalog + file viewer | search, filter, fetch source files | `client:load` |
| Vote widget | talks to `vote-service/` | `client:visible` |
@@ -31,8 +31,11 @@ Only these need interactivity. Anything else claiming island status is wrong:
// 3. destructure Astro.props
// 4. derived values — no side effects, no fetch in components
---
<!-- markup -->
<style>/* component-scoped */</style>
<style>
/* component-scoped */
</style>
```
- Typed props always: `interface Props { … }`, then `const { … } = Astro.props`.
@@ -60,13 +63,13 @@ almost one-to-one — do that rather than importing a 27 KB JS file.
The site is served from `/ai-for-dummies/`. Set `base` in `astro.config.mjs` and
never hand-write an absolute internal path. Use `import.meta.env.BASE_URL`.
Existing routes are load-bearing and must not change, including trailing
slashes and the review desk's query params.
Existing routes are load-bearing and must not change, including trailing slashes
and the review desk's query params.
## Never
- No UI framework (React/Vue/Svelte) unless a task brief explicitly calls for it.
Astro components plus a little vanilla JS cover everything here.
- No UI framework (React/Vue/Svelte) unless a task brief explicitly calls for
it. Astro components plus a little vanilla JS cover everything here.
- No CSS framework. This site has a hand-built visual identity — see
[`theming.md`](theming.md).
- No external runtime requests. Self-host. `audit-ui.mjs` enforces it.
+3 -3
View File
@@ -3,7 +3,7 @@
## Match what is there
This codebase has a real voice: dense one-liner CSS, terse ES modules, comments
that explain *why* and never *what*. Do not reformat it into someone else's
that explain _why_ and never _what_. Do not reformat it into someone else's
house style as a side effect of a task.
The one exception is CSS minification-by-hand — `styles.css` is single-line and
@@ -44,5 +44,5 @@ overrides, and the temptation during migration will be to port it wholesale
## Commits
Present tense, lowercase, `type: subject`, matching the existing log
(`feat:`, `fix:`, `docs:`). The body explains why, and states what you did not do.
Present tense, lowercase, `type: subject`, matching the existing log (`feat:`,
`fix:`, `docs:`). The body explains why, and states what you did not do.
+2 -1
View File
@@ -3,7 +3,8 @@
## When to make a component
Extract when the same markup appears **three times**, or when a block has a name
a person would use out loud ("the eyebrow", "the route card", "the phase panel").
a person would use out loud ("the eyebrow", "the route card", "the phase
panel").
Do not extract on the second occurrence. Two similar blocks often diverge; the
premature abstraction costs more than the duplication.
+2 -2
View File
@@ -55,5 +55,5 @@ hand-rolled client-side renderer. That deletes code and improves fidelity.
Careful: `skill-reviews/improved/**/SKILL.md` is **generated** from those
entries by `scripts/build-skill-review.mjs`, and the generated files are
committed. Keep that generator working, or replace it and update every
reference to it.
committed. Keep that generator working, or replace it and update every reference
to it.
+6 -2
View File
@@ -27,8 +27,12 @@ const text = html
.replace(/<style[\s\S]*?<\/style>/gi, '')
.replace(/<!--[\s\S]*?-->/g, '')
.replace(/<[^>]+>/g, '\n')
.replace(/&amp;/g, '&').replace(/&lt;/g, '<').replace(/&gt;/g, '>')
.replace(/&quot;/g, '"').replace(/&#0?39;/g, "'").replace(/&nbsp;/g, ' ')
.replace(/&amp;/g, '&')
.replace(/&lt;/g, '<')
.replace(/&gt;/g, '>')
.replace(/&quot;/g, '"')
.replace(/&#0?39;/g, "'")
.replace(/&nbsp;/g, ' ')
.split('\n')
.map((line) => line.trim())
.filter(Boolean)
+6 -3
View File
@@ -1,6 +1,9 @@
---
name: content-migration
description: Move bilingual copy out of app.js and catalog.js into typed Astro content collections without losing or altering a single string. Use for any task that relocates user-visible text.
description:
Move bilingual copy out of app.js and catalog.js into typed Astro content
collections without losing or altering a single string. Use for any task that
relocates user-visible text.
---
# Content migration
@@ -9,8 +12,8 @@ description: Move bilingual copy out of app.js and catalog.js into typed Astro c
- `app.js` — ~50 `{ en, pt }` keys across `phases`, `handsOnPrompts`,
`modelGuide`, `skillSources`, `skillInstallPrompts`
- `skills-review/catalog.js` + `submitted-catalog.js` — 24 entries with
`id`, `author`, `title`, `status`, `focus`, `wins[]`, `improve[]`, `extras`,
- `skills-review/catalog.js` + `submitted-catalog.js` — 24 entries with `id`,
`author`, `title`, `status`, `focus`, `wins[]`, `improve[]`, `extras`,
`improved` (full markdown)
These are hand-written translations with deliberate tone. **Copy them. Never
+20 -9
View File
@@ -1,6 +1,9 @@
---
name: motion
description: Add or review animation on the ai-for-dummies site — transitions, state changes, view transitions. Use when any element moves, fades, or transforms, or when auditing existing motion for performance and reduced-motion support.
description:
Add or review animation on the ai-for-dummies site — transitions, state
changes, view transitions. Use when any element moves, fades, or transforms,
or when auditing existing motion for performance and reduced-motion support.
---
# Motion
@@ -22,10 +25,14 @@ If there is no answer, ship it static. That is a legitimate, common outcome.
```css
.panel {
transition: opacity 180ms cubic-bezier(.2,0,0,1),
transform 180ms cubic-bezier(.2,0,0,1);
transition:
opacity 180ms cubic-bezier(0.2, 0, 0, 1),
transform 180ms cubic-bezier(0.2, 0, 0, 1);
}
.panel[data-state='entering'] {
opacity: 0;
transform: translateY(6px);
}
.panel[data-state='entering'] { opacity: 0; transform: translateY(6px); }
```
- **`transform` and `opacity` only.** Animating `width`/`height`/`top`/`left`
@@ -39,14 +46,18 @@ If there is no answer, ship it static. That is a legitimate, common outcome.
```css
@media (prefers-reduced-motion: reduce) {
* { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
transition-duration: .01ms !important; scroll-behavior: auto !important; }
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
```
Then **test it**: DevTools → Rendering → Emulate `prefers-reduced-motion:
reduce`. The end state must still be correct and the UI still usable. Reduced,
not broken.
Then **test it**: DevTools → Rendering → Emulate
`prefers-reduced-motion: reduce`. The end state must still be correct and the UI
still usable. Reduced, not broken.
## Page transitions
+9 -6
View File
@@ -1,6 +1,9 @@
---
name: verify-contract
description: Evolve scripts/verify.mjs across the Astro migration without losing coverage. Use whenever a verify assertion fails because of a refactor, or when adding checks for new architecture.
description:
Evolve scripts/verify.mjs across the Astro migration without losing coverage.
Use whenever a verify assertion fails because of a refactor, or when adding
checks for new architecture.
---
# The verification contract
@@ -30,12 +33,12 @@ report. Nobody else may reduce coverage.
## Translating assertions
| Kind | Old | New |
| --- | --- | --- |
| --------------------- | ------------------------------------ | ----------------------------------------------------------------------------- |
| Content presence | `html.includes('data-phase="plan"')` | same token, read from `dist/full-guide/index.html` |
| Implementation detail | `js.includes('renderTree')` | assert the rendered output has the tree UI, not that a function is named that |
| Asset version | `'app.js?v=20260904-vote-widget'` | assert the built HTML references a hashed asset |
Implementation-detail assertions are the dangerous ones: they *look* deletable.
Implementation-detail assertions are the dangerous ones: they _look_ deletable.
They are pinning a feature. Replace with an output-level assertion of the same
feature; never drop.
@@ -54,9 +57,9 @@ Commit the snapshots. They are the migration's regression net.
## Extend audit-ui.mjs
It rejects external `<script>`/`<link>` but **misses external URLs inside CSS**
which is exactly how the broken Google Fonts `@font-face` in `styles.css:1` got
into a "dependency-free" site. Add:
It rejects external `<script>`/`<link>` but **misses external URLs inside CSS**
which is exactly how the broken Google Fonts `@font-face` in `styles.css:1`
got into a "dependency-free" site. Add:
```js
if (/@import|src:\s*url\(['"]?https?:|url\(['"]?https?:/i.test(css))
@@ -34,6 +34,8 @@ const { label, columns = 3 } = Astro.props;
}
@media (max-width: 800px) {
.grid { grid-template-columns: 1fr; }
.grid {
grid-template-columns: 1fr;
}
}
</style>
+22 -9
View File
@@ -20,25 +20,33 @@ const { items, initialId = items[0]?.id } = Astro.props;
<div class="island" data-initial={initialId}>
<div class="tabs" role="tablist" aria-label="Sections">
{items.map((item) => (
{
items.map((item) => (
<button
role="tab"
id={`tab-${item.id}`}
aria-controls={`panel-${item.id}`}
aria-selected={item.id === initialId}
data-tab={item.id}
>{item.label}</button>
))}
>
{item.label}
</button>
))
}
</div>
{items.map((item) => (
{
items.map((item) => (
<div
role="tabpanel"
id={`panel-${item.id}`}
aria-labelledby={`tab-${item.id}`}
data-panel={item.id}
hidden={item.id !== initialId}
>{item.body}</div>
))}
>
{item.body}
</div>
))
}
</div>
<script>
@@ -68,7 +76,10 @@ const { items, initialId = items[0]?.id } = Astro.props;
</script>
<style>
.tabs { display: grid; gap: 8px; }
.tabs {
display: grid;
gap: 8px;
}
button {
padding: 12px;
@@ -78,7 +89,7 @@ const { items, initialId = items[0]?.id } = Astro.props;
text-align: left;
cursor: pointer;
/* transform/opacity only — never animate layout properties */
transition: background 180ms cubic-bezier(.2, 0, 0, 1);
transition: background 180ms cubic-bezier(0.2, 0, 0, 1);
}
button[aria-selected='true'] {
@@ -92,6 +103,8 @@ const { items, initialId = items[0]?.id } = Astro.props;
}
@media (prefers-reduced-motion: reduce) {
button { transition-duration: .01ms; }
button {
transition-duration: 0.01ms;
}
}
</style>
@@ -40,7 +40,7 @@ const { eyebrow, title, body, href } = Astro.props;
.eyebrow {
color: var(--accent);
font: var(--font-eyebrow);
letter-spacing: .1em;
letter-spacing: 0.1em;
text-transform: uppercase;
}
@@ -48,7 +48,7 @@ const { eyebrow, title, body, href } = Astro.props;
margin: 0;
font-size: var(--step-5);
line-height: 1.05;
letter-spacing: -.06em; /* tight display tracking is a signature of this design */
letter-spacing: -0.06em; /* tight display tracking is a signature of this design */
}
p {
@@ -69,6 +69,8 @@ const { eyebrow, title, body, href } = Astro.props;
}
@media (max-width: 800px) {
.block { padding: 18px; }
.block {
padding: 18px;
}
}
</style>
+1 -5
View File
@@ -1,10 +1,6 @@
{
"extends": ["stylelint-config-standard"],
"ignoreFiles": [
"dist/**",
"public/hands-on/**",
"submitted-skills/**"
],
"ignoreFiles": ["dist/**", "public/hands-on/**", "submitted-skills/**"],
"rules": {
"custom-property-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
"declaration-property-value-disallowed-list": {
+15 -6
View File
@@ -28,25 +28,30 @@ const lang = 'en'; // TODO: wire to the language toggle decision (task 03)
</section>
<GridGroup label="Chapter sections" columns={3}>
{chapter.data.sections.map((section) => (
{
chapter.data.sections.map((section) => (
<StaticBlock
eyebrow={section.eyebrow[lang]}
title={section.title[lang]}
body={section.body[lang]}
/>
))}
))
}
</GridGroup>
</ChapterLayout>
<style>
/* Page-level layout only. Anything reusable belongs in a component. */
.hero { max-width: 780px; padding: clamp(75px, 12vh, 145px) 0 85px; }
.hero {
max-width: 780px;
padding: clamp(75px, 12vh, 145px) 0 85px;
}
h1 {
margin: 16px 0 24px;
font-size: var(--step-display);
line-height: .86;
letter-spacing: -.08em;
line-height: 0.86;
letter-spacing: -0.08em;
}
/* Georgia is a real system font and DOES render — unlike Manrope/DM Mono.
@@ -57,5 +62,9 @@ const lang = 'en'; // TODO: wire to the language toggle decision (task 03)
font-weight: 400;
}
.lede { max-width: 570px; color: var(--muted); line-height: 1.65; }
.lede {
max-width: 570px;
color: var(--muted);
line-height: 1.65;
}
</style>
+14 -3
View File
@@ -39,7 +39,18 @@ const items = entries.map((entry) => ({
</BaseLayout>
<style>
.hero { max-width: 780px; padding: clamp(75px, 12vh, 145px) 0 85px; }
h1 { font-size: var(--step-display); line-height: .86; letter-spacing: -.08em; }
h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; }
.hero {
max-width: 780px;
padding: clamp(75px, 12vh, 145px) 0 85px;
}
h1 {
font-size: var(--step-display);
line-height: 0.86;
letter-spacing: -0.08em;
}
h1 em {
color: var(--blue);
font-family: Georgia, serif;
font-weight: 400;
}
</style>
+30 -16
View File
@@ -1,23 +1,37 @@
# Gates: review desk privacy and improved-draft audit
OWNS: skills-review/**, submitted-skills/Anonymous Operational Submission/**, skill-reviews/improved/ndo-repro/**, scripts/verify.mjs
OWNS: skills-review/**, submitted-skills/Anonymous Operational Submission/**,
skill-reviews/improved/ndo-repro/**, scripts/verify.mjs
Scope: Redact the operational submission's identity and URLs from the published review desk, keep package files usable in either preview mode, and explain each improved draft as a concrete diff.
Scope: Redact the operational submission's identity and URLs from the published
review desk, keep package files usable in either preview mode, and explain each
improved draft as a concrete diff.
- [x] G1: the published operational submission contains no personal name, original source URL, email address, or host-specific path
CHECK: node scripts/verify.mjs
EXPECT: review privacy verification passed
EVIDENCE: exit=0; shell=/bin/sh; cwd=/home/marcos/Projects/ai-for-dummies; path=d3551337f830/34 entries; EXPECT=matched; output-sha256=180e8cd0d18968e2a4244ede959c3459b5ce80b836fc5a0df00961907e5d15a1; output-bytes=481
- [x] G1: the published operational submission contains no personal name,
original source URL, email address, or host-specific path CHECK: node
scripts/verify.mjs EXPECT: review privacy verification passed EVIDENCE:
exit=0; shell=/bin/sh; cwd=/home/marcos/Projects/ai-for-dummies;
path=d3551337f830/34 entries; EXPECT=matched;
output-sha256=180e8cd0d18968e2a4244ede959c3459b5ce80b836fc5a0df00961907e5d15a1;
output-bytes=481
- [x] G2: every package file remains selectable in Original and Improved draft modes without resetting the selected preview
CHECK: node scripts/verify.mjs
EXPECT: review file-mode verification passed
EVIDENCE: exit=0; shell=/bin/sh; cwd=/home/marcos/Projects/ai-for-dummies; path=d3551337f830/34 entries; EXPECT=matched; output-sha256=180e8cd0d18968e2a4244ede959c3459b5ce80b836fc5a0df00961907e5d15a1; output-bytes=481
- [x] G2: every package file remains selectable in Original and Improved draft
modes without resetting the selected preview CHECK: node
scripts/verify.mjs EXPECT: review file-mode verification passed EVIDENCE:
exit=0; shell=/bin/sh; cwd=/home/marcos/Projects/ai-for-dummies;
path=d3551337f830/34 entries; EXPECT=matched;
output-sha256=180e8cd0d18968e2a4244ede959c3459b5ce80b836fc5a0df00961907e5d15a1;
output-bytes=481
- [x] G3: every improved draft has an interactive change lens that explains changed guidance and its rationale
CHECK: node scripts/verify.mjs
EXPECT: review change-lens verification passed
EVIDENCE: exit=0; shell=/bin/sh; cwd=/home/marcos/Projects/ai-for-dummies; path=d3551337f830/34 entries; EXPECT=matched; output-sha256=180e8cd0d18968e2a4244ede959c3459b5ce80b836fc5a0df00961907e5d15a1; output-bytes=481
- [x] G3: every improved draft has an interactive change lens that explains
changed guidance and its rationale CHECK: node scripts/verify.mjs EXPECT:
review change-lens verification passed EVIDENCE: exit=0; shell=/bin/sh;
cwd=/home/marcos/Projects/ai-for-dummies; path=d3551337f830/34 entries;
EXPECT=matched;
output-sha256=180e8cd0d18968e2a4244ede959c3459b5ce80b836fc5a0df00961907e5d15a1;
output-bytes=481
- [x] G4: the review desk works at mobile, Full HD, and 4K widths without page errors or horizontal overflow
EVIDENCE: Playwright audit on 2026-09-04: 320, 390, 1280, 1920, and 3840px passed with Improved Draft and Change lens rendered; no horizontal overflow or page errors.
- [x] G4: the review desk works at mobile, Full HD, and 4K widths without page
errors or horizontal overflow EVIDENCE: Playwright audit on 2026-09-04:
320, 390, 1280, 1920, and 3840px passed with Improved Draft and Change
lens rendered; no horizontal overflow or page errors.
+88 -1
View File
@@ -1 +1,88 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>AI For Dummies — Agents and trees</title><link rel="stylesheet" href="../chapters.css"></head><body><main><header class="top"><a href="../summary/">← ROUTE MAP</a><span>02 / AGENTS & TREES</span><a href="../full-guide/">field guide ↗</a></header><section class="hero"><p class="eyebrow">Subagent workflow</p><h1>One branch<br>per <em>hand.</em></h1><p>Agents work when roles, files, and evidence are bounded. A worktree gives each worker its own checkout while the orchestrator protects intent.</p></section><section class="pipeline"><div><p class="eyebrow">The tree</p><h2>Split at<br>the <em>seam.</em></h2></div><div class="panel"><strong>MAIN / ORCHESTRATOR</strong><code>├── agent/ui → components + visual states · ├── agent/tests → acceptance + regressions · └── agent/docs → guide + examples · merge after each leaf returns a diff and evidence</code></div></section><section class="grid"><article class="card"><b>FRAME</b><h2>Orchestrator</h2><p>Owns scope, task graph, boundaries, and integration.</p></article><article class="card"><b>HAND OFF</b><h2>Worker</h2><p>Owns one coherent slice and one worktree.</p></article><article class="card"><b>PROVE</b><h2>Verifier</h2><p>Re-runs gates and reports remaining gaps.</p></article></section><section class="practice"><div><p class="eyebrow">Handoff</p><h2>Context that<br>can <em>travel.</em></h2></div><div class="steps"><article><b>01</b><div><strong>Brief</strong><span>Goal, owned files, dependencies, non-goals, acceptance.</span></div></article><article><b>02</b><div><strong>Isolation</strong><span>One branch and worktree per independent change.</span></div></article><article><b>03</b><div><strong>Evidence</strong><span>Commands, result, changed files, screenshots, gaps.</span></div></article></div></section><nav class="links"><a href="../models/">Previous: models →</a><a href="../rules/">Rules case study →</a><a href="../hands-on/rules/">Try the rules lab →</a></nav></main></body></html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>AI For Dummies — Agents and trees</title>
<link rel="stylesheet" href="../chapters.css" />
</head>
<body>
<main>
<header class="top">
<a href="../summary/">← ROUTE MAP</a><span>02 / AGENTS & TREES</span
><a href="../full-guide/">field guide ↗</a>
</header>
<section class="hero">
<p class="eyebrow">Subagent workflow</p>
<h1>One branch<br />per <em>hand.</em></h1>
<p>
Agents work when roles, files, and evidence are bounded. A worktree gives each worker its
own checkout while the orchestrator protects intent.
</p>
</section>
<section class="pipeline">
<div>
<p class="eyebrow">The tree</p>
<h2>Split at<br />the <em>seam.</em></h2>
</div>
<div class="panel">
<strong>MAIN / ORCHESTRATOR</strong
><code
>├── agent/ui → components + visual states · ├── agent/tests → acceptance + regressions
· └── agent/docs → guide + examples · merge after each leaf returns a diff and
evidence</code
>
</div>
</section>
<section class="grid">
<article class="card">
<b>FRAME</b>
<h2>Orchestrator</h2>
<p>Owns scope, task graph, boundaries, and integration.</p>
</article>
<article class="card">
<b>HAND OFF</b>
<h2>Worker</h2>
<p>Owns one coherent slice and one worktree.</p>
</article>
<article class="card">
<b>PROVE</b>
<h2>Verifier</h2>
<p>Re-runs gates and reports remaining gaps.</p>
</article>
</section>
<section class="practice">
<div>
<p class="eyebrow">Handoff</p>
<h2>Context that<br />can <em>travel.</em></h2>
</div>
<div class="steps">
<article>
<b>01</b>
<div>
<strong>Brief</strong
><span>Goal, owned files, dependencies, non-goals, acceptance.</span>
</div>
</article>
<article>
<b>02</b>
<div>
<strong>Isolation</strong><span>One branch and worktree per independent change.</span>
</div>
</article>
<article>
<b>03</b>
<div>
<strong>Evidence</strong
><span>Commands, result, changed files, screenshots, gaps.</span>
</div>
</article>
</div>
</section>
<nav class="links">
<a href="../models/">Previous: models →</a><a href="../rules/">Rules case study →</a
><a href="../hands-on/rules/">Try the rules lab →</a>
</nav>
</main>
</body>
</html>
+29 -20
View File
@@ -7,38 +7,47 @@ articles are context, not authority.
- Anthropic — custom subagents: https://code.claude.com/docs/en/sub-agents
Separate context, tools, permissions, model selection, and worktree isolation.
- Anthropic — skills: https://code.claude.com/docs/en/skills
Reusable instruction packages and skill discovery.
- Anthropic — worktrees: https://code.claude.com/docs/en/worktrees
Isolated sessions, branches, cleanup, and ignored files.
- OpenAI — build skills: https://developers.openai.com/codex/skills
Packaged instructions and resources for Codex workflows.
- OpenAI API — skills reference: https://developers.openai.com/api/reference/go/resources/skills
Creating, versioning, listing, and downloading skill bundles.
- Git — worktree: https://git-scm.com/docs/git-worktree.html
Linked working trees, branches, shared history, add/list/remove/prune.
- Anthropic — skills: https://code.claude.com/docs/en/skills Reusable
instruction packages and skill discovery.
- Anthropic — worktrees: https://code.claude.com/docs/en/worktrees Isolated
sessions, branches, cleanup, and ignored files.
- OpenAI — build skills: https://developers.openai.com/codex/skills Packaged
instructions and resources for Codex workflows.
- OpenAI API — skills reference:
https://developers.openai.com/api/reference/go/resources/skills Creating,
versioning, listing, and downloading skill bundles.
- Git — worktree: https://git-scm.com/docs/git-worktree.html Linked working
trees, branches, shared history, add/list/remove/prune.
## Research and articles
- [Model routing and reasoning controls](model-routing.md) — official OpenAI,
Anthropic, and Google terminology, commands, compatibility caveats, and a
practical tier/effort baseline.
- [Verified skill sources](skill-sources.md) — pinned GitHub references,
package paths, local-match confidence, and an approval-first install prompt.
- [Verified skill sources](skill-sources.md) — pinned GitHub references, package
paths, local-match confidence, and an approval-first install prompt.
For a structured 12-part reading path—including Git and Anthropic documentation,
OpenAI orchestration guidance, Medium, and Substack—see
[additional-reading.md](additional-reading.md).
- Infobip Research — phased coding-agent workflow: https://arxiv.org/abs/2608.30701
- Effective asynchronous software engineering agents: https://arxiv.org/abs/2603.21489
- Launch Receipts — AI coding workflow without losing control: https://launchreceipts.com/articles/ai-coding-agent-workflow
- GitWorktree.org — three agents, three worktrees case study: https://www.gitworktree.org/cases/parallel-ai-agents
- Infobip Research — phased coding-agent workflow:
https://arxiv.org/abs/2608.30701
- Effective asynchronous software engineering agents:
https://arxiv.org/abs/2603.21489
- Launch Receipts — AI coding workflow without losing control:
https://launchreceipts.com/articles/ai-coding-agent-workflow
- GitWorktree.org — three agents, three worktrees case study:
https://www.gitworktree.org/cases/parallel-ai-agents
## Teaching claims
- Use a stronger model where ambiguity, architecture, decomposition, and review dominate.
- Use a stronger model where ambiguity, architecture, decomposition, and review
dominate.
- Use faster models for bounded implementation with explicit context and checks.
- Give every editing worker an isolated branch/worktree; merge only reviewed diffs.
- A skill is a reusable procedure plus optional references/scripts/assets, not magical memory.
- Delegation does not remove human responsibility for intent, boundaries, or evidence.
- Give every editing worker an isolated branch/worktree; merge only reviewed
diffs.
- A skill is a reusable procedure plus optional references/scripts/assets, not
magical memory.
- Delegation does not remove human responsibility for intent, boundaries, or
evidence.
+56 -13
View File
@@ -1,6 +1,8 @@
# Additional reading: multi-agent coding
Verified on 2026-09-02. Start with the official references for behavior and constraints; use the practitioner articles for concrete workflow ideas that should be tested against your own repository.
Verified on 2026-09-02. Start with the official references for behavior and
constraints; use the practitioner articles for concrete workflow ideas that
should be tested against your own repository.
## Git worktrees and isolated coding sessions
@@ -8,25 +10,38 @@ Verified on 2026-09-02. Start with the official references for behavior and cons
- **Publisher:** Git
- **Topic:** Worktree fundamentals and lifecycle
- **Teaching takeaway:** The authoritative reference for how linked worktrees share repository data while retaining separate `HEAD` and index state. Use its `add`, `list`, `lock`, `remove`, `prune`, and `repair` sections to teach the complete lifecycle rather than only worktree creation.
- **Teaching takeaway:** The authoritative reference for how linked worktrees
share repository data while retaining separate `HEAD` and index state. Use its
`add`, `list`, `lock`, `remove`, `prune`, and `repair` sections to teach the
complete lifecycle rather than only worktree creation.
### 2. [Run parallel sessions with worktrees](https://code.claude.com/docs/en/worktrees)
- **Publisher:** Anthropic — Claude Code Docs
- **Topic:** Native worktree isolation for coding agents
- **Teaching takeaway:** Shows how Claude Code creates isolated sessions with `--worktree`, how gitignored environment files can be copied with `.worktreeinclude`, and how subagents can use worktree isolation. It is a useful bridge between raw Git commands and a real agent workflow.
- **Teaching takeaway:** Shows how Claude Code creates isolated sessions with
`--worktree`, how gitignored environment files can be copied with
`.worktreeinclude`, and how subagents can use worktree isolation. It is a
useful bridge between raw Git commands and a real agent workflow.
### 3. [How Git Worktrees Transformed My AI Agent Development Workflow in 2026](https://medium.com/@mudassir00seven/how-git-worktrees-transformed-my-ai-agent-development-workflow-in-2026-ad8a59b8edfb)
- **Publisher:** Medium — Mudassir Khan
- **Topic:** One worktree per agent and task
- **Teaching takeaway:** A concise practitioner explanation of why parallel agents collide in a shared filesystem and how one task, branch, worktree, and pull request per agent reduces that interference. Pair it with the official Git documentation because operational details may evolve.
- **Teaching takeaway:** A concise practitioner explanation of why parallel
agents collide in a shared filesystem and how one task, branch, worktree, and
pull request per agent reduces that interference. Pair it with the official
Git documentation because operational details may evolve.
### 4. [How to Use Git Worktrees with Coding Agents](https://meshintelligence.substack.com/p/how-to-use-git-worktrees-with-coding)
- **Publisher:** Mesh Intelligence on Substack — Petar Djukic
- **Topic:** Worktree-per-task workflow and integration boundaries
- **Teaching takeaway:** Explains why branches alone do not isolate active files, compares worktrees with clones and containers, and presents a create-work-review-remove lifecycle. Its strongest lesson is that worktrees isolate execution, not merge conflicts, so scheduling and review gates still matter.
- **Teaching takeaway:** Explains why branches alone do not isolate active
files, compares worktrees with clones and containers, and presents a
create-work-review-remove lifecycle. Its strongest lesson is that worktrees
isolate execution, not merge conflicts, so scheduling and review gates still
matter.
## Subagents and orchestration
@@ -34,31 +49,48 @@ Verified on 2026-09-02. Start with the official references for behavior and cons
- **Publisher:** Anthropic — Claude Code Docs
- **Topic:** Specialized subagents, context, tools, and background execution
- **Teaching takeaway:** Demonstrates how to define narrow subagents with their own prompts, tool permissions, and models, then run them in foreground or background. It supports teaching that delegation quality depends on explicit responsibility and context boundaries, not merely spawning more agents.
- **Teaching takeaway:** Demonstrates how to define narrow subagents with their
own prompts, tool permissions, and models, then run them in foreground or
background. It supports teaching that delegation quality depends on explicit
responsibility and context boundaries, not merely spawning more agents.
### 6. [Building Effective AI Agents](https://www.anthropic.com/engineering/building-effective-agents)
- **Publisher:** Anthropic Engineering
- **Topic:** Agent architecture patterns
- **Teaching takeaway:** Introduces routing, parallelization, orchestrator-worker, and evaluator-optimizer patterns while recommending the simplest architecture that meets the task. The orchestrator-worker section is especially useful for explaining when a strong planner should dynamically decompose work for bounded workers.
- **Teaching takeaway:** Introduces routing, parallelization,
orchestrator-worker, and evaluator-optimizer patterns while recommending the
simplest architecture that meets the task. The orchestrator-worker section is
especially useful for explaining when a strong planner should dynamically
decompose work for bounded workers.
### 7. [How we built our multi-agent research system](https://www.anthropic.com/engineering/multi-agent-research-system)
- **Publisher:** Anthropic Engineering
- **Topic:** Production multi-agent coordination
- **Teaching takeaway:** A production case study in which a lead agent plans and delegates independent searches to parallel subagents. It is useful for discussing breadth-first tasks, separate context windows, token cost, evaluation, and why parallelism helps most when subtasks are genuinely independent.
- **Teaching takeaway:** A production case study in which a lead agent plans and
delegates independent searches to parallel subagents. It is useful for
discussing breadth-first tasks, separate context windows, token cost,
evaluation, and why parallelism helps most when subtasks are genuinely
independent.
### 8. [A practical guide to building agents](https://openai.com/business/guides-and-resources/a-practical-guide-to-building-ai-agents/)
- **Publisher:** OpenAI
- **Topic:** Manager and handoff orchestration patterns
- **Teaching takeaway:** Distinguishes centralized manager orchestration from decentralized handoffs and shows agents being exposed as tools to other agents. Use it to teach that the right topology depends on who must retain control, combine outputs, and own the final response.
- **Teaching takeaway:** Distinguishes centralized manager orchestration from
decentralized handoffs and shows agents being exposed as tools to other
agents. Use it to teach that the right topology depends on who must retain
control, combine outputs, and own the final response.
### 9. [Agent orchestration](https://openai.github.io/openai-agents-python/multi_agent/)
- **Publisher:** OpenAI Agents SDK
- **Topic:** Agents-as-tools, handoffs, and code-driven workflows
- **Teaching takeaway:** Gives a precise comparison between a manager calling specialists as tools and handing control to a specialist. It also covers deterministic orchestration in code, including chains, evaluator loops, and parallel execution for independent tasks.
- **Teaching takeaway:** Gives a precise comparison between a manager calling
specialists as tools and handing control to a specialist. It also covers
deterministic orchestration in code, including chains, evaluator loops, and
parallel execution for independent tasks.
## Model routing and reusable skills
@@ -66,19 +98,30 @@ Verified on 2026-09-02. Start with the official references for behavior and cons
- **Publisher:** Anthropic — Claude Platform Docs
- **Topic:** Routing work between frontier and lower-cost models
- **Teaching takeaway:** Compares model selection, advisor, and orchestrator strategies using cost-per-completed-task rather than token price alone. Its orchestrator guidance directly supports a frontier planner dispatching bulk independent work to cheaper workers—but also explains when one model is simpler and less expensive.
- **Teaching takeaway:** Compares model selection, advisor, and orchestrator
strategies using cost-per-completed-task rather than token price alone. Its
orchestrator guidance directly supports a frontier planner dispatching bulk
independent work to cheaper workers—but also explains when one model is
simpler and less expensive.
### 11. [Models](https://openai.github.io/openai-agents-python/models/)
- **Publisher:** OpenAI Agents SDK
- **Topic:** Per-agent model selection and mixed-provider routing
- **Teaching takeaway:** Documents how different agents in one workflow can use different models or providers and how routing can be configured centrally. This is a practical implementation reference for turning a conceptual “strong planner, lightweight workers” policy into explicit per-agent configuration.
- **Teaching takeaway:** Documents how different agents in one workflow can use
different models or providers and how routing can be configured centrally.
This is a practical implementation reference for turning a conceptual “strong
planner, lightweight workers” policy into explicit per-agent configuration.
### 12. [Skills](https://platform.claude.com/docs/en/managed-agents/skills)
- **Publisher:** Anthropic — Claude Platform Docs
- **Topic:** Reusable filesystem-based agent skills
- **Teaching takeaway:** Explains the `SKILL.md` package model, repository discovery, supporting scripts and resources, and why only task-relevant skills should be attached. It also highlights the security lesson that repository skills are executable instructions and therefore part of the agents trust boundary.
- **Teaching takeaway:** Explains the `SKILL.md` package model, repository
discovery, supporting scripts and resources, and why only task-relevant skills
should be attached. It also highlights the security lesson that repository
skills are executable instructions and therefore part of the agents trust
boundary.
## Suggested teaching order
+57 -15
View File
@@ -1,25 +1,42 @@
# Model routing and reasoning controls
Verified against first-party documentation on 2026-09-02. Model catalogs and aliases change; pin production model IDs and re-check the linked compatibility tables before rollout.
Verified against first-party documentation on 2026-09-02. Model catalogs and
aliases change; pin production model IDs and re-check the linked compatibility
tables before rollout.
## Two independent routing knobs
1. **Model tier** chooses the capability, latency, and cost envelope.
2. **Effort / thinking control** changes how much reasoning work a supported model performs for one request.
2. **Effort / thinking control** changes how much reasoning work a supported
model performs for one request.
Do not assume that every effort value works with every model or product. Unsupported values may fail, be ignored, or be mapped to another level depending on the client.
Do not assume that every effort value works with every model or product.
Unsupported values may fail, be ignored, or be mapped to another level depending
on the client.
## OpenAI
The current GPT-5.6 family exposes the **Sol**, **Terra**, and **Luna** model tiers. Its documented `reasoning.effort` values are `none`, `low`, `medium`, `high`, `xhigh`, and `max`. Availability remains model-specific, so select from the levels shown for the chosen model rather than treating the full list as universal. [OpenAI: latest model guide](https://developers.openai.com/api/docs/guides/latest-model)
The current GPT-5.6 family exposes the **Sol**, **Terra**, and **Luna** model
tiers. Its documented `reasoning.effort` values are `none`, `low`, `medium`,
`high`, `xhigh`, and `max`. Availability remains model-specific, so select from
the levels shown for the chosen model rather than treating the full list as
universal.
[OpenAI: latest model guide](https://developers.openai.com/api/docs/guides/latest-model)
Use a lower-cost tier and low effort for bounded, mechanical work; raise the model tier or effort for planning, architecture, difficult debugging, and final review. This is routing guidance, not an API guarantee.
Use a lower-cost tier and low effort for bounded, mechanical work; raise the
model tier or effort for planning, architecture, difficult debugging, and final
review. This is routing guidance, not an API guarantee.
## Anthropic Claude
### Model tier
Claude Code provides the aliases `opus`, `sonnet`, and `haiku`: Opus is intended for complex reasoning, Sonnet for everyday coding, and Haiku for simple, fast work. Aliases resolve to provider-dependent recommended versions and can change over time; use a full model ID when reproducibility matters. Claude Code also documents `opusplan`, which uses Opus in plan mode and Sonnet for execution. [Claude Code: model configuration](https://docs.anthropic.com/en/docs/claude-code/model-config)
Claude Code provides the aliases `opus`, `sonnet`, and `haiku`: Opus is intended
for complex reasoning, Sonnet for everyday coding, and Haiku for simple, fast
work. Aliases resolve to provider-dependent recommended versions and can change
over time; use a full model ID when reproducibility matters. Claude Code also
documents `opusplan`, which uses Opus in plan mode and Sonnet for execution.
[Claude Code: model configuration](https://docs.anthropic.com/en/docs/claude-code/model-config)
Copy-ready Claude Code switches:
@@ -37,7 +54,12 @@ claude --model opus
### Effort
The Claude API parameter is `output_config.effort`. The documented levels are `low`, `medium`, `high`, `xhigh`, and `max`; `high` is the API default. `xhigh` and `max` have narrower model support, and Haiku 4.5 does not support effort. Effort affects the whole response—including thinking and tool calls—and is a behavioral signal, not a strict token budget. [Anthropic: effort](https://docs.anthropic.com/en/docs/build-with-claude/effort)
The Claude API parameter is `output_config.effort`. The documented levels are
`low`, `medium`, `high`, `xhigh`, and `max`; `high` is the API default. `xhigh`
and `max` have narrower model support, and Haiku 4.5 does not support effort.
Effort affects the whole response—including thinking and tool calls—and is a
behavioral signal, not a strict token budget.
[Anthropic: effort](https://docs.anthropic.com/en/docs/build-with-claude/effort)
Documented Python example:
@@ -53,27 +75,45 @@ response = client.messages.create(
)
```
Claude Code exposes `/effort`; its available choices depend on the active model. Current Claude Code documentation lists `low`, `medium`, `high`, `xhigh`, and `max` for supported Opus versions, while some Opus/Sonnet versions omit `xhigh`. When a selected level is unsupported, Claude Code can fall back to the highest supported level at or below it. [Claude Code: effort compatibility](https://docs.anthropic.com/en/docs/claude-code/model-config#adjust-effort-level)
Claude Code exposes `/effort`; its available choices depend on the active model.
Current Claude Code documentation lists `low`, `medium`, `high`, `xhigh`, and
`max` for supported Opus versions, while some Opus/Sonnet versions omit `xhigh`.
When a selected level is unsupported, Claude Code can fall back to the highest
supported level at or below it.
[Claude Code: effort compatibility](https://docs.anthropic.com/en/docs/claude-code/model-config#adjust-effort-level)
## Google Gemini
### Model tier
Gemini uses model families rather than interchangeable aliases: **Pro** targets the most complex reasoning, **Flash** balances capability and throughput, and **Flash-Lite** prioritizes latency, volume, and cost. Select an explicit endpoint such as `gemini-3.7-flash`; Google recommends stable model names for most production applications because `latest` aliases can be hot-swapped. [Gemini API: models](https://ai.google.dev/gemini-api/docs/models)
Gemini uses model families rather than interchangeable aliases: **Pro** targets
the most complex reasoning, **Flash** balances capability and throughput, and
**Flash-Lite** prioritizes latency, volume, and cost. Select an explicit
endpoint such as `gemini-3.7-flash`; Google recommends stable model names for
most production applications because `latest` aliases can be hot-swapped.
[Gemini API: models](https://ai.google.dev/gemini-api/docs/models)
### Thinking level
For Gemini 3 models, the control is `thinkingLevel` in SDKs (`thinking_level` in Python). Across the family the documented values are `minimal`, `low`, `medium`, and `high`, but support and defaults vary by model. For example, Gemini 3.7 Flash supports `low`, `medium`, and `high` and defaults to `medium`; Gemini 3.1 Pro supports `low`, `medium`, and `high` and defaults to `high`. `minimal` is unavailable on several models and does not guarantee that reasoning is completely off where supported. Gemini 2.5 uses `thinkingBudget`, not `thinkingLevel`. [Gemini API: thinking](https://ai.google.dev/gemini-api/docs/thinking)
For Gemini 3 models, the control is `thinkingLevel` in SDKs (`thinking_level` in
Python). Across the family the documented values are `minimal`, `low`, `medium`,
and `high`, but support and defaults vary by model. For example, Gemini 3.7
Flash supports `low`, `medium`, and `high` and defaults to `medium`; Gemini 3.1
Pro supports `low`, `medium`, and `high` and defaults to `high`. `minimal` is
unavailable on several models and does not guarantee that reasoning is
completely off where supported. Gemini 2.5 uses `thinkingBudget`, not
`thinkingLevel`.
[Gemini API: thinking](https://ai.google.dev/gemini-api/docs/thinking)
Documented JavaScript pattern:
```javascript
import { GoogleGenAI, ThinkingLevel } from "@google/genai";
import { GoogleGenAI, ThinkingLevel } from '@google/genai';
const ai = new GoogleGenAI({});
const response = await ai.models.generateContent({
model: "gemini-3.7-flash",
contents: "Review this implementation plan.",
model: 'gemini-3.7-flash',
contents: 'Review this implementation plan.',
config: {
thinkingConfig: {
thinkingLevel: ThinkingLevel.LOW,
@@ -87,10 +127,12 @@ console.log(response.text);
## Practical routing baseline
| Work | Model tier | Effort / thinking |
| --- | --- | --- |
| --------------------------------------------------- | ------------------------- | -------------------------------------- |
| Formatting, lookup, narrow edit | Haiku / Flash-Lite / Luna | Low or minimal where supported |
| Normal implementation, tests, review | Sonnet / Flash / Terra | Medium |
| Architecture, orchestration, hard debugging | Opus / Pro / Sol | High |
| Frontier or long-horizon work with measured benefit | Strongest supported tier | `xhigh` or `max` only where documented |
Treat this table as a starting hypothesis. Evaluate quality, latency, and cost on representative tasks, then route to the cheapest combination that still passes the required checks.
Treat this table as a starting hypothesis. Evaluate quality, latency, and cost
on representative tasks, then route to the cheapest combination that still
passes the required checks.
+10 -3
View File
@@ -1,9 +1,12 @@
# Verified skill sources
Checked on 2026-09-02 against the installed files under `~/.codex/skills`. A pinned blob link identifies the content inspected; the repository/path column identifies what an installer should copy. Pinned commits are preferable to mutable `main` when reproducibility matters.
Checked on 2026-09-02 against the installed files under `~/.codex/skills`. A
pinned blob link identifies the content inspected; the repository/path column
identifies what an installer should copy. Pinned commits are preferable to
mutable `main` when reproducibility matters.
| Skill | Verified source URL | Installable repo URL/path | Confidence / note |
|---|---|---|---|
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ponytail-lite` | [`AGENTS.md` at `e7b42dc`](https://github.com/ilindaniel/ponytail-lite/blob/e7b42dc2d384a702240dea4d52a7bf5530b821b6/AGENTS.md) | [`ilindaniel/ponytail-lite`](https://github.com/ilindaniel/ponytail-lite), path `AGENTS.md` | **High — exact byte match.** The local `ponytail-lite/SKILL.md` is this file unchanged. Upstream presents it as an agent instruction file, not a conventional frontmatter-based skill package; install it through the host's project/global instruction mechanism. |
| `caveman` | [Public upstream skill at `3b74643`](https://github.com/JuliusBrussee/caveman/blob/3b74643f4d910f496babd4e634b1ba7168816f14/skills/caveman/SKILL.md) | [`JuliusBrussee/caveman`](https://github.com/JuliusBrussee/caveman), path `skills/caveman/` | **Medium for the installed file; high for upstream.** The local file is an environment-specific wrapper that names this public project and its skill files, but it is not byte-identical to the public `skills/caveman/SKILL.md`. Install upstream, not the local wrapper. |
| `unlazy` | [`SKILL.md` at `473d4b8`](https://github.com/Leonxlnx/unlazy/blob/473d4b80421c36d733042434cd4b938f81a19ef1/SKILL.md) | [`Leonxlnx/unlazy`](https://github.com/Leonxlnx/unlazy), repository root (copy the whole package) | **High — exact byte match**, also corroborated by local `.unlazy-source.txt`. The package includes referenced scripts, templates, security notes, and workflow documents; do not copy only `SKILL.md`. |
@@ -38,4 +41,8 @@ Workflow:
## Verification method
The seven **exact** findings were established by downloading the pinned public files and comparing them byte-for-byte with the local installed copies. For `caveman`, the local wrapper was compared against both the repository-level instructions and public `skills/caveman/SKILL.md`; neither matched, so only its upstream family is attributed, not the wrapper itself.
The seven **exact** findings were established by downloading the pinned public
files and comparing them byte-for-byte with the local installed copies. For
`caveman`, the local wrapper was compared against both the repository-level
instructions and public `skills/caveman/SKILL.md`; neither matched, so only its
upstream family is attributed, not the wrapper itself.
+72 -20
View File
@@ -1,27 +1,79 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="AI For Dummies: a practical route map for models, agents, worktrees, skills, rules, and verification.">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta
name="description"
content="AI For Dummies: a practical route map for models, agents, worktrees, skills, rules, and verification."
/>
<title>AI For Dummies — Start here</title>
<link rel="stylesheet" href="chapters.css">
<link rel="stylesheet" href="landing.css">
</head>
<body>
<link rel="stylesheet" href="chapters.css" />
<link rel="stylesheet" href="landing.css" />
</head>
<body>
<main>
<header class="top"><a href="./" aria-current="page">AI FOR DUMMIES</a><span>00 / START HERE</span><a href="skills-review/">review desk ↗</a></header>
<section class="hero"><p class="eyebrow">The short route</p><h1>Ship the<br><em>system.</em></h1><p>Start with the map. Then open the one chapter that matches the decision in front of you: model, agent, worktree, skill, rule, or proof.</p><a class="guide-launch" href="full-guide/">Take the full field guide <span></span></a></section>
<section class="grid route-grid" aria-label="Guide chapters">
<article class="card"><b>01</b><h2>Models</h2><p>Capability and effort are separate knobs.</p><a href="models/">Open chapter →</a></article>
<article class="card"><b>02</b><h2>Agents & trees</h2><p>Bound roles, handoffs, and worktrees.</p><a href="agents/">Open chapter →</a></article>
<article class="card"><b>03</b><h2>Skills</h2><p>Capture repeatable decisions in small packages.</p><a href="skills/">Open chapter →</a></article>
<article class="card"><b>04</b><h2>Rules</h2><p>Connect guidance to enforcement.</p><a href="rules/">Open chapter →</a></article>
<article class="card"><b>05</b><h2>Hands-on</h2><p>Compare a strong prompt with skill-enabled work.</p><a href="hands-on/starter/">Open lab →</a></article>
<article class="card"><b>06</b><h2>Review desk</h2><p>Browse original packages, references, scripts, and improvements.</p><a href="skills-review/">Open desk →</a></article>
<header class="top">
<a href="./" aria-current="page">AI FOR DUMMIES</a><span>00 / START HERE</span
><a href="skills-review/">review desk ↗</a>
</header>
<section class="hero">
<p class="eyebrow">The short route</p>
<h1>Ship the<br /><em>system.</em></h1>
<p>
Start with the map. Then open the one chapter that matches the decision in front of you:
model, agent, worktree, skill, rule, or proof.
</p>
<a class="guide-launch" href="full-guide/">Take the full field guide <span></span></a>
</section>
<section class="landing-note"><span>THE THREAD</span><strong>Frame uncertainty → isolate execution → preserve judgment → verify the change.</strong></section>
<footer>The route map is now the default entry. The full guide remains available whenever you want the whole narrative.</footer>
<section class="grid route-grid" aria-label="Guide chapters">
<article class="card">
<b>01</b>
<h2>Models</h2>
<p>Capability and effort are separate knobs.</p>
<a href="models/">Open chapter →</a>
</article>
<article class="card">
<b>02</b>
<h2>Agents & trees</h2>
<p>Bound roles, handoffs, and worktrees.</p>
<a href="agents/">Open chapter →</a>
</article>
<article class="card">
<b>03</b>
<h2>Skills</h2>
<p>Capture repeatable decisions in small packages.</p>
<a href="skills/">Open chapter →</a>
</article>
<article class="card">
<b>04</b>
<h2>Rules</h2>
<p>Connect guidance to enforcement.</p>
<a href="rules/">Open chapter →</a>
</article>
<article class="card">
<b>05</b>
<h2>Hands-on</h2>
<p>Compare a strong prompt with skill-enabled work.</p>
<a href="hands-on/starter/">Open lab →</a>
</article>
<article class="card">
<b>06</b>
<h2>Review desk</h2>
<p>Browse original packages, references, scripts, and improvements.</p>
<a href="skills-review/">Open desk →</a>
</article>
</section>
<section class="landing-note">
<span>THE THREAD</span
><strong
>Frame uncertainty → isolate execution → preserve judgment → verify the change.</strong
>
</section>
<footer>
The route map is now the default entry. The full guide remains available whenever you want
the whole narrative.
</footer>
</main>
</body>
</body>
</html>
+87 -1
View File
@@ -1 +1,87 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>AI For Dummies — Models</title><link rel="stylesheet" href="../chapters.css"></head><body><main><header class="top"><a href="../summary/">← ROUTE MAP</a><span>01 / MODELS</span><a href="../full-guide/">field guide ↗</a></header><section class="hero"><p class="eyebrow">Model routing</p><h1>Choose the<br><em>engine.</em></h1><p>A model has a capability ceiling. Effort controls how much room it gets to reason. Route by uncertainty and verification cost.</p></section><section class="grid"><article class="card"><b>LOW</b><h2>Bounded rhythm</h2><p>Lookup, small edits, formatting, and transformations with clear checks.</p></article><article class="card"><b>MEDIUM</b><h2>Default work</h2><p>Normal implementation where the contract is clear but context matters.</p></article><article class="card"><b>HIGH</b><h2>Ambiguity</h2><p>Planning, architecture, security judgment, and hard failures.</p></article></section><section class="model"><div><p class="eyebrow">Two knobs</p><h2>Capability<br>× effort</h2></div><div class="panel"><strong>ROUTING RULE</strong><code>strong model + high effort → frame ambiguity · light model + low effort → bounded execution · raise one knob at a time → compare evidence</code></div></section><section class="practice"><div><p class="eyebrow">Sequence</p><h2>Spend judgment<br>where it <em>compounds.</em></h2></div><div class="steps"><article><b>01</b><div><strong>Plan</strong><span>Strong model: scope, risks, acceptance, and worktree split.</span></div></article><article><b>02</b><div><strong>Build</strong><span>Focused worker: smallest context and lightest model that can pass.</span></div></article><article><b>03</b><div><strong>Review</strong><span>Independent pass when missed issues cost more than the call.</span></div></article></div></section><nav class="links"><a href="../agents/">Next: agents & trees →</a><a href="../rules/">Rules case study →</a></nav></main></body></html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>AI For Dummies — Models</title>
<link rel="stylesheet" href="../chapters.css" />
</head>
<body>
<main>
<header class="top">
<a href="../summary/">← ROUTE MAP</a><span>01 / MODELS</span
><a href="../full-guide/">field guide ↗</a>
</header>
<section class="hero">
<p class="eyebrow">Model routing</p>
<h1>Choose the<br /><em>engine.</em></h1>
<p>
A model has a capability ceiling. Effort controls how much room it gets to reason. Route
by uncertainty and verification cost.
</p>
</section>
<section class="grid">
<article class="card">
<b>LOW</b>
<h2>Bounded rhythm</h2>
<p>Lookup, small edits, formatting, and transformations with clear checks.</p>
</article>
<article class="card">
<b>MEDIUM</b>
<h2>Default work</h2>
<p>Normal implementation where the contract is clear but context matters.</p>
</article>
<article class="card">
<b>HIGH</b>
<h2>Ambiguity</h2>
<p>Planning, architecture, security judgment, and hard failures.</p>
</article>
</section>
<section class="model">
<div>
<p class="eyebrow">Two knobs</p>
<h2>Capability<br />× effort</h2>
</div>
<div class="panel">
<strong>ROUTING RULE</strong
><code
>strong model + high effort → frame ambiguity · light model + low effort → bounded
execution · raise one knob at a time → compare evidence</code
>
</div>
</section>
<section class="practice">
<div>
<p class="eyebrow">Sequence</p>
<h2>Spend judgment<br />where it <em>compounds.</em></h2>
</div>
<div class="steps">
<article>
<b>01</b>
<div>
<strong>Plan</strong
><span>Strong model: scope, risks, acceptance, and worktree split.</span>
</div>
</article>
<article>
<b>02</b>
<div>
<strong>Build</strong
><span>Focused worker: smallest context and lightest model that can pass.</span>
</div>
</article>
<article>
<b>03</b>
<div>
<strong>Review</strong
><span>Independent pass when missed issues cost more than the call.</span>
</div>
</article>
</div>
</section>
<nav class="links">
<a href="../agents/">Next: agents & trees →</a><a href="../rules/">Rules case study →</a>
</nav>
</main>
</body>
</html>
+10 -9
View File
@@ -1,12 +1,13 @@
# Task 05 — Guide content out of app.js
**Agent**: `content-i18n-migrator` · **Model**: MiniMax-M3
**Depends on**: 04 · **Parallel with**: 06 · **Blocks**: 15
**Worktree**: `.agents/scripts/worktree.sh start 05 content-guide`
**Agent**: `content-i18n-migrator` · **Model**: MiniMax-M3 **Depends on**: 04 ·
**Parallel with**: 06 · **Blocks**: 15 **Worktree**:
`.agents/scripts/worktree.sh start 05 content-guide`
## Goal
Every `{ en, pt }` string in `app.js` lives in `src/content/guide/`, byte-identical.
Every `{ en, pt }` string in `app.js` lives in `src/content/guide/`,
byte-identical.
## Scope
@@ -15,13 +16,13 @@ removes it once the page consumes the collection.
## Steps
1. `node .agents/scripts/extract-strings.mjs app.js > /tmp/before.json`
(~50 pairs across `phases`, `handsOnPrompts`, `modelGuide`, `skillSources`,
1. `node .agents/scripts/extract-strings.mjs app.js > /tmp/before.json` (~50
pairs across `phases`, `handsOnPrompts`, `modelGuide`, `skillSources`,
`skillInstallPrompts`).
2. Move them into the collection. **Copy mechanically — never retype.** These
are hand-written translations with deliberate tone (`'Transforme ambiguidade
em trabalho'`); retyping introduces drift nobody catches until a Portuguese
speaker reads it.
are hand-written translations with deliberate tone
(`'Transforme ambiguidade em trabalho'`); retyping introduces drift nobody
catches until a Portuguese speaker reads it.
3. `node .agents/scripts/extract-strings.mjs src/content/guide/ > /tmp/after.json`
4. `diff /tmp/before.json /tmp/after.json`**must be empty**.
@@ -1,8 +1,8 @@
# Task 06 — Review-desk content out of catalog.js
**Agent**: `content-i18n-migrator` · **Model**: MiniMax-M3
**Depends on**: 04 · **Parallel with**: 05 · **Blocks**: 16
**Worktree**: `.agents/scripts/worktree.sh start 06 content-review`
**Agent**: `content-i18n-migrator` · **Model**: MiniMax-M3 **Depends on**: 04 ·
**Parallel with**: 05 · **Blocks**: 16 **Worktree**:
`.agents/scripts/worktree.sh start 06 content-review`
## Goal
@@ -32,12 +32,14 @@ real `.md` files.
node scripts/build-skill-review.mjs && git diff --exit-code skill-reviews/
```
2. **The diff view needs raw source.** The review desk compares original and
improved as *text*. If `improved` only exists as rendered HTML, the change
improved as _text_. If `improved` only exists as rendered HTML, the change
lens breaks. Keep the raw string reachable.
## Done when
- [ ] 24 entries in the collection; `verify.mjs`'s `id:'` count assertion still passes
- [ ] 24 entries in the collection; `verify.mjs`'s `id:'` count assertion still
passes
- [ ] `git diff --exit-code skill-reviews/` clean after regenerating
- [ ] `astro check` passes
- [ ] Every reference to the generator still accurate (`package.json`, `README.md`, `docs/operations-guide.md`, the review desk footer)
- [ ] Every reference to the generator still accurate (`package.json`,
`README.md`, `docs/operations-guide.md`, the review desk footer)
+3 -3
View File
@@ -1,8 +1,8 @@
# Task 17 — hands-on passthrough
**Agent**: `astro-architect` · **Model**: MiniMax-M3
**Depends on**: 01 · **Parallel with**: 12, 13, 14
**Worktree**: `.agents/scripts/worktree.sh start 17 hands-on`
**Agent**: `astro-architect` · **Model**: MiniMax-M3 **Depends on**: 01 ·
**Parallel with**: 12, 13, 14 **Worktree**:
`.agents/scripts/worktree.sh start 17 hands-on`
## Goal
+350 -44
View File
@@ -24,68 +24,374 @@ const skillsHtml = read('skills/index.html');
const reviewCatalog = read('skills-review/catalog.js');
const reviewVoteJs = read('skills-review/vote.js');
const voteService = read('vote-service/main.go');
for (const url of ['https://code.claude.com/docs/en/sub-agents','https://code.claude.com/docs/en/skills','https://code.claude.com/docs/en/worktrees','https://git-scm.com/docs/git-worktree.html','https://developers.openai.com/codex/skills']) if (!refs.includes(url)) throw new Error(`missing reference ${url}`);
for (const url of [
'https://code.claude.com/docs/en/sub-agents',
'https://code.claude.com/docs/en/skills',
'https://code.claude.com/docs/en/worktrees',
'https://git-scm.com/docs/git-worktree.html',
'https://developers.openai.com/codex/skills',
])
if (!refs.includes(url)) throw new Error(`missing reference ${url}`);
console.log('content verification passed');
for (const token of ['data-phase="plan"','data-phase="build"','data-phase="review"','data-tree="main"','data-tree="ui"','data-worker="ui"','data-route="plan"','data-model-provider="openai"','data-model-provider="claude"','data-model-provider="gemini"','data-effort="low"','data-effort="medium"','data-effort="high"','data-skill-file="skill"','data-skill-step="observe"','data-skill-step="validate"','data-common-skill="ponytail"','data-common-skill="caveman"','data-common-skill="unlazy"','id="hands-on"','data-copy-target="prompt-install-skills"','data-copy-target="prompt-basic"','data-copy-target="prompt-skills"','hands-on/starter/','additional-reading.md','role="tablist"','<table']) if (!html.includes(token)) throw new Error(`missing content ${token}`);
for (const token of ['const phases','const handsOnPrompts','const modelGuide','const skillSources','const skillInstallPrompts','addEventListener','render(\'plan\')','renderTree','renderWorker','renderRoute','renderModelProvider','renderEffort','renderSkillFile','renderSkillWorkflow','renderCommonSkill','renderHandsOn','copyPrompt']) if (!js.includes(token)) throw new Error(`missing interaction ${token}`);
for (const token of ['id="task-list"','id="task-count"']) if (!starterHtml.includes(token)) throw new Error(`missing starter content ${token}`);
for (const token of ['const tasks','renderTasks()']) if (!starterJs.includes(token)) throw new Error(`missing starter behavior ${token}`);
for (const token of ['medium.com','anthropic.com/engineering','openai.com/business','git-scm.com/docs/git-worktree']) if (!additional.includes(token)) throw new Error(`missing additional source ${token}`);
if ((additional.match(/^### \d+\./gm) || []).length < 5) throw new Error('fewer than five additional readings');
for (const token of ['e7b42dc2d384a702240dea4d52a7bf5530b821b6','6654f6b60cd9d5be8b54c6fafe44346dabeb3b76','53048666b05b4799081517d00e09e0a2dd688678']) if (!skillSources.includes(token) || !js.includes(token)) throw new Error(`missing pinned skill source ${token}`);
for (const token of ['developers.openai.com/api/docs/guides/latest-model','docs.anthropic.com/en/docs/claude-code/model-config','ai.google.dev/gemini-api/docs/thinking']) if (!modelRouting.includes(token) || !js.includes(token)) throw new Error(`missing model source ${token}`);
for (const token of [
'data-phase="plan"',
'data-phase="build"',
'data-phase="review"',
'data-tree="main"',
'data-tree="ui"',
'data-worker="ui"',
'data-route="plan"',
'data-model-provider="openai"',
'data-model-provider="claude"',
'data-model-provider="gemini"',
'data-effort="low"',
'data-effort="medium"',
'data-effort="high"',
'data-skill-file="skill"',
'data-skill-step="observe"',
'data-skill-step="validate"',
'data-common-skill="ponytail"',
'data-common-skill="caveman"',
'data-common-skill="unlazy"',
'id="hands-on"',
'data-copy-target="prompt-install-skills"',
'data-copy-target="prompt-basic"',
'data-copy-target="prompt-skills"',
'hands-on/starter/',
'additional-reading.md',
'role="tablist"',
'<table',
])
if (!html.includes(token)) throw new Error(`missing content ${token}`);
for (const token of [
'const phases',
'const handsOnPrompts',
'const modelGuide',
'const skillSources',
'const skillInstallPrompts',
'addEventListener',
"render('plan')",
'renderTree',
'renderWorker',
'renderRoute',
'renderModelProvider',
'renderEffort',
'renderSkillFile',
'renderSkillWorkflow',
'renderCommonSkill',
'renderHandsOn',
'copyPrompt',
])
if (!js.includes(token)) throw new Error(`missing interaction ${token}`);
for (const token of ['id="task-list"', 'id="task-count"'])
if (!starterHtml.includes(token)) throw new Error(`missing starter content ${token}`);
for (const token of ['const tasks', 'renderTasks()'])
if (!starterJs.includes(token)) throw new Error(`missing starter behavior ${token}`);
for (const token of [
'medium.com',
'anthropic.com/engineering',
'openai.com/business',
'git-scm.com/docs/git-worktree',
])
if (!additional.includes(token)) throw new Error(`missing additional source ${token}`);
if ((additional.match(/^### \d+\./gm) || []).length < 5)
throw new Error('fewer than five additional readings');
for (const token of [
'e7b42dc2d384a702240dea4d52a7bf5530b821b6',
'6654f6b60cd9d5be8b54c6fafe44346dabeb3b76',
'53048666b05b4799081517d00e09e0a2dd688678',
])
if (!skillSources.includes(token) || !js.includes(token))
throw new Error(`missing pinned skill source ${token}`);
for (const token of [
'developers.openai.com/api/docs/guides/latest-model',
'docs.anthropic.com/en/docs/claude-code/model-config',
'ai.google.dev/gemini-api/docs/thinking',
])
if (!modelRouting.includes(token) || !js.includes(token))
throw new Error(`missing model source ${token}`);
console.log('interaction verification passed');
if (html.match(/<(script|link)[^>]+(src|href)="https?:[^"]+"/i)) throw new Error('external runtime dependency found');
if (html.match(/<(script|link)[^>]+(src|href)="https?:[^"]+"/i))
throw new Error('external runtime dependency found');
console.log('standalone verification passed');
for (const token of ['id="pipeline"','id="skills"','id="examples"','data-stage="context"','data-stage="cli"','data-stage="commit"','data-stage="review"','gate-discipline','parallel-agents','repo-db','tech-debt','skill-writer','scripts/check-ui-contract.mjs','.husky/pre-commit','.pr-review.json','.agents/skills','netcracker/interview']) if (!rulesHtml.includes(token)) throw new Error(`missing rules content ${token}`);
for (const token of [
'id="pipeline"',
'id="skills"',
'id="examples"',
'data-stage="context"',
'data-stage="cli"',
'data-stage="commit"',
'data-stage="review"',
'gate-discipline',
'parallel-agents',
'repo-db',
'tech-debt',
'skill-writer',
'scripts/check-ui-contract.mjs',
'.husky/pre-commit',
'.pr-review.json',
'.agents/skills',
'netcracker/interview',
])
if (!rulesHtml.includes(token)) throw new Error(`missing rules content ${token}`);
console.log('rules content verification passed');
for (const token of ['const languageCopy','const stages','const skills','const prompts','renderStage','renderSkill','renderLanguage','copyPrompt','addEventListener']) if (!rulesJs.includes(token)) throw new Error(`missing rules interaction ${token}`);
for (const token of ['data-lang="en"','data-lang="pt"','data-copy-prompt','aria-live="polite"','role="tablist"']) if (!rulesHtml.includes(token)) throw new Error(`missing rules control ${token}`);
for (const token of [
'const languageCopy',
'const stages',
'const skills',
'const prompts',
'renderStage',
'renderSkill',
'renderLanguage',
'copyPrompt',
'addEventListener',
])
if (!rulesJs.includes(token)) throw new Error(`missing rules interaction ${token}`);
for (const token of [
'data-lang="en"',
'data-lang="pt"',
'data-copy-prompt',
'aria-live="polite"',
'role="tablist"',
])
if (!rulesHtml.includes(token)) throw new Error(`missing rules control ${token}`);
console.log('rules interaction verification passed');
if (!html.includes('href="../rules/"')) throw new Error('main presentation does not link to rules page');
if (!html.includes('href="../skills-review/"')) throw new Error('main presentation does not link to skills review page');
for (const token of ['../summary/','../models/','../agents/','../skills/','chapter-route']) if (!html.includes(token)) throw new Error(`main presentation missing chapter route ${token}`);
if (rulesHtml.includes('script src="http') || rulesHtml.includes('rel="stylesheet" href="http')) throw new Error('rules page has an external runtime dependency');
for (const token of ['@media(min-width:2200px)','@media(max-width:900px)','@media(max-width:600px)','prefers-reduced-motion']) if (!rulesCss.includes(token)) throw new Error(`missing rules responsive contract ${token}`);
if (!html.includes('href="../rules/"'))
throw new Error('main presentation does not link to rules page');
if (!html.includes('href="../skills-review/"'))
throw new Error('main presentation does not link to skills review page');
for (const token of ['../summary/', '../models/', '../agents/', '../skills/', 'chapter-route'])
if (!html.includes(token)) throw new Error(`main presentation missing chapter route ${token}`);
if (rulesHtml.includes('script src="http') || rulesHtml.includes('rel="stylesheet" href="http'))
throw new Error('rules page has an external runtime dependency');
for (const token of [
'@media(min-width:2200px)',
'@media(max-width:900px)',
'@media(max-width:600px)',
'prefers-reduced-motion',
])
if (!rulesCss.includes(token)) throw new Error(`missing rules responsive contract ${token}`);
console.log('rules standalone verification passed');
for (const token of ['id="catalog"','id="skill-filter"','id="skill-list"','id="detail"','Preview Markdown','styles.css?v=20260904-vote-widget','change-lens.css?v=20260904-vote-widget','app.js?v=20260904-vote-widget','?author=Name&amp;skill=skill-id&amp;view=improved','SKILLS_REVIEW_VOTE_API']) if (!reviewHtml.includes(token)) throw new Error(`missing review page content ${token}`);
for (const token of ["from './catalog.js'", "from './files.js'",'function renderList','function renderDetail','selectSkill','packageSummary','markdownHeadings','markdownToc','document.addEventListener(\'keydown\'','loadSelectedFile','schedulePackageSearch','fetchSource','packageSearchText','diffMarkup','diffRows','data-diff','searchParams.set(\'compare\'','markdownMarkup','data-render','preview-markdown','Preview Markdown','View source','FILE PREVIEW','searchParams.set(\'render\'','AUTHOR ·','SKILL ·','function selectFromUrl','function syncUrl','URLSearchParams','navigator.clipboard','document.execCommand','download','data-file','searchParams.set(\'file\'']) if (!reviewJs.includes(token)) throw new Error(`missing review interaction ${token}`);
for (const token of ['ndo-repro','gfiber-logging','confluence-page','diagram-plantuml','page-reviewer','unslop','spanish-naturalizer','draft-mr','semantic-diff-review','reference.md','files =']) if (!`${reviewFiles}\n${read('skills-review/submitted-files.js')}`.includes(token)) throw new Error(`missing review file manifest ${token}`);
if ((reviewCatalog.match(/id:'/g) || []).length + (read('skills-review/submitted-catalog.js').match(/id:'/g) || []).length !== 24) throw new Error('review catalog does not cover all submissions');
if (!reviewCatalog.includes('hardcoded password') || !reviewCatalog.includes('safety-redacted') || !reviewJs.includes('[REDACTED]') || !reviewJs.includes('[REDACTED LOCAL USER]') || !reviewJs.includes('[REDACTED USER]')) throw new Error('review catalog does not record secret safety handling');
for (const token of [
'id="catalog"',
'id="skill-filter"',
'id="skill-list"',
'id="detail"',
'Preview Markdown',
'styles.css?v=20260904-vote-widget',
'change-lens.css?v=20260904-vote-widget',
'app.js?v=20260904-vote-widget',
'?author=Name&amp;skill=skill-id&amp;view=improved',
'SKILLS_REVIEW_VOTE_API',
])
if (!reviewHtml.includes(token)) throw new Error(`missing review page content ${token}`);
for (const token of [
"from './catalog.js'",
"from './files.js'",
'function renderList',
'function renderDetail',
'selectSkill',
'packageSummary',
'markdownHeadings',
'markdownToc',
"document.addEventListener('keydown'",
'loadSelectedFile',
'schedulePackageSearch',
'fetchSource',
'packageSearchText',
'diffMarkup',
'diffRows',
'data-diff',
"searchParams.set('compare'",
'markdownMarkup',
'data-render',
'preview-markdown',
'Preview Markdown',
'View source',
'FILE PREVIEW',
"searchParams.set('render'",
'AUTHOR ·',
'SKILL ·',
'function selectFromUrl',
'function syncUrl',
'URLSearchParams',
'navigator.clipboard',
'document.execCommand',
'download',
'data-file',
"searchParams.set('file'",
])
if (!reviewJs.includes(token)) throw new Error(`missing review interaction ${token}`);
for (const token of [
'ndo-repro',
'gfiber-logging',
'confluence-page',
'diagram-plantuml',
'page-reviewer',
'unslop',
'spanish-naturalizer',
'draft-mr',
'semantic-diff-review',
'reference.md',
'files =',
])
if (!`${reviewFiles}\n${read('skills-review/submitted-files.js')}`.includes(token))
throw new Error(`missing review file manifest ${token}`);
if (
(reviewCatalog.match(/id:'/g) || []).length +
(read('skills-review/submitted-catalog.js').match(/id:'/g) || []).length !==
24
)
throw new Error('review catalog does not cover all submissions');
if (
!reviewCatalog.includes('hardcoded password') ||
!reviewCatalog.includes('safety-redacted') ||
!reviewJs.includes('[REDACTED]') ||
!reviewJs.includes('[REDACTED LOCAL USER]') ||
!reviewJs.includes('[REDACTED USER]')
)
throw new Error('review catalog does not record secret safety handling');
console.log('skills review verification passed');
for (const page of [summaryHtml, modelsHtml, agentsHtml, skillsHtml]) if (!page.includes('../chapters.css') || !page.includes('ROUTE MAP')) throw new Error('chapter page missing shared navigation');
for (const token of ['--ink','@media(max-width:800px)','@media(max-width:520px)']) if (!chaptersCss.includes(token)) throw new Error(`missing chapter responsive contract ${token}`);
for (const page of [summaryHtml, modelsHtml, agentsHtml, skillsHtml])
if (!page.includes('../chapters.css') || !page.includes('ROUTE MAP'))
throw new Error('chapter page missing shared navigation');
for (const token of ['--ink', '@media(max-width:800px)', '@media(max-width:520px)'])
if (!chaptersCss.includes(token)) throw new Error(`missing chapter responsive contract ${token}`);
console.log('chapter route verification passed');
for (const token of ['The short route','full-guide/','models/','agents/','skills/','rules/','hands-on/starter/','skills-review/']) if (!landingHtml.includes(token)) throw new Error(`landing page missing ${token}`);
if (landingHtml.includes('app.js')) throw new Error('landing page should remain a fast, static route map');
for (const token of [
'The short route',
'full-guide/',
'models/',
'agents/',
'skills/',
'rules/',
'hands-on/starter/',
'skills-review/',
])
if (!landingHtml.includes(token)) throw new Error(`landing page missing ${token}`);
if (landingHtml.includes('app.js'))
throw new Error('landing page should remain a fast, static route map');
console.log('landing route verification passed');
for (const token of ['data-package-file="skill"','data-package-file="references"','data-package-file="scripts"','data-package-file="assets"','id="package-preview"','script src="app.js"']) if (!skillsHtml.includes(token)) throw new Error(`skills anatomy missing ${token}`);
for (const token of [
'data-package-file="skill"',
'data-package-file="references"',
'data-package-file="scripts"',
'data-package-file="assets"',
'id="package-preview"',
'script src="app.js"',
])
if (!skillsHtml.includes(token)) throw new Error(`skills anatomy missing ${token}`);
const skillsApp = read('skills/app.js');
const skillsCss = read('skills/styles.css');
for (const token of ['const packageFiles','function renderPackage','addEventListener','renderPackage(\'skill\')']) if (!skillsApp.includes(token)) throw new Error(`skills anatomy interaction missing ${token}`);
for (const token of ['grid-template-columns:minmax(190px','overflow-wrap:anywhere','@media(max-width:800px)','prefers-reduced-motion']) if (!skillsCss.includes(token)) throw new Error(`skills anatomy responsive contract missing ${token}`);
for (const token of [
'const packageFiles',
'function renderPackage',
'addEventListener',
"renderPackage('skill')",
])
if (!skillsApp.includes(token)) throw new Error(`skills anatomy interaction missing ${token}`);
for (const token of [
'grid-template-columns:minmax(190px',
'overflow-wrap:anywhere',
'@media(max-width:800px)',
'prefers-reduced-motion',
])
if (!skillsCss.includes(token))
throw new Error(`skills anatomy responsive contract missing ${token}`);
console.log('skills anatomy verification passed');
console.log('presentation verification passed');
const legacyName = String.fromCharCode(80,101,100,114,111,32,65,114,97,110,104,97);
const legacyName = String.fromCharCode(80, 101, 100, 114, 111, 32, 65, 114, 97, 110, 104, 97);
const legacyHandle = legacyName.toLowerCase().replace(' ', '.');
for (const path of ['submitted-skills/Anonymous Operational Submission/skills/ndo-repro/SKILL.md','submitted-skills/Anonymous Operational Submission/skills/ndo-repro/envs.tsv','submitted-skills/Anonymous Operational Submission/skills/ndo-repro/lib/env.sh','submitted-skills/Anonymous Operational Submission/skills/ndo-repro/ndo-api.sh','submitted-skills/Anonymous Operational Submission/skills/ndo-repro/ndo-ship.sh','submitted-skills/Anonymous Operational Submission/skills/ndo-repro/reference/bom-Dockerfile_local.example','submitted-skills/Anonymous Operational Submission/skills/ndo-repro/reference/dockerfile-local.md','skill-reviews/improved/ndo-repro/SKILL.md']) {
for (const path of [
'submitted-skills/Anonymous Operational Submission/skills/ndo-repro/SKILL.md',
'submitted-skills/Anonymous Operational Submission/skills/ndo-repro/envs.tsv',
'submitted-skills/Anonymous Operational Submission/skills/ndo-repro/lib/env.sh',
'submitted-skills/Anonymous Operational Submission/skills/ndo-repro/ndo-api.sh',
'submitted-skills/Anonymous Operational Submission/skills/ndo-repro/ndo-ship.sh',
'submitted-skills/Anonymous Operational Submission/skills/ndo-repro/reference/bom-Dockerfile_local.example',
'submitted-skills/Anonymous Operational Submission/skills/ndo-repro/reference/dockerfile-local.md',
'skill-reviews/improved/ndo-repro/SKILL.md',
]) {
const source = read(path);
if (new RegExp(`${legacyName}|${legacyHandle}|https?:\\/\\/|git\\.netcracker\\.com|artifactorycn|managed\\.netcracker\\.cloud`, 'i').test(source)) throw new Error(`operational submission privacy leak in ${path}`);
if (
new RegExp(
`${legacyName}|${legacyHandle}|https?:\\/\\/|git\\.netcracker\\.com|artifactorycn|managed\\.netcracker\\.cloud`,
'i',
).test(source)
)
throw new Error(`operational submission privacy leak in ${path}`);
}
for (const source of [reviewCatalog, reviewFiles, reviewJs]) if (source.includes(legacyName) || source.includes(legacyName.replace(' ', '%20'))) throw new Error('operational submission identity remains in review desk source');
if (!reviewFiles.includes('Anonymous%20Operational%20Submission') || !reviewJs.includes("entry.id === 'ndo-repro'")) throw new Error('operational submission redaction contract missing');
for (const source of [reviewCatalog, reviewFiles, reviewJs])
if (source.includes(legacyName) || source.includes(legacyName.replace(' ', '%20')))
throw new Error('operational submission identity remains in review desk source');
if (
!reviewFiles.includes('Anonymous%20Operational%20Submission') ||
!reviewJs.includes("entry.id === 'ndo-repro'")
)
throw new Error('operational submission redaction contract missing');
console.log('review privacy verification passed');
for (const token of ['currentContent','unchangedDraft','state.preview = button.dataset.preview','state.file = available.find','loadSelectedFile']) if (!reviewJs.includes(token)) throw new Error(`review file-mode contract missing ${token}`);
if (reviewJs.includes("state.preview = 'original'; syncUrl(); renderDetail(); loadSelectedFile();")) throw new Error('file selection still resets improved mode');
for (const token of [
'currentContent',
'unchangedDraft',
'state.preview = button.dataset.preview',
'state.file = available.find',
'loadSelectedFile',
])
if (!reviewJs.includes(token)) throw new Error(`review file-mode contract missing ${token}`);
if (reviewJs.includes("state.preview = 'original'; syncUrl(); renderDetail(); loadSelectedFile();"))
throw new Error('file selection still resets improved mode');
console.log('review file-mode verification passed');
for (const token of ['const changeRows','function lensMarkup','data-lens','CHANGE LENS','What changed — and why.']) if (!reviewJs.includes(token)) throw new Error(`review change-lens contract missing ${token}`);
for (const token of ['.change-lens','.change-rows','.skill-diff','.diff-lines','@media(max-width:620px)','prefers-reduced-motion']) if (!reviewLensCss.includes(token)) throw new Error(`review change-lens CSS missing ${token}`);
for (const token of [
'const changeRows',
'function lensMarkup',
'data-lens',
'CHANGE LENS',
'What changed — and why.',
])
if (!reviewJs.includes(token)) throw new Error(`review change-lens contract missing ${token}`);
for (const token of [
'.change-lens',
'.change-rows',
'.skill-diff',
'.diff-lines',
'@media(max-width:620px)',
'prefers-reduced-motion',
])
if (!reviewLensCss.includes(token)) throw new Error(`review change-lens CSS missing ${token}`);
console.log('review change-lens verification passed');
for (const token of ['.markdown-preview','max-height:540px','.markdown-table-wrap','.markdown-frontmatter','.markdown-toc','.preview-title','.preview-markdown','grid-template-columns:minmax(0,1fr)','height:120px','-webkit-line-clamp:2']) if (!read('skills-review/styles.css').includes(token)) throw new Error(`review markdown preview contract missing ${token}`);
for (const token of [
'.markdown-preview',
'max-height:540px',
'.markdown-table-wrap',
'.markdown-frontmatter',
'.markdown-toc',
'.preview-title',
'.preview-markdown',
'grid-template-columns:minmax(0,1fr)',
'height:120px',
'-webkit-line-clamp:2',
])
if (!read('skills-review/styles.css').includes(token))
throw new Error(`review markdown preview contract missing ${token}`);
console.log('review markdown preview verification passed');
for (const token of ["from './vote.js'","renderVoteWidget($('#vote-widget'"]) if (!reviewJs.includes(token)) throw new Error(`review vote widget wiring missing ${token}`);
for (const token of ['id="vote-widget"','function renderVoteWidget','X-Voter-Id','/api/votes','Voting is offline']) if (!reviewVoteJs.includes(token) && !reviewJs.includes(token)) throw new Error(`review vote widget contract missing ${token}`);
for (const token of ['.vote-widget','.vote-buttons','[aria-pressed="true"]']) if (!read('skills-review/styles.css').includes(token)) throw new Error(`review vote widget CSS missing ${token}`);
if (!voteService.includes('X-Forwarded-For') || !voteService.includes('one active vote per skill') && !voteService.includes('at most one active vote')) throw new Error('vote-service missing IP-based one-vote-per-source contract');
for (const token of ["from './vote.js'", "renderVoteWidget($('#vote-widget'"])
if (!reviewJs.includes(token)) throw new Error(`review vote widget wiring missing ${token}`);
for (const token of [
'id="vote-widget"',
'function renderVoteWidget',
'X-Voter-Id',
'/api/votes',
'Voting is offline',
])
if (!reviewVoteJs.includes(token) && !reviewJs.includes(token))
throw new Error(`review vote widget contract missing ${token}`);
for (const token of ['.vote-widget', '.vote-buttons', '[aria-pressed="true"]'])
if (!read('skills-review/styles.css').includes(token))
throw new Error(`review vote widget CSS missing ${token}`);
if (
!voteService.includes('X-Forwarded-For') ||
(!voteService.includes('one active vote per skill') &&
!voteService.includes('at most one active vote'))
)
throw new Error('vote-service missing IP-based one-vote-per-source contract');
console.log('review vote widget verification passed');
+52 -4
View File
@@ -21,16 +21,64 @@ interface Route {
interface Props {
routes: Route[];
initial?: string;
headWork?: string | Localized;
headProfile?: string | Localized;
headPromptShape?: string | Localized;
}
const { routes, initial = routes[0]?.id ?? 'plan' } = Astro.props;
const {
routes,
initial = routes[0]?.id ?? 'plan',
headWork = 'Work',
headProfile = 'Profile',
headPromptShape = 'Prompt shape',
} = Astro.props;
---
<div class="route-table">
<div class="head">
<span>Work</span>
<span>Profile</span>
<span>Prompt shape</span>
<span>
{
typeof headWork === 'string' ? (
headWork
) : (
<>
<span data-language-content="en">{headWork.en}</span>
<span data-language-content="pt" hidden>
{headWork.pt}
</span>
</>
)
}
</span>
<span>
{
typeof headProfile === 'string' ? (
headProfile
) : (
<>
<span data-language-content="en">{headProfile.en}</span>
<span data-language-content="pt" hidden>
{headProfile.pt}
</span>
</>
)
}
</span>
<span>
{
typeof headPromptShape === 'string' ? (
headPromptShape
) : (
<>
<span data-language-content="en">{headPromptShape.en}</span>
<span data-language-content="pt" hidden>
{headPromptShape.pt}
</span>
</>
)
}
</span>
</div>
{
routes.map((route) => (
+16 -2
View File
@@ -20,13 +20,27 @@ interface PackageFile {
interface Props {
files: PackageFile[];
initial?: string;
packageLabel?: string | Localized;
}
const { files, initial = files[0]?.id ?? 'skill' } = Astro.props;
const { files, initial = files[0]?.id ?? 'skill', packageLabel = 'SKILL PACKAGE' } = Astro.props;
---
<div class="skill-package" role="tree" aria-label="Skill package files">
<span class="skill-package-label">SKILL PACKAGE</span>
<span class="skill-package-label">
{
typeof packageLabel === 'string' ? (
packageLabel
) : (
<>
<span data-language-content="en">{packageLabel.en}</span>
<span data-language-content="pt" hidden>
{packageLabel.pt}
</span>
</>
)
}
</span>
{
files.map((file) => (
<button
+33 -2
View File
@@ -24,9 +24,11 @@ interface Branch {
interface Props {
branches: Branch[];
initial?: string;
rootLabel?: string | Localized;
rootSmall?: string | Localized;
}
const { branches, initial = 'main' } = Astro.props;
const { branches, initial = 'main', rootLabel = 'ROOT', rootSmall = '● clean' } = Astro.props;
---
<div class="tree-stage" role="tree" aria-label="Repository worktree topology">
@@ -41,8 +43,37 @@ const { branches, initial = 'main' } = Astro.props;
data-tree="main"
role="treeitem"
aria-selected={initial === 'main'}
><span>ROOT</span><strong>main</strong><small> clean</small></button
>
<span>
{
typeof rootLabel === 'string' ? (
rootLabel
) : (
<>
<span data-language-content="en">{rootLabel.en}</span>
<span data-language-content="pt" hidden>
{rootLabel.pt}
</span>
</>
)
}
</span>
<strong>main</strong>
<small>
{
typeof rootSmall === 'string' ? (
rootSmall
) : (
<>
<span data-language-content="en">{rootSmall.en}</span>
<span data-language-content="pt" hidden>
{rootSmall.pt}
</span>
</>
)
}
</small>
</button>
{
branches.map((branch) => (
<button
+143 -28
View File
@@ -198,7 +198,8 @@ const base = import.meta.env.BASE_URL;
<p class="eyebrow">
<span data-language-content="en">A presentation for humans who ship</span><span
data-language-content="pt"
hidden>Uma apresentação para quem entrega software</span>
hidden>Uma apresentação para quem entrega software</span
>
</p><h1>
AI for<br /><em>dummies.</em>
</h1><p class="lede">
@@ -252,7 +253,8 @@ const base = import.meta.env.BASE_URL;
><span data-language-content="en">strong model<br />for ambiguity</span><span
data-language-content="pt"
hidden>modelo forte<br />para ambiguidade</span
></span>
></span
>
</div><div>
<strong>03</strong><span
><span data-language-content="en">bounded workers<br />in parallel</span><span
@@ -265,7 +267,8 @@ const base = import.meta.env.BASE_URL;
><span data-language-content="en">iterations<br />with evidence</span><span
data-language-content="pt"
hidden>iterações<br />com evidências</span
></span>
></span
>
</div><p>
<span data-language-content="en">Read this as a route map, not a prompt recipe.</span><span
data-language-content="pt"
@@ -336,8 +339,13 @@ const base = import.meta.env.BASE_URL;
>{workers.ui.en[2]}</small
>
</div><p class="caption">
The orchestrator preserves intent, writes small contracts, and gathers results that can be
verified. It does not need to type every line.
<span data-language-content="en"
>The orchestrator preserves intent, writes small contracts, and gathers results that can
be verified. It does not need to type every line.</span
><span data-language-content="pt" hidden
>O orquestrador preserva a intenção, escreve pequenos contratos e reúne resultados
verificáveis. Ele não precisa digitar cada linha.</span
>
</p>
</section>
<section class="failure-map">
@@ -403,15 +411,21 @@ const base = import.meta.env.BASE_URL;
<p class="eyebrow">
<span data-language-content="en">The subagent loop</span><span
data-language-content="pt"
hidden>O ciclo de subagentes</span>
hidden>O ciclo de subagentes</span
>
</p><h2 id="workflow-title">
<span data-language-content="en">Click a phase.<br /><em>See the handoff.</em></span><span
data-language-content="pt"
hidden>Clique em uma fase.<br /><em>Veja a passagem.</em></span
>
</h2><p>
Delegation means moving one bounded task into a smaller contextnot giving away
responsibility.
<span data-language-content="en"
>Delegation means moving one bounded task into a smaller contextnot giving away
responsibility.</span
><span data-language-content="pt" hidden
>Delegar é mover uma tarefa delimitada para um contexto menor não abrir mão da
responsabilidade.</span
>
</p>
</div><PhasePanel
phases={[
@@ -494,14 +508,21 @@ const base = import.meta.env.BASE_URL;
<p class="eyebrow">
<span data-language-content="en">Git worktrees</span><span
data-language-content="pt"
hidden>Git worktrees</span>
hidden>Git worktrees</span
>
</p><h2>
<span data-language-content="en">One branch<br />per <em>hand.</em></span><span
data-language-content="pt"
hidden>Uma branch<br />por <em>mão.</em></span>
hidden>Uma branch<br />por <em>mão.</em></span
>
</h2><p>
A worktree is another directory linked to the same repository. Each agent gets its own
checkout and index; history remains shared.
<span data-language-content="en"
>A worktree is another directory linked to the same repository. Each agent gets its own
checkout and index; history remains shared.</span
><span data-language-content="pt" hidden
>Um worktree é outro diretório ligado ao mesmo repositório. Cada agente recebe seu
próprio checkout e índice; o histórico continua compartilhado.</span
>
</p><p class="interaction-hint">
<span data-language-content="en"
>Select a node to inspect its checkout, owner, and next action.</span
@@ -522,11 +543,11 @@ const base = import.meta.env.BASE_URL;
hidden><i></i> 4 checkouts</span
></span
>
</div><WorktreeMap branches={treeBranches} /><article
class="tree-detail"
id="tree-detail"
aria-live="polite"
>
</div><WorktreeMap
branches={treeBranches}
rootLabel={{ en: 'ROOT', pt: 'RAIZ' }}
rootSmall={{ en: '● clean', pt: '● limpo' }}
/><article class="tree-detail" id="tree-detail" aria-live="polite">
<div><span>{labels.owner.en}</span><strong>{trees.main.owner.en}</strong></div><div>
<span>CHECKOUT</span><strong>{trees.main.path}</strong>
</div><p>{trees.main.note.en}</p><code>{trees.main.command}</code>
@@ -539,7 +560,8 @@ const base = import.meta.env.BASE_URL;
<p class="eyebrow">
<span data-language-content="en">Model routing</span><span
data-language-content="pt"
hidden>Roteamento de modelos</span>
hidden>Roteamento de modelos</span
>
</p><h2>
<span data-language-content="en"
>Do not pay for<br />reasoning where<br />you need <em>rhythm.</em></span
@@ -549,10 +571,14 @@ const base = import.meta.env.BASE_URL;
</h2><p class="interaction-hint">
<span data-language-content="en">Choose a job to see why the model profile changes.</span
><span data-language-content="pt" hidden
>Escolha um trabalho para entender por que o perfil do modelo muda.</span>
>Escolha um trabalho para entender por que o perfil do modelo muda.</span
>
</p>
</div><div class="route-console">
<RouteTable
headWork={{ en: 'Work', pt: 'Trabalho' }}
headProfile={{ en: 'Profile', pt: 'Perfil' }}
headPromptShape={{ en: 'Prompt shape', pt: 'Formato do prompt' }}
routes={[
{
id: 'plan',
@@ -608,13 +634,15 @@ const base = import.meta.env.BASE_URL;
<p class="eyebrow">
<span data-language-content="en">Two separate knobs</span><span
data-language-content="pt"
hidden>Dois controles separados</span>
hidden>Dois controles separados</span
>
</p>
<h2>
<span data-language-content="en"
>Choose the engine.<br />Then choose the <em>gear.</em></span
><span data-language-content="pt" hidden
>Escolha o motor.<br />Depois escolha a <em>marcha.</em></span>
>Escolha o motor.<br />Depois escolha a <em>marcha.</em></span
>
</h2>
</div>
<p>
@@ -625,7 +653,8 @@ const base = import.meta.env.BASE_URL;
><span data-language-content="pt" hidden
>Um modelo mais forte muda o teto de capacidade. Mais esforço de raciocínio mais
espaço para esse modelo trabalhar. Comece com a combinação mais leve que passa seus
checks e mova um controle por vez.</span>
checks e mova um controle por vez.</span
>
</p>
</div>
<div class="gearbox">
@@ -703,11 +732,13 @@ const base = import.meta.env.BASE_URL;
<div>
<p class="eyebrow">
<span data-language-content="en">Skills</span><span data-language-content="pt" hidden
>Skills</span>
>Skills</span
>
</p><h2>
<span data-language-content="en">Write the right way<br /><em>once.</em></span><span
data-language-content="pt"
hidden>Escreva do jeito certo<br /><em>uma vez.</em></span>
hidden>Escreva do jeito certo<br /><em>uma vez.</em></span
>
</h2><p>
<span data-language-content="en"
>A skill is a reusable procedure. It can carry instructions, references, scripts, and
@@ -717,9 +748,23 @@ const base = import.meta.env.BASE_URL;
>Uma skill é um procedimento reutilizável. Ela pode carregar instruções, referências,
scripts e assets. Não é memória mágica e não substitui critérios de aceitação.</span
>
</p>
</p><div class="skill-principles">
<span data-language-content="en">01 / trigger clearly</span><span
data-language-content="pt"
hidden>01 / defina o gatilho</span
>
<span data-language-content="en">02 / load detail on demand</span><span
data-language-content="pt"
hidden>02 / carregue detalhes sob demanda</span
>
<span data-language-content="en">03 / return evidence</span><span
data-language-content="pt"
hidden>03 / devolva evidências</span
>
</div>
</div><div class="skill-explorer">
<SkillPackage
packageLabel={{ en: 'SKILL PACKAGE', pt: 'PACOTE DE SKILL' }}
files={[
{ id: 'skill', path: 'SKILL.md', small: 'procedure and limits' },
{ id: 'references', path: 'references/', small: 'facts to consult' },
@@ -791,6 +836,33 @@ const base = import.meta.env.BASE_URL;
hidden>escolha o comportamento antes do modelo</span
></span
>
</div><div class="catalog-intro">
<div>
<p class="eyebrow">
<span data-language-content="en">The field kit</span><span
data-language-content="pt"
hidden>O kit de campo</span
>
</p>
<h2>
<span data-language-content="en"
>Different jobs.<br />Different <em>instincts.</em></span
><span data-language-content="pt" hidden
>Trabalhos diferentes.<br />Instintos <em>diferentes.</em></span
>
</h2>
</div>
<p>
<span data-language-content="en"
>A skill changes how an agent approaches work. Some shape communication. Others enforce
research, debugging, review, or completion discipline. Select one to inspect its
operating rule and verified source.</span
><span data-language-content="pt" hidden
>Uma skill muda como o agente aborda o trabalho. Algumas moldam a comunicação. Outras
impõem pesquisa, diagnóstico, revisão ou disciplina de conclusão. Selecione uma para
inspecionar sua regra operacional.</span
>
</p>
</div><div class="skill-deck">
<div class="skill-index" role="tablist" aria-label="Common agent skills">
{
@@ -802,9 +874,19 @@ const base = import.meta.env.BASE_URL;
aria-selected={skill.id === 'ponytail'}
>
<>
<span>{skill.kind.en}</span>
<span>
<span data-language-content="en">{skill.kind.en}</span>
<span data-language-content="pt" hidden>
{skill.kind.pt}
</span>
</span>
<strong>{skill.title}</strong>
<small>{skill.use.en}</small>
<small>
<span data-language-content="en">{skill.use.en}</span>
<span data-language-content="pt" hidden>
{skill.use.pt}
</span>
</small>
</>
</button>
))
@@ -830,6 +912,23 @@ const base = import.meta.env.BASE_URL;
rel="noopener">{labels.commonSkill.source.en}</a
>
</article>
</div><div class="skill-loadout">
<span data-language-content="en">ONE PRACTICAL LOADOUT</span><span
data-language-content="pt"
hidden>UM LOADOUT PRÁTICO</span
>
<div data-language-content="en">
<b>PLAN</b> unlazy <i></i>
<b>BUILD</b> ponytail-lite <i></i>
<b>DEBUG</b> diagnosing-bugs <i></i>
<b>REPORT</b> caveman
</div>
<div data-language-content="pt" hidden>
<b>PLANEJAR</b> unlazy <i></i>
<b>CONSTRUIR</b> ponytail-lite <i></i>
<b>DIAGNOSTICAR</b> diagnosing-bugs <i></i>
<b>REPORTAR</b> caveman
</div>
</div><article class="install-skills">
<header>
<div>
@@ -898,6 +997,21 @@ const base = import.meta.env.BASE_URL;
></strong
>
</aside>
<aside class="callout">
<span
><span data-language-content="en">START HERE</span><span data-language-content="pt" hidden
>COMECE AQUI</span
></span
><strong
><span data-language-content="en"
>Begin with one agent and one skill. Add parallelism only when the tasks are truly
independent.</span
><span data-language-content="pt" hidden
>Comece com um agente e uma skill. Adicione paralelismo apenas quando as tarefas forem
realmente independentes.</span
></strong
>
</aside>
<section class="verification" id="verification">
<div class="section-label">
<span>Verification</span><span>run each gate separately</span>
@@ -935,13 +1049,14 @@ const base = import.meta.env.BASE_URL;
>Go deeper with official documentation, production case studies, Medium, and practitioner
workflows. <a href={`${base}rules/`}>Rules and enforcement case study </a>
<a href={`${base}skills-review/`}>Skills review desk </a>
<a href={`${base}docs/references/README.md`}>Primary references </a>
<a href={`${base}docs/references/additional-reading.md`}>12-part reading path </a></span
>
<span data-language-content="pt" hidden
>Aprofunde com documentação oficial, casos de produção, Medium e fluxos de praticantes. <a
href={`${base}rules/`}>Estudo de caso sobre regras e enforcement </a
>
<a href={`${base}skills-review/`}>Skills review desk </a>
<a href={`${base}docs/references/README.md`}>Referências primárias </a>
<a href={`${base}docs/references/additional-reading.md`}>Trilha com 12 leituras </a
></span
>
+70 -1
View File
@@ -1 +1,70 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>AI For Dummies — Route map</title><link rel="stylesheet" href="../chapters.css"></head><body><main><header class="top"><a href="../full-guide/">← AI FOR DUMMIES</a><span>00 / ROUTE MAP</span><a href="../skills-review/">review desk ↗</a></header><section class="hero"><p class="eyebrow">Start here</p><h1>Ship the<br><em>system.</em></h1><p>This guide turns AI work into a shape: frame the problem, choose the model and agent, isolate changes, teach repeatable decisions, and verify the result.</p></section><section class="grid"><article class="card"><b>01</b><h2>Models</h2><p>Capability and effort are separate knobs.</p><a href="../models/">Open chapter →</a></article><article class="card"><b>02</b><h2>Agents & trees</h2><p>Bound roles, handoffs, and worktrees.</p><a href="../agents/">Open chapter →</a></article><article class="card"><b>03</b><h2>Skills</h2><p>Capture repeatable decisions.</p><a href="../skills/">Open chapter →</a></article><article class="card"><b>04</b><h2>Rules</h2><p>Connect guidance to enforcement.</p><a href="../rules/">Open chapter →</a></article><article class="card"><b>05</b><h2>Practice</h2><p>Compare prompts and skill-enabled runs.</p><a href="../hands-on/starter/">Open lab →</a></article><article class="card"><b>06</b><h2>Review desk</h2><p>Browse original files and improved drafts.</p><a href="../skills-review/">Open desk →</a></article></section><nav class="links"><a href="../full-guide/">Full field guide</a><a href="../docs/operations-guide.md">Operations guide</a></nav><footer>Each chapter stands alone; the order follows a real task becoming a reliable change.</footer></main></body></html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>AI For Dummies — Route map</title>
<link rel="stylesheet" href="../chapters.css" />
</head>
<body>
<main>
<header class="top">
<a href="../full-guide/">← AI FOR DUMMIES</a><span>00 / ROUTE MAP</span
><a href="../skills-review/">review desk ↗</a>
</header>
<section class="hero">
<p class="eyebrow">Start here</p>
<h1>Ship the<br /><em>system.</em></h1>
<p>
This guide turns AI work into a shape: frame the problem, choose the model and agent,
isolate changes, teach repeatable decisions, and verify the result.
</p>
</section>
<section class="grid">
<article class="card">
<b>01</b>
<h2>Models</h2>
<p>Capability and effort are separate knobs.</p>
<a href="../models/">Open chapter →</a>
</article>
<article class="card">
<b>02</b>
<h2>Agents & trees</h2>
<p>Bound roles, handoffs, and worktrees.</p>
<a href="../agents/">Open chapter →</a>
</article>
<article class="card">
<b>03</b>
<h2>Skills</h2>
<p>Capture repeatable decisions.</p>
<a href="../skills/">Open chapter →</a>
</article>
<article class="card">
<b>04</b>
<h2>Rules</h2>
<p>Connect guidance to enforcement.</p>
<a href="../rules/">Open chapter →</a>
</article>
<article class="card">
<b>05</b>
<h2>Practice</h2>
<p>Compare prompts and skill-enabled runs.</p>
<a href="../hands-on/starter/">Open lab →</a>
</article>
<article class="card">
<b>06</b>
<h2>Review desk</h2>
<p>Browse original files and improved drafts.</p>
<a href="../skills-review/">Open desk →</a>
</article>
</section>
<nav class="links">
<a href="../full-guide/">Full field guide</a
><a href="../docs/operations-guide.md">Operations guide</a>
</nav>
<footer>
Each chapter stands alone; the order follows a real task becoming a reliable change.
</footer>
</main>
</body>
</html>