Skip to main content

biome

Enforce Biome formatting and lint discipline in this repository. Use when making any file edits, when asked to run format/lint, and immediately before any commit. Always execute `bun run lint` (from package.json), apply resulting fixes, and re-run until clean. Treat `bun run lint:links` as optional by default, and recommend it when files under `content/` are changed.

跳到安装

来源信息

仓库
TEN-framework/portal
最近来源活动
2026年3月4日 07:20
检测到的 SKILL.md 语言
英语
星标
42
分支
11

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
biome
description
Enforce Biome formatting and lint discipline in this repository. Use when making any file edits, when asked to run format/lint, and immediately before any commit. Always execute `bun run lint` (from package.json), apply resulting fixes, and re-run until clean. Treat `bun run lint:links` as optional by default, and recommend it when files under `content/` are changed.
# Biome ## Required Policy Apply this policy on every task in this repository: 1. Run `bun run lint` after making any file change. 2. Run `bun run lint` again immediately before any `git commit`. 3. Treat lint failures as blocking. Do not proceed to final delivery or commit until lint passes. ## Workflow 1. Make the requested code or content edits. 2. Execute: ```bash bun run lint ``` 3. If lint reports issues or rewrites files, review changed files and run `bun run lint` again until it exits cleanly. 4. If a commit is requested, run `bun run lint` one final time right before `git commit`. 5. Record lint execution in the task evidence/summary. ## Optional Link Check Policy - Default: do not run `bun run lint:links`. - If the change includes files under `content/`, recommend running `bun run lint:links`. - If the user explicitly asks for full `check`, run `bun run check`. ## Guardrails - Use `bun run lint` as the source of truth command (defined in `package.json` as `biome check --write`). - Do not replace this with direct biome CLI variants unless user explicitly asks for a different command. - Keep `bun run lint:links` optional unless `content/` changed or the user explicitly requests it. - Keep lint-induced edits in scope; avoid unrelated refactors.
在 GitHub 查看