markdown-lint-setup

仓库创建 2026年4月30日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

包含 GFM/TOC/frontmatter 规则并检测 AI 风格日文,适合代码库一致性校验。

▸ 风险提示

安装会拉取 npm/pnpm 包,存在外部依赖与安装脚本风险。

这个 Skill 做什么

在 JS/TS 项目中引导 remark 与 textlint 做 Markdown 检查并排除代理上下文目录。

在 JS/TS 项目里一次性搭好 remark + textlint 的 Markdown 检查链,包含 remark-lint、TOC、frontmatter 和识别 AI 风格日文的规则。会把 .claude/.codex/.agents 等 agent 上下文目录排除,保证自动生成的 agent 文件不会被误检或改动。用在要统一文档风格、检测“AI っぽい”日文写法或搭建 docs 校验时。

▸ 展开 SKILL.md 英文原文

Bootstrap remark + textlint for Markdown linting in a Node.js / pnpm / npm / yarn / bun project. Installs remark (lint presets + GFM + TOC + frontmatter) and textlint with @textlint-ja/textlint-rule-preset-ai-writing to catch AI-flavored Japanese prose. Always excludes AI agent context dirs (.agents .claude .codex .impeccable .serena .github) so generated agent files are never touched. Use this skill whenever the user asks to set up markdown lint, prose lint, textlint, remark, remark-lint, table-of-contents generation, AI writing detection, or wants to catch "AI っぽい" Japanese patterns like 「**項目:** 説明」 list items, hype expressions like 「完全に」「革新的」, or to keep a docs/ folder consistent — even when they only mention one of the tools (remark OR textlint), set up both unless they explicitly opt out. Strongly prefer this skill over hand-rolling textlint/remark configs from scratch.

开发编程MarkdownlintNode.js通用
0
Stars
0
Forks
16
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Eotel/skills/main/markdown-lint-setup/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Eotel/skills/main/markdown-lint-setup/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# markdown-lint-setup

Bootstraps `remark` + `textlint` in a JS/TS repo so Markdown is consistently formatted, has a table of contents where requested, and is screened for AI-flavored prose patterns — **without** the linters reaching into AI agent context dirs (`.claude/`, `.codex/`, `.agents/`, `.impeccable/`, `.serena/`, `.github/`).

## When to use

Trigger when the user wants Markdown linting set up. Common phrasings:
- 「textlint 入れて」「remark 入れて」「markdown の lint 整備して」
- "set up textlint" / "add remark lint" / "lint my docs"
- 「AI っぽい文章を弾きたい」「目次を自動生成したい」

If the user mentions only one of remark/textlint, default to installing both — they cover different layers (structure vs prose) and ign
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有