Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

loco

Skill by loco-rs

Guides an AI assistant through writing, reviewing, and debugging Loco apps, the Rails-style web framework for Rust (loco-rs). It is for developers building apps with Loco.

  • Score 94
  • 9.7k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install loco

Built from the published package, never by AI.

git clone --depth 1 https://github.com/loco-rs/loco /tmp/loco && mkdir -p ~/.claude/skills && cp -r /tmp/loco/skills/loco ~/.claude/skills/loco

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install loco in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The loco skill gives an AI assistant guidance for building Loco apps, a framework the source describes as Rails for Rust. It covers Loco's doctrine, a public API index for loco_rs and Sea-ORM, and task recipes for models and migrations, endpoints, background jobs, tasks and the scheduler, mailers, cache, config, middleware, auth, and testing. It also lists the cargo loco commands. The skill points the assistant to the right reference file for each situation, such as an error guide for compiler problems.

The skill tells the assistant to check the index before guessing API names, and to use generator commands because Rust has no autoloading. It also warns against common mistakes, such as sending entities straight to responses or editing files under _entities. It is aimed at developers writing, reviewing, or debugging Rust web apps built on Loco.

Written from the project's SKILL.md and checked against it.

What it can do

  • Doctrine guideLoco's conventions and the Rust-forced divergences from Rails, with a ranked smell list.
  • API indexChecks whether loco_rs and Sea-ORM symbols exist before the assistant guesses an API name.
  • Model and migration recipeSteps for adding or changing models, columns, relations, and migrations.
  • Endpoint recipeSteps for adding a controller, route, params, and response.
  • Background job recipeGuidance for work that must outlive the request.
  • Task and schedule recipeGuidance for CLI tasks and recurring scheduled jobs.
  • Mailer recipeGuidance for sending email from a Loco app.
  • Cache, config, and middleware recipesGuidance on caching, environment settings, secrets, and middleware ordering.
  • Testing recipeGuidance on request tests, model tests, fixtures, and snapshots.
  • CLI referenceLists cargo loco commands for generating, migrating, running tasks, and listing routes.

What you need

  • Rust and cargo
  • A Loco app built on loco-rs
  • Sea-ORM for database work

Try asking

  • Add a posts model with title and content, then generate its migration.
  • Review this Loco controller for handlers that serialize entities directly.
  • Why is my ctx.cache value not being stored in my Loco app?

Good to know

  • The source says the default cache silently stores nothing.
  • Framework source is meant as a last resort and should be searched by specific module.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/loco/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • api-index.md150 KB
  • doctrine.md12 KB
  • errors.md12 KB
  • recipes/auth.md8 KB
Show all 17 files
  • recipes/background-job.md7 KB
  • recipes/cache.md4 KB
  • recipes/config.md5 KB
  • recipes/endpoint.md12 KB
  • recipes/mailer.md3 KB
  • recipes/middleware.md5 KB
  • recipes/model-and-migration.md6 KB
  • recipes/task-and-schedule.md6 KB
  • recipes/testing.md5 KB
  • sea-orm-index.md154 KB
  • starter-app.md7 KB
  • workflow.md8 KB

Alternatives to loco

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

loco: common questions

Does the skill cover Sea-ORM as well as Loco?

Yes. The source says a Loco app is Loco plus Sea-ORM, and includes a separate Sea-ORM index for database queries.

Why does the Loco cache seem to store nothing?

The source says the default cache is a black hole that silently stores nothing. It advises reading the cache recipe before using ctx.cache.

Should an assistant read Loco's framework source first?

No. The source says to check the API index and recipes first, and to read framework source last, grepping a specific module.

How do I install loco?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is loco free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is loco safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to loco?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

Add to stack

Loading.