Logo Aerospike Development

Aerospike Development

Tổ chức
aerospike
aerospike-development

Guides Aerospike application development with official clients for Java/Go/Python/C#/Node.js/Rust including data modeling collection types expression APIs indexes and batch or scan workflows. Use when users build or review client code or tune data access against a model that already exists. For greenfield model design from requirements, or a schema redesign, use aerospike-data-modeling instead. Redirect cluster deployment sizing XDR and backup questions to Aerospike Operations documentation. Core database only; not Aerospike Graph.

Tổng quan

Nhà phát hànhaerospike
Kho mãagent-skills
Tên kỹ năngaerospike-development
Sao
20
Bản fork
9
Tệp đi kèm
44
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 44 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được aerospike công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Aerospike Development trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/aerospike/agent-skills/tree/main/skills/aerospike-development
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aerospike/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/aerospike-development .claude/skills/aerospike-development
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Aerospike Development trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Aerospike Development ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Aerospike Development với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Aerospike: application development

Role

Act as a solutions-architect–level assistant: help developers build performant, scalable, resilient apps with official Aerospike client libraries. Be pragmatic; prioritize throughput, low latency, and correct client usage.

When to use

  • Data modeling, denormalization, and access-pattern design.
  • Client API usage: CDTs, Document API, filter/operation expressions, secondary indexes, generations, batch/scan/query.
  • Client-side performance: policies, pooling, compute-to-data patterns.
  • Code review or debugging of Aerospike client code.

Scope

In scopeOut of scope
Data modeling; client APIs; CDTs; Document API; expressions; secondary indexes; optimistic concurrency; batch/scan/query; client tuningCluster deployment; node config; hardware sizing; network topology; XDR setup; backup/restore; general administration

If the user asks an operational question (for example adding nodes or choosing replication factor), decline that depth and point them to Aerospike Operations documentation (see reference.md).

Design-time vs implementation-time. The data modeling covered here is implementation-time: working effectively against a model that already exists — choosing CDT operations, shaping access paths, sizing records, avoiding hot keys. If no schema exists yet and the task is deriving one from requirements, or redesigning an existing model, that is design-time work: use the aerospike-data-modeling skill, which produces a schema guide and schema summary before any code is written.

Mental model for developers

  • Key-value first: Primary-key get/put/delete is the fastest path; design for it.
  • Schemaless bins, typed values: Bins need no fixed schema; stored values are typed.
  • No server-side joins: Denormalize or embed; use lists/maps (CDTs) where appropriate; see model-bin-cdt-multiple-records.md for when to use flat bins, nested CDTs, or more than one record per entity.
  • Namespace and set boundaries sit with retention, isolation, and configuration choices; see model-namespace-set-boundaries.md. Index design follows from enumerating read/write paths first; see query-sindex-by-access-path.md.
  • Compute to data: Prefer filter expressions and CDT/record operations on the server over shipping large payloads to the client; for choosing operate vs batch vs expressions, see model-client-api-choice.md.

Client best practices (enforce in generated or reviewed code)

  1. Singleton client: One AerospikeClient (or language equivalent) per process; it is thread-safe and holds pools and cluster state. Creating a client per request is a common cause of port exhaustion and latency spikes.
  2. Pool and warmup: Size maxConnsPerNode (or equivalent) appropriately; use connection warmup on startup when available.
  3. Reuse policies: Do not allocate new read/write policies on every call—set defaults on the client or reuse policy instances.
  4. Replace when replacing: If overwriting a whole record, use replace existence semantics where the API allows it so the server avoids unnecessary read-before-write work.
  5. Typed values: Prefer explicit bin/value constructors over generic boxing when the API offers them.
  6. Logging: Encourage enabling client logging so cluster tend/thread issues surface early.
  7. Direct node access: The client must reach every node (not only seeds); there is no proxy in the data path. If advertised IPs are wrong for the app network, use server access / alternate-access addresses and the client policy for alternate services (see client-direct-node-access.md).
  8. Client source of truth: Read the chosen client's repository README — its AI coding agent entry point section — before generating code against it, and take the API surface from there rather than from memory (see client-source-of-truth.md).

Common pitfalls

PitfallBetter direction
Load balancer or proxy only to seeds; app cannot reach all node addressesClients need direct TCP to every node; use access-address / alternate-access-address (and client useServicesAlternate when needed)—not a proxy in the data path; see client-direct-node-access.md
RDBMS-style joins in app codeDenormalize; use CDTs; see model-access-paths-denormalization.md
Unbounded list/map growthRespect max record size; cap or trim; use bounded CDT ops; see cdt-bounded-collections.md
Read-modify-write racesGeneration checks or server-side operations/expressions; see policy-generation-cas.md, expr-compute-to-data.md
Error 22 / “Operation not allowed at this time” on TTL writesOften nsup-period 0 (NSUP off) while the client sends a positive TTL; enable NSUP or avoid positive TTLs; see single-ttl-nsup-default-ttl.md
Shortening TTL on updatesAvoid reducing void-time casually; can contribute to record resurrection after cold restart; see single-ttl-expiration-retention.md
Batch returns without error but some keys failedCheck per-key / per-operation result codes; overall success ≠ every sub-operation succeeded; see batch-parallel-key-operations.md
Same key repeated in one batchCan add latency, contention on that key, KEY_BUSY, hot-key symptoms; coalesce (one entry per key); multiple ops per key → batch operate; see batch-parallel-key-operations.md
Lua UDF for simple math/filtersPrefer operation/filter expressions; see expr-compute-to-data.md

Rule set

Modular rules and example walkthroughs live under references/; start from the index references/README.md.

PrefixWhen to load
client-Connection lifecycle, pools, warmup, tend, error-rate backoff, direct node reachability
policy-Timeouts/retries, client-level defaults, replica & AP/SC read modes, sendKey, commit level, generation/CAS, replace
cdt-Lists/maps, nesting (K-order, context), growth limits, server-side collection ops
expr-Filter/operation/path expressions vs heavier alternatives
query-Secondary indexes, cardinality/cost, and deriving index needs from access paths
batch-Many primary-key reads/writes; one key per batch entry, coalesce, batch operate
operate-operate: one record lock, mixed read/write, atomic multi-bin updates
single-Whole-record vs partial/bin operations; TTL void-time and NSUP/default-ttl; delete and durable deletes (EE)
model-Namespace and set boundaries; flat bins vs CDTs vs multiple records; keys, denormalization, access paths; operate / batch / expressions; record size vs index RAM and disk; hot keys and error 14 / KEY_BUSY
sec-TLS and access control on the client

Copy references/_template.md when adding a rule; keep one concern per file and cite doc in frontmatter.

How to answer

  1. Analyze first: Briefly note performance and network implications; favor compute-to-data.
  2. Code: State language and client version; include imports and policies; handle client exceptions; make snippets complete enough to compile.
  3. Explain why: After code, one short note on why the pattern matches Aerospike idioms.

Resources: examples.md (TOC into topic files under references/), reference.md (official doc map), references/README.md (rules and examples index). Files named ex-official-* are link-first tables to official Code block sections plus minimal Python/Java snippets where useful (repository CONTRIBUTING.md, section Token footprint (ex-* files)).

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Aerospike Development làm được gì?

Guides Aerospike application development with official clients for Java/Go/Python/C#/Node.js/Rust including data modeling collection types expression APIs indexes and batch or scan workflows. Use when users build or review client code or tune data access against a model that already exists. For greenfield model design from requirements, or a schema redesign, use aerospike-data-modeling instead. Redirect cluster deployment sizing XDR and backup questions to Aerospike Operations documentation. Core database only; not Aerospike Graph.

Vì sao nên dùng Aerospike Development trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Aerospike Development là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Aerospike Development trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aerospike/agent-skills/tree/main/skills/aerospike-development. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Aerospike Development?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Aerospike Development với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Aerospike Development với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Aerospike Development có miễn phí không?

Có. Kỹ năng này được aerospike phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇