hooserguide-development
Skill0 starsChanged 58 days agoApache-2.0View on GitHub
Develop, debug, and verify hooserguide itself, including authoring tools, BDD execution, screenshot annotations, handbook exports, MCP, and CI integrations. Use in a hooserguide source checkout.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- hooserguide-authorSkill
- hooserguide-reviewSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
Start with the affected behavior and a focused test.
- Distinctive: line 44
Read verification.md for focused commands, install checks and how to distinguish local smoke tests from live deployment evidence.
- Distinctive: line 46
Read evidence-contracts.md before changing execution success, capture geometry, masking, report readers or exporters.
- Distinctive: line 70
Keep the two audiences distinct: this skill supports tool development.
- Very specific: line 73
Keep .agents/skills/hooserguide-development a relative discovery link to the canonical skill under skills/.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Develop hooserguide
Work from the hooserguide source root. Read AGENTS.md and CONTRIBUTING.md;
current source, package scripts, lockfile and CI take precedence over this guide.
Agents using the tool in another application should use hooserguide-author or
hooserguide-review instead. Those skills are bundled separately for consumers.
Find the change
| Area | Implementation | Verification |
| CLI and initialization | src/cli.ts, src/scaffold.ts | CLI contract tests, installed-package smoke |
| Writing tools and editor assets | src/authoring.ts, src/authoring-scaffold.ts | test/authoring.test.ts, consumer install |
| Gherkin, built-in steps and preflight | src/gherkin.ts, src/steps.ts, src/preflight.ts, src/runner.ts | Background/Outline/plugin and preflight tests |
| Config, profiles, layouts and schemas | src/config.ts, src/types.ts, scripts/build-assets.mjs | Config rejection tests; rebuild generated schemas |
| Capture, labels and geometry | src/capture.ts, src/annotations.ts, src/leader.ts, src/pdf-slices.ts | Real PNG pixels, high DPI/scroll/focus, both masked variants |
| HTML, prose, themes and PDF | src/render.ts, src/viewer.ts, src/themes.ts, src/pdf.tsx | Browser behavior plus rendered PDF review |
| Evidence and re-exports | src/report.ts, src/evidence.ts, src/build.ts, src/compare.ts, src/bundle.ts | Tampering, containment, failed-state and legacy tests |
| MCP | src/mcp.ts | Actual stdio clients, strict schemas, cancellation and pinned run selection |
| Responsive execution | src/responsive.ts, src/runner.ts | Complete scenario/profile groups and per-screen evidence |
| CI and Pages | src/gitlab.ts, src/pages*.ts, templates/, actions/ | Installed component/action shells; native platform proof separately |
Work and verify
Node.js 22 or newer is required. npm ci runs the build through prepare.
Install the browsers needed by the affected tests:
npm ci
npx playwright install chromium firefox webkitStart with the affected behavior and a focused test. For substantive code changes,
run npm run check, npm test and npm run build. Browser/capture/viewer changes
also need npm run test:browsers; package, scaffold, skill distribution and
component/action changes need npm run test:package. Check formatting with
npm run format:check and skill contracts with npm run test:skills.
Read verification.md for focused commands, install checks and how to distinguish local smoke tests from live deployment evidence. Read evidence-contracts.md before changing execution success, capture geometry, masking, report readers or exporters.
Keep the interfaces aligned
- Public options and phrases must agree across TypeScript, runtime validation, CLI help/flags, MCP schemas, generated JSON schemas, examples and consumer skills. Built-in argument checks belong in shared preflight rather than only a handler.
lintandoutlineare authoring plans withexecuted: false. They can load trusted plugin registration, but must not execute handlers or launch a browser. Respect selection and original Gherkin source locations, including Backgrounds, Rules and Outline rows. A plugin may produce captures that static lint cannot see.- Editor and chapter scaffolds use exclusive writes. Preserve existing consumer
files, keep config-relative paths consistent and install only consumer skills
through
init --skills. - The build cleans
distbefore compilation and regenerates schemas. Do not hand-edit schemas or let obsolete modules enter a package. - Preserve the pinned MIT notices for
src/pdfcn/. Compose the guide in project code; adapt vendored components only when the change requires it.
For audit work, reproduce the problem on a pinned run before changing a rule in src/audit.ts. Copy and interaction rules shared with authoring lint live in src/reader-review.ts. Exercise an intentional counterexample (for example a technical guide that teaches selectors), legacy reports and the strict CLI/MCP result. Treat a layout record as a claim about the export; visually verify the actual PDF before declaring a layout fix.
Documentation and skill changes
Keep the two audiences distinct: this skill supports tool development; the author
and review skills support work in consuming applications. Consumer references
must travel with their installed skill, with no source-checkout-only links.
Keep .agents/skills/hooserguide-development a relative discovery link to the
canonical skill under skills/.
For skill-only edits, validate metadata, references, routing and an actual fresh
installation. Do not rebuild screenshots or replay application workflows unless
the changed contract requires that evidence. For changed examples or rendering,
generate authorized local evidence and inspect the actual PNG/HTML/PDF artifacts.
The committed demo can be refreshed with npm run demo:docs; this also sanitizes
machine-specific source paths. Keep private content and output/ out of commits.
Report the actual changed behavior, gates run and remaining limitations. A local passing build, CI job or prepared Pages directory does not establish a release, native GitLab acceptance or a live deployed guide.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

