agentleFS
fmindfmind/dot/.agents/skills/dot-development/SKILL.md

dot-development

Skill10 starsChanged 56 days agoMITView on GitHub

Develop fmind/dot CLI commands, session parsers, storage, configuration, and installation.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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:

    Select proof: run relevant existing tests with uv run --frozen --project dot pytest -q dot/tests/<test_file>.py.

    line 22
  2. Very specific:

    Verify the right executable: use uv run --frozen --project dot dot <command> for checkout behavior.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Dot

Change the Python CLI while retaining its observable command, archive, and installation contracts. dot-cli owns operating the installed tool; python-stack and cli-contracts own generic implementation and interface design.

Workflow

  1. Find the owner: inspect git status --short, git diff, and git diff --cached, then follow the source/test map below. Read the current implementation before selecting a change boundary.
  2. Define the observable change: preserve command names, aliases, help, JSON output, exit codes, stdout/stderr, and Fish completions unless the task explicitly changes them. Exercise configuration errors through the public CLI; repair commands must remain usable when ordinary config loading fails.
  3. Implement through existing boundaries: reuse State and Runner for configuration, streams, and external commands. Use temporary homes and fake runners in tests so a CLI regression cannot authenticate, publish, prune real data, or modify the workstation.
  4. Select proof: run relevant existing tests with uv run --frozen --project dot pytest -q dot/tests/<test_file>.py; add behavioral cases for changed outcomes and realistic failures. Read session compatibility before changing parser output, replacement rules, or stored formats.
  5. Qualify the candidate: run affected static checks and reuse the focused test results above. Follow project AGENTS.md for the full-gate boundary: shared behavior, dependencies, packaging, or explicit full qualification. Isolate write-formatting checks when unrelated work is present and compare the tested candidate with the intended source before transferring proof or edits.
  6. Verify the right executable: use uv run --frozen --project dot dot <command> for checkout behavior. When installation is in scope, mise run deploy builds and selects the installed runtime; verify dot --version and the changed installed command separately. mise run verify is workstation health, not repository qualification.

Source and test map

  • cli.py, command_group.py, state.py, and config.py: command discovery, configuration, and public errors; test_cli.py and test_config.py exercise the boundary.
  • private_files.py: shared private-directory creation and atomic writes; test_private_files.py covers permissions, failed publication, and temporary-file cleanup.
  • secrets.py: explicit, process-scoped credential loading for dot secret run (rejects a personal UV_PUBLISH_TOKEN; packages use Trusted Publishing); test_secrets.py covers precedence, private files, child I/O, the retired publish token, and native login preservation. Keep fixtures synthetic and never print credential values.
  • auth.py and workstation.py: login, setup, cache inspection, and confirmed cleanup; test_workstation.py uses synthetic provider probes. Never run real login/setup/prune as a validation gate.
  • repository.py, process.py, and system.py: repository concurrency, subprocess cancellation, completions, and workstation checks; use their matching tests and temporary homes.
  • archive/parsers.py, sync.py, store.py, usage.py, pricing.py, and statistics.py: discovery, incremental capture, the session store, request accounting, subscription periods, and prompt statistics. test_archive_transaction.py covers replacement and usage retention; test_usage_periods.py covers deduplication, model changes, date boundaries, and legacy recapture; test_pricing.py covers cache accounting and unknown rates.
  • trust.py, orphan.py, context_budget.py, and deploy.py: harness folder trust, retired-target reports, agent context budgets, and locked installation; test_trust.py, test_orphan.py, test_context_budget.py, and test_deploy.py exercise them.
  • agent_doctor.py and hooks.py: per-agent notify hooks, sync, and archive checks, plus notification payloads; test_agent_doctor.py and test_agent_hooks.py exercise them.

Documentation

  • Project tasks and package configuration own the actual gate and dependency graph.
  • Releases: fmind/dot · changelog
  • Companion skills: chezmoi (managed configuration), dot-release (release lifecycle), systematic-debugging (unknown failures).

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.