Readme Review 标志

Readme Review

组织
navikt
readme-review

根据项目类型(服务、库、monorepo 或 naisjob)审查并生成结构清晰的 README

Add to TypingMind

概览

发布者navikt
代码仓库copilot
技能名称readme-review
星标数
60
复刻数
16
附带文件
7
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 navikt 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Readme Review AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/navikt/copilot/tree/main/skills/readme-review
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/navikt/copilot.git /tmp/copilot
mkdir -p .claude/skills
cp -r /tmp/copilot/skills/readme-review .claude/skills/readme-review
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Readme Review,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Readme Review。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Readme Review 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

README Review & Scaffold

Structural review and generation of READMEs adapted to project type. Complements @forfatter (language quality) with structural guidance (what sections, what order, what depth).

Workflow

Step 0: Detect README scope
Step 1: Route → review or generate
Step 2a: Review existing README
Step 2b: Generate new README
Step 3: Hand off language issues to @forfatter

Step 0: Detect README scope

Before reviewing or generating, determine what kind of README this is. Use file location and nearby manifests:

ScopeSignalsExample
Monorepo rootRoot README.md, multiple apps/ or packages/, workspace confignavikt/fp-sak/README.md with apps/ dir
Service / API.nais/ dir, main.go / Application.kt, Dockerfileapps/my-service/README.md
Library / packagePublished to npm/Maven, no .nais/, exports public APIlibs/shared-utils/README.md
Naisjob.nais/naisjob.yaml, scheduled execution, no HTTP endpointsapps/batch-processor/README.md
Docs-onlyNo source code, only markdown filesdocs/README.md

If scope is unclear, ask the user.

Step 1: Route

  • Existing README + user says "review", "check", "improve" → Step 2a
  • No README or user says "create", "scaffold", "generate" → Step 2b
  • Ambiguous → check if README.md exists in the target directory

Step 2a: Review existing README

2a.1 Check sections against spec

Read the existing README. For each section in the spec for this project type (see section-spec.md):

StatusMeaning
✅ OKSection exists with substantive content
⚠️ WeakSection exists but is thin, outdated, or misplaced
❌ MissingRequired section is absent
—Section not applicable for this project type

2a.2 Check for anti-patterns

Scan for structural anti-patterns (see anti-patterns.md). Flag only patterns that are actually present.

2a.3 Output

markdown
## README review — {project name}

**Scope:** {service / library / monorepo / naisjob}

### Section check

| Section | Status | Notes |
|---------|--------|-------|
| Title + one-liner | ✅ | — |
| Quick start | ❌ | No runnable commands found |
| ... | ... | ... |

### Anti-patterns found

- **{Pattern name}**: {One-sentence description of what's wrong and how to fix it}

### Top 3 fixes

1. {Most impactful fix}
2. {Second fix}
3. {Third fix}

Surface top 3 fixes ordered by impact. Don't overwhelm with minor issues.

Step 2b: Generate new README

  1. Pick template from references/ based on detected scope
  2. Fill in what you can detect from the codebase:
    • Project name (from directory or manifest)
    • Tech stack (from go.mod, package.json, build.gradle.kts)
    • Build/test commands (from Makefile, .mise.toml, package.json scripts)
    • Endpoints (from route definitions)
    • Config (from environment variable usage)
  3. Mark remaining placeholders with {TODO: description}
  4. Output the draft README

Templates: service · library · monorepo · naisjob

Step 3: Language handoff

After structural review or generation, if the text has language issues (AI markers, passive voice, anglicisms), suggest:

For language polish, use @forfatter or the klarsprak skill.

Do not duplicate @forfatter's work. This skill handles structure; @forfatter handles language.

Principles

Cognitive funneling

Structure README from broad to specific. Readers scan top-down and bail when they have enough information:

  1. Title + one-liner — what is this? (< 120 characters)
  2. Quick start — how do I run it? (copy-paste commands)
  3. Details — API, config, architecture
  4. Meta — contributing, license, team

"Your documentation is complete when someone can use your module without ever having to look at its code." — Ken Williams

README is the front door

README should orient and get people started. Deep content belongs elsewhere:

In READMEIn external docs
One-liner descriptionFull architecture docs
Quick start commandsDetailed runbooks
Config table (env vars)ADRs, threat models
API overview or linkFull OpenAPI spec
Team + Slack channelIncident response procedures

Code over prose

markdown
# ❌ Prose
You can start the development server by running the development command
using the mise task runner.

# ✅ Code
mise dev

Fewer sections = less drift

Only include sections you will maintain. An empty "## Roadmap" is worse than no roadmap section. README rots faster than code.

Boundaries

✅ Always

  • Detect project scope before suggesting sections
  • Check for missing quick start (most common gap)
  • Use Missing/Weak/OK status, not numeric scores
  • Surface top 3 fixes, not an exhaustive list

⚠️ Ask first

  • Rewriting large sections of an existing README
  • Removing sections that may have historical context
  • Changing README language (Norwegian ↔ English)

🚫 Never

  • Duplicate content from AGENTS.md into README
  • Dump full runbooks, security policies, or ADRs into README
  • Add numeric scores or gamified ratings
  • Rewrite prose style (that's @forfatter's job)

Related

ResourceUse for
@forfatterDeeper editorial pass on an existing text
klarsprak skillNorwegian language wash: klarspråk, AI markers, anglicisms, fagtermer
nav-architecture-review skillADR generation (link from README, don't inline)
mcp-onboardingAgent readiness assessment and AGENTS.md generation

Sources

Review contract

Axes: the section check (2a.1) and the anti-pattern scan (2a.2). The block below closes the Step 2a report.

The review ends here, in this shape. A review with no output section has not run.

Judge primary evidence. The diff, the file, the EXPLAIN output, the rendered page — never your own summary of the change, and never your memory of what you meant to write. Resolve the base first, then cover committed, staged, unstaged and untracked changes. Read untracked files in full: diff output omits them.

Every axis reports. Each axis produces at least one finding, or one line saying what it inspected and what that evidence does not prove. An axis that says nothing has not looked.

Report what you inspected. "No findings in the two files I opened" and "no findings in the change" are different claims, and only the first one is ever true.

Inspected:     <files, queries, URLs, viewports actually opened>
Not inspected: <in scope, not examined, and why>
Findings:      <n blocking, n concerns>
Verdict:       BLOCK | CONCERNS | CLEAN
  • BLOCK — at least one finding that, shipped as written, risks data loss, a security or privacy breach, a production incident, or a wrong answer to a user.
  • CONCERNS — no blocking finding, but at least one a maintainer should fix or answer first.
  • CLEAN — every axis inspected against primary evidence, nothing at either bar. CLEAN claims only the axes above and the files on the Inspected line, and it is wrong if a defect is later found in them.

Not a review: LGTM; restating what the change does; cosmetic findings only; reading the changed lines without the code they call.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Readme Review AI 技能有什么作用?

根据项目类型(服务、库、monorepo 或 naisjob)审查并生成结构清晰的 README

为什么在 TypingMind 中使用 Readme Review?

因为您只需安装一次,就能搭配任何模型使用。Readme Review 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Readme Review?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/navikt/copilot/tree/main/skills/readme-review。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Readme Review?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Readme Review 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Readme Review 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Readme Review AI 技能免费吗?

是的。navikt 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇