AGENTS.mdA

AGENTS.md from wild1024/alun is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add wild1024/alun/AGENTS.md@git:20261024.c0b1671

Pins git:20261024.c0b1671 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
wild1024/alun
Path
AGENTS.md
Versions recorded
3
Latest version
git:20261024.c0b1671, committed Oct 24, 2026
First version recorded
Oct 13, 2026
Size
8,680 bytes
Repository stars
32
License
MIT

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

# AGENTS.md — Alun Framework

给编码 Agent(Claude Code / Cursor / Codex / WorkBuddy Agent)的操作指令。
本文件是「指令」,详细参考与可运行示例见 `README.md`、`docs/`、`skill-alun/SKILL.md`、`examples/`。

## 项目是什么
Alun 是**面向 AI Coding 的 Rust Web 框架**:配置驱动 + 插件架构,一个接口 = 一个 `async fn` + 一个宏注解。
版本 `0.4.2`(Edition 2024,rust-version 1.94.1),Cargo workspace 含 **21 个 crate + 5 个示例工程**。
分层:`用户代码 → alun(门面)→ 功能 crate(web / db / cache / template …)→ alun-core(纯骨架:Error / Plugin)`。

设计理念承接 **[Aifei](https://github.com/jfinal/aifei)**([官网 aifei.cn](https://aifei.cn),世界首个 AI Coding 框架)的
Just Service 范式——Alun 是它在 Rust 生态的表达(Just Config),不是代码翻译。
回答「这个 API 为什么这样设计」时,必要时读 `docs/architecture/aifei-tribute.md`(含 aifei → alun 的逐项映射与取舍)。

## 铁律(动手前必读)
1. **唯一框架依赖是 `alun`**。业务 `Cargo.toml` 不写 `alun-db` / `alun-db-core` 等子 crate;
   路由 / 配置 / 数据库 / 响应 / 错误全部从 `use alun::prelude::*;` 来。
2. **handler 只有一种签名**:`async fn -> ResResult<T>`,其中 `ResResult<T> = Result<Res<T>, ApiError>`。
   响应统一包成 `{ "code": 0, "msg": "ok", "data": .. }`。出错:`Err(ApiError::not_found(".."))` 等。
3. **数据访问层用 `DbResult<T>`**(即 `Result<T, DbError>`)。`DbError` 通过 `From<DbError> for ApiError`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wild1024/alun/AGENTS.md@sha256:763eb20477dbd8db

The line at the top of this page pins the label git:20261024.c0b1671, 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_xl5kz4ksu5nbhxhb.svg)](https://markdownregistry.com/a/art_xl5kz4ksu5nbhxhb)

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

Versions

The registry has recorded 3 versions of this file, between Oct 13, 2026 and Oct 24, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20261024.c0b1671 latest2026-10-24 c0b1671 8,680 BA view · diff
git:20261016.a013a2a2026-10-16 a013a2a 8,680 BA view · diff
git:20261013.35411452026-10-13 3541145 8,680 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (8680 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_xl5kz4ksu5nbhxhb
GET https://markdownregistry.com/api/v1/resolve?ref=wild1024/alun/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/763eb20477dbd8dbf6431954998626c91d9a5730ba13d6d4c15aca4016ec43c9

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: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from wild1024/alun

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
alun-project SKILL.md skill
wild1024/alun · skill/SKILL.md · 项目级速查——Alun 框架(v0.4.0,21 crate Cargo workspace)的 AI 操作要点:feature 分层、handler 单一出口、路由 scan()、命令、高频踩坑与文件指针。加载即用,详细参考见…
git:20261015.f117275 · audit A · 32 stars

Every file in wild1024/alun

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

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