agentleFS
niksavisniksavis/basicly/.agents/skills/interface-facts/SKILL.md

interface-facts

Skill0 starsChanged 56 days agoMITView on GitHub

Establishes a third-party CLI flag, API field, model, price or limit from the tool and live vendor docs. Use before code depends on it.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    The installed binary: Use --help, --version, --dry-run, or an invalid flag whose error names the valid set.

    line 26
  2. Distinctive:

    Ask a narrow question: the exact flag name, the exact field name, whether a machine-readable output mode exists.

    line 38
  3. Distinctive:

    Use browser tools only when a page needs JavaScript to render.

    line 39
  4. Distinctive:

    Put the fact on the tracker record, with the version, the date and the URL:

    line 67
  5. Distinctive:

    When a repo document and the vendor disagree, the vendor decides what the interface does.

    line 73
  6. Distinctive:

    When a value we depend on can be compared with data we already record, make the comparison a gate.

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
<!-- Generated by `basicly skills-build` from skill.yaml. Do not edit; edit the source. -->

Interface Facts

Establish how a third-party interface behaves from evidence you fetch now. A model knows an interface only as it was at training time, and vendors change interfaces.

The skill covers CLI flags and output formats, API fields and endpoints, model ids, context windows, token accounting, prices, rate limits, config schemas and behaviour that changes with a version.

Rules

  • An external interface fact is unverified until you fetch it. A wrong fact about another vendor's interface gets committed as prose and believed for months.
  • Read our own code before our own prose. A design document's summary of an interface is a claim about a claim.
  • Run the installed binary before you read the documentation. The documentation describes a release. The binary on the path is the one that runs.
  • Record the version and the date with every fact. A claim with no version cannot be checked again, only argued again.
  • Only the vendor's own host counts as a source. An aggregator, a mirror or a summary site does not.
  • Never cache or commit fetched documentation. The cache lands in a consumer tree, and the upstream licence is not ours to give.
  • Correct the stale document in place. Two claims that disagree cost more than one wrong claim.

Order of evidence

  1. Our own code that touches the interface. An adapter, a parser or a hook was written against a real probe and is under test.
  2. The installed binary. Use --help, --version, --dry-run, or an invalid flag whose error names the valid set. For a default behaviour, run the command itself. A flag list does not show a default.
  3. The vendor's current documentation, fetched now.
  4. The vendor's changelog, which dates the change.
  5. The vendor's source or issue tracker, which shows a documented feature that does not work.
  6. Third-party writing. This is the weakest evidence and is never sufficient alone.

A landing page or a feature grid is marketing. A README is a claim.

How to fetch

  1. Limit the search to the vendor's host, so a third-party summary cannot rank above the source.
  2. Fetch the specific page.
  3. Ask a narrow question: the exact flag name, the exact field name, whether a machine-readable output mode exists.
  4. Use browser tools only when a page needs JavaScript to render.

Machine-readable routes

A route tells you what a release documents. It does not tell you what the installed command does. Probe a route before you quote it. Follow redirects. Read an unexpected redirect or a 404 as a moved route, not as a missing fact.

DependencyRoute
uvdocs.astral.sh/uv/llms.txt; one page: docs.astral.sh/uv/<page>/index.md
ruffdocs.astral.sh/ruff/llms.txt; one page: docs.astral.sh/ruff/<page>/index.md
Claude Codecode.claude.com/docs/llms.txt; one page: code.claude.com/docs/en/<slug>.md
Anthropic APIplatform.claude.com/llms.txt; one page: platform.claude.com/docs/en/<path>.md. Never fetch the whole llms-full.txt, which is very large
Codexdevelopers.openai.com/codex/llms.txt, which redirects to learn.chatgpt.com/docs/llms.txt; one page: learn.chatgpt.com/docs/<slug>.md
GitHub Docs (Copilot CLI, Actions)docs.github.com/llms.txt; append .md to any page URL for markdown
Pythonno llms.txt; docs.python.org/3/_sources/<path>.rst.txt and docs.python.org/3/objects.inv
pytestno llms.txt; docs.pytest.org/en/stable/_sources/<path>.rst.txt and docs.pytest.org/en/stable/objects.inv
git, pre-commitnone; run <tool> <cmd> --help on the installed binary
any other dependencyprobe <docs-host>/llms.txt, then the Sphinx pair objects.inv and _sources/<path>.rst.txt, else the installed binary

The GitHub Docs Search API refuses a request with no client_name parameter. The error is Missing required parameter 'client_name' for external requests. Add &client_name=<a name for this tool> to every GitHub Docs API request.

State the claim precisely

  • Keep "the capability exists" apart from "we can reach it". A documented feature can have no flag or output mode that our dispatch can read. A value that is not on stdout can still be readable from another place.
  • Write the claim at the precision the evidence supports. "Has no config-file deny rule" is correct where "has no config file" is not. A vague note invites the next reader to remove what it justifies.

Record the fact

Put the fact on the tracker record, with the version, the date and the URL:

basicly tracker write -- comments add <id> "verified <date> against <url> (<tool> <version>): ..."

When a repo document and the vendor disagree, the vendor decides what the interface does. The repo decides what we chose to do. Correct the document in place and name what refuted it.

When a value we depend on can be compared with data we already record, make the comparison a gate. A declared limit that recorded data contradicts is a defect that a machine can detect.

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.