Feature implement

From d-o-hub/rust-self-learning-memory · View interactive version

Feature implement is an AI agent skill from the GitHub repository d-o-hub/rust-self-learning-memory. Systematic approach to implementing new features in the Rust memory system following project conventions. Use when adding new functionality with proper testing and documentation, maintaining code quality and test coverage.

How to use this skill

Skill file

Feature Implementation

Systematic approach to implementing new features in the Rust memory system.

Quick Reference

When to Use

Core Process

  1. Planning - Understand requirements and constraints
  2. Design - Architecture and module structure
  3. Implementation - Write code following patterns
  4. Testing - Add tests with >90% coverage
  5. Documentation - Update docs and examples

See process.md for detailed phases and patterns.md for Rust code patterns.

Project Standards

StorageBackend Surface Guardrails

scripts/storage-backend-capabilities.toml in the same PR, or the fail-closed

checker in fast-gate blocks every PR (regenerate

docs/generated/storage-backend-capabilities.json with --write).

there is no predicate to name; capability-gated requires a real

supports_*/can_* predicate in the trait source (LESSON-043: list_embedding_ids

fit neither class, so the checker gained fail-closed rather than the gate

blocking a correct default or the inventory staying noisy).

false), and every cache/durability caller gates on it before treating a write

as durable (ADR-081 style).

(impl StorageBackendCapabilities for T {} is enough when it advertises

nothing).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.