원클릭으로
rust-agent-specialist
Apply Rust-native patterns (Type-State, Channel-Based, Actor Model) to ccswarm development.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Apply Rust-native patterns (Type-State, Channel-Based, Actor Model) to ccswarm development.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Duplicate code detection using similarity-rs. Identifies refactoring candidates based on semantic similarity.
Duplicate code detection using similarity-rs. Identifies refactoring candidates based on semantic similarity.
Run performance benchmarks with criterion. Compare against baselines and profile hotspots.
Implementation verification - runs format, lint, test, and build checks on the workspace.
Production readiness audit - checks unwrap elimination, error handling, clippy, docs, channel usage, and test count.
Release deployment process for ccswarm. Version update, quality gates, build, tag, publish.
| name | rust-agent-specialist |
| description | Apply Rust-native patterns (Type-State, Channel-Based, Actor Model) to ccswarm development. |
| user-invocable | true |
Guidance for implementing Rust-idiomatic patterns in ccswarm.
pub struct Agent<State> { inner: AgentInner, _state: PhantomData<State> }
impl Agent<Uninitialized> { fn initialize(self) -> Agent<Ready> { ... } }
impl Agent<Ready> { fn execute(&self, task: Task) -> Result<Output> { ... } }
let (tx, rx) = tokio::sync::mpsc::channel(100);
// No shared mutable state between agents
struct AgentActor { mailbox: mpsc::Receiver<Message>, state: AgentState }
impl AgentActor {
async fn run(mut self) {
while let Some(msg) = self.mailbox.recv().await { self.handle(msg).await; }
}
}
grep -r "Arc<Mutex" crates/ccswarm/src/ --include="*.rs" # Convert to channels
grep -r "enum.*State\|State::" crates/ccswarm/src/ # Convert to type-state
Verify: cargo fmt && cargo clippy -- -D warnings && cargo test