Back to list
d-o-hub

code-quality

by d-o-hub

A modular Rust-based self-learning episodic memory system for AI agents, featuring hybrid storage with Turso (SQL) and redb (KV), async execution tracking, reward scoring, reflection, and pattern-based skill evolution. Designed for real-world applicability, maintainability, and scalable agent workflows.

3🍴 0📅 Jan 23, 2026

SKILL.md


name: code-quality description: Maintain high code quality through formatting, linting, and static analysis using rustfmt, clippy, and cargo audit. Use to ensure consistent code style and catch common mistakes.

Code Quality

Maintain high code quality through formatting, linting, and static analysis.

Core Tools

1. Rustfmt (Formatting)

# Format all code
cargo fmt

# Check without changing
cargo fmt -- --check

2. Clippy (Linting)

# Run all lints
cargo clippy

# Treat warnings as errors (CI)
cargo clippy --all -- -D warnings

# Fix automatically
cargo clippy --fix

3. Cargo Audit (Security)

cargo audit
cargo deny check

Quality Checklist

Before Commit

  • cargo fmt - Format code
  • cargo clippy -- -D warnings - No lint warnings
  • cargo test --all - All tests pass

Before PR

  • cargo build --release - Release build works
  • cargo doc --no-deps - Documentation builds
  • cargo audit - No security issues

Common Issues

IssueWarningFix
Unused importsunused import: HashMapRemove import
Unnecessary cloneclone on Copy typeRemove clone
Missing awaitunwrap on ResultUse ?
Large stacksize difference variantsBox large variants

Code Organization

  • Files ≤ 500 LOC
  • Functions < 50 LOC
  • Single responsibility per module

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon