원클릭으로
new-crate
Scaffold a new crate in the axiomdb workspace — create, wire to workspace, write initial test, update architecture.md
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffold a new crate in the axiomdb workspace — create, wire to workspace, write initial test, update architecture.md
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | new-crate |
| description | Scaffold a new crate in the axiomdb workspace — create, wire to workspace, write initial test, update architecture.md |
cd /home/familia/axiomdb
cargo new --lib crates/axiomdb-NAME
crates/axiomdb-NAME/
├── Cargo.toml
├── src/
│ ├── lib.rs ← only public re-exports and crate doc
│ ├── error.rs ← DbError with thiserror
│ └── [modules].rs
└── tests/
└── integration.rs ← integration tests
[package]
name = "axiomdb-NAME"
version = "0.1.0"
edition = "2021"
[dependencies]
# Use workspace versions when defined
axiomdb-core = { path = "../axiomdb-core" }
thiserror = { workspace = true }
tracing = { workspace = true }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
tempfile = "3"
//! # axiomdb-NAME
//!
//! [One-line description of what this crate does]
//!
//! ## Example
//! ```rust
//! use axiomdb_name::MyTrait;
//! // minimal example
//! ```
mod error;
pub use error::Error;
// Public traits first
pub trait MyTrait: Send + Sync {
fn operation(&self) -> Result<(), Error>;
}
[workspace]
members = [
# ... existing ...
"crates/axiomdb-NAME", # ← add here in alphabetical order
]
cargo tree --workspace 2>&1 | grep -E "axiomdb-NAME|error\[E"
// tests/integration.rs
use axiomdb_name::MyTrait;
#[test]
fn crate_compiles_and_trait_exists() {
// Just verify it compiles for now
// Real tests are added in the implementation phase
}
cargo test -p axiomdb-NAME
## Implemented crates
- `axiomdb-NAME` — [one-line description] (Phase N)
[ ] cargo new --lib executed
[ ] crate's Cargo.toml with correct dependencies
[ ] Added to workspace members
[ ] src/lib.rs with documented public traits
[ ] Initial test compiling
[ ] cargo test -p axiomdb-NAME passes
[ ] cargo clippy -p axiomdb-NAME -- -D warnings passes
[ ] architecture.md updated
Verify and fix documented gaps one at a time — reproduce, root cause, minimal fix, wire-test regression, close
Discover undocumented gaps by comparing AxiomDB against MySQL/PostgreSQL — build inventory, run tests, classify, hand off to hunt-gap
Run Criterion micro-benchmarks and 3-Docker comparison benchmarks, verify no regression against MySQL/PostgreSQL
Explore approaches before proposing — read context, ask questions, present 2+ options with trade-offs, write sprint with dependencies
Save session context to a checkpoint file so the next session can resume without losing state
Systematic debug protocol — reproduce with minimal test, 2+ hypotheses, fix root cause, add regression test