Aerospike Development 标志

Aerospike Development

组织
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.

概览

发布者aerospike
代码仓库agent-skills
技能名称aerospike-development
星标数
20
复刻数
9
附带文件
44
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 44 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 aerospike 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Aerospike Development AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/aerospike/agent-skills/tree/main/skills/aerospike-development
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Aerospike Development,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Aerospike Development。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Aerospike Development 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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)).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Aerospike Development AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Aerospike Development?

因为您只需安装一次,就能搭配任何模型使用。Aerospike Development 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Aerospike Development?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/aerospike/agent-skills/tree/main/skills/aerospike-development。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Aerospike Development?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Aerospike Development 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Aerospike Development 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Aerospike Development AI 技能免费吗?

是的。aerospike 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇