基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/pelikan-io/pelikan --skill test命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Scaffold a docs/journal/ entry for a non-trivial engineering effort
Use when creating or materially revising system architecture diagrams — a build-time structure chart (units, layers, product composition) or runtime charts (thread model, life-of-a-request flow). Triggers include "architecture diagram", "threading diagram", "dataflow chart", "life of a request", "diagram the system". Symptoms include a hand-maintained diagram drifting from the code, a chart that cannot say whether a thread or queue still exists, or structure and runtime claims tangled in one unreadable picture.
Use when creating or materially revising a project's README, code documentation, CLI help, diagrams, onboarding, or other feature documentation for users or developers.
| name | test |
| description | Run pelikan's unit, integration, and fuzz tests |
Run tests across the pelikan workspace.
Alongside source files in each crate:
cargo test --workspace # everything
cargo test -p pelikan-segcache # one product crate, e.g. segcache
Custom harnesses, not plain #[test] functions — currently exist for segcache and rds:
src/server/segcache/tests/integration.rs — single-threaded instancesrc/server/segcache/tests/integration_multi.rs — multi-threaded instancesrc/server/segcache/tests/common.rs — shared test utilitiessrc/server/rds/tests/integration.rs, integration_multi.rs, common.rs — same pattern for RDSThey build and run as part of cargo test -p pelikan-segcache / -p pelikan-rds.
Fuzz targets exist for the protocol parsers:
src/protocol/admin/fuzz/src/protocol/memcache/fuzz/src/protocol/ping/fuzz/src/protocol/resp/fuzz/cd src/protocol/<name>/fuzz
cargo +nightly fuzz list # see available targets
cargo +nightly fuzz run <target>
Benchmarks exist for six crates:
protocol-adminprotocol-memcacheprotocol-pingbloompelikan-segcachepelikan-rdscargo bench -p <crate> # e.g. cargo bench -p pelikan-segcache
cache-rs repository (consumed as the segcache dependency by src/entrystore/) — it has no fuzz targets or tests in this repo.