alun-project SKILL.md skillA

alun-project from wild1024/alun is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add wild1024/alun/alun-project@git:20261015.f117275

Pins git:20261015.f117275 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
wild1024/alun
Path
skill/SKILL.md
Versions recorded
2
Latest version
git:20261015.f117275, committed Oct 15, 2026
First version recorded
Oct 13, 2026
Size
3,016 bytes
Repository stars
32
License
MIT

项目级速查——Alun 框架(v0.4.0,21 crate Cargo workspace)的 AI 操作要点:feature 分层、handler 单一出口、路由 scan()、命令、高频踩坑与文件指针。加载即用,详细参考见 ../skill-alun/SKILL.md。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Alun Framework — 项目级 AI 速查

首个面向 AI Coding 的 Rust Web 框架(配置驱动 + 插件架构)。版本 0.4.0(Edition 2024,rust-version 1.94.1),
Cargo workspace 含 21 个 crate + 5 个示例工程。分层:`用户代码 → alun(门面)→ 功能 crate → alun-core(纯骨架)`。

## 命令
- 检查:`cargo check --workspace`(单包 `cargo check -p alun`)
- 测试:`cargo test --workspace`;doctest:`cargo test -p alun-docs-tests --doc`
- 跑示例:`cd examples/00-quick-start && cargo run`(首次 `cargo run -- gen-config`)
- 文档:`cargo doc --no-deps -p alun`
- 注:README 提到的 `./scripts/quick-test.py` 在本 checkout 不存在,用上面 `cargo test`。

## 铁律
1. 唯一框架依赖 `alun`;全部 API 来自 `use alun::prelude::*;`,不引子 crate。
2. handler 唯一签名 `ResResult<T> = Result<Res<T>, ApiError>`;响应 `{code,msg,data}`。
3. 数据层 `DbResult<T>`(= `Result<T,DbError>`),`?` 自动上转 `ApiError`,handler 不写 `map_err`。
4. 路由 `scan()` 自动收集 `#[alun::get/post/...]`;分组 `#[alun::controller]`;库 `#[alun::routes]`+`.module()`。
5. feature:`default=["core"]`;数据库必选驱动 `sqlite/postgres/mysql`;预设 `mini⊂lite⊂full`;`fs`=`fs-local`。
6. `ApiError` 是唯一错误出口(`WebError` 已删除);5xx 对前端模糊化。
7. 文档 Rust 块被 rustdoc 编译:可编译 `rust,no_run`,纯示意 `rust,ignore`。

## 高频踩坑
- 只写 `db` 不选驱动 → 建池 `UnsupportedFeature`;必须选 `sqlite/postgres/mysql`。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wild1024/alun/alun-project@sha256:5935e0e02a189df7

The line at the top of this page pins the label git:20261015.f117275, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_3qxeot7upt3oy5b4.svg)](https://markdownregistry.com/a/art_3qxeot7upt3oy5b4)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 13, 2026 and Oct 15, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20261015.f117275 latest2026-10-15 f117275 3,016 BA view · diff
git:20261013.35411452026-10-13 3541145 3,016 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3016 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

wild1024/alun · 32 stars · license MIT · pushed 2026-10-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_3qxeot7upt3oy5b4
GET https://markdownregistry.com/api/v1/resolve?ref=wild1024/alun/alun-project
GET https://markdownregistry.com/api/v1/blob/5935e0e02a189df7f6eefd809de06dca3e785ee4843bbb1fc40b0ee0646219f2

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from wild1024/alun

AGENTS.md AGENTS.md file
wild1024/alun · AGENTS.md
git:20261024.c0b1671 · audit A · 32 stars
llms.txt llms.txt file
wild1024/alun · llms.txt
git:20261013.3541145 · audit A · 32 stars
alun SKILL.md skill
wild1024/alun · skill-alun/SKILL.md · Help users develop web applications and services using the alun Rust web framework (version 0.3). alun is a…
git:20261016.a013a2a · audit B · 32 stars

Every file in wild1024/alun

Browse by kind, by grade A, or by owner.