# Style Checker

> 代码风格规则参考资料

- **Type:** Skill
- **Install:** `agentstack add skill-lumorax-taifeng-lung-anatomy`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [LumoraX](https://agentstack.voostack.com/s/lumorax)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [LumoraX](https://github.com/LumoraX)
- **Source:** https://github.com/LumoraX/taifeng/tree/main/examples/mcp_basic/skills/lung-anatomy

## Install

```sh
agentstack add skill-lumorax-taifeng-lung-anatomy
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 代码风格规则

## 命名

- **Python**：snake_case 函数 / PascalCase 类 / UPPER_SNAKE 常量
- **TypeScript**：camelCase 函数 / PascalCase 类型 / UPPER_SNAKE 常量

## 关键阈值

- 函数行数 ≤ 80 行（硬红线）
- 圈复杂度 ≤ 10
- 文件行数 ≤ 800 行

## 规则编号

R1..R10 是常用规则编号。**精确查询**推荐调:

    run_script(skill_id="style-checker", script_name="lookup_segment", args={"segment": "R2"})

会返回该规则的中文全名 + 示例（如 "R2: 函数行数 ≤ 80 行"）。

## 常用术语

- **DRY**：Don't Repeat Yourself
- **YAGNI**：You Aren't Gonna Need It
- **SOLID**：单一职责 / 开闭 / Liskov / 接口隔离 / 依赖倒置

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [LumoraX](https://github.com/LumoraX)
- **Source:** [LumoraX/taifeng](https://github.com/LumoraX/taifeng)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-lumorax-taifeng-lung-anatomy
- Seller: https://agentstack.voostack.com/s/lumorax
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
