rules-engine SKILL.md skillA
rules-engine from chainlesschain/chainlesschain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add chainlesschain/chainlesschain/rules-engine@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- chainlesschain/chainlesschain
- Path
desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/rules-engine/SKILL.md- Versions recorded
- 3
- Latest version
- v1.0.0, committed Aug 28, 2026
- First version recorded
- Jun 3, 2026
- Size
- 4,234 bytes
- Repository stars
- 11
- License
- a license file GitHub does not identify
模块化规则引擎 - 管理项目编码规范、AI行为规则、架构约束,支持glob范围和团队共享.
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
# 规则引擎技能
## 描述
模块化规则引擎,用于管理项目编码规范、AI行为规则和架构约束。规则以Markdown文件形式存储在 `.chainlesschain/rules/` 目录中,每条规则通过YAML frontmatter定义名称、描述、glob匹配模式和严重级别。支持glob范围匹配,便于团队共享和版本控制。
## 使用方法
```
/rules-engine <mode> [target]
```
## 模式
| 模式 | 说明 |
| ------------ | -------------------------------------------- |
| `--list` | 列出所有规则,显示名称、描述、严重级别和glob |
| `--check` | 检查哪些规则适用于指定文件 |
| `--init` | 创建规则目录并生成示例规则文件 |
| `--add` | 创建新的规则模板文件 |
| `--validate` | 验证所有规则文件的语法正确性 |
## 规则文件格式
规则文件使用Markdown + YAML frontmatter格式:
```markdown
---
name: no-console-log
description: 禁止在生产代码中使用console.log
globs: ["src/**/*.js", "src/**/*.ts"]
severity: warning
tags: [quality, production]
---
## 规则内容
不要在生产代码中使用 `console.log()`,应使用项目的统一日志工具 `logger`。
### 正确用法
\`\`\`js
const { logger } = require("../utils/logger.js");
logger.info("message");
\`\`\`
### 错误用法
\`\`\`js
console.log("debug message"); // ❌
\`\`\`
```
## 示例
列出所有规则:
```
/rules-engine --list
```
检查某文件适用的规则:
```
/rules-engine --check src/main/database.js
```
初始化规则目录:
```
/rules-engine --init
```
添加新规则:
```
…Read the whole file at its exact version.
How to install
mdr add chainlesschain/chainlesschain/rules-engine@sha256:bd5d2878929eecd7The line at the top of this page pins the label v1.0.0, 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.
[](https://markdownregistry.com/a/art_7g2tji5tgs2bchlj)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jun 3, 2026 and Aug 28, 2026, about one every 43 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-08-28 | c307200 | 4,234 B | A | view · diff |
| v1.0.0 | 2026-08-28 | c29953e | 4,217 B | A | view · diff |
| v1.0.0 | 2026-06-03 | 3b0b2dc | 4,107 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4234 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
chainlesschain/chainlesschain · 11 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_7g2tji5tgs2bchlj GET https://markdownregistry.com/api/v1/resolve?ref=chainlesschain/chainlesschain/rules-engine GET https://markdownregistry.com/api/v1/blob/bd5d2878929eecd793e1d98515347c0612282e04b4c9c24f5310ebd41a12e2cd
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.