agentleFS
aerospike-ce-ecosystemaerospike-ce-ecosystem/aerospike-ce-ecosystem-plugins/skills/aerospike-py-api/SKILL.md

aerospike-py-api

Skill0 starsChanged 3 months agoNo licenceView on GitHub

MUST USE when writing any Python code with aerospike-py or aerospike_py. Rust/PyO3 library with UNCONVENTIONAL patterns — exceptions are importable both from the top-level module (aerospike_py.RecordNotFound) and from aerospike_py.exception (with TimeoutError/IndexError being deprecated aliases there), return types are NamedTuples (record.bins, record.meta.gen, NOT tuple unpacking), batch_read returns a LazyBatchRecords handle (.to_dict() for dict[UserKey, AerospikeRecord], .to_list() for request-order positional list[bins | None] collision-safe across sets, .to_numpy(np.dtype([...])) for a zero-copy structured array; handle.items()/handle[\"k\"] still work via Mapping backward-compat; the legacy _dtype= kwarg is removed), policies use module-level constants (aerospike_py.POLICY_EXISTS_CREATE_ONLY). Without this skill, code uses wrong import paths/return types and misses expression filters (exp), batch_write in_doubt retry, CDT list/map/bit/hll, ping(), backpressure, Prometheus metrics, OpenTelemetry, NumPy, and admin APIs. Triggers on: aerospike-py, aerospike_py, AsyncClient, client.ping(), batch_write, Python + Aerospike, put/get/query/batch with Aerospike.

  • Installs packages

The file

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.