Readme Craftsman 标志

Readme Craftsman

社区
liqiongyu
readme-craftsman

Create, update, or review a repository README when the user explicitly asks for README work. Use it to draft a new README, refresh an existing README after project changes, or audit a README against the current repository. Do not use it for general documentation, API docs, architecture docs, or documentation tasks that do not specifically target a README file.

Add to TypingMind

概览

发布者liqiongyu
代码仓库my-agents
技能名称readme-craftsman
星标数
29
复刻数
3
附带文件
10
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 10 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

README Craftsman

Create, update, or review README files by analyzing the actual repository and tailoring output to the project type and audience. Works for any GitHub repository — software projects, documentation sites, datasets, research repos, tutorials, community collections, and more. The goal is to produce READMEs that are accurate, scannable, and genuinely useful — not generic filler.

Workflow

Detect Mode → Analyze Project → Classify Type → [Interview if Creating] → Generate/Update/Review → Quality Check → Deliver

Invocation posture: manual-first


When Not To Use

Do not use this skill for:

  • General documentation work that does not specifically target a README.md
  • API references, architecture docs, runbooks, docs-site pages, or standalone user guides
  • Generic writing requests where the user has not asked for README creation, README updates, or README review

If the repository needs broader documentation work, use a documentation or writing workflow that matches that artifact instead of stretching this skill beyond README scope.


Step 1: Detect Task Mode

ModeWhenApproach
CreateNo README exists, or user asks to "create / write / generate a README"Full generation from codebase analysis
UpdateREADME exists and code has changed, or user says "update / refresh / sync the README"Targeted section updates, preserving existing voice
ReviewUser says "review / check / audit the README"Compare README against actual project state, report findings

Edge case — placeholder README: If a README exists but contains only a title, one line of description, or obvious auto-generated stub content, treat it as Create mode (full generation) rather than Update mode. The existing content is not worth preserving.

If the mode is still ambiguous after applying the above, ask.

Generic requests like "write docs", "document the API", "improve the docs site", or "write architecture documentation" are out of scope unless the user specifically wants README work.

Step 2: Deep Project Analysis

Before writing a single line, understand the project. This is what separates a useful README from a template dump.

Metadata Discovery

Read whichever of these exist to extract name, version, description, dependencies, scripts, and entry points:

Software projects:

  • JS/TS: package.json, tsconfig.json
  • Python: pyproject.toml, setup.py, setup.cfg, requirements.txt
  • Rust: Cargo.toml
  • Go: go.mod
  • Ruby: Gemfile, *.gemspec
  • Java/Kotlin: pom.xml, build.gradle, build.gradle.kts
  • PHP: composer.json
  • .NET: *.csproj, *.sln

Non-code projects:

  • Doc sites: mkdocs.yml, docusaurus.config.js, .vitepress/, book.toml, _config.yml (Jekyll)
  • Datasets: datapackage.json, dataset_info.json, large .csv/.parquet/.jsonl files, data/ dir
  • Academic: paper.tex, paper.pdf, notebooks/, experiments/, figures/
  • Tutorials: Numbered directories (01-intro/, 02-basics/), exercises/, solutions/
  • Blogs: _posts/, content/posts/, hugo.toml, gatsby-config.js, astro.config.mjs
  • Community: awesome-*.md, curated link lists, .github/ org repo patterns

Universal checks:

  • LICENSE / LICENSE.md — detect license type
  • .github/workflows/ — CI/CD pipelines, release workflows
  • Dockerfile, docker-compose.yml — containerization setup
  • CONTRIBUTING.md, CODE_OF_CONDUCT.md — community docs already present
  • .env.example, .env.template — required environment variables
  • Makefile, justfile, Taskfile.yml — available commands

Repository Structure

  • Map the directory tree (2-3 levels) to understand project layout
  • Identify if this is a code project or a content/data/community project
  • For code: primary language(s), framework(s), entry points, test setup
  • For content: content format (Markdown, LaTeX, notebooks), organization pattern, build/deploy pipeline
  • For data: file formats, size, schema info, provenance
  • Check for monorepo indicators (workspaces, lerna, turborepo, nx)

Existing Documentation

  • Read existing README if present (for Update/Review)
  • Check for docs/ directory, wiki links, or API doc generation
  • Scan key files for inline comments or metadata
  • Review git log briefly for project maturity and activity level

Step 3: Classify Project Type

Classification drives section selection, tone, and which template reference to read. Determine from repository signals:

Software Projects → read references/templates.md

TypeTypical SignalsPrimary AudienceTone
OSS LibraryPublished to package registry, exports API, has testsDevelopers evaluating + integratingTechnical, concise, API-focused
Web Service / APIServer code, routes, database, deployment configDevelopers deploying + operatingOperational, setup-heavy
CLI ToolBinary/command entry, arg parsing, help textEnd users installing + runningUser-friendly, command-focused
Personal / PortfolioSolo author, experimental, learning focusFuture self, portfolio viewersCasual, highlights learnings
Internal / TeamPrivate repo, team references, internal URLsTeammates, new hires onboardingPractical, runbook-style
MonorepoWorkspace config, multiple packages/servicesContributors scoping to specific packagesNavigation-focused, per-package pointers
Config / DotfilesConfig files, shell scripts, symlinksFuture self (confused)Pragmatic, explains "why not just what"

Content & Education Projects → read references/templates-content.md

TypeTypical SignalsPrimary AudienceTone
Documentation / Knowledge Basemkdocs.yml, docusaurus config, docs/ heavy, specification filesReaders seeking info, contributors adding docsClear, navigational, explains structure
Tutorial / CourseNumbered chapters/modules, exercises/, solutions/, progressive difficultyLearners at a specific skill levelEncouraging, structured, prerequisite-aware
Blog / Content_posts/, content/ dir, static site config (Hugo/Jekyll/Gatsby/Astro)Readers, potential contributorsInviting, explains how to read and how to write

Data & Research Projects → read references/templates-research.md

TypeTypical SignalsPrimary AudienceTone
DatasetLarge CSV/parquet/jsonl files, data/ dir, datapackage.json, data dictionariesData scientists, researchers using the dataPrecise, schema-focused, provenance-aware
Academic Researchpaper.tex/pdf, notebooks/, experiments/, figures/, requirements with ML libsResearchers reproducing or building on the workRigorous, reproducibility-focused, citation-ready

Community Projects → read references/templates-community.md

TypeTypical SignalsPrimary AudienceTone
Awesome Listawesome-*.md filename, curated link lists organized by category, Awesome badgeCommunity members browsing, contributors addingWelcoming, scannable, contribution-focused
Organization Profile.github repo at org level, profile/README.md, org-wide community health filesGitHub visitors, potential contributorsMission-driven, project showcase
Resource HubTopic collection without strict awesome-list format, roadmaps, cheat sheets, study guidesLearners or practitioners in the topic areaEducational, navigation-first

references/templates-community.md contains a template for each of these sub-types — read the matching one.

If uncertain, confirm with the user.

Step 4: Interview (Create Mode)

When creating from scratch, ask only what the codebase can't tell you. Keep this brief — skip questions already answered by the analysis.

All project types:

  1. What's the one-line pitch? — If the repo has no description, ask. This becomes the opening line.
  2. Anything to exclude? — Sections that don't apply or content to keep private

Software projects — also ask if not inferable: 3. Who is the primary audience? — Confirms project type (e.g., external developers vs. internal team) 4. Key differentiators? — What sets this apart from alternatives

Datasets — also ask if not inferable: 3. How was the data collected or generated? — Methodology for the Data Collection section 4. Known limitations or biases? — Goes in the Known Limitations section 5. Preferred citation format? — DOI, BibTeX, or plain text

Academic research — also ask if not inferable: 3. Which paper does this accompany? — Title, venue, and link (arXiv, DOI, or publisher) 4. What are the hardware/environment requirements to reproduce the results?

Tutorials / courses — also ask if not inferable: 3. What's the target skill level? — Beginner / intermediate / advanced, and prerequisite knowledge 4. Is this self-paced or used in a structured course? — Affects tone and pacing guidance

Documentation / knowledge bases — also ask if not inferable: 3. Who is the primary reader? — New users, contributors, operators, or a mixed audience 4. Where should a first-time reader start? — Entry point, reading order, or top task

Blogs / content collections — also ask if not inferable: 3. Who is the intended audience? — Practitioners, learners, customers, or a general audience 4. Is this an actively published collection or a curated archive? — Affects navigation and freshness cues

Community / resource hubs — also ask if not inferable: 3. What belongs in the collection and what is out of scope? — Clarifies curation boundaries 4. How should contributions be reviewed or maintained? — Sets expectations for contribution guidance and freshness notes

After drafting, ask: "Anything I missed or got wrong?"

Step 5: Generate, Update, or Review

Create Mode

Select sections using references/section-guide.md. It contains the project-type section matrix, the section writing guide, and a compact GitHub Markdown feature reference. For full templates, read the reference file indicated by the project type in Step 3:

  • Software projects → references/templates.md
  • Content & education → references/templates-content.md
  • Data & research → references/templates-research.md
  • Community → references/templates-community.md

Writing Principles:

  • Lead with the problem. The first thing a reader should grasp is what pain this addresses — not how clever the implementation is.
  • Cognitive funneling. Broad → specific. Name → one-liner → visual → usage → install → API → contributing. A reader should get value even if they stop early.
  • Show, don't claim. Replace "blazing fast" with a benchmark. Replace "easy to use" with a 3-line example. Let the reader judge.
  • Copy-pasteable commands. Every command works when pasted. Full commands, not just flags. Pin versions where it matters.
  • Earn every sentence. If a section adds no value for the target audience, omit it. A 50-line README for a small utility is better than a 500-line one padded with boilerplate.
  • Trust signals near installation. Badges (CI status, version, license) go above the fold so readers see them before investing effort.

Update Mode

  1. Identify what changed — Diff the codebase against what the README describes
  2. Map changes to sections:
ChangeREADME Section(s) to Update
New feature / exportFeatures, Usage, API Reference
New dependency / runtimePrerequisites, Installation
New env variableConfiguration / Environment Variables
New CLI command / flagUsage
Architecture changeArchitecture, directory tree, diagrams
New deployment targetDeployment
Version bumpBadges, title, installation commands
New chapter / module (tutorials)Table of Contents, Curriculum
New data file / column (datasets)Data Description, Schema, File Inventory
New curated entry (awesome lists)Relevant category section
New blog post categoryContent overview, navigation
Paper revision (academic)Abstract, Results, Citation
  1. Preserve existing voice — Match the current style, tone, and formatting. Don't rewrite accurate sections.
  2. Show changes before applying — Present proposed changes in one of these forms, then wait for confirmation:
    • For small edits (1-3 sections): show the before/after for each changed section inline
    • For larger changes: list what will be added, removed, or modified with a brief rationale for each
  3. Validate cross-references — Links, file paths, and version numbers must remain valid.

Review Mode

  1. Reality-check every claim — Do install commands work? Are listed features current? Are file paths valid?
  2. Flag staleness — Version numbers, screenshots, API examples, dependency lists that may be outdated
  3. Assess completeness — Compare against the section matrix for this project type in references/section-guide.md
  4. Check quality — Run the Anti-Pattern checklist
  5. Deliver a report with findings categorized as:
    • Critical — Incorrect information (broken install, wrong API)
    • Should Fix — Missing important sections, stale content
    • Nice to Have — Visual polish, missing badges, format improvements

Section Guide

Use references/section-guide.md whenever you need:

  • the full section matrix by project type
  • concrete section-order guidance
  • copy-pasteable Markdown examples for installation, Mermaid, FAQ, and similar sections
  • a quick reminder of GitHub-native Markdown features that improve scannability

Quality Checklist

Run this before delivering:

Must Pass

  • First paragraph answers "what is this and why should I care?"
  • Reader can get started (install, read, or navigate) from the README alone
  • At least one concrete example (code snippet, data sample, content preview, or screenshot)
  • No placeholder text ([TODO], Lorem ipsum, your-name-here)
  • No secrets, internal URLs, or private information
  • All links and file paths are valid
  • License section matches actual LICENSE file (if one exists)

Should Pass

  • Badges reflect real status (not placeholder URLs)
  • Section order follows cognitive funneling (broad → specific)
  • No marketing-speak or unsubstantiated superlatives
  • Commands (if any) show expected output or error recovery
  • Headings are descriptive, not generic

Nice to Have

  • Visual element present (screenshot, diagram, recording)
  • Collapsible sections for verbose content
  • GitHub admonitions for important callouts
  • Dark/light mode images where applicable

Anti-Patterns

PatternProblemFix
Wall of text, no structureReaders scan, not readHeaders, tables, lists, code blocks
"Easy to use" / "blazing fast"Unsubstantiated claims erode trustShow a code example or benchmark
10+ badgesObscures the description3-5 meaningful badges
No install steps"Just run it" isn't obviousFull commands with prerequisites
Stale screenshotsCreates confusionUse generated diagrams, or date screenshots
500-line API dumpNobody reads itLink to API docs, show top examples
Duplicating CONTRIBUTING.mdDiverges over timeLink to the file, don't copy
"Active development" + no commits in 2 yearsDishonestReflect actual project status
README longer than the codeOverkill for small projectsScale README to project size

Exclusion Rules

Do not duplicate the full contents of dedicated repo files inside the README. Brief, navigational sections that point readers to these files are acceptable when they help orientation, but do not copy the full policy text.

These files usually deserve a short link or summary, not a pasted duplicate:

  • LICENSE → link to LICENSE file
  • CONTRIBUTING → link to CONTRIBUTING.md
  • CHANGELOG → link to CHANGELOG.md or GitHub Releases
  • CODE_OF_CONDUCT → link to CODE_OF_CONDUCT.md
  • SECURITY → link to SECURITY.md

If these files exist, link to them or add a very short navigational summary. If they don't exist, don't invent them inside the README.


Examples

Example 1: Creating a README for a new npm library

User: "Write a README for this project"
→ Detect: no README.md exists → Create mode
→ Analyze: package.json (name: "retry-fetch", exports, deps), src/ has 3 modules, jest tests, MIT license
→ Classify: OSS Library (npm package, exports API)
→ Interview: "This looks like an npm library for HTTP retries. Any key differentiators?"
→ Generate: Title + 3 badges, one-liner, install, quick usage example, API reference, testing, contributing link, license
→ Quality check: all commands verified, no placeholders
→ Deliver with summary of design choices

Example 2: Updating after adding features

User: "I added WebSocket support and a new --verbose flag, update the README"
→ Detect: README exists + user specifies changes → Update mode
→ Map: WebSocket → Features + Usage + API; --verbose → Usage/CLI section
→ Preserve: existing tone, badge style, section ordering
→ Show diff before applying

Example 3: Auditing an existing README

User: "Is this README still accurate?"
→ Detect: review request → Review mode
→ Compare: README claims vs codebase reality
→ Find: badge shows v1.2 but package.json is v2.0; install command missing new peer dep; screenshot shows old UI
→ Report: 3 Critical, 2 Should Fix, 1 Nice to Have — with specific fixes for each

Example 4: Creating a README for an awesome list

User: "Write a README for this repo, it's a curated list of AI tools"
→ Detect: no README → Create mode
→ Analyze: awesome-ai-tools.md with 200+ links, organized by category, CONTRIBUTING.md with submission rules
→ Classify: Community / Organization (awesome list pattern)
→ Generate: Title + badges (awesome badge, PR welcome), description, table of contents, content overview by category, contributing guidelines, license
→ Quality check: all links verified, categories complete

Example 5: Creating a README for a dataset

User: "Create a README for this dataset repo"
→ Detect: no README → Create mode
→ Analyze: data/ with 3 parquet files, datapackage.json, LICENSE (CC-BY-4.0), notebooks/ with analysis examples
→ Classify: Dataset (data files, schema metadata, CC license)
→ Generate: Title + badges, description, data overview table (files, rows, columns, size), schema, how to load (Python/R examples), citation, license, provenance

Caveats

  • Scale README to project complexity. A 3-file utility needs 30-50 lines, not 500. A large framework needs depth.
  • Don't overuse emojis unless the project's existing style uses them.
  • Screenshots require files to exist. If images don't exist yet, recommend what to capture and where to store them, rather than referencing phantom files.
  • This skill writes READMEs, not full docs. For standalone API docs, architecture docs, or user guides, suggest separate documentation tools.
  • Non-code repos need different instincts. For datasets, focus on schema and provenance over install steps. For tutorials, focus on prerequisites and learning path. For community repos, focus on contribution flow and navigation. Let the project type guide which sections matter.
  • When in doubt, ask. Project type, audience, and tone are judgment calls. Confirm with the user rather than guessing.

附带文件

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

常见问题

Readme Craftsman AI 技能有什么作用?

Create, update, or review a repository README when the user explicitly asks for README work. Use it to draft a new README, refresh an existing README after project changes, or audit a README against the current repository. Do not use it for general documentation, API docs, architecture docs, or documentation tasks that do not specifically target a README file.

为什么在 TypingMind 中使用 Readme Craftsman?

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

如何在 TypingMind 中安装 Readme Craftsman?

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

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

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

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

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

Readme Craftsman AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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