agentleFS
openhooopenhoo/hooserguide/skills/hooserguide-development/SKILL.md

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.

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
  1. Very specific:

    Start with the affected behavior and a focused test.

    line 38
  2. Distinctive:

    Read verification.md for focused commands, install checks and how to distinguish local smoke tests from live deployment evidence.

    line 44
  3. Distinctive:

    Read evidence-contracts.md before changing execution success, capture geometry, masking, report readers or exporters.

    line 46
  4. Distinctive:

    Keep the two audiences distinct: this skill supports tool development.

    line 70
  5. Very specific:

    Keep .agents/skills/hooserguide-development a relative discovery link to the canonical skill under skills/.

    line 73

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

AreaImplementationVerification
CLI and initializationsrc/cli.ts, src/scaffold.tsCLI contract tests, installed-package smoke
Writing tools and editor assetssrc/authoring.ts, src/authoring-scaffold.tstest/authoring.test.ts, consumer install
Gherkin, built-in steps and preflightsrc/gherkin.ts, src/steps.ts, src/preflight.ts, src/runner.tsBackground/Outline/plugin and preflight tests
Config, profiles, layouts and schemassrc/config.ts, src/types.ts, scripts/build-assets.mjsConfig rejection tests; rebuild generated schemas
Capture, labels and geometrysrc/capture.ts, src/annotations.ts, src/leader.ts, src/pdf-slices.tsReal PNG pixels, high DPI/scroll/focus, both masked variants
HTML, prose, themes and PDFsrc/render.ts, src/viewer.ts, src/themes.ts, src/pdf.tsxBrowser behavior plus rendered PDF review
Evidence and re-exportssrc/report.ts, src/evidence.ts, src/build.ts, src/compare.ts, src/bundle.tsTampering, containment, failed-state and legacy tests
MCPsrc/mcp.tsActual stdio clients, strict schemas, cancellation and pinned run selection
Responsive executionsrc/responsive.ts, src/runner.tsComplete scenario/profile groups and per-screen evidence
CI and Pagessrc/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 webkit

Start 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.
  • lint and outline are authoring plans with executed: 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 dist before 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.