agentleFS
matthewdonsemail-labmatthewdonsemail-lab/log/skills/layout/SKILL.md

layout

Skill103 starsChanged 5 days agoMITView on GitHub

Where a new file goes in log-cli (rule 2). Every file sits in a domain folder named for what it does: src/{library}/{domain}/, python/<domain>/, scripts/<domain>/; nothing loose. Use when adding a Python module, a script or a check, or when `bun run check:layout` refuses a commit.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use motion and accessibility.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • leonaaardobSkill

    motion

    Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion)

    Also in 3 projects that use this

  • MicrosoftSkill

    accessibility

    Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Put it in its domain package.

    line 21
  2. Very specific:

    Import by package: from browser import proxyGate, from human.humanMouse import HumanMouse.

    line 22
  3. Very specific:

    Put it in its domain folder under scripts/.

    line 37
  4. Very specific:

    Add its package.json entry and, for a gate, its lefthook command.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “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

layout

WhereWhat goes there
src/{library}/{domain}/TypeScript, with the role files (index.ts, types.ts, client.ts, machine.ts, helpers/; rule 2)
src/browser/each browser (adsPower, camoufox) and what every browser shares: driver, run, proxy, inspect, flow (rule 2)
python/browser/opening the account's browser through its gates: browserDriver, adsPowerBrowser, visibleBrowser, proxyGate, harRecorder
python/human/how the cursor and wheel move: humanMouse, scrollMotion, recordMouse
python/session/the processes TypeScript runs: inspectSession, connectSession, publishSession, profileSession, logWorker
python/login/, python/device/, python/errors/, python/fixtures/sign-in, Camoufox's device, the error codes and catalog, test pages
scripts/checks/the lefthook gates (check:*)
scripts/commitLog/, scripts/docs/, scripts/hooks/, scripts/privacy/, scripts/datasets/the private day-log gate, the generated docs, the agent hooks, the privacy check, dataset builds

A new Python module

  • Put it in its domain package; a new domain gets its own folder with an __init__.py (a docstring saying what it holds).
  • Import by package: from browser import proxyGate, from human.humanMouse import HumanMouse.
  • A script run directly (it has if __name__ == "__main__") puts python/ on its path before its first local import:
import sys as _sys
from pathlib import Path as _Path

_sys.path.insert(0, str(_Path(__file__).resolve().parents[1]))
from browser import proxyGate
  • TypeScript reaches it by its path (python/session/inspectSession.py); tests import it the same way (sys.path.insert(0, 'python'); from login import autoLogin).

A new script

  • Put it in its domain folder under scripts/; its repo root is two folders up (join(import.meta.dir, "..", "..")) and src is ../../src/.
  • Add its package.json entry and, for a gate, its lefthook command.

bun run check:layout (lefthook pre-commit and pre-push) refuses a loose file, tracked or new, and a Python domain without its __init__.py.

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.