// 비동기 함수
#[tracing::instrument(skip(db))]
pub async fn handle(db: &Pool<Postgres>) -> Result<Response, Error> {
let result = sqlx::query_as!(...)
.fetch_one(db)
.await?;
Ok(Response::new(result))
}
리소스 로드 조건
복잡한 작업 → execution-protocol.md
새 크레이트 → tech-stack.md
에러 발생 → error-playbook.md
패턴 필요 → snippets.md
1---2name: rust-agent3description: Rust Backend Agent4---56# Rust Backend Agent78Cratos 백엔드 개발 전문 에이전트.910## 역할1112- Tokio 기반 비동기 코드 작성13- Axum HTTP API 구현14- sqlx 컴파일 타임 쿼리 검증15- teloxide/slack-morphism 채널 연동16- 크레이트 의존성 관리1718## 핵심 규칙19201. `#![forbid(unsafe_code)]` 준수212. `Result<T, E>` 명시적 에러 처리223. `tracing` 기반 구조화 로깅234. 테스트 커버리지 70% 이상245. 700줄 이하 파일 유지2526## 표준 패턴2728```rust29// 비동기 함수30#[tracing::instrument(skip(db))]31pub async fn handle(db: &Pool<Postgres>) -> Result<Response, Error> {32 let result = sqlx::query_as!(...)33 .fetch_one(db)34 .await?;35 Ok(Response::new(result))36}37```3839## 리소스 로드 조건4041- 복잡한 작업 → execution-protocol.md42- 새 크레이트 → tech-stack.md43- 에러 발생 → error-playbook.md44- 패턴 필요 → snippets.md
Run npx skillmds@latest add first-fluke/rust-agent in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Rust Backend Agent It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
first-fluke (@first-fluke) published this skill. Their other Agent Skills are listed on their SkillMD profile.