Axum Best Practice

Enforce Axum/Rust backend best practices when writing Rust code

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add maulanasdqn/tanstack-axum-claude-skills --skill axum-best-practice
Manual install
git clone --depth 1 https://github.com/maulanasdqn/tanstack-axum-claude-skills.git /tmp/tanstack-axum-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/tanstack-axum-claude-skills/.claude/skills/axum-best-practice ~/.claude/skills/axum-best-practice

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Axum Backend Best Practices

## Core Principles
- Max 200 LOC per file
- No code comments
- No `unwrap()` in production (use `?` or handle errors)
- Clean Architecture: domain → application → infrastructure
- Single responsibility per file
- Reusability-first design

## Project Structure

```
{prefix}-server/           # Entry point
{prefix}-auth/             # Auth module
{prefix}-users/            # Users module
{prefix}-{feature}/        # Feature modules
{prefix}-database/         # DB connection, entities
{prefix}-errors/           # Centralized AppError
{prefix}-types/            # Shared types (Money, responses)
{prefix}-validation/       # Validation framework
{prefix}-migration/        # DB migrations
```

## Module Structure

Each feature module follows Clean Architecture:

```
{prefix}-{feature}/src/
├── lib.rs
├── domain/
│   ├── mod.rs
│   ├── {entity}.rs        # Entity definition
│   └── repository.rs      # Repository trait
├── application/
│   ├── mod.rs
│   └── {use_case}.rs      # One use case per file
└── infrastructure/
    ├── mod.rs
    ├── http/
    │   ├── handlers.rs
    │   ├── routes.rs
    │   └── dto.rs
    └── persistence/
        └── postgres_{entity}_repository.rs
```

## Error Handling

Centralized `AppError` enum:
Read the full skill on GitHub

Details

Skill name
axum-best-practice
Path
.claude/skills/axum-best-practice/SKILL.md
Repo updated
11 March 2026

FAQ

What does the Axum Best Practice skill do?

Enforce Axum/Rust backend best practices when writing Rust code

How do I install the Axum Best Practice skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add maulanasdqn/tanstack-axum-claude-skills --skill axum-best-practice. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Axum Best Practice popular?

It lives in maulanasdqn/tanstack-axum-claude-skills, which has 5 GitHub stars and 0 forks.

Related skills

Tanstack Best Practice

5

maulanasdqn/tanstack-axum-claude-skills

Enforce TanStack frontend best practices when writing React/TypeScript code

Frontend & Design

Godot Csharp API

5

Fortyseven/Godot-Claude-Skills

Godot 4 C# API reference and tutorials skill. Use when answering questions about Godot 4 C# development, class methods, properties, signals, enums, constants, or how-to guides. Provides condensed C#-only API docs for all ~1,065 Godot 4 engine classes plus 347 official tutorials, split into domain-specific files. Do NOT use for GDScript Godot development — use godot-gdscript-api instead.

Software Development

Arch Diagram

5

sawallesalfo/claude-skills

This skill should be used when the user asks to create a technical architecture diagram, system diagram, pipeline flow, swimlane diagram, flowchart, data flow diagram, or any technical documentation visual. Outputs SVG + PNG. Examples: "draw the ingestion pipeline", "create an architecture diagram", "make a flowchart for X", "explain the system with a diagram".

Software Development

Godot Gdscript API

5

Fortyseven/Godot-Claude-Skills

Godot 4 GDScript API reference and tutorials skill. Use when answering questions about Godot 4 GDScript development, class methods, properties, signals, enums, constants, or how-to guides. Provides condensed GDScript-only API docs for all ~1,065 Godot 4 engine classes plus 347 official tutorials, split into domain-specific files. Do NOT use for C# Godot development — use godot-csharp-api instead.

Software Development

Tma Expert

9

ydnikolaev/antigravity-factory

Expert in Telegram Mini Apps (TMA) using @tma.js/sdk for native Telegram integration.

Software Development

Motia Expert

5

CoderMageFox/claude-skills-market

Comprehensive Motia backend framework expert. Use when building APIs, background jobs, workflows, AI agents, or event-driven applications with Motia. Covers TypeScript/Python steps, flows, plugins, and configuration.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.