Logo: Readme Craftsman

Readme Craftsman

Communautéit
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.

Iwwersiicht

Editeurliqiongyu
Repositorymy-agents
Skill-Nummreadme-craftsman
Stären
29
Forks
3
Matgeliwwert Dateien
10
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 10 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    liqiongyu huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Readme Craftsman an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/liqiongyu/my-agents/tree/main/skills/readme-craftsman
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Readme Craftsman an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Readme Craftsman automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Readme Craftsman net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Readme Craftsman op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Readme Craftsman besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Readme Craftsman an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/liqiongyu/my-agents/tree/main/skills/readme-craftsman an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Readme Craftsman benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Readme Craftsman benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Readme Craftsman domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Readme Craftsman gratis?

Jo. liqiongyu huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇